Package com.microsoft.graph.models
Class ImportedWindowsAutopilotDeviceIdentity
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ImportedWindowsAutopilotDeviceIdentity
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ImportedWindowsAutopilotDeviceIdentity
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Imported windows autopilot devices.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newImportedWindowsAutopilotDeviceIdentity
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the assignedUserPrincipalName property value.The deserialization information for the current modelGets the groupTag property value.byte[]
Gets the hardwareIdentifier property value.Gets the importId property value.Gets the productKey property value.Gets the serialNumber property value.getState()
Gets the state property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the assignedUserPrincipalName property value.void
setGroupTag
(String value) Sets the groupTag property value.void
setHardwareIdentifier
(byte[] value) Sets the hardwareIdentifier property value.void
setImportId
(String value) Sets the importId property value.void
setProductKey
(String value) Sets the productKey property value.void
setSerialNumber
(String value) Sets the serialNumber property value.void
Sets the state property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ImportedWindowsAutopilotDeviceIdentity
public ImportedWindowsAutopilotDeviceIdentity()Instantiates a newImportedWindowsAutopilotDeviceIdentity
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ImportedWindowsAutopilotDeviceIdentity createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
ImportedWindowsAutopilotDeviceIdentity
-
getAssignedUserPrincipalName
Gets the assignedUserPrincipalName property value. UPN of the user the device will be assigned- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGroupTag
Gets the groupTag property value. Group Tag of the Windows autopilot device.- Returns:
- a
String
-
getHardwareIdentifier
@Nullable public byte[] getHardwareIdentifier()Gets the hardwareIdentifier property value. Hardware Blob of the Windows autopilot device.- Returns:
- a
invalid reference
byte[]
-
getImportId
Gets the importId property value. The Import Id of the Windows autopilot device.- Returns:
- a
String
-
getProductKey
Gets the productKey property value. Product Key of the Windows autopilot device.- Returns:
- a
String
-
getSerialNumber
Gets the serialNumber property value. Serial number of the Windows autopilot device.- Returns:
- a
String
-
getState
Gets the state property value. Current state of the imported device.- Returns:
- a
ImportedWindowsAutopilotDeviceIdentityState
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAssignedUserPrincipalName
Sets the assignedUserPrincipalName property value. UPN of the user the device will be assigned- Parameters:
value
- Value to set for the assignedUserPrincipalName property.
-
setGroupTag
Sets the groupTag property value. Group Tag of the Windows autopilot device.- Parameters:
value
- Value to set for the groupTag property.
-
setHardwareIdentifier
public void setHardwareIdentifier(@Nullable byte[] value) Sets the hardwareIdentifier property value. Hardware Blob of the Windows autopilot device.- Parameters:
value
- Value to set for the hardwareIdentifier property.
-
setImportId
Sets the importId property value. The Import Id of the Windows autopilot device.- Parameters:
value
- Value to set for the importId property.
-
setProductKey
Sets the productKey property value. Product Key of the Windows autopilot device.- Parameters:
value
- Value to set for the productKey property.
-
setSerialNumber
Sets the serialNumber property value. Serial number of the Windows autopilot device.- Parameters:
value
- Value to set for the serialNumber property.
-
setState
Sets the state property value. Current state of the imported device.- Parameters:
value
- Value to set for the state property.
-