com.microsoft.graph.beta.generated.models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance 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 work from anywhere model performance.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class UserExperienceAnalyticsWorkFromAnywhereModelPerformance extends Entity implements Parsable {
/**
* Instantiates a new {@link UserExperienceAnalyticsWorkFromAnywhereModelPerformance} and sets the default values.
*/
public UserExperienceAnalyticsWorkFromAnywhereModelPerformance() {
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 UserExperienceAnalyticsWorkFromAnywhereModelPerformance}
*/
@jakarta.annotation.Nonnull
public static UserExperienceAnalyticsWorkFromAnywhereModelPerformance createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new UserExperienceAnalyticsWorkFromAnywhereModelPerformance();
}
/**
* Gets the cloudIdentityScore property value. The cloud identity score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @return a {@link Double}
*/
@jakarta.annotation.Nullable
public Double getCloudIdentityScore() {
return this.backingStore.get("cloudIdentityScore");
}
/**
* Gets the cloudManagementScore property value. The cloud management score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @return a {@link Double}
*/
@jakarta.annotation.Nullable
public Double getCloudManagementScore() {
return this.backingStore.get("cloudManagementScore");
}
/**
* Gets the cloudProvisioningScore property value. The cloud provisioning score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @return a {@link Double}
*/
@jakarta.annotation.Nullable
public Double getCloudProvisioningScore() {
return this.backingStore.get("cloudProvisioningScore");
}
/**
* 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("cloudIdentityScore", (n) -> { this.setCloudIdentityScore(n.getDoubleValue()); });
deserializerMap.put("cloudManagementScore", (n) -> { this.setCloudManagementScore(n.getDoubleValue()); });
deserializerMap.put("cloudProvisioningScore", (n) -> { this.setCloudProvisioningScore(n.getDoubleValue()); });
deserializerMap.put("healthStatus", (n) -> { this.setHealthStatus(n.getEnumValue(UserExperienceAnalyticsHealthState::forValue)); });
deserializerMap.put("manufacturer", (n) -> { this.setManufacturer(n.getStringValue()); });
deserializerMap.put("model", (n) -> { this.setModel(n.getStringValue()); });
deserializerMap.put("modelDeviceCount", (n) -> { this.setModelDeviceCount(n.getIntegerValue()); });
deserializerMap.put("windowsScore", (n) -> { this.setWindowsScore(n.getDoubleValue()); });
deserializerMap.put("workFromAnywhereScore", (n) -> { this.setWorkFromAnywhereScore(n.getDoubleValue()); });
return deserializerMap;
}
/**
* Gets the healthStatus property value. The healthStatus property
* @return a {@link UserExperienceAnalyticsHealthState}
*/
@jakarta.annotation.Nullable
public UserExperienceAnalyticsHealthState getHealthStatus() {
return this.backingStore.get("healthStatus");
}
/**
* Gets the manufacturer property value. The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getManufacturer() {
return this.backingStore.get("manufacturer");
}
/**
* Gets the model property value. The model name of the device. Supports: $select, $OrderBy. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getModel() {
return this.backingStore.get("model");
}
/**
* Gets the modelDeviceCount property value. The devices count for the model. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
* @return a {@link Integer}
*/
@jakarta.annotation.Nullable
public Integer getModelDeviceCount() {
return this.backingStore.get("modelDeviceCount");
}
/**
* Gets the windowsScore property value. The window score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @return a {@link Double}
*/
@jakarta.annotation.Nullable
public Double getWindowsScore() {
return this.backingStore.get("windowsScore");
}
/**
* Gets the workFromAnywhereScore property value. The work from anywhere score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @return a {@link Double}
*/
@jakarta.annotation.Nullable
public Double getWorkFromAnywhereScore() {
return this.backingStore.get("workFromAnywhereScore");
}
/**
* 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("cloudIdentityScore", this.getCloudIdentityScore());
writer.writeDoubleValue("cloudManagementScore", this.getCloudManagementScore());
writer.writeDoubleValue("cloudProvisioningScore", this.getCloudProvisioningScore());
writer.writeEnumValue("healthStatus", this.getHealthStatus());
writer.writeStringValue("manufacturer", this.getManufacturer());
writer.writeStringValue("model", this.getModel());
writer.writeIntegerValue("modelDeviceCount", this.getModelDeviceCount());
writer.writeDoubleValue("windowsScore", this.getWindowsScore());
writer.writeDoubleValue("workFromAnywhereScore", this.getWorkFromAnywhereScore());
}
/**
* Sets the cloudIdentityScore property value. The cloud identity score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @param value Value to set for the cloudIdentityScore property.
*/
public void setCloudIdentityScore(@jakarta.annotation.Nullable final Double value) {
this.backingStore.set("cloudIdentityScore", value);
}
/**
* Sets the cloudManagementScore property value. The cloud management score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @param value Value to set for the cloudManagementScore property.
*/
public void setCloudManagementScore(@jakarta.annotation.Nullable final Double value) {
this.backingStore.set("cloudManagementScore", value);
}
/**
* Sets the cloudProvisioningScore property value. The cloud provisioning score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @param value Value to set for the cloudProvisioningScore property.
*/
public void setCloudProvisioningScore(@jakarta.annotation.Nullable final Double value) {
this.backingStore.set("cloudProvisioningScore", value);
}
/**
* Sets the healthStatus property value. The healthStatus property
* @param value Value to set for the healthStatus property.
*/
public void setHealthStatus(@jakarta.annotation.Nullable final UserExperienceAnalyticsHealthState value) {
this.backingStore.set("healthStatus", value);
}
/**
* Sets the manufacturer property value. The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.
* @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 model name of the device. Supports: $select, $OrderBy. Read-only.
* @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 modelDeviceCount property value. The devices count for the model. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
* @param value Value to set for the modelDeviceCount property.
*/
public void setModelDeviceCount(@jakarta.annotation.Nullable final Integer value) {
this.backingStore.set("modelDeviceCount", value);
}
/**
* Sets the windowsScore property value. The window score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @param value Value to set for the windowsScore property.
*/
public void setWindowsScore(@jakarta.annotation.Nullable final Double value) {
this.backingStore.set("windowsScore", value);
}
/**
* Sets the workFromAnywhereScore property value. The work from anywhere score of the device model. Valid values 0 to 100. Value -1 means associated score is unavailable. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
* @param value Value to set for the workFromAnywhereScore property.
*/
public void setWorkFromAnywhereScore(@jakarta.annotation.Nullable final Double value) {
this.backingStore.set("workFromAnywhereScore", value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy