Package com.microsoft.graph.models
Class ServiceHealthIssue
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ServiceAnnouncementBase
com.microsoft.graph.models.ServiceHealthIssue
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ServiceHealthIssue
extends ServiceAnnouncementBase
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceHealthIssue
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the classification property value.Gets the feature property value.Gets the featureGroup property value.The deserialization information for the current modelGets the impactDescription property value.Gets the isResolved property value.Gets the origin property value.getPosts()
Gets the posts property value.Gets the service property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the classification property value.void
setFeature
(String value) Sets the feature property value.void
setFeatureGroup
(String value) Sets the featureGroup property value.void
setImpactDescription
(String value) Sets the impactDescription property value.void
setIsResolved
(Boolean value) Sets the isResolved property value.void
setOrigin
(ServiceHealthOrigin value) Sets the origin property value.void
setPosts
(List<ServiceHealthIssuePost> value) Sets the posts property value.void
setService
(String value) Sets the service property value.void
setStatus
(ServiceHealthStatus value) Sets the status property value.Methods inherited from class com.microsoft.graph.models.ServiceAnnouncementBase
getDetails, getEndDateTime, getLastModifiedDateTime, getStartDateTime, getTitle, setDetails, setEndDateTime, setLastModifiedDateTime, setStartDateTime, setTitle
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ServiceHealthIssue
public ServiceHealthIssue()Instantiates a newServiceHealthIssue
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ServiceHealthIssue 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
ServiceHealthIssue
-
getClassification
Gets the classification property value. The classification property- Returns:
- a
ServiceHealthClassificationType
-
getFeature
Gets the feature property value. The feature name of the service issue.- Returns:
- a
String
-
getFeatureGroup
Gets the featureGroup property value. The feature group name of the service issue.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classServiceAnnouncementBase
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getImpactDescription
Gets the impactDescription property value. The description of the service issue impact.- Returns:
- a
String
-
getIsResolved
Gets the isResolved property value. Indicates whether the issue is resolved.- Returns:
- a
Boolean
-
getOrigin
Gets the origin property value. The origin property- Returns:
- a
ServiceHealthOrigin
-
getPosts
Gets the posts property value. Collection of historical posts for the service issue.- Returns:
- a
List<ServiceHealthIssuePost>
-
getService
Gets the service property value. Indicates the service affected by the issue.- Returns:
- a
String
-
getStatus
Gets the status property value. The status property- Returns:
- a
ServiceHealthStatus
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classServiceAnnouncementBase
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setClassification
Sets the classification property value. The classification property- Parameters:
value
- Value to set for the classification property.
-
setFeature
Sets the feature property value. The feature name of the service issue.- Parameters:
value
- Value to set for the feature property.
-
setFeatureGroup
Sets the featureGroup property value. The feature group name of the service issue.- Parameters:
value
- Value to set for the featureGroup property.
-
setImpactDescription
Sets the impactDescription property value. The description of the service issue impact.- Parameters:
value
- Value to set for the impactDescription property.
-
setIsResolved
Sets the isResolved property value. Indicates whether the issue is resolved.- Parameters:
value
- Value to set for the isResolved property.
-
setOrigin
Sets the origin property value. The origin property- Parameters:
value
- Value to set for the origin property.
-
setPosts
Sets the posts property value. Collection of historical posts for the service issue.- Parameters:
value
- Value to set for the posts property.
-
setService
Sets the service property value. Indicates the service affected by the issue.- Parameters:
value
- Value to set for the service property.
-
setStatus
Sets the status property value. The status property- Parameters:
value
- Value to set for the status property.
-