Class LearningProvider

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

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

    • LearningProvider

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

    • createFromDiscriminatorValue

      @Nonnull public static LearningProvider 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 LearningProvider
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name that appears in Viva Learning. 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>>
    • getIsCourseActivitySyncEnabled

      @Nullable public Boolean getIsCourseActivitySyncEnabled()
      Gets the isCourseActivitySyncEnabled property value. Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider.
      Returns:
      a Boolean
    • getLearningContents

      @Nullable public List<LearningContent> getLearningContents()
      Gets the learningContents property value. Learning catalog items for the provider.
      Returns:
      a List<LearningContent>
    • getLearningCourseActivities

      @Nullable public List<LearningCourseActivity> getLearningCourseActivities()
      Gets the learningCourseActivities property value. The learningCourseActivities property
      Returns:
      a List<LearningCourseActivity>
    • getLoginWebUrl

      @Nullable public String getLoginWebUrl()
      Gets the loginWebUrl property value. Authentication URL to access the courses for the provider. Optional.
      Returns:
      a String
    • getLongLogoWebUrlForDarkTheme

      @Nullable public String getLongLogoWebUrlForDarkTheme()
      Gets the longLogoWebUrlForDarkTheme property value. The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Returns:
      a String
    • getLongLogoWebUrlForLightTheme

      @Nullable public String getLongLogoWebUrlForLightTheme()
      Gets the longLogoWebUrlForLightTheme property value. The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Returns:
      a String
    • getSquareLogoWebUrlForDarkTheme

      @Nullable public String getSquareLogoWebUrlForDarkTheme()
      Gets the squareLogoWebUrlForDarkTheme property value. The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Returns:
      a String
    • getSquareLogoWebUrlForLightTheme

      @Nullable public String getSquareLogoWebUrlForLightTheme()
      Gets the squareLogoWebUrlForLightTheme property value. The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. 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
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name that appears in Viva Learning. Required.
      Parameters:
      value - Value to set for the displayName property.
    • setIsCourseActivitySyncEnabled

      public void setIsCourseActivitySyncEnabled(@Nullable Boolean value)
      Sets the isCourseActivitySyncEnabled property value. Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider.
      Parameters:
      value - Value to set for the isCourseActivitySyncEnabled property.
    • setLearningContents

      public void setLearningContents(@Nullable List<LearningContent> value)
      Sets the learningContents property value. Learning catalog items for the provider.
      Parameters:
      value - Value to set for the learningContents property.
    • setLearningCourseActivities

      public void setLearningCourseActivities(@Nullable List<LearningCourseActivity> value)
      Sets the learningCourseActivities property value. The learningCourseActivities property
      Parameters:
      value - Value to set for the learningCourseActivities property.
    • setLoginWebUrl

      public void setLoginWebUrl(@Nullable String value)
      Sets the loginWebUrl property value. Authentication URL to access the courses for the provider. Optional.
      Parameters:
      value - Value to set for the loginWebUrl property.
    • setLongLogoWebUrlForDarkTheme

      public void setLongLogoWebUrlForDarkTheme(@Nullable String value)
      Sets the longLogoWebUrlForDarkTheme property value. The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Parameters:
      value - Value to set for the longLogoWebUrlForDarkTheme property.
    • setLongLogoWebUrlForLightTheme

      public void setLongLogoWebUrlForLightTheme(@Nullable String value)
      Sets the longLogoWebUrlForLightTheme property value. The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Parameters:
      value - Value to set for the longLogoWebUrlForLightTheme property.
    • setSquareLogoWebUrlForDarkTheme

      public void setSquareLogoWebUrlForDarkTheme(@Nullable String value)
      Sets the squareLogoWebUrlForDarkTheme property value. The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Parameters:
      value - Value to set for the squareLogoWebUrlForDarkTheme property.
    • setSquareLogoWebUrlForLightTheme

      public void setSquareLogoWebUrlForLightTheme(@Nullable String value)
      Sets the squareLogoWebUrlForLightTheme property value. The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
      Parameters:
      value - Value to set for the squareLogoWebUrlForLightTheme property.