Package odata.msgraph.client.beta.entity
Class EducationClass
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EducationClass
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EducationClass extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationClass.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringclassCodeprotected EducationCoursecourseprotected IdentitySetcreatedByprotected Stringdescriptionprotected StringdisplayNameprotected StringexternalIdprotected StringexternalNameprotected EducationExternalSourceexternalSourceprotected StringexternalSourceDetailprotected Stringgradeprotected StringmailNicknameprotected EducationTermterm-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationClass()
-
Method Summary
-
-
-
Field Detail
-
classCode
protected String classCode
-
course
protected EducationCourse course
-
createdBy
protected IdentitySet createdBy
-
description
protected String description
-
displayName
protected String displayName
-
externalId
protected String externalId
-
externalName
protected String externalName
-
externalSource
protected EducationExternalSource externalSource
-
externalSourceDetail
protected String externalSourceDetail
-
grade
protected String grade
-
mailNickname
protected String mailNickname
-
term
protected EducationTerm term
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEducationClass
public static EducationClass.Builder builderEducationClass()
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
-
withClassCode
public EducationClass withClassCode(String classCode)
-
getCourse
public Optional<EducationCourse> getCourse()
-
withCourse
public EducationClass withCourse(EducationCourse course)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public EducationClass withCreatedBy(IdentitySet createdBy)
-
withDescription
public EducationClass withDescription(String description)
-
withDisplayName
public EducationClass withDisplayName(String displayName)
-
withExternalId
public EducationClass withExternalId(String externalId)
-
withExternalName
public EducationClass withExternalName(String externalName)
-
getExternalSource
public Optional<EducationExternalSource> getExternalSource()
-
withExternalSource
public EducationClass withExternalSource(EducationExternalSource externalSource)
-
withExternalSourceDetail
public EducationClass withExternalSourceDetail(String externalSourceDetail)
-
withGrade
public EducationClass withGrade(String grade)
-
withMailNickname
public EducationClass withMailNickname(String mailNickname)
-
getTerm
public Optional<EducationTerm> getTerm()
-
withTerm
public EducationClass withTerm(EducationTerm term)
-
withUnmappedField
public EducationClass withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignmentCategories
public EducationCategoryCollectionRequest getAssignmentCategories()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
- Returns:
- navigational property assignmentCategories
-
getAssignmentDefaults
public EducationAssignmentDefaultsRequest getAssignmentDefaults()
-
getAssignments
public EducationAssignmentCollectionRequest getAssignments()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
- Returns:
- navigational property assignments
-
getAssignmentSettings
public EducationAssignmentSettingsRequest getAssignmentSettings()
-
getGroup
public GroupRequest getGroup()
-
getMembers
public EducationUserCollectionRequest getMembers()
-
getSchools
public EducationSchoolCollectionRequest getSchools()
-
getTeachers
public EducationUserCollectionRequest getTeachers()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EducationClass patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EducationClass put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-