Package odata.msgraph.client.entity
Class SharedInsight
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.SharedInsight
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SharedInsight extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharedInsight.Builder
-
Field Summary
Fields Modifier and Type Field Description protected SharingDetaillastSharedprotected ResourceReferenceresourceReferenceprotected ResourceVisualizationresourceVisualizationprotected List<SharingDetail>sharingHistoryprotected StringsharingHistoryNextLink-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSharedInsight()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SharedInsight.BuilderbuilderSharedInsight()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.ChangedFieldsgetChangedFields()Optional<SharingDetail>getLastShared()EntityRequestgetLastSharedMethod()EntityRequestgetResource()Optional<ResourceReference>getResourceReference()Org.OData.Core.V1.ComputedOptional<ResourceVisualization>getResourceVisualization()Org.OData.Core.V1.Computedcom.github.davidmoten.odata.client.CollectionPage<SharingDetail>getSharingHistory()com.github.davidmoten.odata.client.CollectionPage<SharingDetail>getSharingHistory(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SharedInsightpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SharedInsightput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SharedInsightwithLastShared(SharingDetail lastShared)SharedInsightwithResourceReference(ResourceReference resourceReference)Returns an immutable copy ofthiswith just theresourceReferencefield changed.SharedInsightwithResourceVisualization(ResourceVisualization resourceVisualization)Returns an immutable copy ofthiswith just theresourceVisualizationfield changed.SharedInsightwithSharingHistory(List<SharingDetail> sharingHistory)SharedInsightwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
lastShared
protected SharingDetail lastShared
-
resourceReference
protected ResourceReference resourceReference
-
resourceVisualization
protected ResourceVisualization resourceVisualization
-
sharingHistory
protected List<SharingDetail> sharingHistory
-
sharingHistoryNextLink
protected String sharingHistoryNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSharedInsight
public static SharedInsight.Builder builderSharedInsight()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getLastShared
public Optional<SharingDetail> getLastShared()
-
withLastShared
public SharedInsight withLastShared(SharingDetail lastShared)
-
getResourceReference
public Optional<ResourceReference> getResourceReference()
Org.OData.Core.V1.Computed
true
- Returns:
- property resourceReference
-
withResourceReference
public SharedInsight withResourceReference(ResourceReference resourceReference)
Returns an immutable copy ofthiswith just theresourceReferencefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
resourceReference- new value ofresourceReferencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theresourceReferencefield changed
-
getResourceVisualization
public Optional<ResourceVisualization> getResourceVisualization()
Org.OData.Core.V1.Computed
true
- Returns:
- property resourceVisualization
-
withResourceVisualization
public SharedInsight withResourceVisualization(ResourceVisualization resourceVisualization)
Returns an immutable copy ofthiswith just theresourceVisualizationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Core.V1.Computed
true
- Parameters:
resourceVisualization- new value ofresourceVisualizationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theresourceVisualizationfield changed
-
getSharingHistory
public com.github.davidmoten.odata.client.CollectionPage<SharingDetail> getSharingHistory()
-
withSharingHistory
public SharedInsight withSharingHistory(List<SharingDetail> sharingHistory)
-
getSharingHistory
public com.github.davidmoten.odata.client.CollectionPage<SharingDetail> getSharingHistory(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public SharedInsight withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getLastSharedMethod
public EntityRequest getLastSharedMethod()
-
getResource
public EntityRequest getResource()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SharedInsight patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SharedInsight put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-