Class 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
  • Constructor Details

    • EducationSchool

      public EducationSchool()
      Instantiates a new EducationSchool 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

      @Nullable public PhysicalAddress getAddress()
      Gets the address property value. Address of the school.
      Returns:
      a PhysicalAddress
    • getAdministrativeUnit

      @Nullable public AdministrativeUnit getAdministrativeUnit()
      Gets the administrativeUnit property value. The underlying administrativeUnit for this school.
      Returns:
      a AdministrativeUnit
    • getClasses

      @Nullable public List<EducationClass> getClasses()
      Gets the classes property value. Classes taught at the school. Nullable.
      Returns:
      a List<EducationClass>
    • getCreatedBy

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

      @Nullable public String getExternalId()
      Gets the externalId property value. ID of school in syncing system.
      Returns:
      a String
    • getExternalPrincipalId

      @Nullable public String getExternalPrincipalId()
      Gets the externalPrincipalId property value. ID of principal in syncing system.
      Returns:
      a String
    • getFax

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class EducationOrganization
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHighestGrade

      @Nullable public String getHighestGrade()
      Gets the highestGrade property value. Highest grade taught.
      Returns:
      a String
    • getLowestGrade

      @Nullable public String getLowestGrade()
      Gets the lowestGrade property value. Lowest grade taught.
      Returns:
      a String
    • getPhone

      @Nullable public String getPhone()
      Gets the phone property value. Phone number of school.
      Returns:
      a String
    • getPrincipalEmail

      @Nullable public String getPrincipalEmail()
      Gets the principalEmail property value. Email address of the principal.
      Returns:
      a String
    • getPrincipalName

      @Nullable public String getPrincipalName()
      Gets the principalName property value. Name of the principal.
      Returns:
      a String
    • getSchoolNumber

      @Nullable public String getSchoolNumber()
      Gets the schoolNumber property value. School Number.
      Returns:
      a String
    • getUsers

      @Nullable public List<EducationUser> 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class EducationOrganization
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAddress

      public void setAddress(@Nullable PhysicalAddress value)
      Sets the address property value. Address of the school.
      Parameters:
      value - Value to set for the address property.
    • setAdministrativeUnit

      public void setAdministrativeUnit(@Nullable AdministrativeUnit value)
      Sets the administrativeUnit property value. The underlying administrativeUnit for this school.
      Parameters:
      value - Value to set for the administrativeUnit property.
    • setClasses

      public void setClasses(@Nullable List<EducationClass> value)
      Sets the classes property value. Classes taught at the school. Nullable.
      Parameters:
      value - Value to set for the classes property.
    • setCreatedBy

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

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

      public void setExternalPrincipalId(@Nullable String value)
      Sets the externalPrincipalId property value. ID of principal in syncing system.
      Parameters:
      value - Value to set for the externalPrincipalId property.
    • setFax

      public void setFax(@Nullable String value)
      Sets the fax property value. The fax property
      Parameters:
      value - Value to set for the fax property.
    • setHighestGrade

      public void setHighestGrade(@Nullable String value)
      Sets the highestGrade property value. Highest grade taught.
      Parameters:
      value - Value to set for the highestGrade property.
    • setLowestGrade

      public void setLowestGrade(@Nullable String value)
      Sets the lowestGrade property value. Lowest grade taught.
      Parameters:
      value - Value to set for the lowestGrade property.
    • setPhone

      public void setPhone(@Nullable String value)
      Sets the phone property value. Phone number of school.
      Parameters:
      value - Value to set for the phone property.
    • setPrincipalEmail

      public void setPrincipalEmail(@Nullable String value)
      Sets the principalEmail property value. Email address of the principal.
      Parameters:
      value - Value to set for the principalEmail property.
    • setPrincipalName

      public void setPrincipalName(@Nullable String value)
      Sets the principalName property value. Name of the principal.
      Parameters:
      value - Value to set for the principalName property.
    • setSchoolNumber

      public void setSchoolNumber(@Nullable String value)
      Sets the schoolNumber property value. School Number.
      Parameters:
      value - Value to set for the schoolNumber property.
    • setUsers

      public void setUsers(@Nullable List<EducationUser> value)
      Sets the users property value. Users in the school. Nullable.
      Parameters:
      value - Value to set for the users property.