Package odata.msgraph.client.complex
Class MacOSLobChildApp
- java.lang.Object
-
- odata.msgraph.client.complex.MacOSLobChildApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class MacOSLobChildApp extends Object implements com.github.davidmoten.odata.client.ODataType
“Contains properties of a macOS .app in the package”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSLobChildApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbuildNumberprotected StringbundleIdprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringversionNumber
-
Constructor Summary
Constructors Modifier Constructor Description protectedMacOSLobChildApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSLobChildApp.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBuildNumber()“The build number of the app.”Optional<String>getBundleId()“The bundleId of the app.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersionNumber()“The version number of the app.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()MacOSLobChildAppwithBuildNumber(String buildNumber)Returns an immutable copy ofthiswith just thebuildNumberfield changed.MacOSLobChildAppwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.MacOSLobChildAppwithUnmappedField(String name, String value)MacOSLobChildAppwithVersionNumber(String versionNumber)Returns an immutable copy ofthiswith just theversionNumberfield changed.
-
-
-
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
-
buildNumber
protected String buildNumber
-
bundleId
protected String bundleId
-
versionNumber
protected String versionNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getBuildNumber
public Optional<String> getBuildNumber()
“The build number of the app.”- Returns:
- property buildNumber
-
withBuildNumber
public MacOSLobChildApp withBuildNumber(String buildNumber)
Returns an immutable copy ofthiswith just thebuildNumberfield 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 build number of the app.”
- Parameters:
buildNumber- new value ofbuildNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebuildNumberfield changed
-
getBundleId
public Optional<String> getBundleId()
“The bundleId of the app.”- Returns:
- property bundleId
-
withBundleId
public MacOSLobChildApp 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.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getVersionNumber
public Optional<String> getVersionNumber()
“The version number of the app.”- Returns:
- property versionNumber
-
withVersionNumber
public MacOSLobChildApp withVersionNumber(String versionNumber)
Returns an immutable copy ofthiswith just theversionNumberfield 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 number of the app.”
- Parameters:
versionNumber- new value ofversionNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionNumberfield changed
-
withUnmappedField
public MacOSLobChildApp withUnmappedField(String name, String 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 MacOSLobChildApp.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
-
-