Package odata.msgraph.client.beta.entity
Class AndroidManagedStoreApp
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MobileApp
-
- odata.msgraph.client.beta.entity.AndroidManagedStoreApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AndroidManagedStoreWebApp
public class AndroidManagedStoreApp extends MobileApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Android Managed Store Apps.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidManagedStoreApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappIdentifierprotected StringappStoreUrlprotected List<AndroidManagedStoreAppTrack>appTracksprotected StringappTracksNextLinkprotected BooleanisPrivateprotected BooleanisSystemAppprotected StringpackageIdprotected BooleansupportsOemConfigprotected IntegertotalLicenseCountprotected IntegerusedLicenseCount-
Fields inherited from class odata.msgraph.client.beta.entity.MobileApp
createdDateTime, dependentAppCount, description, developer, displayName, informationUrl, isAssigned, isFeatured, largeIcon, lastModifiedDateTime, notes, owner, privacyInformationUrl, publisher, publishingState, roleScopeTagIds, roleScopeTagIdsNextLink, supersededAppCount, supersedingAppCount, uploadState
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAndroidManagedStoreApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidManagedStoreApp.BuilderbuilderAndroidManagedStoreApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppIdentifier()“The Identity Name.”Optional<String>getAppStoreUrl()“The Play for Work Store app URL.”com.github.davidmoten.odata.client.CollectionPage<AndroidManagedStoreAppTrack>getAppTracks()“The tracks that are visible to this enterprise.”com.github.davidmoten.odata.client.CollectionPage<AndroidManagedStoreAppTrack>getAppTracks(com.github.davidmoten.odata.client.HttpRequestOptions options)“The tracks that are visible to this enterprise.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getIsPrivate()“Indicates whether the app is only available to a given enterprise's users.”Optional<Boolean>getIsSystemApp()“Indicates whether the app is a preinstalled system app.”Optional<String>getPackageId()“The package identifier.”Optional<Boolean>getSupportsOemConfig()“Whether this app supports OEMConfig policy.”Optional<Integer>getTotalLicenseCount()“The total number of VPP licenses.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUsedLicenseCount()“The number of VPP licenses in use.”StringodataTypeName()AndroidManagedStoreApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidManagedStoreAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidManagedStoreAppwithAppIdentifier(String appIdentifier)Returns an immutable copy ofthiswith just theappIdentifierfield changed.AndroidManagedStoreAppwithAppStoreUrl(String appStoreUrl)Returns an immutable copy ofthiswith just theappStoreUrlfield changed.AndroidManagedStoreAppwithAppTracks(List<AndroidManagedStoreAppTrack> appTracks)Returns an immutable copy ofthiswith just theappTracksfield changed.AndroidManagedStoreAppwithIsPrivate(Boolean isPrivate)Returns an immutable copy ofthiswith just theisPrivatefield changed.AndroidManagedStoreAppwithIsSystemApp(Boolean isSystemApp)Returns an immutable copy ofthiswith just theisSystemAppfield changed.AndroidManagedStoreAppwithPackageId(String packageId)Returns an immutable copy ofthiswith just thepackageIdfield changed.AndroidManagedStoreAppwithSupportsOemConfig(Boolean supportsOemConfig)Returns an immutable copy ofthiswith just thesupportsOemConfigfield changed.AndroidManagedStoreAppwithTotalLicenseCount(Integer totalLicenseCount)Returns an immutable copy ofthiswith just thetotalLicenseCountfield changed.AndroidManagedStoreAppwithUnmappedField(String name, String value)AndroidManagedStoreAppwithUsedLicenseCount(Integer usedLicenseCount)Returns an immutable copy ofthiswith just theusedLicenseCountfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.MobileApp
assign, getAssignments, getCategories, getCreatedDateTime, getDependentAppCount, getDescription, getDeveloper, getDeviceStatuses, getDisplayName, getInformationUrl, getInstallSummary, getIsAssigned, getIsFeatured, getLargeIcon, getLastModifiedDateTime, getNotes, getOwner, getPrivacyInformationUrl, getPublisher, getPublishingState, getRelatedAppStates, getRelationships, getRoleScopeTagIds, getRoleScopeTagIds, getSupersededAppCount, getSupersedingAppCount, getUploadState, getUserStatuses, updateRelationships, withCreatedDateTime, withDependentAppCount, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsAssigned, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState, withRoleScopeTagIds, withSupersededAppCount, withSupersedingAppCount, withUploadState
-
-
-
-
Field Detail
-
appIdentifier
protected String appIdentifier
-
appStoreUrl
protected String appStoreUrl
-
appTracks
protected List<AndroidManagedStoreAppTrack> appTracks
-
appTracksNextLink
protected String appTracksNextLink
-
isPrivate
protected Boolean isPrivate
-
isSystemApp
protected Boolean isSystemApp
-
packageId
protected String packageId
-
supportsOemConfig
protected Boolean supportsOemConfig
-
totalLicenseCount
protected Integer totalLicenseCount
-
usedLicenseCount
protected Integer usedLicenseCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMobileApp
-
builderAndroidManagedStoreApp
public static AndroidManagedStoreApp.Builder builderAndroidManagedStoreApp()
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 classMobileApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMobileApp
-
getAppIdentifier
public Optional<String> getAppIdentifier()
“The Identity Name.”- Returns:
- property appIdentifier
-
withAppIdentifier
public AndroidManagedStoreApp withAppIdentifier(String appIdentifier)
Returns an immutable copy ofthiswith just theappIdentifierfield 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 Identity Name.”
- Parameters:
appIdentifier- new value ofappIdentifierfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappIdentifierfield changed
-
getAppStoreUrl
public Optional<String> getAppStoreUrl()
“The Play for Work Store app URL.”- Returns:
- property appStoreUrl
-
withAppStoreUrl
public AndroidManagedStoreApp withAppStoreUrl(String appStoreUrl)
Returns an immutable copy ofthiswith just theappStoreUrlfield 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 Play for Work Store app URL.”
- Parameters:
appStoreUrl- new value ofappStoreUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappStoreUrlfield changed
-
getAppTracks
public com.github.davidmoten.odata.client.CollectionPage<AndroidManagedStoreAppTrack> getAppTracks()
“The tracks that are visible to this enterprise.”- Returns:
- property appTracks
-
withAppTracks
public AndroidManagedStoreApp withAppTracks(List<AndroidManagedStoreAppTrack> appTracks)
Returns an immutable copy ofthiswith just theappTracksfield 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 tracks that are visible to this enterprise.”
- Parameters:
appTracks- new value ofappTracksfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappTracksfield changed
-
getAppTracks
public com.github.davidmoten.odata.client.CollectionPage<AndroidManagedStoreAppTrack> getAppTracks(com.github.davidmoten.odata.client.HttpRequestOptions options)
“The tracks that are visible to this enterprise.”- Parameters:
options- specify connect and read timeouts- Returns:
- property appTracks
-
getIsPrivate
public Optional<Boolean> getIsPrivate()
“Indicates whether the app is only available to a given enterprise's users.”- Returns:
- property isPrivate
-
withIsPrivate
public AndroidManagedStoreApp withIsPrivate(Boolean isPrivate)
Returns an immutable copy ofthiswith just theisPrivatefield 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.“Indicates whether the app is only available to a given enterprise's users.”
- Parameters:
isPrivate- new value ofisPrivatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisPrivatefield changed
-
getIsSystemApp
public Optional<Boolean> getIsSystemApp()
“Indicates whether the app is a preinstalled system app.”- Returns:
- property isSystemApp
-
withIsSystemApp
public AndroidManagedStoreApp withIsSystemApp(Boolean isSystemApp)
Returns an immutable copy ofthiswith just theisSystemAppfield 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.“Indicates whether the app is a preinstalled system app.”
- Parameters:
isSystemApp- new value ofisSystemAppfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisSystemAppfield changed
-
getPackageId
public Optional<String> getPackageId()
“The package identifier.”- Returns:
- property packageId
-
withPackageId
public AndroidManagedStoreApp 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
-
getSupportsOemConfig
public Optional<Boolean> getSupportsOemConfig()
“Whether this app supports OEMConfig policy.”- Returns:
- property supportsOemConfig
-
withSupportsOemConfig
public AndroidManagedStoreApp withSupportsOemConfig(Boolean supportsOemConfig)
Returns an immutable copy ofthiswith just thesupportsOemConfigfield 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.“Whether this app supports OEMConfig policy.”
- Parameters:
supportsOemConfig- new value ofsupportsOemConfigfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesupportsOemConfigfield changed
-
getTotalLicenseCount
public Optional<Integer> getTotalLicenseCount()
“The total number of VPP licenses.”- Returns:
- property totalLicenseCount
-
withTotalLicenseCount
public AndroidManagedStoreApp withTotalLicenseCount(Integer totalLicenseCount)
Returns an immutable copy ofthiswith just thetotalLicenseCountfield 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 total number of VPP licenses.”
- Parameters:
totalLicenseCount- new value oftotalLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalLicenseCountfield changed
-
getUsedLicenseCount
public Optional<Integer> getUsedLicenseCount()
“The number of VPP licenses in use.”- Returns:
- property usedLicenseCount
-
withUsedLicenseCount
public AndroidManagedStoreApp withUsedLicenseCount(Integer usedLicenseCount)
Returns an immutable copy ofthiswith just theusedLicenseCountfield 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 number of VPP licenses in use.”
- Parameters:
usedLicenseCount- new value ofusedLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theusedLicenseCountfield changed
-
withUnmappedField
public AndroidManagedStoreApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classMobileApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMobileApp
-
patch
public AndroidManagedStoreApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AndroidManagedStoreApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-