public class Shared extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Shared.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected IdentitySet |
owner |
protected String |
scope |
protected IdentitySet |
sharedBy |
protected OffsetDateTime |
sharedDateTime |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Shared() |
| Modifier and Type | Method and Description |
|---|---|
static Shared.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<IdentitySet> |
getOwner() |
Optional<String> |
getScope() |
Optional<IdentitySet> |
getSharedBy() |
Optional<OffsetDateTime> |
getSharedDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
Shared |
withOwner(IdentitySet owner) |
Shared |
withScope(String scope) |
Shared |
withSharedBy(IdentitySet sharedBy) |
Shared |
withSharedDateTime(OffsetDateTime sharedDateTime) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected IdentitySet owner
protected String scope
protected IdentitySet sharedBy
protected OffsetDateTime sharedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<IdentitySet> getOwner()
public Shared withOwner(IdentitySet owner)
public Optional<IdentitySet> getSharedBy()
public Shared withSharedBy(IdentitySet sharedBy)
public Optional<OffsetDateTime> getSharedDateTime()
public Shared withSharedDateTime(OffsetDateTime sharedDateTime)
public 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 Shared.Builder builder()
Copyright © 2018–2020. All rights reserved.