Package odata.msgraph.client.beta.entity
Class EducationUser
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EducationUser
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EducationUser extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEducationUser.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEducationUser()
-
Method Summary
-
-
-
Field Detail
-
relatedContacts
protected List<RelatedContact> relatedContacts
-
relatedContactsNextLink
protected String relatedContactsNextLink
-
accountEnabled
protected Boolean accountEnabled
-
assignedLicenses
protected List<AssignedLicense> assignedLicenses
-
assignedLicensesNextLink
protected String assignedLicensesNextLink
-
assignedPlans
protected List<AssignedPlan> assignedPlans
-
assignedPlansNextLink
protected String assignedPlansNextLink
-
businessPhonesNextLink
protected String businessPhonesNextLink
-
createdBy
protected IdentitySet createdBy
-
department
protected String department
-
displayName
protected String displayName
-
externalSource
protected EducationExternalSource externalSource
-
externalSourceDetail
protected String externalSourceDetail
-
givenName
protected String givenName
-
mail
protected String mail
-
mailingAddress
protected PhysicalAddress mailingAddress
-
mailNickname
protected String mailNickname
-
middleName
protected String middleName
-
mobilePhone
protected String mobilePhone
-
officeLocation
protected String officeLocation
-
onPremisesInfo
protected EducationOnPremisesInfo onPremisesInfo
-
passwordPolicies
protected String passwordPolicies
-
passwordProfile
protected PasswordProfile passwordProfile
-
preferredLanguage
protected String preferredLanguage
-
primaryRole
protected EducationUserRole primaryRole
-
provisionedPlans
protected List<ProvisionedPlan> provisionedPlans
-
provisionedPlansNextLink
protected String provisionedPlansNextLink
-
refreshTokensValidFromDateTime
protected OffsetDateTime refreshTokensValidFromDateTime
-
residenceAddress
protected PhysicalAddress residenceAddress
-
showInAddressList
protected Boolean showInAddressList
-
student
protected EducationStudent student
-
surname
protected String surname
-
teacher
protected EducationTeacher teacher
-
usageLocation
protected String usageLocation
-
userPrincipalName
protected String userPrincipalName
-
userType
protected String userType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEducationUser
public static EducationUser.Builder builderEducationUser()
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
-
getRelatedContacts
public com.github.davidmoten.odata.client.CollectionPage<RelatedContact> getRelatedContacts()
-
withRelatedContacts
public EducationUser withRelatedContacts(List<RelatedContact> relatedContacts)
-
getRelatedContacts
public com.github.davidmoten.odata.client.CollectionPage<RelatedContact> getRelatedContacts(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withAccountEnabled
public EducationUser withAccountEnabled(Boolean accountEnabled)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses()
-
withAssignedLicenses
public EducationUser withAssignedLicenses(List<AssignedLicense> assignedLicenses)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAssignedPlans
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans()
-
withAssignedPlans
public EducationUser withAssignedPlans(List<AssignedPlan> assignedPlans)
-
getAssignedPlans
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getBusinessPhones
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones()
-
withBusinessPhones
public EducationUser withBusinessPhones(List<String> businessPhones)
-
getBusinessPhones
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public EducationUser withCreatedBy(IdentitySet createdBy)
-
withDepartment
public EducationUser withDepartment(String department)
-
withDisplayName
public EducationUser withDisplayName(String displayName)
-
getExternalSource
public Optional<EducationExternalSource> getExternalSource()
-
withExternalSource
public EducationUser withExternalSource(EducationExternalSource externalSource)
-
withExternalSourceDetail
public EducationUser withExternalSourceDetail(String externalSourceDetail)
-
withGivenName
public EducationUser withGivenName(String givenName)
-
withMail
public EducationUser withMail(String mail)
-
getMailingAddress
public Optional<PhysicalAddress> getMailingAddress()
-
withMailingAddress
public EducationUser withMailingAddress(PhysicalAddress mailingAddress)
-
withMailNickname
public EducationUser withMailNickname(String mailNickname)
-
withMiddleName
public EducationUser withMiddleName(String middleName)
-
withMobilePhone
public EducationUser withMobilePhone(String mobilePhone)
-
withOfficeLocation
public EducationUser withOfficeLocation(String officeLocation)
-
getOnPremisesInfo
public Optional<EducationOnPremisesInfo> getOnPremisesInfo()
-
withOnPremisesInfo
public EducationUser withOnPremisesInfo(EducationOnPremisesInfo onPremisesInfo)
-
withPasswordPolicies
public EducationUser withPasswordPolicies(String passwordPolicies)
-
getPasswordProfile
public Optional<PasswordProfile> getPasswordProfile()
-
withPasswordProfile
public EducationUser withPasswordProfile(PasswordProfile passwordProfile)
-
withPreferredLanguage
public EducationUser withPreferredLanguage(String preferredLanguage)
-
getPrimaryRole
public Optional<EducationUserRole> getPrimaryRole()
-
withPrimaryRole
public EducationUser withPrimaryRole(EducationUserRole primaryRole)
-
getProvisionedPlans
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans()
-
withProvisionedPlans
public EducationUser withProvisionedPlans(List<ProvisionedPlan> provisionedPlans)
-
getProvisionedPlans
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getRefreshTokensValidFromDateTime
public Optional<OffsetDateTime> getRefreshTokensValidFromDateTime()
-
withRefreshTokensValidFromDateTime
public EducationUser withRefreshTokensValidFromDateTime(OffsetDateTime refreshTokensValidFromDateTime)
-
getResidenceAddress
public Optional<PhysicalAddress> getResidenceAddress()
-
withResidenceAddress
public EducationUser withResidenceAddress(PhysicalAddress residenceAddress)
-
withShowInAddressList
public EducationUser withShowInAddressList(Boolean showInAddressList)
-
getStudent
public Optional<EducationStudent> getStudent()
-
withStudent
public EducationUser withStudent(EducationStudent student)
-
withSurname
public EducationUser withSurname(String surname)
-
getTeacher
public Optional<EducationTeacher> getTeacher()
-
withTeacher
public EducationUser withTeacher(EducationTeacher teacher)
-
withUsageLocation
public EducationUser withUsageLocation(String usageLocation)
-
withUserPrincipalName
public EducationUser withUserPrincipalName(String userPrincipalName)
-
withUserType
public EducationUser withUserType(String userType)
-
withUnmappedField
public EducationUser withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAssignments
public EducationAssignmentCollectionRequest getAssignments()
-
getRubrics
public EducationRubricCollectionRequest getRubrics()
-
getClasses
public EducationClassCollectionRequest getClasses()
-
getSchools
public EducationSchoolCollectionRequest getSchools()
-
getTaughtClasses
public EducationClassCollectionRequest getTaughtClasses()
-
getUser
public UserRequest getUser()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public EducationUser patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EducationUser put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-