Class WindowsAutopilotDeploymentProfile

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WindowsAutopilotDeploymentProfile
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WindowsAutopilotDeploymentProfile extends Entity implements com.microsoft.kiota.serialization.Parsable
Windows Autopilot Deployment Profile
  • Constructor Details

  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WindowsAutopilotDeploymentProfile 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 WindowsAutopilotDeploymentProfile
    • getAssignedDevices

      @Nullable public List<WindowsAutopilotDeviceIdentity> getAssignedDevices()
      Gets the assignedDevices property value. The list of assigned devices for the profile.
      Returns:
      a List<WindowsAutopilotDeviceIdentity>
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time of when the deployment profile was created. The value cannot be modified and is automatically populated when the profile was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. Read-Only.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. A description of the deployment profile. Max allowed length is 1500 chars. Supports: $select, $top, $skip, $orderBy. $Search and $filter are not supported.
      Returns:
      a String
    • getDeviceNameTemplate

      @Nullable public String getDeviceNameTemplate()
      Gets the deviceNameTemplate property value. The template used to name the Autopilot device. This can be a custom text and can also contain either the serial number of the device, or a randomly generated number. The total length of the text generated by the template can be no more than 15 characters. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Returns:
      a String
    • getDeviceType

      @Nullable public WindowsAutopilotDeviceType getDeviceType()
      Gets the deviceType property value. The deviceType property
      Returns:
      a WindowsAutopilotDeviceType
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name of the deployment profile. Max allowed length is 200 chars. Returned by default. Supports: $select, $top, $skip, $orderby. $Search and $filter are not supported.
      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>>
    • getHardwareHashExtractionEnabled

      @Nullable public Boolean getHardwareHashExtractionEnabled()
      Gets the hardwareHashExtractionEnabled property value. Indicates whether the profile supports the extraction of hardware hash values and registration of the device into Windows Autopilot. When TRUE, indicates if hardware extraction and Windows Autopilot registration will happen on the next successful check-in. When FALSE, hardware hash extraction and Windows Autopilot registration will not happen. Default value is FALSE. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Returns:
      a Boolean
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time of when the deployment profile was last modified. The value cannot be updated manually and is automatically populated when any changes are made to the profile. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported Read-Only.
      Returns:
      a OffsetDateTime
    • getLocale

      @Nullable public String getLocale()
      Gets the locale property value. The locale (language) to be used when configuring the device. E.g. en-US. The default value is os-default. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Returns:
      a String
    • getManagementServiceAppId

      @Nullable public String getManagementServiceAppId()
      Gets the managementServiceAppId property value. The Entra management service App ID which gets used during client device-based enrollment discovery. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Returns:
      a String
    • getOutOfBoxExperienceSetting

      @Nullable public OutOfBoxExperienceSetting getOutOfBoxExperienceSetting()
      Gets the outOfBoxExperienceSetting property value. The Windows Autopilot Deployment Profile settings used by the device for the out-of-box experience. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Returns:
      a OutOfBoxExperienceSetting
    • getPreprovisioningAllowed

      @Nullable public Boolean getPreprovisioningAllowed()
      Gets the preprovisioningAllowed property value. Indicates whether the user is allowed to use Windows Autopilot for pre-provisioned deployment mode during Out of Box experience (OOBE). When TRUE, indicates that Windows Autopilot for pre-provisioned deployment mode for OOBE is allowed to be used. When false, Windows Autopilot for pre-provisioned deployment mode for OOBE is not allowed. The default is FALSE.
      Returns:
      a Boolean
    • getRoleScopeTagIds

      @Nullable public List<String> getRoleScopeTagIds()
      Gets the roleScopeTagIds property value. List of role scope tags for the deployment profile.
      Returns:
      a List<String>
    • 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
    • setAssignedDevices

      public void setAssignedDevices(@Nullable List<WindowsAutopilotDeviceIdentity> value)
      Sets the assignedDevices property value. The list of assigned devices for the profile.
      Parameters:
      value - Value to set for the assignedDevices property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time of when the deployment profile was created. The value cannot be modified and is automatically populated when the profile was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. Read-Only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. A description of the deployment profile. Max allowed length is 1500 chars. Supports: $select, $top, $skip, $orderBy. $Search and $filter are not supported.
      Parameters:
      value - Value to set for the description property.
    • setDeviceNameTemplate

      public void setDeviceNameTemplate(@Nullable String value)
      Sets the deviceNameTemplate property value. The template used to name the Autopilot device. This can be a custom text and can also contain either the serial number of the device, or a randomly generated number. The total length of the text generated by the template can be no more than 15 characters. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Parameters:
      value - Value to set for the deviceNameTemplate property.
    • setDeviceType

      public void setDeviceType(@Nullable WindowsAutopilotDeviceType value)
      Sets the deviceType property value. The deviceType property
      Parameters:
      value - Value to set for the deviceType property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name of the deployment profile. Max allowed length is 200 chars. Returned by default. Supports: $select, $top, $skip, $orderby. $Search and $filter are not supported.
      Parameters:
      value - Value to set for the displayName property.
    • setHardwareHashExtractionEnabled

      public void setHardwareHashExtractionEnabled(@Nullable Boolean value)
      Sets the hardwareHashExtractionEnabled property value. Indicates whether the profile supports the extraction of hardware hash values and registration of the device into Windows Autopilot. When TRUE, indicates if hardware extraction and Windows Autopilot registration will happen on the next successful check-in. When FALSE, hardware hash extraction and Windows Autopilot registration will not happen. Default value is FALSE. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Parameters:
      value - Value to set for the hardwareHashExtractionEnabled property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time of when the deployment profile was last modified. The value cannot be updated manually and is automatically populated when any changes are made to the profile. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported Read-Only.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setLocale

      public void setLocale(@Nullable String value)
      Sets the locale property value. The locale (language) to be used when configuring the device. E.g. en-US. The default value is os-default. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Parameters:
      value - Value to set for the locale property.
    • setManagementServiceAppId

      public void setManagementServiceAppId(@Nullable String value)
      Sets the managementServiceAppId property value. The Entra management service App ID which gets used during client device-based enrollment discovery. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Parameters:
      value - Value to set for the managementServiceAppId property.
    • setOutOfBoxExperienceSetting

      public void setOutOfBoxExperienceSetting(@Nullable OutOfBoxExperienceSetting value)
      Sets the outOfBoxExperienceSetting property value. The Windows Autopilot Deployment Profile settings used by the device for the out-of-box experience. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported.
      Parameters:
      value - Value to set for the outOfBoxExperienceSetting property.
    • setPreprovisioningAllowed

      public void setPreprovisioningAllowed(@Nullable Boolean value)
      Sets the preprovisioningAllowed property value. Indicates whether the user is allowed to use Windows Autopilot for pre-provisioned deployment mode during Out of Box experience (OOBE). When TRUE, indicates that Windows Autopilot for pre-provisioned deployment mode for OOBE is allowed to be used. When false, Windows Autopilot for pre-provisioned deployment mode for OOBE is not allowed. The default is FALSE.
      Parameters:
      value - Value to set for the preprovisioningAllowed property.
    • setRoleScopeTagIds

      public void setRoleScopeTagIds(@Nullable List<String> value)
      Sets the roleScopeTagIds property value. List of role scope tags for the deployment profile.
      Parameters:
      value - Value to set for the roleScopeTagIds property.