Class ServiceAnnouncementBase

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ServiceAnnouncementBase
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
ServiceHealthIssue, ServiceUpdateMessage

@Generated("com.microsoft.kiota") public class ServiceAnnouncementBase extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ServiceAnnouncementBase

      public ServiceAnnouncementBase()
      Instantiates a new ServiceAnnouncementBase and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ServiceAnnouncementBase 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 ServiceAnnouncementBase
    • getDetails

      @Nullable public List<KeyValuePair> getDetails()
      Gets the details property value. More details about service event. This property doesn't support filters.
      Returns:
      a List<KeyValuePair>
    • getEndDateTime

      @Nullable public OffsetDateTime getEndDateTime()
      Gets the endDateTime property value. The end time of the service event.
      Returns:
      a OffsetDateTime
    • 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 Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The last modified time of the service event.
      Returns:
      a OffsetDateTime
    • getStartDateTime

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. The start time of the service event.
      Returns:
      a OffsetDateTime
    • getTitle

      @Nullable public String getTitle()
      Gets the title property value. The title of the service event.
      Returns:
      a String
    • 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 Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDetails

      public void setDetails(@Nullable List<KeyValuePair> value)
      Sets the details property value. More details about service event. This property doesn't support filters.
      Parameters:
      value - Value to set for the details property.
    • setEndDateTime

      public void setEndDateTime(@Nullable OffsetDateTime value)
      Sets the endDateTime property value. The end time of the service event.
      Parameters:
      value - Value to set for the endDateTime property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The last modified time of the service event.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setStartDateTime

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. The start time of the service event.
      Parameters:
      value - Value to set for the startDateTime property.
    • setTitle

      public void setTitle(@Nullable String value)
      Sets the title property value. The title of the service event.
      Parameters:
      value - Value to set for the title property.