Package odata.msgraph.client.complex
Class MacOSIncludedApp
- java.lang.Object
-
- odata.msgraph.client.complex.MacOSIncludedApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MacOSIncludedApp extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains properties of an included .app in a MacOS app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSIncludedApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbundleIdprotected StringbundleVersionprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSIncludedApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSIncludedApp.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBundleId()“The bundleId of the app.Optional<String>getBundleVersion()“The version of the app.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOSIncludedAppwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.MacOSIncludedAppwithBundleVersion(String bundleVersion)Returns an immutable copy ofthiswith just thebundleVersionfield changed.MacOSIncludedAppwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
bundleId
protected String bundleId
-
bundleVersion
protected String bundleVersion
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBundleId
public Optional<String> getBundleId()
“The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration.”- Returns:
- property bundleId
-
withBundleId
public MacOSIncludedApp withBundleId(String bundleId)
Returns an immutable copy ofthiswith just thebundleIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getBundleVersion
public Optional<String> getBundleVersion()
“The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration.”- Returns:
- property bundleVersion
-
withBundleVersion
public MacOSIncludedApp withBundleVersion(String bundleVersion)
Returns an immutable copy ofthiswith just thebundleVersionfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration.”
- Parameters:
bundleVersion- new value ofbundleVersionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleVersionfield changed
-
withUnmappedField
public MacOSIncludedApp withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static MacOSIncludedApp.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-