Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceRegistrationPolicy
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the azureADJoin property value.Gets the azureADRegistration property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the localAdminPassword property value.Gets the multiFactorAuthConfiguration property value.Gets the userDeviceQuota property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAzureADJoin
(AzureADJoinPolicy value) Sets the azureADJoin property value.void
Sets the azureADRegistration property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the localAdminPassword property value.void
Sets the multiFactorAuthConfiguration property value.void
setUserDeviceQuota
(Integer value) Sets the userDeviceQuota property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceRegistrationPolicy
public DeviceRegistrationPolicy()Instantiates a newDeviceRegistrationPolicy
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
Gets the azureADJoin property value. The azureADJoin property- Returns:
- a
AzureADJoinPolicy
-
getAzureADRegistration
Gets the azureADRegistration property value. The azureADRegistration property- Returns:
- a
AzureADRegistrationPolicy
-
getDescription
Gets the description property value. The description property- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLocalAdminPassword
Gets the localAdminPassword property value. The localAdminPassword property- Returns:
- a
LocalAdminPasswordSettings
-
getMultiFactorAuthConfiguration
Gets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property- Returns:
- a
MultiFactorAuthConfiguration
-
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 -
setAzureADJoin
Sets the azureADJoin property value. The azureADJoin property- Parameters:
value
- Value to set for the azureADJoin property.
-
setAzureADRegistration
Sets the azureADRegistration property value. The azureADRegistration property- Parameters:
value
- Value to set for the azureADRegistration property.
-
setDescription
Sets the description property value. The description property- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The displayName property- Parameters:
value
- Value to set for the displayName property.
-
setLocalAdminPassword
Sets the localAdminPassword property value. The localAdminPassword property- Parameters:
value
- Value to set for the localAdminPassword property.
-
setMultiFactorAuthConfiguration
Sets the multiFactorAuthConfiguration property value. The multiFactorAuthConfiguration property- Parameters:
value
- Value to set for the multiFactorAuthConfiguration property.
-
setUserDeviceQuota
Sets the userDeviceQuota property value. The userDeviceQuota property- Parameters:
value
- Value to set for the userDeviceQuota property.
-