Class DeviceManagementConfigurationSettingDefinition

    • Constructor Detail

      • DeviceManagementConfigurationSettingDefinition

        protected DeviceManagementConfigurationSettingDefinition()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderDeviceManagementConfigurationSettingDefinition

        public static DeviceManagementConfigurationSettingDefinition.Builder builderDeviceManagementConfigurationSettingDefinition()
        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 Entity
      • postInject

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

        public DeviceManagementConfigurationSettingDefinition withAccessTypes​(DeviceManagementConfigurationSettingAccessTypes accessTypes)
        Returns an immutable copy of this with just the accessTypes 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.

        “Read/write access mode of the setting”

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

        public DeviceManagementConfigurationSettingDefinition withApplicability​(DeviceManagementConfigurationSettingApplicability applicability)
        Returns an immutable copy of this with just the applicability 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.

        “Details which device setting is applicable on”

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

        public Optional<String> getBaseUri()
        “Base CSP Path”
        Returns:
        property baseUri
      • withBaseUri

        public DeviceManagementConfigurationSettingDefinition withBaseUri​(String baseUri)
        Returns an immutable copy of this with just the baseUri 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.

        “Base CSP Path”

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

        public Optional<String> getCategoryId()
        “Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)”
        Returns:
        property categoryId
      • withCategoryId

        public DeviceManagementConfigurationSettingDefinition withCategoryId​(String categoryId)
        Returns an immutable copy of this with just the categoryId 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.

        “Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)”

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

        public Optional<String> getDescription()
        “Description of the item”
        Returns:
        property description
      • withDescription

        public DeviceManagementConfigurationSettingDefinition withDescription​(String description)
        Returns an immutable copy of this with just the description 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.

        “Description of the item”

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

        public Optional<String> getDisplayName()
        “Display name of the item”
        Returns:
        property displayName
      • withDisplayName

        public DeviceManagementConfigurationSettingDefinition withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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.

        “Display name of the item”

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

        public Optional<String> getHelpText()
        “Help text of the item”
        Returns:
        property helpText
      • withHelpText

        public DeviceManagementConfigurationSettingDefinition withHelpText​(String helpText)
        Returns an immutable copy of this with just the helpText 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.

        “Help text of the item”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getInfoUrls()
        “List of links more info for the setting can be found at”
        Returns:
        property infoUrls
      • withInfoUrls

        public DeviceManagementConfigurationSettingDefinition withInfoUrls​(List<String> infoUrls)
        Returns an immutable copy of this with just the infoUrls 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.

        “List of links more info for the setting can be found at”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getInfoUrls​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of links more info for the setting can be found at”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property infoUrls
      • getKeywords

        public com.github.davidmoten.odata.client.CollectionPage<String> getKeywords()
        “Tokens which to search settings on”
        Returns:
        property keywords
      • withKeywords

        public DeviceManagementConfigurationSettingDefinition withKeywords​(List<String> keywords)
        Returns an immutable copy of this with just the keywords 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.

        “Tokens which to search settings on”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getKeywords​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Tokens which to search settings on”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property keywords
      • getName

        public Optional<String> getName()
        “Name of the item”
        Returns:
        property name
      • withName

        public DeviceManagementConfigurationSettingDefinition withName​(String name)
        Returns an immutable copy of this with just the name 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.

        “Name of the item”

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

        public DeviceManagementConfigurationSettingDefinition withOccurrence​(DeviceManagementConfigurationSettingOccurrence occurrence)
        Returns an immutable copy of this with just the occurrence 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.

        “Indicates whether the setting is required or not”

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

        public Optional<String> getOffsetUri()
        “Offset CSP Path from Base”
        Returns:
        property offsetUri
      • withOffsetUri

        public DeviceManagementConfigurationSettingDefinition withOffsetUri​(String offsetUri)
        Returns an immutable copy of this with just the offsetUri 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.

        “Offset CSP Path from Base”

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

        public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationReferredSettingInformation> getReferredSettingInformationList()
        “List of referred setting information.”
        Returns:
        property referredSettingInformationList
      • withReferredSettingInformationList

        public DeviceManagementConfigurationSettingDefinition withReferredSettingInformationList​(List<DeviceManagementConfigurationReferredSettingInformation> referredSettingInformationList)
        Returns an immutable copy of this with just the referredSettingInformationList 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.

        “List of referred setting information.”

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

        public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationReferredSettingInformation> getReferredSettingInformationList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of referred setting information.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property referredSettingInformationList
      • getRootDefinitionId

        public Optional<String> getRootDefinitionId()
        “Root setting definition if the setting is a child setting.”
        Returns:
        property rootDefinitionId
      • withRootDefinitionId

        public DeviceManagementConfigurationSettingDefinition withRootDefinitionId​(String rootDefinitionId)
        Returns an immutable copy of this with just the rootDefinitionId 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.

        “Root setting definition if the setting is a child setting.”

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

        public DeviceManagementConfigurationSettingDefinition withSettingUsage​(DeviceManagementConfigurationSettingUsage settingUsage)
        Returns an immutable copy of this with just the settingUsage 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.

        “Setting type, for example, configuration and compliance”

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

        public DeviceManagementConfigurationSettingDefinition withUxBehavior​(DeviceManagementConfigurationControlType uxBehavior)
        Returns an immutable copy of this with just the uxBehavior 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.

        “Setting control type representation in the UX”

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

        public Optional<String> getVersion()
        “Item Version”
        Returns:
        property version
      • withVersion

        public DeviceManagementConfigurationSettingDefinition withVersion​(String version)
        Returns an immutable copy of this with just the version 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.

        “Item Version”

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

        public DeviceManagementConfigurationSettingDefinition withVisibility​(DeviceManagementConfigurationSettingVisibility visibility)
        Returns an immutable copy of this with just the visibility 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.

        “Setting visibility scope to UX”

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

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

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