Class RetireScheduledManagedDevice

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

    public class RetireScheduledManagedDevice
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “ManagedDevices that are scheduled for retire”
    • 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
      • deviceCompliancePolicyId

        protected String deviceCompliancePolicyId
      • deviceCompliancePolicyName

        protected String deviceCompliancePolicyName
      • managedDeviceId

        protected String managedDeviceId
      • managedDeviceName

        protected String managedDeviceName
      • roleScopeTagIds

        protected List<String> roleScopeTagIds
      • roleScopeTagIdsNextLink

        protected String roleScopeTagIdsNextLink
    • Constructor Detail

      • RetireScheduledManagedDevice

        protected RetireScheduledManagedDevice()
    • Method Detail

      • odataTypeName

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

        public Optional<ComplianceStatus> getComplianceState()
        “Managed Device ComplianceStatus”
        Returns:
        property complianceState
      • withComplianceState

        public RetireScheduledManagedDevice withComplianceState​(ComplianceStatus complianceState)
        Returns an immutable copy of this with just the complianceState 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.

        “Managed Device ComplianceStatus”

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

        public Optional<String> getDeviceCompliancePolicyId()
        “Device Compliance PolicyId”
        Returns:
        property deviceCompliancePolicyId
      • withDeviceCompliancePolicyId

        public RetireScheduledManagedDevice withDeviceCompliancePolicyId​(String deviceCompliancePolicyId)
        Returns an immutable copy of this with just the deviceCompliancePolicyId 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.

        “Device Compliance PolicyId”

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

        public Optional<String> getDeviceCompliancePolicyName()
        “Device Compliance Policy Name”
        Returns:
        property deviceCompliancePolicyName
      • withDeviceCompliancePolicyName

        public RetireScheduledManagedDevice withDeviceCompliancePolicyName​(String deviceCompliancePolicyName)
        Returns an immutable copy of this with just the deviceCompliancePolicyName 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.

        “Device Compliance Policy Name”

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

        public Optional<DeviceType> getDeviceType()
        “Managed Device Device Type”
        Returns:
        property deviceType
      • withDeviceType

        public RetireScheduledManagedDevice withDeviceType​(DeviceType deviceType)
        Returns an immutable copy of this with just the deviceType 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.

        “Managed Device Device Type”

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

        public Optional<String> getId()
        “Key of the entity.”
        Returns:
        property id
      • withId

        public RetireScheduledManagedDevice withId​(String id)
        Returns an immutable copy of this with just the id 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.

        “Key of the entity.”

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

        public Optional<String> getManagedDeviceId()
        “Managed DeviceId”
        Returns:
        property managedDeviceId
      • withManagedDeviceId

        public RetireScheduledManagedDevice withManagedDeviceId​(String managedDeviceId)
        Returns an immutable copy of this with just the managedDeviceId 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.

        “Managed DeviceId”

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

        public Optional<String> getManagedDeviceName()
        “Managed Device Name”
        Returns:
        property managedDeviceName
      • withManagedDeviceName

        public RetireScheduledManagedDevice withManagedDeviceName​(String managedDeviceName)
        Returns an immutable copy of this with just the managedDeviceName 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.

        “Managed Device Name”

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

        public Optional<ManagementAgentType> getManagementAgent()
        “Managed Device ManagementAgentType”
        Returns:
        property managementAgent
      • withManagementAgent

        public RetireScheduledManagedDevice withManagementAgent​(ManagementAgentType managementAgent)
        Returns an immutable copy of this with just the managementAgent 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.

        “Managed Device ManagementAgentType”

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

        public RetireScheduledManagedDevice withOwnerType​(ManagedDeviceOwnerType ownerType)
        Returns an immutable copy of this with just the ownerType 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.

        “Managed Device ManagedDeviceOwnerType”

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

        public Optional<OffsetDateTime> getRetireAfterDateTime()
        “Managed Device Retire After DateTime”
        Returns:
        property retireAfterDateTime
      • withRetireAfterDateTime

        public RetireScheduledManagedDevice withRetireAfterDateTime​(OffsetDateTime retireAfterDateTime)
        Returns an immutable copy of this with just the retireAfterDateTime 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.

        “Managed Device Retire After DateTime”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
        “List of Scope Tags for this Entity instance.”
        Returns:
        property roleScopeTagIds
      • getRoleScopeTagIds

        public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of Scope Tags for this Entity instance.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property roleScopeTagIds
      • 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
      • builder

        public static RetireScheduledManagedDevice.Builder builder()
        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