Package odata.msgraph.client.entity
Class ManagedAndroidLobApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.ManagedApp
-
- odata.msgraph.client.entity.ManagedMobileLobApp
-
- odata.msgraph.client.entity.ManagedAndroidLobApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedAndroidLobApp extends ManagedMobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Managed Android Line Of Business apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedAndroidLobApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AndroidMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringpackageIdprotected StringversionCodeprotected StringversionName-
Fields inherited from class odata.msgraph.client.entity.ManagedMobileLobApp
committedContentVersion, contentVersions, fileName, size
-
Fields inherited from class odata.msgraph.client.entity.ManagedApp
appAvailability, version
-
Fields inherited from class odata.msgraph.client.entity.MobileApp
assignments, createdDateTime, description, developer, displayName, informationUrl, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagedAndroidLobApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedAndroidLobApp.BuilderbuilderManagedAndroidLobApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<AndroidMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum applicable operating system.”Optional<String>getPackageId()“The package identifier.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersionCode()“The version code of managed Android Line of Business (LoB) app.”Optional<String>getVersionName()“The version name of managed Android Line of Business (LoB) app.”StringodataTypeName()ManagedAndroidLobApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAndroidLobAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedAndroidLobAppwithMinimumSupportedOperatingSystem(AndroidMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.ManagedAndroidLobAppwithPackageId(String packageId)Returns an immutable copy ofthiswith just thepackageIdfield changed.ManagedAndroidLobAppwithUnmappedField(String name, Object value)ManagedAndroidLobAppwithVersionCode(String versionCode)Returns an immutable copy ofthiswith just theversionCodefield changed.ManagedAndroidLobAppwithVersionName(String versionName)Returns an immutable copy ofthiswith just theversionNamefield changed.-
Methods inherited from class odata.msgraph.client.entity.ManagedMobileLobApp
getCommittedContentVersion, getContentVersions, getFileName, getSize, withCommittedContentVersion, withContentVersions, withFileName, withSize
-
Methods inherited from class odata.msgraph.client.entity.ManagedApp
getAppAvailability, getVersion, withAppAvailability, withVersion
-
Methods inherited from class odata.msgraph.client.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDescription, getDeveloper, getDisplayName, getInformationUrl, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, withAssignments, withCreatedDateTime, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState
-
-
-
-
Field Detail
-
minimumSupportedOperatingSystem
protected AndroidMinimumOperatingSystem minimumSupportedOperatingSystem
-
packageId
protected String packageId
-
versionCode
protected String versionCode
-
versionName
protected String versionName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedMobileLobApp
-
builderManagedAndroidLobApp
public static ManagedAndroidLobApp.Builder builderManagedAndroidLobApp()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classManagedMobileLobApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedMobileLobApp
-
getMinimumSupportedOperatingSystem
public Optional<AndroidMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public ManagedAndroidLobApp withMinimumSupportedOperatingSystem(AndroidMinimumOperatingSystem minimumSupportedOperatingSystem)
Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield 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 value for the minimum applicable operating system.”
- Parameters:
minimumSupportedOperatingSystem- new value ofminimumSupportedOperatingSystemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumSupportedOperatingSystemfield changed
-
getPackageId
public Optional<String> getPackageId()
“The package identifier.”- Returns:
- property packageId
-
withPackageId
public ManagedAndroidLobApp withPackageId(String packageId)
Returns an immutable copy ofthiswith just thepackageIdfield 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 package identifier.”
- Parameters:
packageId- new value ofpackageIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepackageIdfield changed
-
getVersionCode
public Optional<String> getVersionCode()
“The version code of managed Android Line of Business (LoB) app.”- Returns:
- property versionCode
-
withVersionCode
public ManagedAndroidLobApp withVersionCode(String versionCode)
Returns an immutable copy ofthiswith just theversionCodefield 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 code of managed Android Line of Business (LoB) app.”
- Parameters:
versionCode- new value ofversionCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionCodefield changed
-
getVersionName
public Optional<String> getVersionName()
“The version name of managed Android Line of Business (LoB) app.”- Returns:
- property versionName
-
withVersionName
public ManagedAndroidLobApp withVersionName(String versionName)
Returns an immutable copy ofthiswith just theversionNamefield 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 name of managed Android Line of Business (LoB) app.”
- Parameters:
versionName- new value ofversionNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionNamefield changed
-
withUnmappedField
public ManagedAndroidLobApp withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classManagedMobileLobApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedMobileLobApp
-
patch
public ManagedAndroidLobApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedMobileLobApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedAndroidLobApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedMobileLobApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classManagedMobileLobApp
-
-