Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceAnnouncementBasecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the details property value.Gets the endDateTime property value.The deserialization information for the current modelGets the lastModifiedDateTime property value.Gets the startDateTime property value.getTitle()Gets the title property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDetails(List<KeyValuePair> value) Sets the details property value.voidsetEndDateTime(OffsetDateTime value) Sets the endDateTime property value.voidSets the lastModifiedDateTime property value.voidsetStartDateTime(OffsetDateTime value) Sets the startDateTime property value.voidSets the title property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ServiceAnnouncementBase
public ServiceAnnouncementBase()Instantiates a newServiceAnnouncementBaseand 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
Gets the details property value. More details about service event. This property doesn't support filters.- Returns:
- a
List<KeyValuePair>
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The last modified time of the service event.- Returns:
- a
OffsetDateTime
-
getStartDateTime
Gets the startDateTime property value. The start time of the service event.- Returns:
- a
OffsetDateTime
-
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 -
setDetails
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
Sets the endDateTime property value. The end time of the service event.- Parameters:
value- Value to set for the endDateTime property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The last modified time of the service event.- Parameters:
value- Value to set for the lastModifiedDateTime property.
-
setStartDateTime
Sets the startDateTime property value. The start time of the service event.- Parameters:
value- Value to set for the startDateTime property.
-
setTitle
Sets the title property value. The title of the service event.- Parameters:
value- Value to set for the title property.
-