Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EducationClass
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the assignmentCategories property value.Gets the assignmentDefaults property value.Gets the assignments property value.Gets the assignmentSettings property value.Gets the classCode property value.Gets the course property value.Gets the createdBy property value.Gets the description property value.Gets the displayName property value.Gets the externalId property value.Gets the externalName property value.Gets the externalSource property value.Gets the externalSourceDetail property value.The deserialization information for the current modelgetGrade()
Gets the grade property value.getGroup()
Gets the group property value.Gets the mailNickname property value.Gets the members property value.Gets the modules property value.Gets the schools property value.Gets the teachers property value.getTerm()
Gets the term property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the assignmentCategories property value.void
Sets the assignmentDefaults property value.void
setAssignments
(List<EducationAssignment> value) Sets the assignments property value.void
Sets the assignmentSettings property value.void
setClassCode
(String value) Sets the classCode property value.void
setCourse
(EducationCourse value) Sets the course property value.void
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setExternalId
(String value) Sets the externalId property value.void
setExternalName
(String value) Sets the externalName property value.void
Sets the externalSource property value.void
setExternalSourceDetail
(String value) Sets the externalSourceDetail property value.void
Sets the grade property value.void
Sets the group property value.void
setMailNickname
(String value) Sets the mailNickname property value.void
setMembers
(List<EducationUser> value) Sets the members property value.void
setModules
(List<EducationModule> value) Sets the modules property value.void
setSchools
(List<EducationSchool> value) Sets the schools property value.void
setTeachers
(List<EducationUser> value) Sets the teachers property value.void
setTerm
(EducationTerm value) Sets the term property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EducationClass
public EducationClass()Instantiates a newEducationClass
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
Gets the assignmentCategories property value. All categories associated with this class. Nullable.- Returns:
- a
List<EducationCategory>
-
getAssignmentDefaults
Gets the assignmentDefaults property value. Specifies class-level defaults respected by new assignments created in the class.- Returns:
- a
EducationAssignmentDefaults
-
getAssignments
Gets the assignments property value. All assignments associated with this class. Nullable.- Returns:
- a
List<EducationAssignment>
-
getAssignmentSettings
Gets the assignmentSettings property value. Specifies class-level assignments settings.- Returns:
- a
EducationAssignmentSettings
-
getClassCode
Gets the classCode property value. Class code used by the school to identify the class.- Returns:
- a
String
-
getCourse
Gets the course property value. The course property- Returns:
- a
EducationCourse
-
getCreatedBy
Gets the createdBy property value. Entity who created the class- Returns:
- a
IdentitySet
-
getDescription
Gets the description property value. Description of the class.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. Name of the class.- Returns:
- a
String
-
getExternalId
Gets the externalId property value. ID of the class from the syncing system.- Returns:
- a
String
-
getExternalName
Gets the externalName property value. Name of the class in the syncing system.- Returns:
- a
String
-
getExternalSource
Gets the externalSource property value. How this class was created. Possible values are: sis, manual.- Returns:
- a
EducationExternalSource
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGrade
Gets the grade property value. Grade level of the class.- Returns:
- a
String
-
getGroup
Gets the group property value. The underlying Microsoft 365 group object.- Returns:
- a
Group
-
getMailNickname
Gets the mailNickname property value. Mail name for sending email to all members, if this is enabled.- Returns:
- a
String
-
getMembers
Gets the members property value. All users in the class. Nullable.- Returns:
- a
List<EducationUser>
-
getModules
Gets the modules property value. All modules in the class. Nullable.- Returns:
- a
List<EducationModule>
-
getSchools
Gets the schools property value. All schools that this class is associated with. Nullable.- Returns:
- a
List<EducationSchool>
-
getTeachers
Gets the teachers property value. All teachers in the class. Nullable.- Returns:
- a
List<EducationUser>
-
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 -
setAssignmentCategories
Sets the assignmentCategories property value. All categories associated with this class. Nullable.- Parameters:
value
- Value to set for the assignmentCategories property.
-
setAssignmentDefaults
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
Sets the assignments property value. All assignments associated with this class. Nullable.- Parameters:
value
- Value to set for the assignments property.
-
setAssignmentSettings
Sets the assignmentSettings property value. Specifies class-level assignments settings.- Parameters:
value
- Value to set for the assignmentSettings property.
-
setClassCode
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
Sets the course property value. The course property- Parameters:
value
- Value to set for the course property.
-
setCreatedBy
Sets the createdBy property value. Entity who created the class- Parameters:
value
- Value to set for the createdBy property.
-
setDescription
Sets the description property value. Description of the class.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. Name of the class.- Parameters:
value
- Value to set for the displayName property.
-
setExternalId
Sets the externalId property value. ID of the class from the syncing system.- Parameters:
value
- Value to set for the externalId property.
-
setExternalName
Sets the externalName property value. Name of the class in the syncing system.- Parameters:
value
- Value to set for the externalName property.
-
setExternalSource
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
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
Sets the grade property value. Grade level of the class.- Parameters:
value
- Value to set for the grade property.
-
setGroup
Sets the group property value. The underlying Microsoft 365 group object.- Parameters:
value
- Value to set for the group property.
-
setMailNickname
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
Sets the members property value. All users in the class. Nullable.- Parameters:
value
- Value to set for the members property.
-
setModules
Sets the modules property value. All modules in the class. Nullable.- Parameters:
value
- Value to set for the modules property.
-
setSchools
Sets the schools property value. All schools that this class is associated with. Nullable.- Parameters:
value
- Value to set for the schools property.
-
setTeachers
Sets the teachers property value. All teachers in the class. Nullable.- Parameters:
value
- Value to set for the teachers property.
-
setTerm
Sets the term property value. Term for this class.- Parameters:
value
- Value to set for the term property.
-