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

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

There is a newer version: 6.28.0
Show newest version
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.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class RelyingPartyDetailedSummary extends Entity implements Parsable {
    /**
     * Instantiates a new {@link RelyingPartyDetailedSummary} and sets the default values.
     */
    public RelyingPartyDetailedSummary() {
        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 RelyingPartyDetailedSummary}
     */
    @jakarta.annotation.Nonnull
    public static RelyingPartyDetailedSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new RelyingPartyDetailedSummary();
    }
    /**
     * Gets the failedSignInCount property value. Number of failed sign in on Active Directory Federation Service in the period specified.
     * @return a {@link Long}
     */
    @jakarta.annotation.Nullable
    public Long getFailedSignInCount() {
        return this.backingStore.get("failedSignInCount");
    }
    /**
     * 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("failedSignInCount", (n) -> { this.setFailedSignInCount(n.getLongValue()); });
        deserializerMap.put("migrationStatus", (n) -> { this.setMigrationStatus(n.getEnumValue(MigrationStatus::forValue)); });
        deserializerMap.put("migrationValidationDetails", (n) -> { this.setMigrationValidationDetails(n.getCollectionOfObjectValues(KeyValuePair::createFromDiscriminatorValue)); });
        deserializerMap.put("relyingPartyId", (n) -> { this.setRelyingPartyId(n.getStringValue()); });
        deserializerMap.put("relyingPartyName", (n) -> { this.setRelyingPartyName(n.getStringValue()); });
        deserializerMap.put("replyUrls", (n) -> { this.setReplyUrls(n.getCollectionOfPrimitiveValues(String.class)); });
        deserializerMap.put("serviceId", (n) -> { this.setServiceId(n.getStringValue()); });
        deserializerMap.put("signInSuccessRate", (n) -> { this.setSignInSuccessRate(n.getDoubleValue()); });
        deserializerMap.put("successfulSignInCount", (n) -> { this.setSuccessfulSignInCount(n.getLongValue()); });
        deserializerMap.put("totalSignInCount", (n) -> { this.setTotalSignInCount(n.getLongValue()); });
        deserializerMap.put("uniqueUserCount", (n) -> { this.setUniqueUserCount(n.getLongValue()); });
        return deserializerMap;
    }
    /**
     * Gets the migrationStatus property value. The migrationStatus property
     * @return a {@link MigrationStatus}
     */
    @jakarta.annotation.Nullable
    public MigrationStatus getMigrationStatus() {
        return this.backingStore.get("migrationStatus");
    }
    /**
     * Gets the migrationValidationDetails property value. Specifies all the validations check done on applications configuration details to evaluate if the application is ready to be moved to Microsoft Entra ID.
     * @return a {@link java.util.List}
     */
    @jakarta.annotation.Nullable
    public java.util.List getMigrationValidationDetails() {
        return this.backingStore.get("migrationValidationDetails");
    }
    /**
     * Gets the relyingPartyId property value. This identifier is used to identify the relying party to this Federation Service. It's used when issuing claims to the relying party.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getRelyingPartyId() {
        return this.backingStore.get("relyingPartyId");
    }
    /**
     * Gets the relyingPartyName property value. Name of application or other entity on the internet that uses an identity provider to authenticate a user who wants to sign in.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getRelyingPartyName() {
        return this.backingStore.get("relyingPartyName");
    }
    /**
     * Gets the replyUrls property value. Specifies where the relying party expects to receive the token.
     * @return a {@link java.util.List}
     */
    @jakarta.annotation.Nullable
    public java.util.List getReplyUrls() {
        return this.backingStore.get("replyUrls");
    }
    /**
     * Gets the serviceId property value. Uniquely identifies the Active Directory forest.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getServiceId() {
        return this.backingStore.get("serviceId");
    }
    /**
     * Gets the signInSuccessRate property value. Number of successful / (number of successful + number of failed sign ins) on Active Directory Federation Service in the period specified.
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getSignInSuccessRate() {
        return this.backingStore.get("signInSuccessRate");
    }
    /**
     * Gets the successfulSignInCount property value. Number of successful sign ins on Active Directory Federation Service.
     * @return a {@link Long}
     */
    @jakarta.annotation.Nullable
    public Long getSuccessfulSignInCount() {
        return this.backingStore.get("successfulSignInCount");
    }
    /**
     * Gets the totalSignInCount property value. Number of successful + failed sign ins on Active Directory Federation Service in the period specified.
     * @return a {@link Long}
     */
    @jakarta.annotation.Nullable
    public Long getTotalSignInCount() {
        return this.backingStore.get("totalSignInCount");
    }
    /**
     * Gets the uniqueUserCount property value. Number of unique users that have signed into the application.
     * @return a {@link Long}
     */
    @jakarta.annotation.Nullable
    public Long getUniqueUserCount() {
        return this.backingStore.get("uniqueUserCount");
    }
    /**
     * 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.writeLongValue("failedSignInCount", this.getFailedSignInCount());
        writer.writeEnumValue("migrationStatus", this.getMigrationStatus());
        writer.writeCollectionOfObjectValues("migrationValidationDetails", this.getMigrationValidationDetails());
        writer.writeStringValue("relyingPartyId", this.getRelyingPartyId());
        writer.writeStringValue("relyingPartyName", this.getRelyingPartyName());
        writer.writeCollectionOfPrimitiveValues("replyUrls", this.getReplyUrls());
        writer.writeStringValue("serviceId", this.getServiceId());
        writer.writeDoubleValue("signInSuccessRate", this.getSignInSuccessRate());
        writer.writeLongValue("successfulSignInCount", this.getSuccessfulSignInCount());
        writer.writeLongValue("totalSignInCount", this.getTotalSignInCount());
        writer.writeLongValue("uniqueUserCount", this.getUniqueUserCount());
    }
    /**
     * Sets the failedSignInCount property value. Number of failed sign in on Active Directory Federation Service in the period specified.
     * @param value Value to set for the failedSignInCount property.
     */
    public void setFailedSignInCount(@jakarta.annotation.Nullable final Long value) {
        this.backingStore.set("failedSignInCount", value);
    }
    /**
     * Sets the migrationStatus property value. The migrationStatus property
     * @param value Value to set for the migrationStatus property.
     */
    public void setMigrationStatus(@jakarta.annotation.Nullable final MigrationStatus value) {
        this.backingStore.set("migrationStatus", value);
    }
    /**
     * Sets the migrationValidationDetails property value. Specifies all the validations check done on applications configuration details to evaluate if the application is ready to be moved to Microsoft Entra ID.
     * @param value Value to set for the migrationValidationDetails property.
     */
    public void setMigrationValidationDetails(@jakarta.annotation.Nullable final java.util.List value) {
        this.backingStore.set("migrationValidationDetails", value);
    }
    /**
     * Sets the relyingPartyId property value. This identifier is used to identify the relying party to this Federation Service. It's used when issuing claims to the relying party.
     * @param value Value to set for the relyingPartyId property.
     */
    public void setRelyingPartyId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("relyingPartyId", value);
    }
    /**
     * Sets the relyingPartyName property value. Name of application or other entity on the internet that uses an identity provider to authenticate a user who wants to sign in.
     * @param value Value to set for the relyingPartyName property.
     */
    public void setRelyingPartyName(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("relyingPartyName", value);
    }
    /**
     * Sets the replyUrls property value. Specifies where the relying party expects to receive the token.
     * @param value Value to set for the replyUrls property.
     */
    public void setReplyUrls(@jakarta.annotation.Nullable final java.util.List value) {
        this.backingStore.set("replyUrls", value);
    }
    /**
     * Sets the serviceId property value. Uniquely identifies the Active Directory forest.
     * @param value Value to set for the serviceId property.
     */
    public void setServiceId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("serviceId", value);
    }
    /**
     * Sets the signInSuccessRate property value. Number of successful / (number of successful + number of failed sign ins) on Active Directory Federation Service in the period specified.
     * @param value Value to set for the signInSuccessRate property.
     */
    public void setSignInSuccessRate(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("signInSuccessRate", value);
    }
    /**
     * Sets the successfulSignInCount property value. Number of successful sign ins on Active Directory Federation Service.
     * @param value Value to set for the successfulSignInCount property.
     */
    public void setSuccessfulSignInCount(@jakarta.annotation.Nullable final Long value) {
        this.backingStore.set("successfulSignInCount", value);
    }
    /**
     * Sets the totalSignInCount property value. Number of successful + failed sign ins on Active Directory Federation Service in the period specified.
     * @param value Value to set for the totalSignInCount property.
     */
    public void setTotalSignInCount(@jakarta.annotation.Nullable final Long value) {
        this.backingStore.set("totalSignInCount", value);
    }
    /**
     * Sets the uniqueUserCount property value. Number of unique users that have signed into the application.
     * @param value Value to set for the uniqueUserCount property.
     */
    public void setUniqueUserCount(@jakarta.annotation.Nullable final Long value) {
        this.backingStore.set("uniqueUserCount", value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy