Package com.microsoft.graph.models
Class ServiceAnnouncement
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ServiceAnnouncement
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ServiceAnnouncement
extends Entity
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 ServiceAnnouncementcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueThe deserialization information for the current modelGets the healthOverviews property value.Gets the issues property value.Gets the messages property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetHealthOverviews(List<ServiceHealth> value) Sets the healthOverviews property value.voidsetIssues(List<ServiceHealthIssue> value) Sets the issues property value.voidsetMessages(List<ServiceUpdateMessage> value) Sets the messages property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ServiceAnnouncement
public ServiceAnnouncement()Instantiates a newServiceAnnouncementand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ServiceAnnouncement 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
ServiceAnnouncement
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHealthOverviews
Gets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.- Returns:
- a
List<ServiceHealth>
-
getIssues
Gets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly.- Returns:
- a
List<ServiceHealthIssue>
-
getMessages
Gets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly.- Returns:
- a
List<ServiceUpdateMessage>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setHealthOverviews
Sets the healthOverviews property value. A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.- Parameters:
value- Value to set for the healthOverviews property.
-
setIssues
Sets the issues property value. A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly.- Parameters:
value- Value to set for the issues property.
-
setMessages
Sets the messages property value. A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly.- Parameters:
value- Value to set for the messages property.
-