Package odata.msgraph.client.complex
Class ImportedWindowsAutopilotDeviceIdentityState
- java.lang.Object
-
- odata.msgraph.client.complex.ImportedWindowsAutopilotDeviceIdentityState
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ImportedWindowsAutopilotDeviceIdentityState extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportedWindowsAutopilotDeviceIdentityState.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdeviceErrorCodeprotected StringdeviceErrorNameprotected ImportedWindowsAutopilotDeviceIdentityImportStatusdeviceImportStatusprotected StringdeviceRegistrationIdprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedImportedWindowsAutopilotDeviceIdentityState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportedWindowsAutopilotDeviceIdentityState.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDeviceErrorCode()“Device error code reported by Device Directory Service(DDS).”Optional<String>getDeviceErrorName()“Device error name reported by Device Directory Service(DDS).”Optional<ImportedWindowsAutopilotDeviceIdentityImportStatus>getDeviceImportStatus()“Device status reported by Device Directory Service(DDS).”Optional<String>getDeviceRegistrationId()“Device Registration ID for successfully added device reported by Device Directory Service(DDS).”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ImportedWindowsAutopilotDeviceIdentityStatewithDeviceErrorCode(Integer deviceErrorCode)Returns an immutable copy ofthiswith just thedeviceErrorCodefield changed.ImportedWindowsAutopilotDeviceIdentityStatewithDeviceErrorName(String deviceErrorName)Returns an immutable copy ofthiswith just thedeviceErrorNamefield changed.ImportedWindowsAutopilotDeviceIdentityStatewithDeviceImportStatus(ImportedWindowsAutopilotDeviceIdentityImportStatus deviceImportStatus)Returns an immutable copy ofthiswith just thedeviceImportStatusfield changed.ImportedWindowsAutopilotDeviceIdentityStatewithDeviceRegistrationId(String deviceRegistrationId)Returns an immutable copy ofthiswith just thedeviceRegistrationIdfield changed.ImportedWindowsAutopilotDeviceIdentityStatewithUnmappedField(String name, Object 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
-
deviceErrorCode
protected Integer deviceErrorCode
-
deviceErrorName
protected String deviceErrorName
-
deviceImportStatus
protected ImportedWindowsAutopilotDeviceIdentityImportStatus deviceImportStatus
-
deviceRegistrationId
protected String deviceRegistrationId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDeviceErrorCode
public Optional<Integer> getDeviceErrorCode()
“Device error code reported by Device Directory Service(DDS).”- Returns:
- property deviceErrorCode
-
withDeviceErrorCode
public ImportedWindowsAutopilotDeviceIdentityState withDeviceErrorCode(Integer deviceErrorCode)
Returns an immutable copy ofthiswith just thedeviceErrorCodefield 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 error code reported by Device Directory Service(DDS).”
- Parameters:
deviceErrorCode- new value ofdeviceErrorCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceErrorCodefield changed
-
getDeviceErrorName
public Optional<String> getDeviceErrorName()
“Device error name reported by Device Directory Service(DDS).”- Returns:
- property deviceErrorName
-
withDeviceErrorName
public ImportedWindowsAutopilotDeviceIdentityState withDeviceErrorName(String deviceErrorName)
Returns an immutable copy ofthiswith just thedeviceErrorNamefield 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 error name reported by Device Directory Service(DDS).”
- Parameters:
deviceErrorName- new value ofdeviceErrorNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceErrorNamefield changed
-
getDeviceImportStatus
public Optional<ImportedWindowsAutopilotDeviceIdentityImportStatus> getDeviceImportStatus()
“Device status reported by Device Directory Service(DDS).”- Returns:
- property deviceImportStatus
-
withDeviceImportStatus
public ImportedWindowsAutopilotDeviceIdentityState withDeviceImportStatus(ImportedWindowsAutopilotDeviceIdentityImportStatus deviceImportStatus)
Returns an immutable copy ofthiswith just thedeviceImportStatusfield 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 status reported by Device Directory Service(DDS).”
- Parameters:
deviceImportStatus- new value ofdeviceImportStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceImportStatusfield changed
-
getDeviceRegistrationId
public Optional<String> getDeviceRegistrationId()
“Device Registration ID for successfully added device reported by Device Directory Service(DDS).”- Returns:
- property deviceRegistrationId
-
withDeviceRegistrationId
public ImportedWindowsAutopilotDeviceIdentityState 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.“Device Registration ID for successfully added device reported by Device Directory Service(DDS).”
- Parameters:
deviceRegistrationId- new value ofdeviceRegistrationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceRegistrationIdfield changed
-
withUnmappedField
public ImportedWindowsAutopilotDeviceIdentityState withUnmappedField(String name, Object 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 ImportedWindowsAutopilotDeviceIdentityState.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
-
-