public class Trending extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Trending.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
lastModifiedDateTime |
protected ResourceReference |
resourceReference |
protected ResourceVisualization |
resourceVisualization |
protected Double |
weight |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Trending() |
| Modifier and Type | Method and Description |
|---|---|
static Trending.Builder |
builderTrending()
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<OffsetDateTime> |
getLastModifiedDateTime() |
EntityRequest |
getResource() |
Optional<ResourceReference> |
getResourceReference()
Org.OData.Core.V1.Computed
|
Optional<ResourceVisualization> |
getResourceVisualization()
Org.OData.Core.V1.Computed
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Double> |
getWeight() |
String |
odataTypeName() |
Trending |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Trending |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Trending |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) |
Trending |
withResourceReference(ResourceReference resourceReference)
Returns an immutable copy of
this with just the resourceReference
field changed. |
Trending |
withResourceVisualization(ResourceVisualization resourceVisualization)
Returns an immutable copy of
this with just the resourceVisualization field changed. |
Trending |
withWeight(Double weight) |
protected Double weight
protected ResourceVisualization resourceVisualization
protected ResourceReference resourceReference
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Trending.Builder builderTrending()
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 Optional<ResourceVisualization> getResourceVisualization()
Org.OData.Core.V1.Computed
true
public Trending withResourceVisualization(ResourceVisualization resourceVisualization)
this with just the resourceVisualization field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
Org.OData.Core.V1.Computed
true
resourceVisualization - new value of resourceVisualization field (as defined in service metadata)this with just the resourceVisualization field changedpublic Optional<ResourceReference> getResourceReference()
Org.OData.Core.V1.Computed
true
public Trending withResourceReference(ResourceReference resourceReference)
this with just the resourceReference
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
Org.OData.Core.V1.Computed
true
resourceReference - new value of resourceReference field (as defined in service metadata)this with just the resourceReference field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public Trending withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public EntityRequest getResource()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Trending patch()
this with changed fields reset.public Trending put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.