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 related to the user. Possible relationships are parent, relative, aide, doctor, guardian, child, other, unknownFutureValue
    • 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. 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. Supports $filter and $orderby.
    • externalSource

      @SerializedName(value="externalSource", alternate="ExternalSource") @Expose @Nullable public EducationExternalSource externalSource
      The External Source. The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual.
    • externalSourceDetail

      @SerializedName(value="externalSourceDetail", alternate="ExternalSourceDetail") @Expose @Nullable public String externalSourceDetail
      The External Source Detail. The name of the external source this resources 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, '[email protected]'. Read-Only. Supports /$filter.
    • mailingAddress

      @SerializedName(value="mailingAddress", alternate="MailingAddress") @Expose @Nullable public PhysicalAddress mailingAddress
      The Mailing Address. Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources.
    • 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 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 AAD user with it's Active Directory counterpart.
    • passwordPolicies

      @SerializedName(value="passwordPolicies", alternate="PasswordPolicies") @Expose @Nullable public String passwordPolicies
      The Password Policies. Specifies password policies for the user. See standard [user] resource for additional details.
    • 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. See standard [user] resource for additional details.
    • preferredLanguage

      @SerializedName(value="preferredLanguage", alternate="PreferredLanguage") @Expose @Nullable public String preferredLanguage
      The Preferred Language. The preferred language for the user. Should follow 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, faculty. Supports /$filter.
    • 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. Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources.
    • 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 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter.
    • userPrincipalName

      @SerializedName(value="userPrincipalName", alternate="UserPrincipalName") @Expose @Nullable public String userPrincipalName
      The User Principal Name. The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details.
    • 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. List of assignments for the user. Nullable.
    • 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