Class DeviceManagementApplicabilityRuleOsEdition

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

    public class DeviceManagementApplicabilityRuleOsEdition
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • osEditionTypesNextLink

        protected String osEditionTypesNextLink
    • Constructor Detail

      • DeviceManagementApplicabilityRuleOsEdition

        protected DeviceManagementApplicabilityRuleOsEdition()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getName

        public Optional<String> getName()
        “Name for object.”
        Returns:
        property name
      • withName

        public DeviceManagementApplicabilityRuleOsEdition 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 for object.”

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

        public com.github.davidmoten.odata.client.CollectionPage<Windows10EditionType> getOsEditionTypes()
        “Applicability rule OS edition type.”
        Returns:
        property osEditionTypes
      • getOsEditionTypes

        public com.github.davidmoten.odata.client.CollectionPage<Windows10EditionType> getOsEditionTypes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Applicability rule OS edition type.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property osEditionTypes
      • withRuleType

        public DeviceManagementApplicabilityRuleOsEdition withRuleType​(DeviceManagementApplicabilityRuleType ruleType)
        Returns an immutable copy of this with just the ruleType 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.

        “Applicability Rule type.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

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