Class MicrosoftGraphUserActivity
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUserActivity
userActivity.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphUserActivity class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activationUrl property: Required.Get the activitySourceHost property: The activitySourceHost property.Get the additionalProperties property: userActivity.Get the appActivityId property: Required.Get the appDisplayName property: Optional.Get the contentInfo property: Json.Get the contentUrl property: Optional.Get the createdDateTime property: Set by the server.Get the expirationDateTime property: Set by the server.Get the fallbackUrl property: Optional.Get the historyItems property: Optional.Get the lastModifiedDateTime property: Set by the server.status()Get the status property: status.Get the userTimezone property: Optional.voidvalidate()Validates the instance.Get the visualElements property: visualInfo.withActivationUrl(String activationUrl) Set the activationUrl property: Required.withActivitySourceHost(String activitySourceHost) Set the activitySourceHost property: The activitySourceHost property.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: userActivity.withAppActivityId(String appActivityId) Set the appActivityId property: Required.withAppDisplayName(String appDisplayName) Set the appDisplayName property: Optional.withContentInfo(Map<String, Object> contentInfo) Set the contentInfo property: Json.withContentUrl(String contentUrl) Set the contentUrl property: Optional.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Set by the server.withExpirationDateTime(OffsetDateTime expirationDateTime) Set the expirationDateTime property: Set by the server.withFallbackUrl(String fallbackUrl) Set the fallbackUrl property: Optional.withHistoryItems(List<MicrosoftGraphActivityHistoryItem> historyItems) Set the historyItems property: Optional.Set the id property: Read-only.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: Set by the server.withStatus(MicrosoftGraphStatus status) Set the status property: status.withUserTimezone(String userTimezone) Set the userTimezone property: Optional.withVisualElements(MicrosoftGraphVisualInfo visualElements) Set the visualElements property: visualInfo.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphUserActivity
public MicrosoftGraphUserActivity()Creates an instance of MicrosoftGraphUserActivity class.
-
-
Method Details
-
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:
- the activationUrl value.
-
withActivationUrl
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:
activationUrl- the activationUrl value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
activitySourceHost
Get the activitySourceHost property: The activitySourceHost property.- Returns:
- the activitySourceHost value.
-
withActivitySourceHost
Set the activitySourceHost property: The activitySourceHost property.- Parameters:
activitySourceHost- the activitySourceHost value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
appActivityId
Get the appActivityId property: Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter.- Returns:
- the appActivityId value.
-
withAppActivityId
Set the appActivityId property: Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter.- Parameters:
appActivityId- the appActivityId value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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’s local device.- Returns:
- the appDisplayName value.
-
withAppDisplayName
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’s local device.- Parameters:
appDisplayName- the appDisplayName value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
contentInfo
Get the contentInfo property: Json.- Returns:
- the contentInfo value.
-
withContentInfo
Set the contentInfo property: Json.- Parameters:
contentInfo- the contentInfo value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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:
- the contentUrl value.
-
withContentUrl
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:
contentUrl- the contentUrl value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
createdDateTime
Get the createdDateTime property: Set by the server. DateTime in UTC when the object was created on the server.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
Set the createdDateTime property: Set by the server. DateTime in UTC when the object was created on the server.- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
expirationDateTime
Get the expirationDateTime property: Set by the server. DateTime in UTC when the object expired on the server.- Returns:
- the expirationDateTime value.
-
withExpirationDateTime
Set the expirationDateTime property: Set by the server. DateTime in UTC when the object expired on the server.- Parameters:
expirationDateTime- the expirationDateTime value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
fallbackUrl
Get the fallbackUrl property: Optional. URL used to launch the activity in a web-based app, if available.- Returns:
- the fallbackUrl value.
-
withFallbackUrl
Set the fallbackUrl property: Optional. URL used to launch the activity in a web-based app, if available.- Parameters:
fallbackUrl- the fallbackUrl value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: Set by the server. DateTime in UTC when the object was modified on the server.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: Set by the server. DateTime in UTC when the object was modified on the server.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
status
Get the status property: status.- Returns:
- the status value.
-
withStatus
Set the status property: status.- Parameters:
status- the status value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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:
- the userTimezone value.
-
withUserTimezone
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:
userTimezone- the userTimezone value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
visualElements
Get the visualElements property: visualInfo.- Returns:
- the visualElements value.
-
withVisualElements
Set the visualElements property: visualInfo.- Parameters:
visualElements- the visualElements value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
historyItems
Get the historyItems property: Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.- Returns:
- the historyItems value.
-
withHistoryItems
public MicrosoftGraphUserActivity withHistoryItems(List<MicrosoftGraphActivityHistoryItem> historyItems) Set the historyItems property: Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.- Parameters:
historyItems- the historyItems value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
additionalProperties
Get the additionalProperties property: userActivity.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: userActivity.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-