Package odata.msgraph.client.beta.entity
Class Employee
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Employee
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Employee extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = true
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployee.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PostalAddressTypeaddressprotected LocalDatebirthDateprotected StringdisplayNameprotected Stringemailprotected LocalDateemploymentDateprotected StringgivenNameprotected StringjobTitleprotected OffsetDateTimelastModifiedDateTimeprotected StringmiddleNameprotected StringmobilePhoneprotected Stringnumberprotected StringpersonalEmailprotected StringphoneNumberprotected StringstatisticsGroupCodeprotected Stringstatusprotected Stringsurnameprotected LocalDateterminationDate-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmployee()
-
Method Summary
-
-
-
Field Detail
-
address
protected PostalAddressType address
-
birthDate
protected LocalDate birthDate
-
displayName
protected String displayName
-
email
protected String email
-
employmentDate
protected LocalDate employmentDate
-
givenName
protected String givenName
-
jobTitle
protected String jobTitle
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
middleName
protected String middleName
-
mobilePhone
protected String mobilePhone
-
number
protected String number
-
personalEmail
protected String personalEmail
-
phoneNumber
protected String phoneNumber
-
statisticsGroupCode
protected String statisticsGroupCode
-
status
protected String status
-
surname
protected String surname
-
terminationDate
protected LocalDate terminationDate
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEmployee
public static Employee.Builder builderEmployee()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAddress
public Optional<PostalAddressType> getAddress()
-
withAddress
public Employee withAddress(PostalAddressType address)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Employee withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withUnmappedField
public Employee withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getPicture
public PictureCollectionRequest getPicture()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Employee patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Employee put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-