Package odata.msgraph.client.complex
Class DeletedWindowsAutopilotDeviceState
- java.lang.Object
-
- odata.msgraph.client.complex.DeletedWindowsAutopilotDeviceState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeletedWindowsAutopilotDeviceState extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeletedWindowsAutopilotDeviceState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected WindowsAutopilotDeviceDeletionStatedeletionStateprotected StringdeviceRegistrationIdprotected StringerrorMessageprotected StringodataTypeprotected StringserialNumberprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeletedWindowsAutopilotDeviceState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeletedWindowsAutopilotDeviceState.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<WindowsAutopilotDeviceDeletionState>getDeletionState()“Device deletion state”Optional<String>getDeviceRegistrationId()“ZTD Device Registration ID .”Optional<String>getErrorMessage()“Device deletion error message.”Optional<String>getSerialNumber()“Autopilot Device Serial Number”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeletedWindowsAutopilotDeviceStatewithDeletionState(WindowsAutopilotDeviceDeletionState deletionState)Returns an immutable copy ofthiswith just thedeletionStatefield changed.DeletedWindowsAutopilotDeviceStatewithDeviceRegistrationId(String deviceRegistrationId)Returns an immutable copy ofthiswith just thedeviceRegistrationIdfield changed.DeletedWindowsAutopilotDeviceStatewithErrorMessage(String errorMessage)Returns an immutable copy ofthiswith just theerrorMessagefield changed.DeletedWindowsAutopilotDeviceStatewithSerialNumber(String serialNumber)Returns an immutable copy ofthiswith just theserialNumberfield changed.DeletedWindowsAutopilotDeviceStatewithUnmappedField(String name, String value)
-
-
-
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
-
deletionState
protected WindowsAutopilotDeviceDeletionState deletionState
-
deviceRegistrationId
protected String deviceRegistrationId
-
errorMessage
protected String errorMessage
-
serialNumber
protected String serialNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeletionState
public Optional<WindowsAutopilotDeviceDeletionState> getDeletionState()
“Device deletion state”- Returns:
- property deletionState
-
withDeletionState
public DeletedWindowsAutopilotDeviceState withDeletionState(WindowsAutopilotDeviceDeletionState deletionState)
Returns an immutable copy ofthiswith just thedeletionStatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Device deletion state”
- Parameters:
deletionState- new value ofdeletionStatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeletionStatefield changed
-
getDeviceRegistrationId
public Optional<String> getDeviceRegistrationId()
“ZTD Device Registration ID .”- Returns:
- property deviceRegistrationId
-
withDeviceRegistrationId
public DeletedWindowsAutopilotDeviceState withDeviceRegistrationId(String deviceRegistrationId)
Returns an immutable copy ofthiswith just thedeviceRegistrationIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“ZTD Device Registration ID .”
- Parameters:
deviceRegistrationId- new value ofdeviceRegistrationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceRegistrationIdfield changed
-
getErrorMessage
public Optional<String> getErrorMessage()
“Device deletion error message.”- Returns:
- property errorMessage
-
withErrorMessage
public DeletedWindowsAutopilotDeviceState withErrorMessage(String errorMessage)
Returns an immutable copy ofthiswith just theerrorMessagefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Device deletion error message.”
- Parameters:
errorMessage- new value oferrorMessagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theerrorMessagefield changed
-
getSerialNumber
public Optional<String> getSerialNumber()
“Autopilot Device Serial Number”- Returns:
- property serialNumber
-
withSerialNumber
public DeletedWindowsAutopilotDeviceState withSerialNumber(String serialNumber)
Returns an immutable copy ofthiswith just theserialNumberfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Autopilot Device Serial Number”
- Parameters:
serialNumber- new value ofserialNumberfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theserialNumberfield changed
-
withUnmappedField
public DeletedWindowsAutopilotDeviceState withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-