Package odata.msgraph.client.complex
Class EducationStudent
- java.lang.Object
-
- odata.msgraph.client.complex.EducationStudent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class EducationStudent extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationStudent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LocalDatebirthDateprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringexternalIdprotected EducationGendergenderprotected Stringgradeprotected StringgraduationYearprotected StringodataTypeprotected StringstudentNumberprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationStudent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EducationStudent.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<LocalDate>getBirthDate()Optional<String>getExternalId()Optional<EducationGender>getGender()Optional<String>getGrade()Optional<String>getGraduationYear()Optional<String>getStudentNumber()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()EducationStudentwithBirthDate(LocalDate birthDate)EducationStudentwithExternalId(String externalId)EducationStudentwithGender(EducationGender gender)EducationStudentwithGrade(String grade)EducationStudentwithGraduationYear(String graduationYear)EducationStudentwithStudentNumber(String studentNumber)EducationStudentwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
birthDate
protected LocalDate birthDate
-
externalId
protected String externalId
-
gender
protected EducationGender gender
-
grade
protected String grade
-
graduationYear
protected String graduationYear
-
studentNumber
protected String studentNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withBirthDate
public EducationStudent withBirthDate(LocalDate birthDate)
-
withExternalId
public EducationStudent withExternalId(String externalId)
-
getGender
public Optional<EducationGender> getGender()
-
withGender
public EducationStudent withGender(EducationGender gender)
-
withGrade
public EducationStudent withGrade(String grade)
-
withGraduationYear
public EducationStudent withGraduationYear(String graduationYear)
-
withStudentNumber
public EducationStudent withStudentNumber(String studentNumber)
-
withUnmappedField
public EducationStudent withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static EducationStudent.Builder builder()
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
-
-