Package com.microsoft.graph.models
Class AuthenticationMethodsPolicy
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AuthenticationMethodsPolicy
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AuthenticationMethodsPolicy
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 AuthenticationMethodsPolicycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the authenticationMethodConfigurations property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the lastModifiedDateTime property value.Gets the policyMigrationState property value.Gets the policyVersion property value.Gets the reconfirmationInDays property value.Gets the registrationEnforcement property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the authenticationMethodConfigurations property value.voidsetDescription(String value) Sets the description property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the lastModifiedDateTime property value.voidSets the policyMigrationState property value.voidsetPolicyVersion(String value) Sets the policyVersion property value.voidsetReconfirmationInDays(Integer value) Sets the reconfirmationInDays property value.voidSets the registrationEnforcement property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AuthenticationMethodsPolicy
public AuthenticationMethodsPolicy()Instantiates a newAuthenticationMethodsPolicyand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AuthenticationMethodsPolicy 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
AuthenticationMethodsPolicy
-
getAuthenticationMethodConfigurations
Gets the authenticationMethodConfigurations property value. Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy.- Returns:
- a
List<AuthenticationMethodConfiguration>
-
getDescription
Gets the description property value. A description of the policy. Read-only.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the policy. Read-only.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The date and time of the last update to the policy. Read-only.- Returns:
- a
OffsetDateTime
-
getPolicyMigrationState
Gets the policyMigrationState property value. The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use.- Returns:
- a
AuthenticationMethodsPolicyMigrationState
-
getPolicyVersion
Gets the policyVersion property value. The version of the policy in use. Read-only.- Returns:
- a
String
-
getReconfirmationInDays
Gets the reconfirmationInDays property value. The reconfirmationInDays property- Returns:
- a
Integer
-
getRegistrationEnforcement
Gets the registrationEnforcement property value. Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods.- Returns:
- a
RegistrationEnforcement
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAuthenticationMethodConfigurations
public void setAuthenticationMethodConfigurations(@Nullable List<AuthenticationMethodConfiguration> value) Sets the authenticationMethodConfigurations property value. Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy.- Parameters:
value- Value to set for the authenticationMethodConfigurations property.
-
setDescription
Sets the description property value. A description of the policy. Read-only.- Parameters:
value- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The name of the policy. Read-only.- Parameters:
value- Value to set for the displayName property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The date and time of the last update to the policy. Read-only.- Parameters:
value- Value to set for the lastModifiedDateTime property.
-
setPolicyMigrationState
Sets the policyMigrationState property value. The state of migration of the authentication methods policy from the legacy multifactor authentication and self-service password reset (SSPR) policies. The possible values are: premigration - means the authentication methods policy is used for authentication only, legacy policies are respected. migrationInProgress - means the authentication methods policy is used for both authentication and SSPR, legacy policies are respected. migrationComplete - means the authentication methods policy is used for authentication and SSPR, legacy policies are ignored. unknownFutureValue - Evolvable enumeration sentinel value. Do not use.- Parameters:
value- Value to set for the policyMigrationState property.
-
setPolicyVersion
Sets the policyVersion property value. The version of the policy in use. Read-only.- Parameters:
value- Value to set for the policyVersion property.
-
setReconfirmationInDays
Sets the reconfirmationInDays property value. The reconfirmationInDays property- Parameters:
value- Value to set for the reconfirmationInDays property.
-
setRegistrationEnforcement
Sets the registrationEnforcement property value. Enforce registration at sign-in time. This property can be used to remind users to set up targeted authentication methods.- Parameters:
value- Value to set for the registrationEnforcement property.
-