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

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

There is a newer version: 6.26.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 DailyInactiveUsersByApplicationMetric extends InactiveUsersByApplicationMetricBase implements Parsable {
    /**
     * Instantiates a new {@link DailyInactiveUsersByApplicationMetric} and sets the default values.
     */
    public DailyInactiveUsersByApplicationMetric() {
        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 DailyInactiveUsersByApplicationMetric}
     */
    @jakarta.annotation.Nonnull
    public static DailyInactiveUsersByApplicationMetric createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new DailyInactiveUsersByApplicationMetric();
    }
    /**
     * 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("inactive1DayCount", (n) -> { this.setInactive1DayCount(n.getLongValue()); });
        return deserializerMap;
    }
    /**
     * Gets the inactive1DayCount property value. The inactive1DayCount property
     * @return a {@link Long}
     */
    @jakarta.annotation.Nullable
    public Long getInactive1DayCount() {
        return this.backingStore.get("inactive1DayCount");
    }
    /**
     * 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("inactive1DayCount", this.getInactive1DayCount());
    }
    /**
     * Sets the inactive1DayCount property value. The inactive1DayCount property
     * @param value Value to set for the inactive1DayCount property.
     */
    public void setInactive1DayCount(@jakarta.annotation.Nullable final Long value) {
        this.backingStore.set("inactive1DayCount", value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy