MicrosoftGraphUserActivity Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphUserActivity
- com.
- com.
public final class MicrosoftGraphUserActivity
extends MicrosoftGraphEntity
userActivity.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphUserActivity() |
Creates an instance of Microsoft |
Method Summary
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphUserActivity
public MicrosoftGraphUserActivity()
Creates an instance of MicrosoftGraphUserActivity class.
Method Details
activationUrl
public String activationUrl()
Get the activationUrl property: 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.
Returns:
activitySourceHost
public String activitySourceHost()
Get the activitySourceHost property: The activitySourceHost property.
Returns:
additionalProperties
public Map
Get the additionalProperties property: userActivity.
Overrides:
MicrosoftGraphUserActivity.additionalProperties()Returns:
appActivityId
public String appActivityId()
Get the appActivityId property: Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter.
Returns:
appDisplayName
public String appDisplayName()
Get the appDisplayName property: 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\u2019s local device.
Returns:
contentInfo
public Map
Get the contentInfo property: Json.
Returns:
contentUrl
public String contentUrl()
Get the contentUrl property: 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).
Returns:
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Set by the server. DateTime in UTC when the object was created on the server.
Returns:
expirationDateTime
public OffsetDateTime expirationDateTime()
Get the expirationDateTime property: Set by the server. DateTime in UTC when the object expired on the server.
Returns:
fallbackUrl
public String fallbackUrl()
Get the fallbackUrl property: Optional. URL used to launch the activity in a web-based app, if available.
Returns:
fromJson
public static MicrosoftGraphUserActivity fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphUserActivity from the JsonReader.
Parameters:
Returns:
Throws:
historyItems
public List
Get the historyItems property: Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: Set by the server. DateTime in UTC when the object was modified on the server.
Returns:
status
public MicrosoftGraphStatus status()
Get the status property: status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphUserActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
userTimezone
public String userTimezone()
Get the userTimezone property: 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.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphUserActivity.validate()visualElements
public MicrosoftGraphVisualInfo visualElements()
Get the visualElements property: visualInfo.
Returns:
withActivationUrl
public MicrosoftGraphUserActivity withActivationUrl(String activationUrl)
Set the activationUrl property: 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.
Parameters:
Returns:
withActivitySourceHost
public MicrosoftGraphUserActivity withActivitySourceHost(String activitySourceHost)
Set the activitySourceHost property: The activitySourceHost property.
Parameters:
Returns:
withAdditionalProperties
public MicrosoftGraphUserActivity withAdditionalProperties(Map
Set the additionalProperties property: userActivity.
Overrides:
MicrosoftGraphUserActivity.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAppActivityId
public MicrosoftGraphUserActivity withAppActivityId(String appActivityId)
Set the appActivityId property: Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter.
Parameters:
Returns:
withAppDisplayName
public MicrosoftGraphUserActivity withAppDisplayName(String appDisplayName)
Set the appDisplayName property: 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\u2019s local device.
Parameters:
Returns:
withContentInfo
public MicrosoftGraphUserActivity withContentInfo(Map
Set the contentInfo property: Json.
Parameters:
Returns:
withContentUrl
public MicrosoftGraphUserActivity withContentUrl(String contentUrl)
Set the contentUrl property: 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).
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphUserActivity withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Set by the server. DateTime in UTC when the object was created on the server.
Parameters:
Returns:
withExpirationDateTime
public MicrosoftGraphUserActivity withExpirationDateTime(OffsetDateTime expirationDateTime)
Set the expirationDateTime property: Set by the server. DateTime in UTC when the object expired on the server.
Parameters:
Returns:
withFallbackUrl
public MicrosoftGraphUserActivity withFallbackUrl(String fallbackUrl)
Set the fallbackUrl property: Optional. URL used to launch the activity in a web-based app, if available.
Parameters:
Returns:
withHistoryItems
public MicrosoftGraphUserActivity withHistoryItems(List
Set the historyItems property: Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.
Parameters:
Returns:
withId
public MicrosoftGraphUserActivity withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphUserActivity.withId(String id)Parameters:
withLastModifiedDateTime
public MicrosoftGraphUserActivity withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Set by the server. DateTime in UTC when the object was modified on the server.
Parameters:
Returns:
withStatus
public MicrosoftGraphUserActivity withStatus(MicrosoftGraphStatus status)
Set the status property: status.
Parameters:
Returns:
withUserTimezone
public MicrosoftGraphUserActivity withUserTimezone(String userTimezone)
Set the userTimezone property: 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.
Parameters:
Returns:
withVisualElements
public MicrosoftGraphUserActivity withVisualElements(MicrosoftGraphVisualInfo visualElements)
Set the visualElements property: visualInfo.
Parameters:
Returns:
Applies to
Azure SDK for Java