public class SharingDetail extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
SharingDetail.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected InsightIdentity |
sharedBy |
protected OffsetDateTime |
sharedDateTime |
protected ResourceReference |
sharingReference |
protected String |
sharingSubject |
protected String |
sharingType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
SharingDetail() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected InsightIdentity sharedBy
protected OffsetDateTime sharedDateTime
protected String sharingSubject
protected String sharingType
protected ResourceReference sharingReference
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<InsightIdentity> getSharedBy()
public SharingDetail withSharedBy(InsightIdentity sharedBy)
public Optional<OffsetDateTime> getSharedDateTime()
public SharingDetail withSharedDateTime(OffsetDateTime sharedDateTime)
public SharingDetail withSharingSubject(String sharingSubject)
public SharingDetail withSharingType(String sharingType)
public Optional<ResourceReference> getSharingReference()
Org.OData.Core.V1.Computed
true
public SharingDetail withSharingReference(ResourceReference sharingReference)
this with just the sharingReference
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
sharingReference - new value of sharingReference field (as defined in service metadata)this with just the sharingReference field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static SharingDetail.Builder builder()
Copyright © 2018–2020. All rights reserved.