public class UsedInsight extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
UsedInsight.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected UsageDetails |
lastUsed |
protected ResourceReference |
resourceReference |
protected ResourceVisualization |
resourceVisualization |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
UsedInsight() |
| Modifier and Type | Method and Description |
|---|---|
static UsedInsight.Builder |
builderUsedInsight()
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<UsageDetails> |
getLastUsed() |
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() |
String |
odataTypeName() |
UsedInsight |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
UsedInsight |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
UsedInsight |
withLastUsed(UsageDetails lastUsed) |
UsedInsight |
withResourceReference(ResourceReference resourceReference)
Returns an immutable copy of
this with just the resourceReference
field changed. |
UsedInsight |
withResourceVisualization(ResourceVisualization resourceVisualization)
Returns an immutable copy of
this with just the resourceVisualization field changed. |
protected UsageDetails lastUsed
protected ResourceVisualization resourceVisualization
protected ResourceReference resourceReference
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static UsedInsight.Builder builderUsedInsight()
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<UsageDetails> getLastUsed()
public UsedInsight withLastUsed(UsageDetails lastUsed)
public Optional<ResourceVisualization> getResourceVisualization()
Org.OData.Core.V1.Computed
true
public UsedInsight 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 UsedInsight 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 EntityRequest getResource()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic UsedInsight patch()
this with changed fields reset.public UsedInsight put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.