Package odata.msgraph.client.entity
Class ManagedIOSStoreApp
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MobileApp
-
- odata.msgraph.client.entity.ManagedApp
-
- odata.msgraph.client.entity.ManagedIOSStoreApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ManagedIOSStoreApp extends ManagedApp implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties and inherited properties for an iOS store app that you can manage with an Intune app protection policy.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedIOSStoreApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IosDeviceTypeapplicableDeviceTypeprotected StringappStoreUrlprotected StringbundleIdprotected IosMinimumOperatingSystemminimumSupportedOperatingSystem-
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 protectedManagedIOSStoreApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedIOSStoreApp.BuilderbuilderManagedIOSStoreApp()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<IosDeviceType>getApplicableDeviceType()“The iOS architecture for which this app can run on.”Optional<String>getAppStoreUrl()“The Apple AppStoreUrl.”Optional<String>getBundleId()“The app's Bundle ID.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<IosMinimumOperatingSystem>getMinimumSupportedOperatingSystem()“The value for the minimum supported operating system.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ManagedIOSStoreApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ManagedIOSStoreAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ManagedIOSStoreAppwithApplicableDeviceType(IosDeviceType applicableDeviceType)Returns an immutable copy ofthiswith just theapplicableDeviceTypefield changed.ManagedIOSStoreAppwithAppStoreUrl(String appStoreUrl)Returns an immutable copy ofthiswith just theappStoreUrlfield changed.ManagedIOSStoreAppwithBundleId(String bundleId)Returns an immutable copy ofthiswith just thebundleIdfield changed.ManagedIOSStoreAppwithMinimumSupportedOperatingSystem(IosMinimumOperatingSystem minimumSupportedOperatingSystem)Returns an immutable copy ofthiswith just theminimumSupportedOperatingSystemfield changed.ManagedIOSStoreAppwithUnmappedField(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
-
applicableDeviceType
protected IosDeviceType applicableDeviceType
-
appStoreUrl
protected String appStoreUrl
-
bundleId
protected String bundleId
-
minimumSupportedOperatingSystem
protected IosMinimumOperatingSystem minimumSupportedOperatingSystem
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedApp
-
builderManagedIOSStoreApp
public static ManagedIOSStoreApp.Builder builderManagedIOSStoreApp()
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
-
getApplicableDeviceType
public Optional<IosDeviceType> getApplicableDeviceType()
“The iOS architecture for which this app can run on.”- Returns:
- property applicableDeviceType
-
withApplicableDeviceType
public ManagedIOSStoreApp withApplicableDeviceType(IosDeviceType applicableDeviceType)
Returns an immutable copy ofthiswith just theapplicableDeviceTypefield 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 iOS architecture for which this app can run on.”
- Parameters:
applicableDeviceType- new value ofapplicableDeviceTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicableDeviceTypefield changed
-
getAppStoreUrl
public Optional<String> getAppStoreUrl()
“The Apple AppStoreUrl.”- Returns:
- property appStoreUrl
-
withAppStoreUrl
public ManagedIOSStoreApp 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 Apple AppStoreUrl.”
- Parameters:
appStoreUrl- new value ofappStoreUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappStoreUrlfield changed
-
withBundleId
public ManagedIOSStoreApp 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 app's Bundle ID.”
- Parameters:
bundleId- new value ofbundleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebundleIdfield changed
-
getMinimumSupportedOperatingSystem
public Optional<IosMinimumOperatingSystem> getMinimumSupportedOperatingSystem()
“The value for the minimum supported operating system.”- Returns:
- property minimumSupportedOperatingSystem
-
withMinimumSupportedOperatingSystem
public ManagedIOSStoreApp withMinimumSupportedOperatingSystem(IosMinimumOperatingSystem 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
-
withUnmappedField
public ManagedIOSStoreApp 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 ManagedIOSStoreApp 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 ManagedIOSStoreApp 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
-
-