Package com.microsoft.graph.models
Class UserActivity
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UserActivity
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class UserActivity
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the User Activity.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Activation Url.The Activity Source Host.The App Activity Id.The App Display Name.com.google.gson.JsonElementThe Content Info.The Content Url.The Created Date Time.The Expiration Date Time.The Fallback Url.The History Items.The Last Modified Date Time.The Status.The User Timezone.The Visual Elements. -
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
-
activationUrl
@SerializedName(value="activationUrl", alternate="ActivationUrl") @Expose @Nullable public String activationUrlThe Activation Url. Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists. -
activitySourceHost
@SerializedName(value="activitySourceHost", alternate="ActivitySourceHost") @Expose @Nullable public String activitySourceHostThe Activity Source Host. Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint. -
appActivityId
@SerializedName(value="appActivityId", alternate="AppActivityId") @Expose @Nullable public String appActivityIdThe App Activity Id. Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter. -
appDisplayName
@SerializedName(value="appDisplayName", alternate="AppDisplayName") @Expose @Nullable public String appDisplayNameThe App Display Name. Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device. -
contentInfo
@SerializedName(value="contentInfo", alternate="ContentInfo") @Expose @Nullable public com.google.gson.JsonElement contentInfoThe Content Info. Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax. -
contentUrl
@SerializedName(value="contentUrl", alternate="ContentUrl") @Expose @Nullable public String contentUrlThe Content Url. Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed). -
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. Set by the server. DateTime in UTC when the object expired on the server. -
fallbackUrl
@SerializedName(value="fallbackUrl", alternate="FallbackUrl") @Expose @Nullable public String fallbackUrlThe Fallback Url. Optional. URL used to launch the activity in a web-based app, if available. -
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. -
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. -
visualElements
@SerializedName(value="visualElements", alternate="VisualElements") @Expose @Nullable public VisualInfo visualElementsThe Visual Elements. Required. The object containing information to render the activity in the UX. -
historyItems
@SerializedName(value="historyItems", alternate="HistoryItems") @Expose @Nullable public ActivityHistoryItemCollectionPage historyItemsThe History Items. Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.
-
-
Constructor Details
-
UserActivity
public UserActivity()
-
-
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
-