Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LearningProvider
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the displayName property value.The deserialization information for the current modelGets the isCourseActivitySyncEnabled property value.Gets the learningContents property value.Gets the learningCourseActivities property value.Gets the loginWebUrl property value.Gets the longLogoWebUrlForDarkTheme property value.Gets the longLogoWebUrlForLightTheme property value.Gets the squareLogoWebUrlForDarkTheme property value.Gets the squareLogoWebUrlForLightTheme property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setDisplayName
(String value) Sets the displayName property value.void
Sets the isCourseActivitySyncEnabled property value.void
setLearningContents
(List<LearningContent> value) Sets the learningContents property value.void
Sets the learningCourseActivities property value.void
setLoginWebUrl
(String value) Sets the loginWebUrl property value.void
Sets the longLogoWebUrlForDarkTheme property value.void
Sets the longLogoWebUrlForLightTheme property value.void
Sets the squareLogoWebUrlForDarkTheme property value.void
Sets the squareLogoWebUrlForLightTheme property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
LearningProvider
public LearningProvider()Instantiates a newLearningProvider
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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
Gets the learningContents property value. Learning catalog items for the provider.- Returns:
- a
List<LearningContent>
-
getLearningCourseActivities
Gets the learningCourseActivities property value. The learningCourseActivities property- Returns:
- a
List<LearningCourseActivity>
-
getLoginWebUrl
Gets the loginWebUrl property value. Authentication URL to access the courses for the provider. Optional.- Returns:
- a
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
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
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
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 -
setDisplayName
Sets the displayName property value. The display name that appears in Viva Learning. Required.- Parameters:
value
- Value to set for the displayName property.
-
setIsCourseActivitySyncEnabled
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
Sets the learningContents property value. Learning catalog items for the provider.- Parameters:
value
- Value to set for the learningContents property.
-
setLearningCourseActivities
Sets the learningCourseActivities property value. The learningCourseActivities property- Parameters:
value
- Value to set for the learningCourseActivities property.
-
setLoginWebUrl
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
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
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
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
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.
-