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

    • Article

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

      @Nullable public FormattedContent getBody()
      Gets the body property value. The body property
      Returns:
      a FormattedContent
    • getCreatedDateTime

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

      @Nullable public String getImageUrl()
      Gets the imageUrl property value. URL of the header image for this article, used for display purposes.
      Returns:
      a String
    • getIndicators

      @Nullable public List<ArticleIndicator> getIndicators()
      Gets the indicators property value. Indicators related to this article.
      Returns:
      a List<ArticleIndicator>
    • getIsFeatured

      @Nullable public Boolean getIsFeatured()
      Gets the isFeatured property value. Indicates whether this article is currently featured by Microsoft.
      Returns:
      a Boolean
    • getLastUpdatedDateTime

      @Nullable public OffsetDateTime 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

      @Nullable public FormattedContent getSummary()
      Gets the summary property value. The summary property
      Returns:
      a FormattedContent
    • getTags

      @Nullable public List<String> getTags()
      Gets the tags property value. Tags for this article, communicating keywords, or key concepts.
      Returns:
      a List<String>
    • getTitle

      @Nullable public String 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
      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
    • setBody

      public void setBody(@Nullable FormattedContent value)
      Sets the body property value. The body property
      Parameters:
      value - Value to set for the body property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setImageUrl(@Nullable String value)
      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

      public void setIndicators(@Nullable List<ArticleIndicator> value)
      Sets the indicators property value. Indicators related to this article.
      Parameters:
      value - Value to set for the indicators property.
    • setIsFeatured

      public void setIsFeatured(@Nullable Boolean value)
      Sets the isFeatured property value. Indicates whether this article is currently featured by Microsoft.
      Parameters:
      value - Value to set for the isFeatured property.
    • setLastUpdatedDateTime

      public void setLastUpdatedDateTime(@Nullable OffsetDateTime value)
      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

      public void setSummary(@Nullable FormattedContent value)
      Sets the summary property value. The summary property
      Parameters:
      value - Value to set for the summary property.
    • setTags

      public void setTags(@Nullable List<String> value)
      Sets the tags property value. Tags for this article, communicating keywords, or key concepts.
      Parameters:
      value - Value to set for the tags property.
    • setTitle

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