Class LearningContent

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.LearningContent
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

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

    • LearningContent

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

    • createFromDiscriminatorValue

      @Nonnull public static LearningContent 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 LearningContent
    • getAdditionalTags

      @Nullable public List<String> getAdditionalTags()
      Gets the additionalTags property value. Keywords, topics, and other tags associated with the learning content. Optional.
      Returns:
      a List<String>
    • getContentWebUrl

      @Nullable public String getContentWebUrl()
      Gets the contentWebUrl property value. The content web URL for the learning content. Required.
      Returns:
      a String
    • getContributors

      @Nullable public List<String> getContributors()
      Gets the contributors property value. The authors, creators, or contributors of the learning content. Optional.
      Returns:
      a List<String>
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the learning content 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. Optional.
      Returns:
      a OffsetDateTime
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The description or summary for the learning content. Optional.
      Returns:
      a String
    • getDuration

      @Nullable public com.microsoft.kiota.PeriodAndDuration getDuration()
      Gets the duration property value. The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional.
      Returns:
      a PeriodAndDuration
    • getExternalId

      @Nullable public String getExternalId()
      Gets the externalId property value. Unique external content ID for the learning content. Required.
      Returns:
      a String
    • 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>>
    • getFormat

      @Nullable public String getFormat()
      Gets the format property value. The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional.
      Returns:
      a String
    • getIsActive

      @Nullable public Boolean getIsActive()
      Gets the isActive property value. Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
      Returns:
      a Boolean
    • getIsPremium

      @Nullable public Boolean getIsPremium()
      Gets the isPremium property value. Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional.
      Returns:
      a Boolean
    • getIsSearchable

      @Nullable public Boolean getIsSearchable()
      Gets the isSearchable property value. Indicates whether the learning content is searchable or not. The default value is true. Optional.
      Returns:
      a Boolean
    • getLanguageTag

      @Nullable public String getLanguageTag()
      Gets the languageTag property value. The language of the learning content, for example, en-us or fr-fr. Required.
      Returns:
      a String
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time when the learning content was last modified. 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. Optional.
      Returns:
      a OffsetDateTime
    • getLevel

      @Nullable public Level getLevel()
      Gets the level property value. The difficulty level of the learning content. Possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional.
      Returns:
      a Level
    • getNumberOfPages

      @Nullable public Integer getNumberOfPages()
      Gets the numberOfPages property value. The number of pages of the learning content, for example, 9. Optional.
      Returns:
      a Integer
    • getSkillTags

      @Nullable public List<String> getSkillTags()
      Gets the skillTags property value. The skills tags associated with the learning content. Optional.
      Returns:
      a List<String>
    • getSourceName

      @Nullable public String getSourceName()
      Gets the sourceName property value. The source name of the learning content, such as LinkedIn Learning or Coursera. Optional.
      Returns:
      a String
    • getThumbnailWebUrl

      @Nullable public String getThumbnailWebUrl()
      Gets the thumbnailWebUrl property value. The URL of learning content thumbnail image. Optional.
      Returns:
      a String
    • getTitle

      @Nullable public String getTitle()
      Gets the title property value. The title of the learning content. Required.
      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
    • setAdditionalTags

      public void setAdditionalTags(@Nullable List<String> value)
      Sets the additionalTags property value. Keywords, topics, and other tags associated with the learning content. Optional.
      Parameters:
      value - Value to set for the additionalTags property.
    • setContentWebUrl

      public void setContentWebUrl(@Nullable String value)
      Sets the contentWebUrl property value. The content web URL for the learning content. Required.
      Parameters:
      value - Value to set for the contentWebUrl property.
    • setContributors

      public void setContributors(@Nullable List<String> value)
      Sets the contributors property value. The authors, creators, or contributors of the learning content. Optional.
      Parameters:
      value - Value to set for the contributors property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the learning content 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. Optional.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The description or summary for the learning content. Optional.
      Parameters:
      value - Value to set for the description property.
    • setDuration

      public void setDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value)
      Sets the duration property value. The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional.
      Parameters:
      value - Value to set for the duration property.
    • setExternalId

      public void setExternalId(@Nullable String value)
      Sets the externalId property value. Unique external content ID for the learning content. Required.
      Parameters:
      value - Value to set for the externalId property.
    • setFormat

      public void setFormat(@Nullable String value)
      Sets the format property value. The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional.
      Parameters:
      value - Value to set for the format property.
    • setIsActive

      public void setIsActive(@Nullable Boolean value)
      Sets the isActive property value. Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
      Parameters:
      value - Value to set for the isActive property.
    • setIsPremium

      public void setIsPremium(@Nullable Boolean value)
      Sets the isPremium property value. Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional.
      Parameters:
      value - Value to set for the isPremium property.
    • setIsSearchable

      public void setIsSearchable(@Nullable Boolean value)
      Sets the isSearchable property value. Indicates whether the learning content is searchable or not. The default value is true. Optional.
      Parameters:
      value - Value to set for the isSearchable property.
    • setLanguageTag

      public void setLanguageTag(@Nullable String value)
      Sets the languageTag property value. The language of the learning content, for example, en-us or fr-fr. Required.
      Parameters:
      value - Value to set for the languageTag property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time when the learning content was last modified. 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. Optional.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setLevel

      public void setLevel(@Nullable Level value)
      Sets the level property value. The difficulty level of the learning content. Possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional.
      Parameters:
      value - Value to set for the level property.
    • setNumberOfPages

      public void setNumberOfPages(@Nullable Integer value)
      Sets the numberOfPages property value. The number of pages of the learning content, for example, 9. Optional.
      Parameters:
      value - Value to set for the numberOfPages property.
    • setSkillTags

      public void setSkillTags(@Nullable List<String> value)
      Sets the skillTags property value. The skills tags associated with the learning content. Optional.
      Parameters:
      value - Value to set for the skillTags property.
    • setSourceName

      public void setSourceName(@Nullable String value)
      Sets the sourceName property value. The source name of the learning content, such as LinkedIn Learning or Coursera. Optional.
      Parameters:
      value - Value to set for the sourceName property.
    • setThumbnailWebUrl

      public void setThumbnailWebUrl(@Nullable String value)
      Sets the thumbnailWebUrl property value. The URL of learning content thumbnail image. Optional.
      Parameters:
      value - Value to set for the thumbnailWebUrl property.
    • setTitle

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