public class MetadataBase extends Crmmodelbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
hasChanged |
protected String |
metadataId |
changedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
MetadataBase() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getHasChanged() |
Optional<String> |
getMetadataId() |
com.github.davidmoten.odata.client.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
MetadataBase |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
MetadataBase |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
MetadataBase |
withHasChanged(Boolean hasChanged) |
MetadataBase |
withMetadataId(String metadataId) |
MetadataBase |
withUnmappedField(String name,
String value) |
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Crmmodelbaseentitypublic com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Crmmodelbaseentitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Crmmodelbaseentitypublic MetadataBase withMetadataId(String metadataId)
public MetadataBase withHasChanged(Boolean hasChanged)
public MetadataBase withUnmappedField(String name, String value)
withUnmappedField in class Crmmodelbaseentitypublic com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Crmmodelbaseentitypublic MetadataBase patch()
this with changed fields reset.patch in class Crmmodelbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic MetadataBase put()
this
with changed fields reset (they were ignored anyway).put in class Crmmodelbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class CrmmodelbaseentityCopyright © 2018–2020. All rights reserved.