public class ImportedWindowsAutopilotDeviceIdentity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportedWindowsAutopilotDeviceIdentity.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
assignedUserPrincipalName |
protected String |
groupTag |
protected byte[] |
hardwareIdentifier |
protected String |
importId |
protected String |
orderIdentifier |
protected String |
productKey |
protected String |
serialNumber |
protected ImportedWindowsAutopilotDeviceIdentityState |
state |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ImportedWindowsAutopilotDeviceIdentity() |
| Modifier and Type | Method and Description |
|---|---|
static ImportedWindowsAutopilotDeviceIdentity.Builder |
builderImportedWindowsAutopilotDeviceIdentity()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAssignedUserPrincipalName()
“UPN of the user the device will be assigned”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getGroupTag()
“Group Tag of the Windows autopilot device.”
|
Optional<byte[]> |
getHardwareIdentifier()
“Hardware Blob of the Windows autopilot device.”
|
Optional<String> |
getImportId()
“The Import Id of the Windows autopilot device.”
|
Optional<String> |
getOrderIdentifier()
“Order Id of the Windows autopilot device.
|
Optional<String> |
getProductKey()
“Product Key of the Windows autopilot device.”
|
Optional<String> |
getSerialNumber()
“Serial number of the Windows autopilot device.”
|
Optional<ImportedWindowsAutopilotDeviceIdentityState> |
getState()
“Current state of the imported device.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ImportedWindowsAutopilotDeviceIdentity |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ImportedWindowsAutopilotDeviceIdentity |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ImportedWindowsAutopilotDeviceIdentity |
withAssignedUserPrincipalName(String assignedUserPrincipalName)
Returns an immutable copy of
this with just the assignedUserPrincipalName field changed. |
ImportedWindowsAutopilotDeviceIdentity |
withGroupTag(String groupTag)
Returns an immutable copy of
this with just the groupTag field
changed. |
ImportedWindowsAutopilotDeviceIdentity |
withHardwareIdentifier(byte[] hardwareIdentifier)
Returns an immutable copy of
this with just the hardwareIdentifier field changed. |
ImportedWindowsAutopilotDeviceIdentity |
withImportId(String importId)
Returns an immutable copy of
this with just the importId field
changed. |
ImportedWindowsAutopilotDeviceIdentity |
withOrderIdentifier(String orderIdentifier)
Returns an immutable copy of
this with just the orderIdentifier
field changed. |
ImportedWindowsAutopilotDeviceIdentity |
withProductKey(String productKey)
Returns an immutable copy of
this with just the productKey field
changed. |
ImportedWindowsAutopilotDeviceIdentity |
withSerialNumber(String serialNumber)
Returns an immutable copy of
this with just the serialNumber
field changed. |
ImportedWindowsAutopilotDeviceIdentity |
withState(ImportedWindowsAutopilotDeviceIdentityState state)
Returns an immutable copy of
this with just the state field
changed. |
protected String orderIdentifier
protected String groupTag
protected String serialNumber
protected String productKey
protected String importId
protected byte[] hardwareIdentifier
protected ImportedWindowsAutopilotDeviceIdentityState state
protected String assignedUserPrincipalName
protected ImportedWindowsAutopilotDeviceIdentity()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ImportedWindowsAutopilotDeviceIdentity.Builder builderImportedWindowsAutopilotDeviceIdentity()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<String> getOrderIdentifier()
public ImportedWindowsAutopilotDeviceIdentity withOrderIdentifier(String orderIdentifier)
this with just the orderIdentifier
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.
“Order Id of the Windows autopilot device. - Deprecate”
orderIdentifier - new value of orderIdentifier field (as defined in service metadata)this with just the orderIdentifier field changedpublic Optional<String> getGroupTag()
public ImportedWindowsAutopilotDeviceIdentity withGroupTag(String groupTag)
this with just the groupTag 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.
“Group Tag of the Windows autopilot device.”
groupTag - new value of groupTag field (as defined in service metadata)this with just the groupTag field changedpublic Optional<String> getSerialNumber()
public ImportedWindowsAutopilotDeviceIdentity withSerialNumber(String serialNumber)
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.
“Serial number of the Windows autopilot device.”
serialNumber - new value of serialNumber field (as defined in service metadata)this with just the serialNumber field changedpublic Optional<String> getProductKey()
public ImportedWindowsAutopilotDeviceIdentity withProductKey(String productKey)
this with just the productKey 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.
“Product Key of the Windows autopilot device.”
productKey - new value of productKey field (as defined in service metadata)this with just the productKey field changedpublic Optional<String> getImportId()
public ImportedWindowsAutopilotDeviceIdentity withImportId(String importId)
this with just the importId 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.
“The Import Id of the Windows autopilot device.”
importId - new value of importId field (as defined in service metadata)this with just the importId field changedpublic Optional<byte[]> getHardwareIdentifier()
public ImportedWindowsAutopilotDeviceIdentity withHardwareIdentifier(byte[] hardwareIdentifier)
this with just the hardwareIdentifier 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.
“Hardware Blob of the Windows autopilot device.”
hardwareIdentifier - new value of hardwareIdentifier field (as defined in service metadata)this with just the hardwareIdentifier field changedpublic Optional<ImportedWindowsAutopilotDeviceIdentityState> getState()
public ImportedWindowsAutopilotDeviceIdentity withState(ImportedWindowsAutopilotDeviceIdentityState state)
this with just the state 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.
“Current state of the imported device.”
state - new value of state field (as defined in service metadata)this with just the state field changedpublic Optional<String> getAssignedUserPrincipalName()
public ImportedWindowsAutopilotDeviceIdentity withAssignedUserPrincipalName(String assignedUserPrincipalName)
this with just the assignedUserPrincipalName 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.
“UPN of the user the device will be assigned”
assignedUserPrincipalName - new value of assignedUserPrincipalName field (as defined in service metadata)this with just the assignedUserPrincipalName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ImportedWindowsAutopilotDeviceIdentity patch()
this with changed fields reset.public ImportedWindowsAutopilotDeviceIdentity put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.