public class ActivityStatistics extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected AnalyticsActivityType |
activity |
protected Duration |
duration |
protected LocalDate |
endDate |
protected LocalDate |
startDate |
protected String |
timeZoneUsed |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ActivityStatistics() |
| Modifier and Type | Method and Description |
|---|---|
Optional<AnalyticsActivityType> |
getActivity() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Duration> |
getDuration() |
Optional<LocalDate> |
getEndDate() |
Optional<LocalDate> |
getStartDate() |
Optional<String> |
getTimeZoneUsed() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ActivityStatistics |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ActivityStatistics |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ActivityStatistics |
withActivity(AnalyticsActivityType activity) |
ActivityStatistics |
withDuration(Duration duration) |
ActivityStatistics |
withEndDate(LocalDate endDate) |
ActivityStatistics |
withStartDate(LocalDate startDate) |
ActivityStatistics |
withTimeZoneUsed(String timeZoneUsed) |
protected AnalyticsActivityType activity
protected LocalDate startDate
protected LocalDate endDate
protected String timeZoneUsed
protected Duration duration
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic 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<AnalyticsActivityType> getActivity()
public ActivityStatistics withActivity(AnalyticsActivityType activity)
public ActivityStatistics withStartDate(LocalDate startDate)
public ActivityStatistics withEndDate(LocalDate endDate)
public ActivityStatistics withTimeZoneUsed(String timeZoneUsed)
public ActivityStatistics withDuration(Duration duration)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ActivityStatistics patch()
this with changed fields reset.public ActivityStatistics put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.