Class MicrosoftGraphUserActivity
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUserActivity
-
public final class MicrosoftGraphUserActivity extends MicrosoftGraphEntity
userActivity.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphUserActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
activationUrl()
Get the activationUrl property: Required.String
activitySourceHost()
Get the activitySourceHost property: Required.Map<String,Object>
additionalProperties()
Get the additionalProperties property: userActivity.String
appActivityId()
Get the appActivityId property: Required.String
appDisplayName()
Get the appDisplayName property: Optional.Map<String,Object>
contentInfo()
Get the contentInfo property: Json.String
contentUrl()
Get the contentUrl property: Optional.OffsetDateTime
createdDateTime()
Get the createdDateTime property: Set by the server.OffsetDateTime
expirationDateTime()
Get the expirationDateTime property: Set by the server.String
fallbackUrl()
Get the fallbackUrl property: Optional.List<MicrosoftGraphActivityHistoryItem>
historyItems()
Get the historyItems property: Optional.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: Set by the server.MicrosoftGraphStatus
status()
Get the status property: The status property.String
userTimezone()
Get the userTimezone property: Optional.void
validate()
Validates the instance.MicrosoftGraphVisualInfo
visualElements()
Get the visualElements property: visualInfo.MicrosoftGraphUserActivity
withActivationUrl(String activationUrl)
Set the activationUrl property: Required.MicrosoftGraphUserActivity
withActivitySourceHost(String activitySourceHost)
Set the activitySourceHost property: Required.MicrosoftGraphUserActivity
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: userActivity.MicrosoftGraphUserActivity
withAppActivityId(String appActivityId)
Set the appActivityId property: Required.MicrosoftGraphUserActivity
withAppDisplayName(String appDisplayName)
Set the appDisplayName property: Optional.MicrosoftGraphUserActivity
withContentInfo(Map<String,Object> contentInfo)
Set the contentInfo property: Json.MicrosoftGraphUserActivity
withContentUrl(String contentUrl)
Set the contentUrl property: Optional.MicrosoftGraphUserActivity
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Set by the server.MicrosoftGraphUserActivity
withExpirationDateTime(OffsetDateTime expirationDateTime)
Set the expirationDateTime property: Set by the server.MicrosoftGraphUserActivity
withFallbackUrl(String fallbackUrl)
Set the fallbackUrl property: Optional.MicrosoftGraphUserActivity
withHistoryItems(List<MicrosoftGraphActivityHistoryItem> historyItems)
Set the historyItems property: Optional.MicrosoftGraphUserActivity
withId(String id)
Set the id property: Read-only.MicrosoftGraphUserActivity
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Set by the server.MicrosoftGraphUserActivity
withStatus(MicrosoftGraphStatus status)
Set the status property: The status property.MicrosoftGraphUserActivity
withUserTimezone(String userTimezone)
Set the userTimezone property: Optional.MicrosoftGraphUserActivity
withVisualElements(MicrosoftGraphVisualInfo visualElements)
Set the visualElements property: visualInfo.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
- the activationUrl value.
-
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:
activationUrl
- the activationUrl value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
activitySourceHost
public String activitySourceHost()
Get the activitySourceHost property: 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.- Returns:
- the activitySourceHost value.
-
withActivitySourceHost
public MicrosoftGraphUserActivity withActivitySourceHost(String activitySourceHost)
Set the activitySourceHost property: 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.- Parameters:
activitySourceHost
- the activitySourceHost value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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:
- the appActivityId value.
-
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:
appActivityId
- the appActivityId value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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’s local device.- Returns:
- the appDisplayName value.
-
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’s local device.- Parameters:
appDisplayName
- the appDisplayName value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
contentInfo
public Map<String,Object> contentInfo()
Get the contentInfo property: Json.- Returns:
- the contentInfo value.
-
withContentInfo
public MicrosoftGraphUserActivity withContentInfo(Map<String,Object> contentInfo)
Set the contentInfo property: Json.- Parameters:
contentInfo
- the contentInfo value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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:
- the contentUrl value.
-
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:
contentUrl
- the contentUrl value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
createdDateTime
public OffsetDateTime 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
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:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
expirationDateTime
public OffsetDateTime expirationDateTime()
Get the expirationDateTime property: Set by the server. DateTime in UTC when the object expired on the server.- Returns:
- the expirationDateTime value.
-
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:
expirationDateTime
- the expirationDateTime value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
fallbackUrl
public String fallbackUrl()
Get the fallbackUrl property: Optional. URL used to launch the activity in a web-based app, if available.- Returns:
- the fallbackUrl value.
-
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:
fallbackUrl
- the fallbackUrl value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
lastModifiedDateTime
public OffsetDateTime 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
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:
lastModifiedDateTime
- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
status
public MicrosoftGraphStatus status()
Get the status property: The status property.- Returns:
- the status value.
-
withStatus
public MicrosoftGraphUserActivity withStatus(MicrosoftGraphStatus status)
Set the status property: The status property.- Parameters:
status
- the status value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
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:
- the userTimezone value.
-
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:
userTimezone
- the userTimezone value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
visualElements
public MicrosoftGraphVisualInfo visualElements()
Get the visualElements property: visualInfo.- Returns:
- the visualElements value.
-
withVisualElements
public MicrosoftGraphUserActivity withVisualElements(MicrosoftGraphVisualInfo visualElements)
Set the visualElements property: visualInfo.- Parameters:
visualElements
- the visualElements value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
historyItems
public List<MicrosoftGraphActivityHistoryItem> 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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: userActivity.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphUserActivity withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: userActivity.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphUserActivity object itself.
-
withId
public MicrosoftGraphUserActivity withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-