public class PersonAnniversary extends ItemFacet implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonAnniversary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected LocalDate |
date |
protected AnniversaryType |
type |
allowedAudiences, createdBy, createdDateTime, inference, lastModifiedBy, lastModifiedDateTime, sourcechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PersonAnniversary() |
| Modifier and Type | Method and Description |
|---|---|
static PersonAnniversary.Builder |
builderPersonAnniversary()
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.internal.ChangedFields |
getChangedFields() |
Optional<LocalDate> |
getDate() |
Optional<AnniversaryType> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PersonAnniversary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PersonAnniversary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PersonAnniversary |
withDate(LocalDate date) |
PersonAnniversary |
withType(AnniversaryType type) |
getAllowedAudiences, getCreatedBy, getCreatedDateTime, getInference, getLastModifiedBy, getLastModifiedDateTime, getSource, withAllowedAudiences, withCreatedBy, withCreatedDateTime, withInference, withLastModifiedBy, withLastModifiedDateTime, withSourceprotected AnniversaryType type
protected LocalDate date
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ItemFacetpublic static PersonAnniversary.Builder builderPersonAnniversary()
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 Optional<AnniversaryType> getType()
public PersonAnniversary withType(AnniversaryType type)
public PersonAnniversary withDate(LocalDate date)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ItemFacetpublic PersonAnniversary patch()
this with changed fields reset.public PersonAnniversary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.