Class EducationClass

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EducationClass
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class EducationClass extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • EducationClass

      public EducationClass()
      Instantiates a new EducationClass and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EducationClass createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a EducationClass
    • getAssignmentCategories

      @Nullable public List<EducationCategory> getAssignmentCategories()
      Gets the assignmentCategories property value. All categories associated with this class. Nullable.
      Returns:
      a List<EducationCategory>
    • getAssignmentDefaults

      @Nullable public EducationAssignmentDefaults getAssignmentDefaults()
      Gets the assignmentDefaults property value. Specifies class-level defaults respected by new assignments created in the class.
      Returns:
      a EducationAssignmentDefaults
    • getAssignments

      @Nullable public List<EducationAssignment> getAssignments()
      Gets the assignments property value. All assignments associated with this class. Nullable.
      Returns:
      a List<EducationAssignment>
    • getAssignmentSettings

      @Nullable public EducationAssignmentSettings getAssignmentSettings()
      Gets the assignmentSettings property value. Specifies class-level assignments settings.
      Returns:
      a EducationAssignmentSettings
    • getClassCode

      @Nullable public String getClassCode()
      Gets the classCode property value. Class code used by the school to identify the class.
      Returns:
      a String
    • getCourse

      @Nullable public EducationCourse getCourse()
      Gets the course property value. The course property
      Returns:
      a EducationCourse
    • getCreatedBy

      @Nullable public IdentitySet getCreatedBy()
      Gets the createdBy property value. Entity who created the class
      Returns:
      a IdentitySet
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. Description of the class.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. Name of the class.
      Returns:
      a String
    • getExternalId

      @Nullable public String getExternalId()
      Gets the externalId property value. ID of the class from the syncing system.
      Returns:
      a String
    • getExternalName

      @Nullable public String getExternalName()
      Gets the externalName property value. Name of the class in the syncing system.
      Returns:
      a String
    • getExternalSource

      @Nullable public EducationExternalSource getExternalSource()
      Gets the externalSource property value. How this class was created. Possible values are: sis, manual.
      Returns:
      a EducationExternalSource
    • getExternalSourceDetail

      @Nullable public String getExternalSourceDetail()
      Gets the externalSourceDetail property value. The name of the external source this resource was generated from.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGrade

      @Nullable public String getGrade()
      Gets the grade property value. Grade level of the class.
      Returns:
      a String
    • getGroup

      @Nullable public Group getGroup()
      Gets the group property value. The underlying Microsoft 365 group object.
      Returns:
      a Group
    • getMailNickname

      @Nullable public String getMailNickname()
      Gets the mailNickname property value. Mail name for sending email to all members, if this is enabled.
      Returns:
      a String
    • getMembers

      @Nullable public List<EducationUser> getMembers()
      Gets the members property value. All users in the class. Nullable.
      Returns:
      a List<EducationUser>
    • getModules

      @Nullable public List<EducationModule> getModules()
      Gets the modules property value. All modules in the class. Nullable.
      Returns:
      a List<EducationModule>
    • getSchools

      @Nullable public List<EducationSchool> getSchools()
      Gets the schools property value. All schools that this class is associated with. Nullable.
      Returns:
      a List<EducationSchool>
    • getTeachers

      @Nullable public List<EducationUser> getTeachers()
      Gets the teachers property value. All teachers in the class. Nullable.
      Returns:
      a List<EducationUser>
    • getTerm

      @Nullable public EducationTerm getTerm()
      Gets the term property value. Term for this class.
      Returns:
      a EducationTerm
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignmentCategories

      public void setAssignmentCategories(@Nullable List<EducationCategory> value)
      Sets the assignmentCategories property value. All categories associated with this class. Nullable.
      Parameters:
      value - Value to set for the assignmentCategories property.
    • setAssignmentDefaults

      public void setAssignmentDefaults(@Nullable EducationAssignmentDefaults value)
      Sets the assignmentDefaults property value. Specifies class-level defaults respected by new assignments created in the class.
      Parameters:
      value - Value to set for the assignmentDefaults property.
    • setAssignments

      public void setAssignments(@Nullable List<EducationAssignment> value)
      Sets the assignments property value. All assignments associated with this class. Nullable.
      Parameters:
      value - Value to set for the assignments property.
    • setAssignmentSettings

      public void setAssignmentSettings(@Nullable EducationAssignmentSettings value)
      Sets the assignmentSettings property value. Specifies class-level assignments settings.
      Parameters:
      value - Value to set for the assignmentSettings property.
    • setClassCode

      public void setClassCode(@Nullable String value)
      Sets the classCode property value. Class code used by the school to identify the class.
      Parameters:
      value - Value to set for the classCode property.
    • setCourse

      public void setCourse(@Nullable EducationCourse value)
      Sets the course property value. The course property
      Parameters:
      value - Value to set for the course property.
    • setCreatedBy

      public void setCreatedBy(@Nullable IdentitySet value)
      Sets the createdBy property value. Entity who created the class
      Parameters:
      value - Value to set for the createdBy property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. Description of the class.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Name of the class.
      Parameters:
      value - Value to set for the displayName property.
    • setExternalId

      public void setExternalId(@Nullable String value)
      Sets the externalId property value. ID of the class from the syncing system.
      Parameters:
      value - Value to set for the externalId property.
    • setExternalName

      public void setExternalName(@Nullable String value)
      Sets the externalName property value. Name of the class in the syncing system.
      Parameters:
      value - Value to set for the externalName property.
    • setExternalSource

      public void setExternalSource(@Nullable EducationExternalSource value)
      Sets the externalSource property value. How this class was created. Possible values are: sis, manual.
      Parameters:
      value - Value to set for the externalSource property.
    • setExternalSourceDetail

      public void setExternalSourceDetail(@Nullable String value)
      Sets the externalSourceDetail property value. The name of the external source this resource was generated from.
      Parameters:
      value - Value to set for the externalSourceDetail property.
    • setGrade

      public void setGrade(@Nullable String value)
      Sets the grade property value. Grade level of the class.
      Parameters:
      value - Value to set for the grade property.
    • setGroup

      public void setGroup(@Nullable Group value)
      Sets the group property value. The underlying Microsoft 365 group object.
      Parameters:
      value - Value to set for the group property.
    • setMailNickname

      public void setMailNickname(@Nullable String value)
      Sets the mailNickname property value. Mail name for sending email to all members, if this is enabled.
      Parameters:
      value - Value to set for the mailNickname property.
    • setMembers

      public void setMembers(@Nullable List<EducationUser> value)
      Sets the members property value. All users in the class. Nullable.
      Parameters:
      value - Value to set for the members property.
    • setModules

      public void setModules(@Nullable List<EducationModule> value)
      Sets the modules property value. All modules in the class. Nullable.
      Parameters:
      value - Value to set for the modules property.
    • setSchools

      public void setSchools(@Nullable List<EducationSchool> value)
      Sets the schools property value. All schools that this class is associated with. Nullable.
      Parameters:
      value - Value to set for the schools property.
    • setTeachers

      public void setTeachers(@Nullable List<EducationUser> value)
      Sets the teachers property value. All teachers in the class. Nullable.
      Parameters:
      value - Value to set for the teachers property.
    • setTerm

      public void setTerm(@Nullable EducationTerm value)
      Sets the term property value. Term for this class.
      Parameters:
      value - Value to set for the term property.