Class DeviceRegistrationPolicy

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

@Generated("com.microsoft.kiota") public class DeviceRegistrationPolicy extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • DeviceRegistrationPolicy

      public DeviceRegistrationPolicy()
      Instantiates a new DeviceRegistrationPolicy and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DeviceRegistrationPolicy 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 DeviceRegistrationPolicy
    • getAzureADJoin

      @Nullable public AzureADJoinPolicy getAzureADJoin()
      Gets the azureADJoin property value. The azureADJoin property
      Returns:
      a AzureADJoinPolicy
    • getAzureADRegistration

      @Nullable public AzureADRegistrationPolicy getAzureADRegistration()
      Gets the azureADRegistration property value. The azureADRegistration property
      Returns:
      a AzureADRegistrationPolicy
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description property
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The displayName property
      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>>
    • getLocalAdminPassword

      @Nullable public LocalAdminPasswordSettings getLocalAdminPassword()
      Gets the localAdminPassword property value. The localAdminPassword property
      Returns:
      a LocalAdminPasswordSettings
    • getMultiFactorAuthConfiguration

      @Nullable public MultiFactorAuthConfiguration getMultiFactorAuthConfiguration()
      Gets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property
      Returns:
      a MultiFactorAuthConfiguration
    • getUserDeviceQuota

      @Nullable public Integer getUserDeviceQuota()
      Gets the userDeviceQuota property value. The userDeviceQuota property
      Returns:
      a Integer
    • 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
    • setAzureADJoin

      public void setAzureADJoin(@Nullable AzureADJoinPolicy value)
      Sets the azureADJoin property value. The azureADJoin property
      Parameters:
      value - Value to set for the azureADJoin property.
    • setAzureADRegistration

      public void setAzureADRegistration(@Nullable AzureADRegistrationPolicy value)
      Sets the azureADRegistration property value. The azureADRegistration property
      Parameters:
      value - Value to set for the azureADRegistration property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description property
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The displayName property
      Parameters:
      value - Value to set for the displayName property.
    • setLocalAdminPassword

      public void setLocalAdminPassword(@Nullable LocalAdminPasswordSettings value)
      Sets the localAdminPassword property value. The localAdminPassword property
      Parameters:
      value - Value to set for the localAdminPassword property.
    • setMultiFactorAuthConfiguration

      public void setMultiFactorAuthConfiguration(@Nullable MultiFactorAuthConfiguration value)
      Sets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property
      Parameters:
      value - Value to set for the multiFactorAuthConfiguration property.
    • setUserDeviceQuota

      public void setUserDeviceQuota(@Nullable Integer value)
      Sets the userDeviceQuota property value. The userDeviceQuota property
      Parameters:
      value - Value to set for the userDeviceQuota property.