Package com.microsoft.graph.models
Class EducationSchool
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EducationOrganization
com.microsoft.graph.models.EducationSchool
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class EducationSchool
extends EducationOrganization
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 EducationSchool
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the address property value.Gets the administrativeUnit property value.Gets the classes property value.Gets the createdBy property value.Gets the externalId property value.Gets the externalPrincipalId property value.getFax()
Gets the fax property value.The deserialization information for the current modelGets the highestGrade property value.Gets the lowestGrade property value.getPhone()
Gets the phone property value.Gets the principalEmail property value.Gets the principalName property value.Gets the schoolNumber property value.getUsers()
Gets the users property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAddress
(PhysicalAddress value) Sets the address property value.void
Sets the administrativeUnit property value.void
setClasses
(List<EducationClass> value) Sets the classes property value.void
setCreatedBy
(IdentitySet value) Sets the createdBy property value.void
setExternalId
(String value) Sets the externalId property value.void
setExternalPrincipalId
(String value) Sets the externalPrincipalId property value.void
Sets the fax property value.void
setHighestGrade
(String value) Sets the highestGrade property value.void
setLowestGrade
(String value) Sets the lowestGrade property value.void
Sets the phone property value.void
setPrincipalEmail
(String value) Sets the principalEmail property value.void
setPrincipalName
(String value) Sets the principalName property value.void
setSchoolNumber
(String value) Sets the schoolNumber property value.void
setUsers
(List<EducationUser> value) Sets the users property value.Methods inherited from class com.microsoft.graph.models.EducationOrganization
getDescription, getDisplayName, getExternalSource, getExternalSourceDetail, setDescription, setDisplayName, setExternalSource, setExternalSourceDetail
Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EducationSchool
public EducationSchool()Instantiates a newEducationSchool
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static EducationSchool 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
EducationSchool
-
getAddress
Gets the address property value. Address of the school.- Returns:
- a
PhysicalAddress
-
getAdministrativeUnit
Gets the administrativeUnit property value. The underlying administrativeUnit for this school.- Returns:
- a
AdministrativeUnit
-
getClasses
Gets the classes property value. Classes taught at the school. Nullable.- Returns:
- a
List<EducationClass>
-
getCreatedBy
Gets the createdBy property value. Entity who created the school.- Returns:
- a
IdentitySet
-
getExternalId
Gets the externalId property value. ID of school in syncing system.- Returns:
- a
String
-
getExternalPrincipalId
Gets the externalPrincipalId property value. ID of principal in syncing system.- Returns:
- a
String
-
getFax
Gets the fax property value. The fax property- 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 classEducationOrganization
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHighestGrade
Gets the highestGrade property value. Highest grade taught.- Returns:
- a
String
-
getLowestGrade
Gets the lowestGrade property value. Lowest grade taught.- Returns:
- a
String
-
getPhone
Gets the phone property value. Phone number of school.- Returns:
- a
String
-
getPrincipalEmail
Gets the principalEmail property value. Email address of the principal.- Returns:
- a
String
-
getPrincipalName
Gets the principalName property value. Name of the principal.- Returns:
- a
String
-
getSchoolNumber
Gets the schoolNumber property value. School Number.- Returns:
- a
String
-
getUsers
Gets the users property value. Users in the school. Nullable.- Returns:
- a
List<EducationUser>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serialize
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
serialize
in classEducationOrganization
- Parameters:
writer
- Serialization writer to use to serialize this model
-
setAddress
Sets the address property value. Address of the school.- Parameters:
value
- Value to set for the address property.
-
setAdministrativeUnit
Sets the administrativeUnit property value. The underlying administrativeUnit for this school.- Parameters:
value
- Value to set for the administrativeUnit property.
-
setClasses
Sets the classes property value. Classes taught at the school. Nullable.- Parameters:
value
- Value to set for the classes property.
-
setCreatedBy
Sets the createdBy property value. Entity who created the school.- Parameters:
value
- Value to set for the createdBy property.
-
setExternalId
Sets the externalId property value. ID of school in syncing system.- Parameters:
value
- Value to set for the externalId property.
-
setExternalPrincipalId
Sets the externalPrincipalId property value. ID of principal in syncing system.- Parameters:
value
- Value to set for the externalPrincipalId property.
-
setFax
Sets the fax property value. The fax property- Parameters:
value
- Value to set for the fax property.
-
setHighestGrade
Sets the highestGrade property value. Highest grade taught.- Parameters:
value
- Value to set for the highestGrade property.
-
setLowestGrade
Sets the lowestGrade property value. Lowest grade taught.- Parameters:
value
- Value to set for the lowestGrade property.
-
setPhone
Sets the phone property value. Phone number of school.- Parameters:
value
- Value to set for the phone property.
-
setPrincipalEmail
Sets the principalEmail property value. Email address of the principal.- Parameters:
value
- Value to set for the principalEmail property.
-
setPrincipalName
Sets the principalName property value. Name of the principal.- Parameters:
value
- Value to set for the principalName property.
-
setSchoolNumber
Sets the schoolNumber property value. School Number.- Parameters:
value
- Value to set for the schoolNumber property.
-
setUsers
Sets the users property value. Users in the school. Nullable.- Parameters:
value
- Value to set for the users property.
-