Package com.microsoft.graph.models
Class TrainingLanguageDetail
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TrainingLanguageDetail
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class TrainingLanguageDetail
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 TrainingLanguageDetail
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the content property value.Gets the createdBy property value.Gets the createdDateTime property value.Gets the description property value.Gets the displayName property value.The deserialization information for the current modelGets the isDefaultLangauge property value.Gets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.Gets the locale property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setContent
(String value) Sets the content property value.void
setCreatedBy
(EmailIdentity value) Sets the createdBy property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setIsDefaultLangauge
(Boolean value) Sets the isDefaultLangauge property value.void
setLastModifiedBy
(EmailIdentity value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
Sets the locale property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
TrainingLanguageDetail
public TrainingLanguageDetail()Instantiates a newTrainingLanguageDetail
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static TrainingLanguageDetail 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
TrainingLanguageDetail
-
getContent
Gets the content property value. Language specific content for the training.- Returns:
- a
String
-
getCreatedBy
Gets the createdBy property value. Identity of the user who created the language details.- Returns:
- a
EmailIdentity
-
getCreatedDateTime
Gets the createdDateTime property value. Date and time when the language details were created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Description as defined by the user.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Display name as defined by the user.- 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>>
-
getIsDefaultLangauge
Gets the isDefaultLangauge property value. Indicates whether the training has a default language.- Returns:
- a
Boolean
-
getLastModifiedBy
Gets the lastModifiedBy property value. Identity of the user who last modified the details.- Returns:
- a
EmailIdentity
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Date and time when the trainingLanguageDetail was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getLocale
Gets the locale property value. Content locale for the training detail.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setContent
Sets the content property value. Language specific content for the training.- Parameters:
value
- Value to set for the content property.
-
setCreatedBy
Sets the createdBy property value. Identity of the user who created the language details.- Parameters:
value
- Value to set for the createdBy property.
-
setCreatedDateTime
Sets the createdDateTime property value. Date and time when the language details were created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Description as defined by the user.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. Display name as defined by the user.- Parameters:
value
- Value to set for the displayName property.
-
setIsDefaultLangauge
Sets the isDefaultLangauge property value. Indicates whether the training has a default language.- Parameters:
value
- Value to set for the isDefaultLangauge property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. Identity of the user who last modified the details.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Date and time when the trainingLanguageDetail was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setLocale
Sets the locale property value. Content locale for the training detail.- Parameters:
value
- Value to set for the locale property.
-