public class ProfilePhoto extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfilePhoto.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
height |
protected Integer |
width |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ProfilePhoto() |
| Modifier and Type | Method and Description |
|---|---|
static ProfilePhoto.Builder |
builderProfilePhoto()
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<Integer> |
getHeight() |
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() |
Optional<Integer> |
getWidth() |
String |
odataTypeName() |
ProfilePhoto |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ProfilePhoto |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ProfilePhoto |
withHeight(Integer height) |
ProfilePhoto |
withWidth(Integer width) |
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ProfilePhoto.Builder builderProfilePhoto()
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 ProfilePhoto withHeight(Integer height)
public ProfilePhoto withWidth(Integer width)
public 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 ProfilePhoto patch()
this with changed fields reset.public ProfilePhoto put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.