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