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

com.microsoft.graph.beta.generated.models.UserExperienceAnalyticsRemoteConnection 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.HashMap;
import java.util.Map;
import java.util.Objects;
/**
 * The user experience analytics remote connection entity. The report will be retired on December 31, 2024. You can start using the Cloud PC connection quality report now via https://go.microsoft.com/fwlink/?linkid=2283835.
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public class UserExperienceAnalyticsRemoteConnection extends Entity implements Parsable {
    /**
     * Instantiates a new {@link UserExperienceAnalyticsRemoteConnection} and sets the default values.
     */
    public UserExperienceAnalyticsRemoteConnection() {
        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 UserExperienceAnalyticsRemoteConnection}
     */
    @jakarta.annotation.Nonnull
    public static UserExperienceAnalyticsRemoteConnection createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new UserExperienceAnalyticsRemoteConnection();
    }
    /**
     * Gets the cloudPcFailurePercentage property value. The sign in failure percentage of Cloud PC Device. Valid values 0 to 100
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getCloudPcFailurePercentage() {
        return this.backingStore.get("cloudPcFailurePercentage");
    }
    /**
     * Gets the cloudPcRoundTripTime property value. The round tip time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getCloudPcRoundTripTime() {
        return this.backingStore.get("cloudPcRoundTripTime");
    }
    /**
     * Gets the cloudPcSignInTime property value. The sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getCloudPcSignInTime() {
        return this.backingStore.get("cloudPcSignInTime");
    }
    /**
     * Gets the coreBootTime property value. The core boot time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getCoreBootTime() {
        return this.backingStore.get("coreBootTime");
    }
    /**
     * Gets the coreSignInTime property value. The core sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getCoreSignInTime() {
        return this.backingStore.get("coreSignInTime");
    }
    /**
     * Gets the deviceCount property value. The count of remote connection. Valid values 0 to 2147483647
     * @return a {@link Integer}
     */
    @jakarta.annotation.Nullable
    public Integer getDeviceCount() {
        return this.backingStore.get("deviceCount");
    }
    /**
     * Gets the deviceId property value. The id of the device.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getDeviceId() {
        return this.backingStore.get("deviceId");
    }
    /**
     * Gets the deviceName property value. The name of the device.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getDeviceName() {
        return this.backingStore.get("deviceName");
    }
    /**
     * 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("cloudPcFailurePercentage", (n) -> { this.setCloudPcFailurePercentage(n.getDoubleValue()); });
        deserializerMap.put("cloudPcRoundTripTime", (n) -> { this.setCloudPcRoundTripTime(n.getDoubleValue()); });
        deserializerMap.put("cloudPcSignInTime", (n) -> { this.setCloudPcSignInTime(n.getDoubleValue()); });
        deserializerMap.put("coreBootTime", (n) -> { this.setCoreBootTime(n.getDoubleValue()); });
        deserializerMap.put("coreSignInTime", (n) -> { this.setCoreSignInTime(n.getDoubleValue()); });
        deserializerMap.put("deviceCount", (n) -> { this.setDeviceCount(n.getIntegerValue()); });
        deserializerMap.put("deviceId", (n) -> { this.setDeviceId(n.getStringValue()); });
        deserializerMap.put("deviceName", (n) -> { this.setDeviceName(n.getStringValue()); });
        deserializerMap.put("manufacturer", (n) -> { this.setManufacturer(n.getStringValue()); });
        deserializerMap.put("model", (n) -> { this.setModel(n.getStringValue()); });
        deserializerMap.put("remoteSignInTime", (n) -> { this.setRemoteSignInTime(n.getDoubleValue()); });
        deserializerMap.put("userPrincipalName", (n) -> { this.setUserPrincipalName(n.getStringValue()); });
        deserializerMap.put("virtualNetwork", (n) -> { this.setVirtualNetwork(n.getStringValue()); });
        return deserializerMap;
    }
    /**
     * Gets the manufacturer property value. The user experience analytics manufacturer.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getManufacturer() {
        return this.backingStore.get("manufacturer");
    }
    /**
     * Gets the model property value. The user experience analytics device model.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getModel() {
        return this.backingStore.get("model");
    }
    /**
     * Gets the remoteSignInTime property value. The remote sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @return a {@link Double}
     */
    @jakarta.annotation.Nullable
    public Double getRemoteSignInTime() {
        return this.backingStore.get("remoteSignInTime");
    }
    /**
     * Gets the userPrincipalName property value. The user experience analytics userPrincipalName.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getUserPrincipalName() {
        return this.backingStore.get("userPrincipalName");
    }
    /**
     * Gets the virtualNetwork property value. The user experience analytics virtual network.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getVirtualNetwork() {
        return this.backingStore.get("virtualNetwork");
    }
    /**
     * 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.writeDoubleValue("cloudPcFailurePercentage", this.getCloudPcFailurePercentage());
        writer.writeDoubleValue("cloudPcRoundTripTime", this.getCloudPcRoundTripTime());
        writer.writeDoubleValue("cloudPcSignInTime", this.getCloudPcSignInTime());
        writer.writeDoubleValue("coreBootTime", this.getCoreBootTime());
        writer.writeDoubleValue("coreSignInTime", this.getCoreSignInTime());
        writer.writeIntegerValue("deviceCount", this.getDeviceCount());
        writer.writeStringValue("deviceId", this.getDeviceId());
        writer.writeStringValue("deviceName", this.getDeviceName());
        writer.writeStringValue("manufacturer", this.getManufacturer());
        writer.writeStringValue("model", this.getModel());
        writer.writeDoubleValue("remoteSignInTime", this.getRemoteSignInTime());
        writer.writeStringValue("userPrincipalName", this.getUserPrincipalName());
        writer.writeStringValue("virtualNetwork", this.getVirtualNetwork());
    }
    /**
     * Sets the cloudPcFailurePercentage property value. The sign in failure percentage of Cloud PC Device. Valid values 0 to 100
     * @param value Value to set for the cloudPcFailurePercentage property.
     */
    public void setCloudPcFailurePercentage(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("cloudPcFailurePercentage", value);
    }
    /**
     * Sets the cloudPcRoundTripTime property value. The round tip time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @param value Value to set for the cloudPcRoundTripTime property.
     */
    public void setCloudPcRoundTripTime(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("cloudPcRoundTripTime", value);
    }
    /**
     * Sets the cloudPcSignInTime property value. The sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @param value Value to set for the cloudPcSignInTime property.
     */
    public void setCloudPcSignInTime(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("cloudPcSignInTime", value);
    }
    /**
     * Sets the coreBootTime property value. The core boot time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @param value Value to set for the coreBootTime property.
     */
    public void setCoreBootTime(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("coreBootTime", value);
    }
    /**
     * Sets the coreSignInTime property value. The core sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @param value Value to set for the coreSignInTime property.
     */
    public void setCoreSignInTime(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("coreSignInTime", value);
    }
    /**
     * Sets the deviceCount property value. The count of remote connection. Valid values 0 to 2147483647
     * @param value Value to set for the deviceCount property.
     */
    public void setDeviceCount(@jakarta.annotation.Nullable final Integer value) {
        this.backingStore.set("deviceCount", value);
    }
    /**
     * Sets the deviceId property value. The id of the device.
     * @param value Value to set for the deviceId property.
     */
    public void setDeviceId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("deviceId", value);
    }
    /**
     * Sets the deviceName property value. The name of the device.
     * @param value Value to set for the deviceName property.
     */
    public void setDeviceName(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("deviceName", value);
    }
    /**
     * Sets the manufacturer property value. The user experience analytics manufacturer.
     * @param value Value to set for the manufacturer property.
     */
    public void setManufacturer(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("manufacturer", value);
    }
    /**
     * Sets the model property value. The user experience analytics device model.
     * @param value Value to set for the model property.
     */
    public void setModel(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("model", value);
    }
    /**
     * Sets the remoteSignInTime property value. The remote sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308
     * @param value Value to set for the remoteSignInTime property.
     */
    public void setRemoteSignInTime(@jakarta.annotation.Nullable final Double value) {
        this.backingStore.set("remoteSignInTime", value);
    }
    /**
     * Sets the userPrincipalName property value. The user experience analytics userPrincipalName.
     * @param value Value to set for the userPrincipalName property.
     */
    public void setUserPrincipalName(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("userPrincipalName", value);
    }
    /**
     * Sets the virtualNetwork property value. The user experience analytics virtual network.
     * @param value Value to set for the virtualNetwork property.
     */
    public void setVirtualNetwork(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("virtualNetwork", value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy