Package odata.msgraph.client.entity
Class AndroidLobApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.MobileLobApp
-
- odata.msgraph.client.entity.AndroidLobApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidLobApp extends MobileLobApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Android Line Of Business apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidLobApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AndroidMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringpackageIdprotected StringversionCodeprotected StringversionName-
Fields inherited from class odata.msgraph.client.entity.MobileLobApp
committedContentVersion, contentVersions, fileName, size
-
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 protectedAndroidLobApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidLobApp.BuilderbuilderAndroidLobApp()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 Android Line of Business (LoB) app.”Optional<String>getVersionName()“The version name of Android Line of Business (LoB) app.”StringodataTypeName()AndroidLobApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidLobAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidLobAppwithMinimumSupportedOperatingSystem(AndroidMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.AndroidLobAppwithPackageId(String packageId)Returns an immutable copy ofthiswith just thepackageIdfield changed.AndroidLobAppwithUnmappedField(String name, Object value)AndroidLobAppwithVersionCode(String versionCode)Returns an immutable copy ofthiswith just theversionCodefield changed.AndroidLobAppwithVersionName(String versionName)Returns an immutable copy ofthiswith just theversionNamefield changed.-
Methods inherited from class odata.msgraph.client.entity.MobileLobApp
getCommittedContentVersion, getContentVersions, getFileName, getSize, withCommittedContentVersion, withContentVersions, withFileName, withSize
-
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 classMobileLobApp
-
builderAndroidLobApp
public static AndroidLobApp.Builder builderAndroidLobApp()
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 classMobileLobApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileLobApp
-
getMinimumSupportedOperatingSystem
public Optional<AndroidMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum applicable operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public AndroidLobApp 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 AndroidLobApp 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 Android Line of Business (LoB) app.”- Returns:
- property versionCode
-
withVersionCode
public AndroidLobApp 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 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 Android Line of Business (LoB) app.”- Returns:
- property versionName
-
withVersionName
public AndroidLobApp 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 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 AndroidLobApp withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMobileLobApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileLobApp
-
patch
public AndroidLobApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classMobileLobApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidLobApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classMobileLobApp- 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 classMobileLobApp
-
-