Class EducationUser

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EducationUser
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class EducationUser extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Education User.
  • Field Details

    • relatedContacts

      @SerializedName(value="relatedContacts", alternate="RelatedContacts") @Expose @Nullable public List<RelatedContact> relatedContacts
      The Related Contacts. Related records associated with the user. Read-only.
    • accountEnabled

      @SerializedName(value="accountEnabled", alternate="AccountEnabled") @Expose @Nullable public Boolean accountEnabled
      The Account Enabled. True if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter.
    • assignedLicenses

      @SerializedName(value="assignedLicenses", alternate="AssignedLicenses") @Expose @Nullable public List<AssignedLicense> assignedLicenses
      The Assigned Licenses. The licenses that are assigned to the user. Not nullable.
    • assignedPlans

      @SerializedName(value="assignedPlans", alternate="AssignedPlans") @Expose @Nullable public List<AssignedPlan> assignedPlans
      The Assigned Plans. The plans that are assigned to the user. Read-only. Not nullable.
    • businessPhones

      @SerializedName(value="businessPhones", alternate="BusinessPhones") @Expose @Nullable public List<String> businessPhones
      The Business Phones. The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property.
    • createdBy

      @SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdBy
      The Created By. The entity who created the user.
    • department

      @SerializedName(value="department", alternate="Department") @Expose @Nullable public String department
      The Department. The name for the department in which the user works. Supports $filter.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby.
    • externalSource

      @SerializedName(value="externalSource", alternate="ExternalSource") @Expose @Nullable public EducationExternalSource externalSource
      The External Source. Where this user was created from. Possible values are: sis, manual.
    • externalSourceDetail

      @SerializedName(value="externalSourceDetail", alternate="ExternalSourceDetail") @Expose @Nullable public String externalSourceDetail
      The External Source Detail. The name of the external source this resource was generated from.
    • givenName

      @SerializedName(value="givenName", alternate="GivenName") @Expose @Nullable public String givenName
      The Given Name. The given name (first name) of the user. Supports $filter.
    • mail

      @SerializedName(value="mail", alternate="Mail") @Expose @Nullable public String mail
      The Mail. The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Read-Only. Supports $filter.
    • mailingAddress

      @SerializedName(value="mailingAddress", alternate="MailingAddress") @Expose @Nullable public PhysicalAddress mailingAddress
      The Mailing Address. The mail address of the user.
    • mailNickname

      @SerializedName(value="mailNickname", alternate="MailNickname") @Expose @Nullable public String mailNickname
      The Mail Nickname. The mail alias for the user. This property must be specified when a user is created. Supports $filter.
    • middleName

      @SerializedName(value="middleName", alternate="MiddleName") @Expose @Nullable public String middleName
      The Middle Name. The middle name of the user.
    • mobilePhone

      @SerializedName(value="mobilePhone", alternate="MobilePhone") @Expose @Nullable public String mobilePhone
      The Mobile Phone. The primary cellular telephone number for the user.
    • officeLocation

      @SerializedName(value="officeLocation", alternate="OfficeLocation") @Expose @Nullable public String officeLocation
      The Office Location.
    • onPremisesInfo

      @SerializedName(value="onPremisesInfo", alternate="OnPremisesInfo") @Expose @Nullable public EducationOnPremisesInfo onPremisesInfo
      The On Premises Info. Additional information used to associate the Azure Active Directory user with its Active Directory counterpart.
    • passwordPolicies

      @SerializedName(value="passwordPolicies", alternate="PasswordPolicies") @Expose @Nullable public String passwordPolicies
      The Password Policies. Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two can be specified together; for example: DisablePasswordExpiration, DisableStrongPassword.
    • passwordProfile

      @SerializedName(value="passwordProfile", alternate="PasswordProfile") @Expose @Nullable public PasswordProfile passwordProfile
      The Password Profile. Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required.
    • preferredLanguage

      @SerializedName(value="preferredLanguage", alternate="PreferredLanguage") @Expose @Nullable public String preferredLanguage
      The Preferred Language. The preferred language for the user that should follow the ISO 639-1 code, for example, en-US.
    • primaryRole

      @SerializedName(value="primaryRole", alternate="PrimaryRole") @Expose @Nullable public EducationUserRole primaryRole
      The Primary Role. Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, none, unknownFutureValue.
    • provisionedPlans

      @SerializedName(value="provisionedPlans", alternate="ProvisionedPlans") @Expose @Nullable public List<ProvisionedPlan> provisionedPlans
      The Provisioned Plans. The plans that are provisioned for the user. Read-only. Not nullable.
    • refreshTokensValidFromDateTime

      @SerializedName(value="refreshTokensValidFromDateTime", alternate="RefreshTokensValidFromDateTime") @Expose @Nullable public OffsetDateTime refreshTokensValidFromDateTime
      The Refresh Tokens Valid From Date Time.
    • residenceAddress

      @SerializedName(value="residenceAddress", alternate="ResidenceAddress") @Expose @Nullable public PhysicalAddress residenceAddress
      The Residence Address. The address where the user lives.
    • showInAddressList

      @SerializedName(value="showInAddressList", alternate="ShowInAddressList") @Expose @Nullable public Boolean showInAddressList
      The Show In Address List. True if the Outlook Global Address List should contain this user; otherwise, false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false.
    • student

      @SerializedName(value="student", alternate="Student") @Expose @Nullable public EducationStudent student
      The Student. If the primary role is student, this block will contain student specific data.
    • surname

      @SerializedName(value="surname", alternate="Surname") @Expose @Nullable public String surname
      The Surname. The user's surname (family name or last name). Supports $filter.
    • teacher

      @SerializedName(value="teacher", alternate="Teacher") @Expose @Nullable public EducationTeacher teacher
      The Teacher. If the primary role is teacher, this block will contain teacher specific data.
    • usageLocation

      @SerializedName(value="usageLocation", alternate="UsageLocation") @Expose @Nullable public String usageLocation
      The Usage Location. A two-letter country code (ISO standard 3166). Required for users who will be assigned licenses due to a legal requirement to check for availability of services in countries or regions. Examples include: US, JP, and GB. Not nullable. Supports $filter.
    • userPrincipalName

      @SerializedName(value="userPrincipalName", alternate="UserPrincipalName") @Expose @Nullable public String userPrincipalName
      The User Principal Name. The user principal name (UPN) of the user. The UPN is an internet-style login name for the user based on the internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of the organization. Supports $filter and $orderby.
    • userType

      @SerializedName(value="userType", alternate="UserType") @Expose @Nullable public String userType
      The User Type. A string value that can be used to classify user types in your directory, such as Member and Guest. Supports $filter.
    • assignments

      @SerializedName(value="assignments", alternate="Assignments") @Expose @Nullable public EducationAssignmentCollectionPage assignments
      The Assignments. Assignments belonging to the user.
    • rubrics

      @SerializedName(value="rubrics", alternate="Rubrics") @Expose @Nullable public EducationRubricCollectionPage rubrics
      The Rubrics. When set, the grading rubric attached to the assignment.
    • classes

      @Nullable public EducationClassCollectionPage classes
      The Classes. Classes to which the user belongs. Nullable.
    • schools

      @Nullable public EducationSchoolCollectionPage schools
      The Schools. Schools to which the user belongs. Nullable.
    • taughtClasses

      @Nullable public EducationClassCollectionPage taughtClasses
      The Taught Classes. Classes for which the user is a teacher.
    • user

      @SerializedName(value="user", alternate="User") @Expose @Nullable public User user
      The User. The directory user that corresponds to this user.
  • Constructor Details

    • EducationUser

      public EducationUser()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to