public class WorkPosition extends ItemFacet implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkPosition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
categories |
protected String |
categoriesNextLink |
protected List<RelatedPerson> |
colleagues |
protected String |
colleaguesNextLink |
protected PositionDetail |
detail |
protected Boolean |
isCurrent |
protected RelatedPerson |
manager |
allowedAudiences, createdBy, createdDateTime, inference, lastModifiedBy, lastModifiedDateTime, sourcechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WorkPosition() |
| Modifier and Type | Method and Description |
|---|---|
static WorkPosition.Builder |
builderWorkPosition()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getCategories() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
com.github.davidmoten.odata.client.CollectionPage<RelatedPerson> |
getColleagues() |
Optional<PositionDetail> |
getDetail() |
Optional<Boolean> |
getIsCurrent() |
Optional<RelatedPerson> |
getManager() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WorkPosition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WorkPosition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WorkPosition |
withDetail(PositionDetail detail) |
WorkPosition |
withIsCurrent(Boolean isCurrent) |
WorkPosition |
withManager(RelatedPerson manager) |
getAllowedAudiences, getCreatedBy, getCreatedDateTime, getInference, getLastModifiedBy, getLastModifiedDateTime, getSource, withAllowedAudiences, withCreatedBy, withCreatedDateTime, withInference, withLastModifiedBy, withLastModifiedDateTime, withSourceprotected String categoriesNextLink
protected PositionDetail detail
protected RelatedPerson manager
protected List<RelatedPerson> colleagues
protected String colleaguesNextLink
protected Boolean isCurrent
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ItemFacetpublic static WorkPosition.Builder builderWorkPosition()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ItemFacetpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ItemFacetpublic com.github.davidmoten.odata.client.CollectionPage<String> getCategories()
public Optional<PositionDetail> getDetail()
public WorkPosition withDetail(PositionDetail detail)
public Optional<RelatedPerson> getManager()
public WorkPosition withManager(RelatedPerson manager)
public com.github.davidmoten.odata.client.CollectionPage<RelatedPerson> getColleagues()
public WorkPosition withIsCurrent(Boolean isCurrent)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ItemFacetpublic WorkPosition patch()
this with changed fields reset.public WorkPosition put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.