Package odata.msgraph.client.beta.entity
Class EducationRubric
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EducationRubric
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EducationRubric extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationRubric.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected EducationItemBodydescriptionprotected StringdisplayNameprotected EducationAssignmentGradeTypegradingprotected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected List<RubricLevel>levelsprotected StringlevelsNextLinkprotected List<RubricQuality>qualitiesprotected StringqualitiesNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationRubric()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EducationRubric.BuilderbuilderEducationRubric()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<IdentitySet>getCreatedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getCreatedDateTime()Org.OData.Core.V1.ComputedOptional<EducationItemBody>getDescription()Optional<String>getDisplayName()Optional<EducationAssignmentGradeType>getGrading()Optional<IdentitySet>getLastModifiedBy()Org.OData.Core.V1.ComputedOptional<OffsetDateTime>getLastModifiedDateTime()Org.OData.Core.V1.Computedcom.github.davidmoten.odata.client.CollectionPage<RubricLevel>getLevels()com.github.davidmoten.odata.client.CollectionPage<RubricLevel>getLevels(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<RubricQuality>getQualities()com.github.davidmoten.odata.client.CollectionPage<RubricQuality>getQualities(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()EducationRubricpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EducationRubricput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()EducationRubricwithCreatedBy(IdentitySet createdBy)Returns an immutable copy ofthiswith just thecreatedByfield changed.EducationRubricwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.EducationRubricwithDescription(EducationItemBody description)EducationRubricwithDisplayName(String displayName)EducationRubricwithGrading(EducationAssignmentGradeType grading)EducationRubricwithLastModifiedBy(IdentitySet lastModifiedBy)Returns an immutable copy ofthiswith just thelastModifiedByfield changed.EducationRubricwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.EducationRubricwithLevels(List<RubricLevel> levels)EducationRubricwithQualities(List<RubricQuality> qualities)EducationRubricwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected EducationItemBody description
-
displayName
protected String displayName
-
grading
protected EducationAssignmentGradeType grading
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
levels
protected List<RubricLevel> levels
-
levelsNextLink
protected String levelsNextLink
-
qualities
protected List<RubricQuality> qualities
-
qualitiesNextLink
protected String qualitiesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEducationRubric
public static EducationRubric.Builder builderEducationRubric()
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
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property createdBy
-
withCreatedBy
public EducationRubric withCreatedBy(IdentitySet createdBy)
Returns an immutable copy ofthiswith just thecreatedByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
createdBy- new value ofcreatedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedByfield changed
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property createdDateTime
-
withCreatedDateTime
public EducationRubric withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDescription
public Optional<EducationItemBody> getDescription()
-
withDescription
public EducationRubric withDescription(EducationItemBody description)
-
withDisplayName
public EducationRubric withDisplayName(String displayName)
-
getGrading
public Optional<EducationAssignmentGradeType> getGrading()
-
withGrading
public EducationRubric withGrading(EducationAssignmentGradeType grading)
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
Org.OData.Core.V1.Computed
true
- Returns:
- property lastModifiedBy
-
withLastModifiedBy
public EducationRubric withLastModifiedBy(IdentitySet lastModifiedBy)
Returns an immutable copy ofthiswith just thelastModifiedByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
lastModifiedBy- new value oflastModifiedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedByfield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
Org.OData.Core.V1.Computed
true
- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public EducationRubric withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getLevels
public com.github.davidmoten.odata.client.CollectionPage<RubricLevel> getLevels()
-
withLevels
public EducationRubric withLevels(List<RubricLevel> levels)
-
getLevels
public com.github.davidmoten.odata.client.CollectionPage<RubricLevel> getLevels(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getQualities
public com.github.davidmoten.odata.client.CollectionPage<RubricQuality> getQualities()
-
withQualities
public EducationRubric withQualities(List<RubricQuality> qualities)
-
getQualities
public com.github.davidmoten.odata.client.CollectionPage<RubricQuality> getQualities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public EducationRubric withUnmappedField(String name, String 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 EducationRubric patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EducationRubric put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-