Package odata.msgraph.client.entity
Class ActivityHistoryItem
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.ActivityHistoryItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ActivityHistoryItem extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = false
Org.OData.Capabilities.V1.SkipSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActivityHistoryItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractiveDurationSecondsprotected OffsetDateTimecreatedDateTimeprotected OffsetDateTimeexpirationDateTimeprotected OffsetDateTimelastActiveDateTimeprotected OffsetDateTimelastModifiedDateTimeprotected OffsetDateTimestartedDateTimeprotected Statusstatusprotected StringuserTimezone-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedActivityHistoryItem()
-
Method Summary
-
-
-
Field Detail
-
activeDurationSeconds
protected Integer activeDurationSeconds
-
createdDateTime
protected OffsetDateTime createdDateTime
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
lastActiveDateTime
protected OffsetDateTime lastActiveDateTime
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
startedDateTime
protected OffsetDateTime startedDateTime
-
status
protected Status status
-
userTimezone
protected String userTimezone
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderActivityHistoryItem
public static ActivityHistoryItem.Builder builderActivityHistoryItem()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withActiveDurationSeconds
public ActivityHistoryItem withActiveDurationSeconds(Integer activeDurationSeconds)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public ActivityHistoryItem withCreatedDateTime(OffsetDateTime createdDateTime)
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
-
withExpirationDateTime
public ActivityHistoryItem withExpirationDateTime(OffsetDateTime expirationDateTime)
-
getLastActiveDateTime
public Optional<OffsetDateTime> getLastActiveDateTime()
-
withLastActiveDateTime
public ActivityHistoryItem withLastActiveDateTime(OffsetDateTime lastActiveDateTime)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public ActivityHistoryItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getStartedDateTime
public Optional<OffsetDateTime> getStartedDateTime()
-
withStartedDateTime
public ActivityHistoryItem withStartedDateTime(OffsetDateTime startedDateTime)
-
withStatus
public ActivityHistoryItem withStatus(Status status)
-
withUserTimezone
public ActivityHistoryItem withUserTimezone(String userTimezone)
-
withUnmappedField
public ActivityHistoryItem withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getActivity
public UserActivityRequest getActivity()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ActivityHistoryItem patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ActivityHistoryItem put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-