Class GroupPolicySettingMapping

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

    public class GroupPolicySettingMapping
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The Group Policy setting to MDM/Intune mapping.”
    • Field Detail

      • admxSettingDefinitionId

        protected String admxSettingDefinitionId
      • childIdListNextLink

        protected String childIdListNextLink
      • intuneSettingDefinitionId

        protected String intuneSettingDefinitionId
      • intuneSettingUriList

        protected List<String> intuneSettingUriList
      • intuneSettingUriListNextLink

        protected String intuneSettingUriListNextLink
      • isMdmSupported

        protected Boolean isMdmSupported
      • mdmCspName

        protected String mdmCspName
      • mdmMinimumOSVersion

        protected Integer mdmMinimumOSVersion
      • mdmSettingUri

        protected String mdmSettingUri
      • parentId

        protected String parentId
      • settingCategory

        protected String settingCategory
      • settingDisplayName

        protected String settingDisplayName
      • settingDisplayValue

        protected String settingDisplayValue
      • settingDisplayValueType

        protected String settingDisplayValueType
      • settingName

        protected String settingName
      • settingValue

        protected String settingValue
      • settingValueDisplayUnits

        protected String settingValueDisplayUnits
      • settingValueType

        protected String settingValueType
    • Constructor Detail

      • GroupPolicySettingMapping

        protected GroupPolicySettingMapping()
    • Method Detail

      • odataTypeName

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

        public static GroupPolicySettingMapping.Builder builderGroupPolicySettingMapping()
        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
      • getAdmxSettingDefinitionId

        public Optional<String> getAdmxSettingDefinitionId()
        “Admx Group Policy Id”
        Returns:
        property admxSettingDefinitionId
      • withAdmxSettingDefinitionId

        public GroupPolicySettingMapping withAdmxSettingDefinitionId​(String admxSettingDefinitionId)
        Returns an immutable copy of this with just the admxSettingDefinitionId 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.

        “Admx Group Policy Id”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getChildIdList()
        “List of Child Ids of the group policy setting.”
        Returns:
        property childIdList
      • withChildIdList

        public GroupPolicySettingMapping withChildIdList​(List<String> childIdList)
        Returns an immutable copy of this with just the childIdList 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 group policy setting.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getChildIdList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of Child Ids of the group policy setting.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property childIdList
      • getIntuneSettingDefinitionId

        public Optional<String> getIntuneSettingDefinitionId()
        “The Intune Setting Definition Id”
        Returns:
        property intuneSettingDefinitionId
      • withIntuneSettingDefinitionId

        public GroupPolicySettingMapping withIntuneSettingDefinitionId​(String intuneSettingDefinitionId)
        Returns an immutable copy of this with just the intuneSettingDefinitionId 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.

        “The Intune Setting Definition Id”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getIntuneSettingUriList()
        “The list of Intune Setting URIs this group policy setting maps to”
        Returns:
        property intuneSettingUriList
      • withIntuneSettingUriList

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

        “The list of Intune Setting URIs this group policy setting maps to”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getIntuneSettingUriList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The list of Intune Setting URIs this group policy setting maps to”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property intuneSettingUriList
      • getIsMdmSupported

        public Optional<Boolean> getIsMdmSupported()
        “Indicates if the setting is supported by Intune or not”
        Returns:
        property isMdmSupported
      • withIsMdmSupported

        public GroupPolicySettingMapping withIsMdmSupported​(Boolean isMdmSupported)
        Returns an immutable copy of this with just the isMdmSupported 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 if the setting is supported by Intune or not”

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

        public Optional<String> getMdmCspName()
        “The CSP name this group policy setting maps to.”
        Returns:
        property mdmCspName
      • withMdmCspName

        public GroupPolicySettingMapping withMdmCspName​(String mdmCspName)
        Returns an immutable copy of this with just the mdmCspName 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.

        “The CSP name this group policy setting maps to.”

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

        public Optional<Integer> getMdmMinimumOSVersion()
        “The minimum OS version this mdm setting supports.”
        Returns:
        property mdmMinimumOSVersion
      • withMdmMinimumOSVersion

        public GroupPolicySettingMapping withMdmMinimumOSVersion​(Integer mdmMinimumOSVersion)
        Returns an immutable copy of this with just the mdmMinimumOSVersion 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.

        “The minimum OS version this mdm setting supports.”

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

        public Optional<String> getMdmSettingUri()
        “The MDM CSP URI this group policy setting maps to.”
        Returns:
        property mdmSettingUri
      • withMdmSettingUri

        public GroupPolicySettingMapping withMdmSettingUri​(String mdmSettingUri)
        Returns an immutable copy of this with just the mdmSettingUri 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.

        “The MDM CSP URI this group policy setting maps to.”

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

        public Optional<MdmSupportedState> getMdmSupportedState()
        “Indicates if the setting is supported in Mdm or not”
        Returns:
        property mdmSupportedState
      • withMdmSupportedState

        public GroupPolicySettingMapping withMdmSupportedState​(MdmSupportedState mdmSupportedState)
        Returns an immutable copy of this with just the mdmSupportedState 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 if the setting is supported in Mdm or not”

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

        public Optional<String> getParentId()
        “Parent Id of the group policy setting.”
        Returns:
        property parentId
      • withParentId

        public GroupPolicySettingMapping withParentId​(String parentId)
        Returns an immutable copy of this with just the parentId 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 group policy setting.”

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

        public Optional<String> getSettingCategory()
        “The category the group policy setting is in.”
        Returns:
        property settingCategory
      • withSettingCategory

        public GroupPolicySettingMapping withSettingCategory​(String settingCategory)
        Returns an immutable copy of this with just the settingCategory 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.

        “The category the group policy setting is in.”

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

        public Optional<String> getSettingDisplayName()
        “The display name of this group policy setting.”
        Returns:
        property settingDisplayName
      • withSettingDisplayName

        public GroupPolicySettingMapping withSettingDisplayName​(String settingDisplayName)
        Returns an immutable copy of this with just the settingDisplayName 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.

        “The display name of this group policy setting.”

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

        public Optional<String> getSettingDisplayValue()
        “The display value of this group policy setting.”
        Returns:
        property settingDisplayValue
      • withSettingDisplayValue

        public GroupPolicySettingMapping withSettingDisplayValue​(String settingDisplayValue)
        Returns an immutable copy of this with just the settingDisplayValue 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.

        “The display value of this group policy setting.”

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

        public Optional<String> getSettingDisplayValueType()
        “The display value type of this group policy setting.”
        Returns:
        property settingDisplayValueType
      • withSettingDisplayValueType

        public GroupPolicySettingMapping withSettingDisplayValueType​(String settingDisplayValueType)
        Returns an immutable copy of this with just the settingDisplayValueType 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.

        “The display value type of this group policy setting.”

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

        public Optional<String> getSettingName()
        “The name of this group policy setting.”
        Returns:
        property settingName
      • withSettingName

        public GroupPolicySettingMapping withSettingName​(String settingName)
        Returns an immutable copy of this with just the settingName 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.

        “The name of this group policy setting.”

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

        public GroupPolicySettingMapping withSettingScope​(GroupPolicySettingScope settingScope)
        Returns an immutable copy of this with just the settingScope 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.

        “The scope of the setting”

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

        public Optional<GroupPolicySettingType> getSettingType()
        “The setting type (security or admx) of the Group Policy.”
        Returns:
        property settingType
      • withSettingType

        public GroupPolicySettingMapping withSettingType​(GroupPolicySettingType settingType)
        Returns an immutable copy of this with just the settingType 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.

        “The setting type (security or admx) of the Group Policy.”

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

        public Optional<String> getSettingValue()
        “The value of this group policy setting.”
        Returns:
        property settingValue
      • withSettingValue

        public GroupPolicySettingMapping withSettingValue​(String settingValue)
        Returns an immutable copy of this with just the settingValue 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.

        “The value of this group policy setting.”

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

        public Optional<String> getSettingValueDisplayUnits()
        “The display units of this group policy setting value”
        Returns:
        property settingValueDisplayUnits
      • withSettingValueDisplayUnits

        public GroupPolicySettingMapping withSettingValueDisplayUnits​(String settingValueDisplayUnits)
        Returns an immutable copy of this with just the settingValueDisplayUnits 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.

        “The display units of this group policy setting value”

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

        public Optional<String> getSettingValueType()
        “The value type of this group policy setting.”
        Returns:
        property settingValueType
      • withSettingValueType

        public GroupPolicySettingMapping withSettingValueType​(String settingValueType)
        Returns an immutable copy of this with just the settingValueType 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.

        “The value type of this group policy setting.”

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