Class DeviceManagementConfigurationCategory

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class DeviceManagementConfigurationCategory
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Device Management Configuration Policy”
    • Constructor Detail

      • DeviceManagementConfigurationCategory

        protected DeviceManagementConfigurationCategory()
    • Method Detail

      • odataTypeName

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

        public static DeviceManagementConfigurationCategory.Builder builderDeviceManagementConfigurationCategory()
        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
      • getCategoryDescription

        public Optional<String> getCategoryDescription()
        “Description of the category header”
        Returns:
        property categoryDescription
      • withCategoryDescription

        public DeviceManagementConfigurationCategory withCategoryDescription​(String categoryDescription)
        Returns an immutable copy of this with just the categoryDescription 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 category header”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getChildCategoryIds()
        “List of child ids of the category.”
        Returns:
        property childCategoryIds
      • withChildCategoryIds

        public DeviceManagementConfigurationCategory withChildCategoryIds​(List<String> childCategoryIds)
        Returns an immutable copy of this with just the childCategoryIds 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 child ids of the category.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getChildCategoryIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of child ids of the category.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property childCategoryIds
      • getDescription

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

        public DeviceManagementConfigurationCategory 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 DeviceManagementConfigurationCategory 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 DeviceManagementConfigurationCategory 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
      • getName

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

        public DeviceManagementConfigurationCategory 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
      • getParentCategoryId

        public Optional<String> getParentCategoryId()
        “Parent id of the category.”
        Returns:
        property parentCategoryId
      • withParentCategoryId

        public DeviceManagementConfigurationCategory withParentCategoryId​(String parentCategoryId)
        Returns an immutable copy of this with just the parentCategoryId 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.

        “Parent id of the category.”

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

        public DeviceManagementConfigurationCategory withPlatforms​(DeviceManagementConfigurationPlatforms platforms)
        Returns an immutable copy of this with just the platforms 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.

        “Platforms types, which settings in the category have.”

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

        public Optional<String> getRootCategoryId()
        “Root id of the category.”
        Returns:
        property rootCategoryId
      • withRootCategoryId

        public DeviceManagementConfigurationCategory withRootCategoryId​(String rootCategoryId)
        Returns an immutable copy of this with just the rootCategoryId 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 id of the category.”

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

        public DeviceManagementConfigurationCategory 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.

        “Indicates that the category contains settings that are used for Compliance or Configuration.”

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

        public DeviceManagementConfigurationCategory withTechnologies​(DeviceManagementConfigurationTechnologies technologies)
        Returns an immutable copy of this with just the technologies 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.

        “Technologies types, which settings in the category have.”

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