Package odata.msgraph.client.entity
Class IosMobileAppConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ManagedDeviceMobileAppConfiguration
-
- odata.msgraph.client.entity.IosMobileAppConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IosMobileAppConfiguration extends ManagedDeviceMobileAppConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties, inherited properties and actions for iOS mobile app configurations.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosMobileAppConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]encodedSettingXmlprotected List<AppConfigurationSettingItem>settingsprotected StringsettingsNextLink-
Fields inherited from class odata.msgraph.client.entity.ManagedDeviceMobileAppConfiguration
assignments, createdDateTime, description, deviceStatuses, deviceStatusSummary, displayName, lastModifiedDateTime, targetedMobileApps, targetedMobileAppsNextLink, userStatuses, userStatusSummary, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosMobileAppConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosMobileAppConfiguration.BuilderbuilderIosMobileAppConfiguration()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<byte[]>getEncodedSettingXml()“mdm app configuration Base64 binary.”com.github.davidmoten.odata.client.CollectionPage<AppConfigurationSettingItem>getSettings()“app configuration setting items.”com.github.davidmoten.odata.client.CollectionPage<AppConfigurationSettingItem>getSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)“app configuration setting items.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()IosMobileAppConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosMobileAppConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosMobileAppConfigurationwithEncodedSettingXml(byte[] encodedSettingXml)Returns an immutable copy ofthiswith just theencodedSettingXmlfield changed.IosMobileAppConfigurationwithSettings(List<AppConfigurationSettingItem> settings)Returns an immutable copy ofthiswith just thesettingsfield changed.IosMobileAppConfigurationwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.ManagedDeviceMobileAppConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceStatuses, getDeviceStatusSummary, getDisplayName, getLastModifiedDateTime, getTargetedMobileApps, getTargetedMobileApps, getUserStatuses, getUserStatusSummary, getVersion, withAssignments, withCreatedDateTime, withDescription, withDeviceStatuses, withDeviceStatusSummary, withDisplayName, withLastModifiedDateTime, withTargetedMobileApps, withUserStatuses, withUserStatusSummary, withVersion
-
-
-
-
Field Detail
-
encodedSettingXml
protected byte[] encodedSettingXml
-
settings
protected List<AppConfigurationSettingItem> settings
-
settingsNextLink
protected String settingsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedDeviceMobileAppConfiguration
-
builderIosMobileAppConfiguration
public static IosMobileAppConfiguration.Builder builderIosMobileAppConfiguration()
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 classManagedDeviceMobileAppConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedDeviceMobileAppConfiguration
-
getEncodedSettingXml
public Optional<byte[]> getEncodedSettingXml()
“mdm app configuration Base64 binary.”- Returns:
- property encodedSettingXml
-
withEncodedSettingXml
public IosMobileAppConfiguration withEncodedSettingXml(byte[] encodedSettingXml)
Returns an immutable copy ofthiswith just theencodedSettingXmlfield 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.“mdm app configuration Base64 binary.”
- Parameters:
encodedSettingXml- new value ofencodedSettingXmlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theencodedSettingXmlfield changed
-
getSettings
public com.github.davidmoten.odata.client.CollectionPage<AppConfigurationSettingItem> getSettings()
“app configuration setting items.”- Returns:
- property settings
-
withSettings
public IosMobileAppConfiguration withSettings(List<AppConfigurationSettingItem> settings)
Returns an immutable copy ofthiswith just thesettingsfield 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.“app configuration setting items.”
- Parameters:
settings- new value ofsettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingsfield changed
-
getSettings
public com.github.davidmoten.odata.client.CollectionPage<AppConfigurationSettingItem> getSettings(com.github.davidmoten.odata.client.HttpRequestOptions options)
“app configuration setting items.”- Parameters:
options- specify connect and read timeouts- Returns:
- property settings
-
withUnmappedField
public IosMobileAppConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classManagedDeviceMobileAppConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedDeviceMobileAppConfiguration
-
patch
public IosMobileAppConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedDeviceMobileAppConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public IosMobileAppConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedDeviceMobileAppConfiguration- 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 classManagedDeviceMobileAppConfiguration
-
-