Class Article
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.Article
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Article
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 Article
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetBody()
Gets the body property value.Gets the createdDateTime property value.The deserialization information for the current modelGets the imageUrl property value.Gets the indicators property value.Gets the isFeatured property value.Gets the lastUpdatedDateTime property value.Gets the summary property value.getTags()
Gets the tags property value.getTitle()
Gets the title property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setBody
(FormattedContent value) Sets the body property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setImageUrl
(String value) Sets the imageUrl property value.void
setIndicators
(List<ArticleIndicator> value) Sets the indicators property value.void
setIsFeatured
(Boolean value) Sets the isFeatured property value.void
Sets the lastUpdatedDateTime property value.void
setSummary
(FormattedContent value) Sets the summary property value.void
Sets the tags property value.void
Sets the title property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Article
public Article()Instantiates a newArticle
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Article 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
Article
-
getBody
Gets the body property value. The body property- Returns:
- a
FormattedContent
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when this article was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- 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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getImageUrl
Gets the imageUrl property value. URL of the header image for this article, used for display purposes.- Returns:
- a
String
-
getIndicators
Gets the indicators property value. Indicators related to this article.- Returns:
- a
List<ArticleIndicator>
-
getIsFeatured
Gets the isFeatured property value. Indicates whether this article is currently featured by Microsoft.- Returns:
- a
Boolean
-
getLastUpdatedDateTime
Gets the lastUpdatedDateTime property value. The most recent date and time when this article was updated. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getSummary
Gets the summary property value. The summary property- Returns:
- a
FormattedContent
-
getTags
Gets the tags property value. Tags for this article, communicating keywords, or key concepts. -
getTitle
Gets the title property value. The title of this article.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setBody
Sets the body property value. The body property- Parameters:
value
- Value to set for the body property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time when this article was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the createdDateTime property.
-
setImageUrl
Sets the imageUrl property value. URL of the header image for this article, used for display purposes.- Parameters:
value
- Value to set for the imageUrl property.
-
setIndicators
Sets the indicators property value. Indicators related to this article.- Parameters:
value
- Value to set for the indicators property.
-
setIsFeatured
Sets the isFeatured property value. Indicates whether this article is currently featured by Microsoft.- Parameters:
value
- Value to set for the isFeatured property.
-
setLastUpdatedDateTime
Sets the lastUpdatedDateTime property value. The most recent date and time when this article was updated. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastUpdatedDateTime property.
-
setSummary
Sets the summary property value. The summary property- Parameters:
value
- Value to set for the summary property.
-
setTags
Sets the tags property value. Tags for this article, communicating keywords, or key concepts.- Parameters:
value
- Value to set for the tags property.
-
setTitle
Sets the title property value. The title of this article.- Parameters:
value
- Value to set for the title property.
-