public class Segment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Segment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Endpoint |
callee |
protected Endpoint |
caller |
protected OffsetDateTime |
endDateTime |
protected FailureInfo |
failureInfo |
protected List<Media> |
media |
protected String |
mediaNextLink |
protected OffsetDateTime |
startDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Segment() |
| Modifier and Type | Method and Description |
|---|---|
static Segment.Builder |
builderSegment()
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<Media> |
getMedia() |
com.github.davidmoten.odata.client.CollectionPage<Media> |
getMedia(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<OffsetDateTime> |
getStartDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Segment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Segment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Segment |
withCallee(Endpoint callee) |
Segment |
withCaller(Endpoint caller) |
Segment |
withEndDateTime(OffsetDateTime endDateTime) |
Segment |
withFailureInfo(FailureInfo failureInfo) |
Segment |
withStartDateTime(OffsetDateTime startDateTime) |
protected OffsetDateTime startDateTime
protected OffsetDateTime endDateTime
protected Endpoint caller
protected Endpoint callee
protected FailureInfo failureInfo
protected String mediaNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Segment.Builder builderSegment()
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<OffsetDateTime> getStartDateTime()
public Segment withStartDateTime(OffsetDateTime startDateTime)
public Optional<OffsetDateTime> getEndDateTime()
public Segment withEndDateTime(OffsetDateTime endDateTime)
public Optional<FailureInfo> getFailureInfo()
public Segment withFailureInfo(FailureInfo failureInfo)
public com.github.davidmoten.odata.client.CollectionPage<Media> getMedia()
public com.github.davidmoten.odata.client.CollectionPage<Media> getMedia(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Segment patch()
this with changed fields reset.public Segment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.