Package odata.msgraph.client.entity
Class Training
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Training
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Training extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTraining.Builder
-
Field Summary
Fields Modifier and Type Field Description protected TrainingAvailabilityStatusavailabilityStatusprotected EmailIdentitycreatedByprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected IntegerdurationInMinutesprotected BooleanhasEvaluationprotected List<TrainingLanguageDetail>languageDetailsprotected EmailIdentitylastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected SimulationContentSourcesourceprotected List<String>supportedLocalesprotected StringsupportedLocalesNextLinkprotected List<String>tagsprotected StringtagsNextLinkprotected TrainingTypetype-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTraining()
-
Method Summary
-
-
-
Field Detail
-
availabilityStatus
protected TrainingAvailabilityStatus availabilityStatus
-
createdBy
protected EmailIdentity createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
durationInMinutes
protected Integer durationInMinutes
-
hasEvaluation
protected Boolean hasEvaluation
-
lastModifiedBy
protected EmailIdentity lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
source
protected SimulationContentSource source
-
supportedLocalesNextLink
protected String supportedLocalesNextLink
-
tagsNextLink
protected String tagsNextLink
-
type
protected TrainingType type
-
languageDetails
protected List<TrainingLanguageDetail> languageDetails
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTraining
public static Training.Builder builderTraining()
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
-
getAvailabilityStatus
public Optional<TrainingAvailabilityStatus> getAvailabilityStatus()
-
withAvailabilityStatus
public Training withAvailabilityStatus(TrainingAvailabilityStatus availabilityStatus)
-
getCreatedBy
public Optional<EmailIdentity> getCreatedBy()
-
withCreatedBy
public Training withCreatedBy(EmailIdentity createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Training withCreatedDateTime(OffsetDateTime createdDateTime)
-
getLastModifiedBy
public Optional<EmailIdentity> getLastModifiedBy()
-
withLastModifiedBy
public Training withLastModifiedBy(EmailIdentity lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Training withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getSource
public Optional<SimulationContentSource> getSource()
-
withSource
public Training withSource(SimulationContentSource source)
-
getSupportedLocales
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedLocales()
-
getSupportedLocales
public com.github.davidmoten.odata.client.CollectionPage<String> getSupportedLocales(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getType
public Optional<TrainingType> getType()
-
withType
public Training withType(TrainingType type)
-
withUnmappedField
public Training withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getLanguageDetails
public TrainingLanguageDetailCollectionRequest getLanguageDetails()
-
withLanguageDetails
public Training withLanguageDetails(List<TrainingLanguageDetail> languageDetails)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Training patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Training put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-