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.
  • Constructor Details

  • 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGroupTag

      @Nullable public String 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

      @Nullable public String getImportId()
      Gets the importId property value. The Import Id of the Windows autopilot device.
      Returns:
      a String
    • getProductKey

      @Nullable public String getProductKey()
      Gets the productKey property value. Product Key of the Windows autopilot device.
      Returns:
      a String
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Gets the serialNumber property value. Serial number of the Windows autopilot device.
      Returns:
      a String
    • getState

      @Nullable public ImportedWindowsAutopilotDeviceIdentityState 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignedUserPrincipalName

      public void setAssignedUserPrincipalName(@Nullable String value)
      Sets the assignedUserPrincipalName property value. UPN of the user the device will be assigned
      Parameters:
      value - Value to set for the assignedUserPrincipalName property.
    • setGroupTag

      public void setGroupTag(@Nullable String value)
      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

      public void setImportId(@Nullable String value)
      Sets the importId property value. The Import Id of the Windows autopilot device.
      Parameters:
      value - Value to set for the importId property.
    • setProductKey

      public void setProductKey(@Nullable String value)
      Sets the productKey property value. Product Key of the Windows autopilot device.
      Parameters:
      value - Value to set for the productKey property.
    • setSerialNumber

      public void setSerialNumber(@Nullable String value)
      Sets the serialNumber property value. Serial number of the Windows autopilot device.
      Parameters:
      value - Value to set for the serialNumber property.
    • setState

      public void setState(@Nullable ImportedWindowsAutopilotDeviceIdentityState value)
      Sets the state property value. Current state of the imported device.
      Parameters:
      value - Value to set for the state property.