Package com.microsoft.graph.models
Class ActivityHistoryItem
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ActivityHistoryItem
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ActivityHistoryItem
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Activity History Item.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Active Duration Seconds.The Activity.The Created Date Time.The Expiration Date Time.The Last Active Date Time.The Last Modified Date Time.The Started Date Time.The Status.The User Timezone. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
activeDurationSeconds
@SerializedName(value="activeDurationSeconds", alternate="ActiveDurationSeconds") @Expose @Nullable public Integer activeDurationSecondsThe Active Duration Seconds. Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. Set by the server. DateTime in UTC when the object was created on the server. -
expirationDateTime
@SerializedName(value="expirationDateTime", alternate="ExpirationDateTime") @Expose @Nullable public OffsetDateTime expirationDateTimeThe Expiration Date Time. Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client. -
lastActiveDateTime
@SerializedName(value="lastActiveDateTime", alternate="LastActiveDateTime") @Expose @Nullable public OffsetDateTime lastActiveDateTimeThe Last Active Date Time. Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing. -
lastModifiedDateTime
@SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTimeThe Last Modified Date Time. Set by the server. DateTime in UTC when the object was modified on the server. -
startedDateTime
@SerializedName(value="startedDateTime", alternate="StartedDateTime") @Expose @Nullable public OffsetDateTime startedDateTimeThe Started Date Time. Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history. -
status
The Status. Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored. -
userTimezone
@SerializedName(value="userTimezone", alternate="UserTimezone") @Expose @Nullable public String userTimezoneThe User Timezone. Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation. -
activity
@SerializedName(value="activity", alternate="Activity") @Expose @Nullable public UserActivity activityThe Activity. Optional. NavigationProperty/Containment; navigation property to the associated activity.
-
-
Constructor Details
-
ActivityHistoryItem
public ActivityHistoryItem()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-