Class ManagedAppConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    TargetedManagedAppConfiguration

    public class ManagedAppConfiguration
    extends ManagedAppPolicy
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Configuration used to deliver a set of custom settings as-is to apps for users to whom the configuration is scoped”
    • Field Detail

      • customSettingsNextLink

        protected String customSettingsNextLink
    • Constructor Detail

      • ManagedAppConfiguration

        protected ManagedAppConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class ManagedAppPolicy
      • 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 ManagedAppPolicy
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomSettings()
        “A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”
        Returns:
        property customSettings
      • withCustomSettings

        public ManagedAppConfiguration withCustomSettings​(List<KeyValuePair> customSettings)
        Returns an immutable copy of this with just the customSettings 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.

        “A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”

        Parameters:
        customSettings - new value of customSettings field (as defined in service metadata)
        Returns:
        immutable copy of this with just the customSettings field changed
      • getCustomSettings

        public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomSettings​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property customSettings
      • getUnmappedFields

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

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