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 Details

    • activationUrl

      @SerializedName(value="activationUrl", alternate="ActivationUrl") @Expose @Nullable public String activationUrl
      The 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 activitySourceHost
      The 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 appActivityId
      The 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 appDisplayName
      The 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 contentInfo
      The 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 contentUrl
      The 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 createdDateTime
      The 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 expirationDateTime
      The 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 fallbackUrl
      The 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 lastModifiedDateTime
      The Last Modified Date Time. Set by the server. DateTime in UTC when the object was modified on the server.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public Status 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 userTimezone
      The 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 visualElements
      The Visual Elements. Required. The object containing information to render the activity in the UX.
    • historyItems

      @SerializedName(value="historyItems", alternate="HistoryItems") @Expose @Nullable public ActivityHistoryItemCollectionPage historyItems
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to