Class DeletedWindowsAutopilotDeviceState

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

    public class DeletedWindowsAutopilotDeviceState
    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
      • deviceRegistrationId

        protected String deviceRegistrationId
      • errorMessage

        protected String errorMessage
      • serialNumber

        protected String serialNumber
    • Constructor Detail

      • DeletedWindowsAutopilotDeviceState

        protected DeletedWindowsAutopilotDeviceState()
    • Method Detail

      • odataTypeName

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

        public DeletedWindowsAutopilotDeviceState withDeletionState​(WindowsAutopilotDeviceDeletionState deletionState)
        Returns an immutable copy of this with just the deletionState 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 deletion state”

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

        public Optional<String> getDeviceRegistrationId()
        “ZTD Device Registration ID .”
        Returns:
        property deviceRegistrationId
      • withDeviceRegistrationId

        public DeletedWindowsAutopilotDeviceState withDeviceRegistrationId​(String deviceRegistrationId)
        Returns an immutable copy of this with just the deviceRegistrationId 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.

        “ZTD Device Registration ID .”

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

        public Optional<String> getErrorMessage()
        “Device deletion error message.”
        Returns:
        property errorMessage
      • withErrorMessage

        public DeletedWindowsAutopilotDeviceState withErrorMessage​(String errorMessage)
        Returns an immutable copy of this with just the errorMessage 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 deletion error message.”

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

        public Optional<String> getSerialNumber()
        “Autopilot Device Serial Number”
        Returns:
        property serialNumber
      • withSerialNumber

        public DeletedWindowsAutopilotDeviceState withSerialNumber​(String serialNumber)
        Returns an immutable copy of this with just the serialNumber 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.

        “Autopilot Device Serial Number”

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

        public static DeletedWindowsAutopilotDeviceState.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