Class DeviceManagementApplicabilityRuleOsVersion

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

    public class DeviceManagementApplicabilityRuleOsVersion
    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
      • maxOSVersion

        protected String maxOSVersion
      • minOSVersion

        protected String minOSVersion
    • Constructor Detail

      • DeviceManagementApplicabilityRuleOsVersion

        protected DeviceManagementApplicabilityRuleOsVersion()
    • Method Detail

      • odataTypeName

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

        public Optional<String> getMaxOSVersion()
        “Max OS version for Applicability Rule.”
        Returns:
        property maxOSVersion
      • withMaxOSVersion

        public DeviceManagementApplicabilityRuleOsVersion withMaxOSVersion​(String maxOSVersion)
        Returns an immutable copy of this with just the maxOSVersion 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.

        “Max OS version for Applicability Rule.”

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

        public Optional<String> getMinOSVersion()
        “Min OS version for Applicability Rule.”
        Returns:
        property minOSVersion
      • withMinOSVersion

        public DeviceManagementApplicabilityRuleOsVersion withMinOSVersion​(String minOSVersion)
        Returns an immutable copy of this with just the minOSVersion 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.

        “Min OS version for Applicability Rule.”

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

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

        public DeviceManagementApplicabilityRuleOsVersion 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
      • withRuleType

        public DeviceManagementApplicabilityRuleOsVersion 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