public class CallActivityStatistics extends ActivityStatistics implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
CallActivityStatistics.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
afterHours |
activity, duration, endDate, startDate, timeZoneUsedchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
CallActivityStatistics() |
| Modifier and Type | Method and Description |
|---|---|
static CallActivityStatistics.Builder |
builderCallActivityStatistics()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Duration> |
getAfterHours() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
CallActivityStatistics |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
CallActivityStatistics |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
CallActivityStatistics |
withAfterHours(Duration afterHours) |
getActivity, getDuration, getEndDate, getStartDate, getTimeZoneUsed, withActivity, withDuration, withEndDate, withStartDate, withTimeZoneUsedprotected Duration afterHours
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class ActivityStatisticspublic static CallActivityStatistics.Builder builderCallActivityStatistics()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class ActivityStatisticspublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class ActivityStatisticspublic CallActivityStatistics withAfterHours(Duration afterHours)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class ActivityStatisticspublic CallActivityStatistics patch()
this with changed fields reset.patch in class ActivityStatisticsthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic CallActivityStatistics put()
this
with changed fields reset (they were ignored anyway).put in class ActivityStatisticsthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class ActivityStatisticsCopyright © 2018–2020. All rights reserved.