public class Session extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Session.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Endpoint |
callee |
protected Endpoint |
caller |
protected OffsetDateTime |
endDateTime |
protected FailureInfo |
failureInfo |
protected List<Modality> |
modalities |
protected String |
modalitiesNextLink |
protected OffsetDateTime |
startDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Session() |
| Modifier and Type | Method and Description |
|---|---|
static Session.Builder |
builderSession()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Endpoint> |
getCallee() |
Optional<Endpoint> |
getCaller() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getEndDateTime() |
Optional<FailureInfo> |
getFailureInfo() |
com.github.davidmoten.odata.client.CollectionPage<Modality> |
getModalities() |
com.github.davidmoten.odata.client.CollectionPage<Modality> |
getModalities(com.github.davidmoten.odata.client.HttpRequestOptions options) |
SegmentCollectionRequest |
getSegments() |
Optional<OffsetDateTime> |
getStartDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Session |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Session |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Session |
withCallee(Endpoint callee) |
Session |
withCaller(Endpoint caller) |
Session |
withEndDateTime(OffsetDateTime endDateTime) |
Session |
withFailureInfo(FailureInfo failureInfo) |
Session |
withStartDateTime(OffsetDateTime startDateTime) |
protected String modalitiesNextLink
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
protected Endpoint caller
protected Endpoint callee
protected FailureInfo failureInfo
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Session.Builder builderSession()
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 com.github.davidmoten.odata.client.CollectionPage<Modality> getModalities()
public com.github.davidmoten.odata.client.CollectionPage<Modality> getModalities(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<OffsetDateTime> getStartDateTime()
public Session withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public Session withEndDateTime(OffsetDateTime endDateTime)
public Optional<FailureInfo> getFailureInfo()
public Session withFailureInfo(FailureInfo failureInfo)
public SegmentCollectionRequest getSegments()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Session patch()
this with changed fields reset.public Session put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.