public class EducationSchool extends EducationOrganization implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EducationSchool.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected PhysicalAddress |
address |
protected IdentitySet |
createdBy |
protected String |
externalId |
protected String |
externalPrincipalId |
protected String |
fax |
protected String |
highestGrade |
protected String |
lowestGrade |
protected String |
phone |
protected String |
principalEmail |
protected String |
principalName |
protected String |
schoolNumber |
description, displayName, externalSourcechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EducationSchool() |
getDescription, getDisplayName, getExternalSource, withDescription, withDisplayName, withExternalSourceprotected String principalEmail
protected String principalName
protected String externalPrincipalId
protected String lowestGrade
protected String highestGrade
protected String schoolNumber
protected String externalId
protected String phone
protected String fax
protected IdentitySet createdBy
protected PhysicalAddress address
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class EducationOrganizationpublic static EducationSchool.Builder builderEducationSchool()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class EducationOrganizationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class EducationOrganizationpublic EducationSchool withPrincipalEmail(String principalEmail)
public EducationSchool withPrincipalName(String principalName)
public EducationSchool withExternalPrincipalId(String externalPrincipalId)
public EducationSchool withLowestGrade(String lowestGrade)
public EducationSchool withHighestGrade(String highestGrade)
public EducationSchool withSchoolNumber(String schoolNumber)
public EducationSchool withExternalId(String externalId)
public EducationSchool withPhone(String phone)
public EducationSchool withFax(String fax)
public Optional<IdentitySet> getCreatedBy()
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByAppDisplayName
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByAppId
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByUserDisplayName
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByUserId
public EducationSchool withCreatedBy(IdentitySet createdBy)
this with just the createdBy field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByAppDisplayName
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByAppId
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByUserDisplayName
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_CreatedByUserId
createdBy - new value of createdBy field (as defined in service metadata)this with just the createdBy field changedpublic Optional<PhysicalAddress> getAddress()
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_Address
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_City
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_State
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_Country
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_Zip
public EducationSchool withAddress(PhysicalAddress address)
this with just the address field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_Address
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_City
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_State
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_Country
graph.TransparentContainerProperty
extension_fe2174665583431c953114ff7268b7b3_Education_Zip
address - new value of address field (as defined in service metadata)this with just the address field changedpublic EducationClassCollectionRequest getClasses()
public EducationUserCollectionRequest getUsers()
public AdministrativeUnitRequest getAdministrativeUnit()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class EducationOrganizationpublic EducationSchool patch()
this with changed fields reset.patch in class EducationOrganizationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic EducationSchool put()
this
with changed fields reset (they were ignored anyway).put in class EducationOrganizationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class EducationOrganizationCopyright © 2018–2020. All rights reserved.