Class DeviceManagementApplicabilityRuleDeviceMode

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

    public class DeviceManagementApplicabilityRuleDeviceMode
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • Constructor Detail

      • DeviceManagementApplicabilityRuleDeviceMode

        protected DeviceManagementApplicabilityRuleDeviceMode()
    • Method Detail

      • odataTypeName

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

        public DeviceManagementApplicabilityRuleDeviceMode withDeviceMode​(Windows10DeviceModeType deviceMode)
        Returns an immutable copy of this with just the deviceMode 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 for device mode.”

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

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

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