All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.beta.generated.models.AuthenticationStrengthRoot Maven / Gradle / Ivy

package com.microsoft.graph.beta.models;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class AuthenticationStrengthRoot extends Entity implements Parsable {
    /**
     * Instantiates a new {@link AuthenticationStrengthRoot} and sets the default values.
     */
    public AuthenticationStrengthRoot() {
        super();
    }
    /**
     * Creates a new instance of the appropriate class based on discriminator value
     * @param parseNode The parse node to use to read the discriminator value and create the object
     * @return a {@link AuthenticationStrengthRoot}
     */
    @jakarta.annotation.Nonnull
    public static AuthenticationStrengthRoot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new AuthenticationStrengthRoot();
    }
    /**
     * Gets the authenticationCombinations property value. A collection of all valid authentication method combinations in the system.
     * @return a {@link java.util.List}
     */
    @jakarta.annotation.Nullable
    public java.util.List getAuthenticationCombinations() {
        return this.backingStore.get("authenticationCombinations");
    }
    /**
     * Gets the authenticationMethodModes property value. Names and descriptions of all valid authentication method modes in the system.
     * @return a {@link java.util.List}
     */
    @jakarta.annotation.Nullable
    public java.util.List getAuthenticationMethodModes() {
        return this.backingStore.get("authenticationMethodModes");
    }
    /**
     * Gets the combinations property value. The combinations property
     * @return a {@link java.util.List}
     */
    @jakarta.annotation.Nullable
    public java.util.List getCombinations() {
        return this.backingStore.get("combinations");
    }
    /**
     * The deserialization information for the current model
     * @return a {@link Map>}
     */
    @jakarta.annotation.Nonnull
    public Map> getFieldDeserializers() {
        final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
        deserializerMap.put("authenticationCombinations", (n) -> { this.setAuthenticationCombinations(n.getCollectionOfEnumValues(AuthenticationMethodModes::forValue)); });
        deserializerMap.put("authenticationMethodModes", (n) -> { this.setAuthenticationMethodModes(n.getCollectionOfObjectValues(AuthenticationMethodModeDetail::createFromDiscriminatorValue)); });
        deserializerMap.put("combinations", (n) -> { this.setCombinations(n.getCollectionOfEnumValues(AuthenticationMethodModes::forValue)); });
        deserializerMap.put("policies", (n) -> { this.setPolicies(n.getCollectionOfObjectValues(AuthenticationStrengthPolicy::createFromDiscriminatorValue)); });
        return deserializerMap;
    }
    /**
     * Gets the policies property value. A collection of authentication strength policies that exist for this tenant, including both built-in and custom policies.
     * @return a {@link java.util.List}
     */
    @jakarta.annotation.Nullable
    public java.util.List getPolicies() {
        return this.backingStore.get("policies");
    }
    /**
     * Serializes information the current object
     * @param writer Serialization writer to use to serialize this model
     */
    public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
        Objects.requireNonNull(writer);
        super.serialize(writer);
        writer.writeCollectionOfEnumValues("authenticationCombinations", this.getAuthenticationCombinations());
        writer.writeCollectionOfObjectValues("authenticationMethodModes", this.getAuthenticationMethodModes());
        writer.writeCollectionOfEnumValues("combinations", this.getCombinations());
        writer.writeCollectionOfObjectValues("policies", this.getPolicies());
    }
    /**
     * Sets the authenticationCombinations property value. A collection of all valid authentication method combinations in the system.
     * @param value Value to set for the authenticationCombinations property.
     */
    public void setAuthenticationCombinations(@jakarta.annotation.Nullable final java.util.List value) {
        this.backingStore.set("authenticationCombinations", value);
    }
    /**
     * Sets the authenticationMethodModes property value. Names and descriptions of all valid authentication method modes in the system.
     * @param value Value to set for the authenticationMethodModes property.
     */
    public void setAuthenticationMethodModes(@jakarta.annotation.Nullable final java.util.List value) {
        this.backingStore.set("authenticationMethodModes", value);
    }
    /**
     * Sets the combinations property value. The combinations property
     * @param value Value to set for the combinations property.
     */
    public void setCombinations(@jakarta.annotation.Nullable final java.util.List value) {
        this.backingStore.set("combinations", value);
    }
    /**
     * Sets the policies property value. A collection of authentication strength policies that exist for this tenant, including both built-in and custom policies.
     * @param value Value to set for the policies property.
     */
    public void setPolicies(@jakarta.annotation.Nullable final java.util.List value) {
        this.backingStore.set("policies", value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy