Package odata.msgraph.client.beta.entity
Class EducationPointsOutcome
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EducationOutcome
-
- odata.msgraph.client.beta.entity.EducationPointsOutcome
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EducationPointsOutcome extends EducationOutcome implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationPointsOutcome.Builder
-
Field Summary
Fields Modifier and Type Field Description protected EducationAssignmentPointsGradepointsprotected EducationAssignmentPointsGradepublishedPoints-
Fields inherited from class odata.msgraph.client.beta.entity.EducationOutcome
lastModifiedBy, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationPointsOutcome()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EducationPointsOutcome.BuilderbuilderEducationPointsOutcome()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<EducationAssignmentPointsGrade>getPoints()Optional<EducationAssignmentPointsGrade>getPublishedPoints()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()EducationPointsOutcomepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EducationPointsOutcomeput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()EducationPointsOutcomewithPoints(EducationAssignmentPointsGrade points)EducationPointsOutcomewithPublishedPoints(EducationAssignmentPointsGrade publishedPoints)EducationPointsOutcomewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.EducationOutcome
getLastModifiedBy, getLastModifiedDateTime, withLastModifiedBy, withLastModifiedDateTime
-
-
-
-
Field Detail
-
points
protected EducationAssignmentPointsGrade points
-
publishedPoints
protected EducationAssignmentPointsGrade publishedPoints
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEducationOutcome
-
builderEducationPointsOutcome
public static EducationPointsOutcome.Builder builderEducationPointsOutcome()
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 classEducationOutcome
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEducationOutcome
-
getPoints
public Optional<EducationAssignmentPointsGrade> getPoints()
-
withPoints
public EducationPointsOutcome withPoints(EducationAssignmentPointsGrade points)
-
getPublishedPoints
public Optional<EducationAssignmentPointsGrade> getPublishedPoints()
-
withPublishedPoints
public EducationPointsOutcome withPublishedPoints(EducationAssignmentPointsGrade publishedPoints)
-
withUnmappedField
public EducationPointsOutcome withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEducationOutcome
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEducationOutcome
-
patch
public EducationPointsOutcome patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classEducationOutcome- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public EducationPointsOutcome put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classEducationOutcome- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classEducationOutcome
-
-