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