Package odata.msgraph.client.entity
Class ManagedAndroidStoreApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.ManagedApp
-
- odata.msgraph.client.entity.ManagedAndroidStoreApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedAndroidStoreApp extends ManagedApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for Android store apps that you can manage with an Intune app protection policy.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedAndroidStoreApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappStoreUrlprotected AndroidMinimumOperatingSystemminimumSupportedOperatingSystemprotected StringpackageId-
Fields inherited from class odata.msgraph.client.entity.ManagedApp
appAvailability, version
-
Fields inherited from class odata.msgraph.client.entity.MobileApp
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 protectedManagedAndroidStoreApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedAndroidStoreApp.BuilderbuilderManagedAndroidStoreApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppStoreUrl()“The Android AppStoreUrl.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<AndroidMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum supported operating system.”Optional<String>getPackageId()“The app's package ID.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedAndroidStoreApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedAndroidStoreAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedAndroidStoreAppwithAppStoreUrl(String appStoreUrl)Returns an immutable copy ofthiswith just theappStoreUrlfield changed.ManagedAndroidStoreAppwithMinimumSupportedOperatingSystem(AndroidMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.ManagedAndroidStoreAppwithPackageId(String packageId)Returns an immutable copy ofthiswith just thepackageIdfield changed.ManagedAndroidStoreAppwithUnmappedField(String name, String value)-
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, withCreatedDateTime, withDescription, withDeveloper, withDisplayName, withInformationUrl, withIsFeatured, withLargeIcon, withLastModifiedDateTime, withNotes, withOwner, withPrivacyInformationUrl, withPublisher, withPublishingState
-
-
-
-
Field Detail
-
appStoreUrl
protected String appStoreUrl
-
minimumSupportedOperatingSystem
protected AndroidMinimumOperatingSystem minimumSupportedOperatingSystem
-
packageId
protected String packageId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedApp
-
builderManagedAndroidStoreApp
public static ManagedAndroidStoreApp.Builder builderManagedAndroidStoreApp()
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 classManagedApp
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedApp
-
getAppStoreUrl
public Optional<String> getAppStoreUrl()
“The Android AppStoreUrl.”- Returns:
- property appStoreUrl
-
withAppStoreUrl
public ManagedAndroidStoreApp 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 Android AppStoreUrl.”
- Parameters:
appStoreUrl- new value ofappStoreUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappStoreUrlfield changed
-
getMinimumSupportedOperatingSystem
public Optional<AndroidMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum supported operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public ManagedAndroidStoreApp 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 supported 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 app's package ID.”- Returns:
- property packageId
-
withPackageId
public ManagedAndroidStoreApp 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 app's package ID.”
- Parameters:
packageId- new value ofpackageIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepackageIdfield changed
-
withUnmappedField
public ManagedAndroidStoreApp withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagedApp
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedApp
-
patch
public ManagedAndroidStoreApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedApp- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public ManagedAndroidStoreApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedApp- 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 classManagedApp
-
-