Package com.microsoft.graph.models
Class CloudPcOnPremisesConnectionHealthCheck
java.lang.Object
com.microsoft.graph.models.CloudPcOnPremisesConnectionHealthCheck
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CloudPcOnPremisesConnectionHealthCheck
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newCloudPcOnPremisesConnectionHealthCheckand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the additionalDetail property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the correlationId property value.Gets the displayName property value.Gets the endDateTime property value.Gets the errorType property value.The deserialization information for the current modelGets the @odata.type property value.Gets the recommendedAction property value.Gets the startDateTime property value.Gets the status property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAdditionalDetail(String value) Sets the additionalDetail property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetCorrelationId(String value) Sets the correlationId property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetEndDateTime(OffsetDateTime value) Sets the endDateTime property value.voidSets the errorType property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetRecommendedAction(String value) Sets the recommendedAction property value.voidsetStartDateTime(OffsetDateTime value) Sets the startDateTime property value.voidSets the status property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
CloudPcOnPremisesConnectionHealthCheck
public CloudPcOnPremisesConnectionHealthCheck()Instantiates a newCloudPcOnPremisesConnectionHealthCheckand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CloudPcOnPremisesConnectionHealthCheck createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
CloudPcOnPremisesConnectionHealthCheck
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAdditionalDetail
Gets the additionalDetail property value. Additional details about the health check or the recommended action. For exmaple, the string value can be download.microsoft.com:443;software-download.microsoft.com:443; Read-only.- Returns:
- a
String
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCorrelationId
Gets the correlationId property value. The unique identifier of the health check item-related activities. This identifier can be useful in troubleshooting.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name for this health check item.- Returns:
- a
String
-
getEndDateTime
Gets the endDateTime property value. The value cannot be modified and is automatically populated when the health check ends. The Timestamp type represents date and time information using ISO 8601 format and is in Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2024 would look like this: '2024-01-01T00:00:00Z'. Returned by default. Read-only.- Returns:
- a
OffsetDateTime
-
getErrorType
Gets the errorType property value. The type of error that occurred during this health check. Possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getRecommendedAction
Gets the recommendedAction property value. The recommended action to fix the corresponding error. For example, The Active Directory domain join check failed because the password of the domain join user has expired. Read-Only.- Returns:
- a
String
-
getStartDateTime
Gets the startDateTime property value. The value cannot be modified and is automatically populated when the health check starts. The Timestamp type represents date and time information using ISO 8601 format and is in Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2024 would look like this: '2024-01-01T00:00:00Z'. Returned by default. Read-only.- Returns:
- a
OffsetDateTime
-
getStatus
Gets the status property value. The status property- Returns:
- a
CloudPcOnPremisesConnectionStatus
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAdditionalDetail
Sets the additionalDetail property value. Additional details about the health check or the recommended action. For exmaple, the string value can be download.microsoft.com:443;software-download.microsoft.com:443; Read-only.- Parameters:
value- Value to set for the additionalDetail property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCorrelationId
Sets the correlationId property value. The unique identifier of the health check item-related activities. This identifier can be useful in troubleshooting.- Parameters:
value- Value to set for the correlationId property.
-
setDisplayName
Sets the displayName property value. The display name for this health check item.- Parameters:
value- Value to set for the displayName property.
-
setEndDateTime
Sets the endDateTime property value. The value cannot be modified and is automatically populated when the health check ends. The Timestamp type represents date and time information using ISO 8601 format and is in Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2024 would look like this: '2024-01-01T00:00:00Z'. Returned by default. Read-only.- Parameters:
value- Value to set for the endDateTime property.
-
setErrorType
Sets the errorType property value. The type of error that occurred during this health check. Possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only.- Parameters:
value- Value to set for the errorType property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setRecommendedAction
Sets the recommendedAction property value. The recommended action to fix the corresponding error. For example, The Active Directory domain join check failed because the password of the domain join user has expired. Read-Only.- Parameters:
value- Value to set for the recommendedAction property.
-
setStartDateTime
Sets the startDateTime property value. The value cannot be modified and is automatically populated when the health check starts. The Timestamp type represents date and time information using ISO 8601 format and is in Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2024 would look like this: '2024-01-01T00:00:00Z'. Returned by default. Read-only.- Parameters:
value- Value to set for the startDateTime property.
-
setStatus
Sets the status property value. The status property- Parameters:
value- Value to set for the status property.
-