Class 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
  • Constructor Details

    • ServiceHealthIssue

      public ServiceHealthIssue()
      Instantiates a new ServiceHealthIssue 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

      @Nullable public ServiceHealthClassificationType getClassification()
      Gets the classification property value. The classification property
      Returns:
      a ServiceHealthClassificationType
    • getFeature

      @Nullable public String getFeature()
      Gets the feature property value. The feature name of the service issue.
      Returns:
      a String
    • getFeatureGroup

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class ServiceAnnouncementBase
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getImpactDescription

      @Nullable public String getImpactDescription()
      Gets the impactDescription property value. The description of the service issue impact.
      Returns:
      a String
    • getIsResolved

      @Nullable public Boolean getIsResolved()
      Gets the isResolved property value. Indicates whether the issue is resolved.
      Returns:
      a Boolean
    • getOrigin

      @Nullable public ServiceHealthOrigin getOrigin()
      Gets the origin property value. The origin property
      Returns:
      a ServiceHealthOrigin
    • getPosts

      @Nullable public List<ServiceHealthIssuePost> getPosts()
      Gets the posts property value. Collection of historical posts for the service issue.
      Returns:
      a List<ServiceHealthIssuePost>
    • getService

      @Nullable public String getService()
      Gets the service property value. Indicates the service affected by the issue.
      Returns:
      a String
    • getStatus

      @Nullable public ServiceHealthStatus 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class ServiceAnnouncementBase
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setClassification

      public void setClassification(@Nullable ServiceHealthClassificationType value)
      Sets the classification property value. The classification property
      Parameters:
      value - Value to set for the classification property.
    • setFeature

      public void setFeature(@Nullable String value)
      Sets the feature property value. The feature name of the service issue.
      Parameters:
      value - Value to set for the feature property.
    • setFeatureGroup

      public void setFeatureGroup(@Nullable String value)
      Sets the featureGroup property value. The feature group name of the service issue.
      Parameters:
      value - Value to set for the featureGroup property.
    • setImpactDescription

      public void setImpactDescription(@Nullable String value)
      Sets the impactDescription property value. The description of the service issue impact.
      Parameters:
      value - Value to set for the impactDescription property.
    • setIsResolved

      public void setIsResolved(@Nullable Boolean value)
      Sets the isResolved property value. Indicates whether the issue is resolved.
      Parameters:
      value - Value to set for the isResolved property.
    • setOrigin

      public void setOrigin(@Nullable ServiceHealthOrigin value)
      Sets the origin property value. The origin property
      Parameters:
      value - Value to set for the origin property.
    • setPosts

      public void setPosts(@Nullable List<ServiceHealthIssuePost> value)
      Sets the posts property value. Collection of historical posts for the service issue.
      Parameters:
      value - Value to set for the posts property.
    • setService

      public void setService(@Nullable String value)
      Sets the service property value. Indicates the service affected by the issue.
      Parameters:
      value - Value to set for the service property.
    • setStatus

      public void setStatus(@Nullable ServiceHealthStatus value)
      Sets the status property value. The status property
      Parameters:
      value - Value to set for the status property.