Class 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.”
    • Constructor Detail

      • IosMobileAppConfiguration

        protected IosMobileAppConfiguration()
    • Method Detail

      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class ManagedDeviceMobileAppConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class ManagedDeviceMobileAppConfiguration
      • getEncodedSettingXml

        public Optional<byte[]> getEncodedSettingXml()
        “mdm app configuration Base64 binary.”
        Returns:
        property encodedSettingXml
      • withEncodedSettingXml

        public IosMobileAppConfiguration withEncodedSettingXml​(byte[] encodedSettingXml)
        Returns an immutable copy of this with just the encodedSettingXml field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “mdm app configuration Base64 binary.”

        Parameters:
        encodedSettingXml - new value of encodedSettingXml field (as defined in service metadata)
        Returns:
        immutable copy of this with just the encodedSettingXml field 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 of this with just the settings field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “app configuration setting items.”

        Parameters:
        settings - new value of settings field (as defined in service metadata)
        Returns:
        immutable copy of this with just the settings field 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
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class ManagedDeviceMobileAppConfiguration
      • patch

        public IosMobileAppConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class ManagedDeviceMobileAppConfiguration
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class ManagedDeviceMobileAppConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected