Package odata.msgraph.client.entity
Class TrainingLanguageDetail
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.TrainingLanguageDetail
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class TrainingLanguageDetail extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainingLanguageDetail.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcontentprotected EmailIdentitycreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected BooleanisDefaultLangaugeprotected EmailIdentitylastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected Stringlocale-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTrainingLanguageDetail()
-
Method Summary
-
-
-
Field Detail
-
content
protected String content
-
createdBy
protected EmailIdentity createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
isDefaultLangauge
protected Boolean isDefaultLangauge
-
lastModifiedBy
protected EmailIdentity lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
locale
protected String locale
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTrainingLanguageDetail
public static TrainingLanguageDetail.Builder builderTrainingLanguageDetail()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withContent
public TrainingLanguageDetail withContent(String content)
-
getCreatedBy
public Optional<EmailIdentity> getCreatedBy()
-
withCreatedBy
public TrainingLanguageDetail withCreatedBy(EmailIdentity createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public TrainingLanguageDetail withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public TrainingLanguageDetail withDescription(String description)
-
withDisplayName
public TrainingLanguageDetail withDisplayName(String displayName)
-
withIsDefaultLangauge
public TrainingLanguageDetail withIsDefaultLangauge(Boolean isDefaultLangauge)
-
getLastModifiedBy
public Optional<EmailIdentity> getLastModifiedBy()
-
withLastModifiedBy
public TrainingLanguageDetail withLastModifiedBy(EmailIdentity lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public TrainingLanguageDetail withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withLocale
public TrainingLanguageDetail withLocale(String locale)
-
withUnmappedField
public TrainingLanguageDetail withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public TrainingLanguageDetail patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public TrainingLanguageDetail put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-