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 EducationSchoolcreateFromDiscriminatorValue(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.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAddress(PhysicalAddress value) Sets the address property value.voidSets the administrativeUnit property value.voidsetClasses(List<EducationClass> value) Sets the classes property value.voidsetCreatedBy(IdentitySet value) Sets the createdBy property value.voidsetExternalId(String value) Sets the externalId property value.voidsetExternalPrincipalId(String value) Sets the externalPrincipalId property value.voidSets the fax property value.voidsetHighestGrade(String value) Sets the highestGrade property value.voidsetLowestGrade(String value) Sets the lowestGrade property value.voidSets the phone property value.voidsetPrincipalEmail(String value) Sets the principalEmail property value.voidsetPrincipalName(String value) Sets the principalName property value.voidsetSchoolNumber(String value) Sets the schoolNumber property value.voidsetUsers(List<EducationUser> value) Sets the users property value.Methods inherited from class com.microsoft.graph.models.EducationOrganization
getDescription, getDisplayName, getExternalSource, getExternalSourceDetail, setDescription, setDisplayName, setExternalSource, setExternalSourceDetailMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EducationSchool
public EducationSchool()Instantiates a newEducationSchooland 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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin 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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein 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.
-