public class ChatMessageHostedContent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatMessageHostedContent.Builder |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ChatMessageHostedContent() |
| Modifier and Type | Method and Description |
|---|---|
static ChatMessageHostedContent.Builder |
builderChatMessageHostedContent()
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<com.github.davidmoten.odata.client.StreamProvider> |
getStream()
If suitable metadata found a StreamProvider is returned otherwise returns
Optional.empty(). |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ChatMessageHostedContent |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ChatMessageHostedContent |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ChatMessageHostedContent.Builder builderChatMessageHostedContent()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Optional<com.github.davidmoten.odata.client.StreamProvider> getStream()
Optional.empty(). Normally for a stream to be available this entity
needs to have been hydrated with full metadata. Consider calling the builder
method .metadataFull() when getting this instance (either directly or
as part of a collection).Optional.empty()public ChatMessageHostedContent patch()
this with changed fields reset.public ChatMessageHostedContent put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.