public class Employee extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
| Modifier and Type | Class and Description |
|---|---|
static class |
Employee.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected PostalAddressType |
address |
protected LocalDate |
birthDate |
protected String |
displayName |
protected String |
email |
protected LocalDate |
employmentDate |
protected String |
givenName |
protected String |
jobTitle |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
middleName |
protected String |
mobilePhone |
protected String |
number |
protected String |
personalEmail |
protected String |
phoneNumber |
protected String |
statisticsGroupCode |
protected String |
status |
protected String |
surname |
protected LocalDate |
terminationDate |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Employee() |
protected String number
protected String displayName
protected String givenName
protected String middleName
protected String surname
protected String jobTitle
protected PostalAddressType address
protected String phoneNumber
protected String mobilePhone
protected String email
protected String personalEmail
protected LocalDate employmentDate
protected LocalDate terminationDate
protected String status
protected LocalDate birthDate
protected String statisticsGroupCode
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Employee.Builder builderEmployee()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<PostalAddressType> getAddress()
public Employee withAddress(PostalAddressType address)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public Employee withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public PictureCollectionRequest getPicture()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Employee patch()
this with changed fields reset.public Employee put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.