Class MicrosoftGraphVisualInfo
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVisualInfo
visualInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphVisualInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: visualInfo.Get the attribution property: imageInfo.Get the backgroundColor property: Optional.content()Get the content property: Json.Get the description property: The description property.Get the displayText property: Required.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: visualInfo.withAttribution(MicrosoftGraphImageInfo attribution) Set the attribution property: imageInfo.withBackgroundColor(String backgroundColor) Set the backgroundColor property: Optional.withContent(Map<String, Object> content) Set the content property: Json.withDescription(String description) Set the description property: The description property.withDisplayText(String displayText) Set the displayText property: Required.
-
Constructor Details
-
MicrosoftGraphVisualInfo
public MicrosoftGraphVisualInfo()Creates an instance of MicrosoftGraphVisualInfo class.
-
-
Method Details
-
attribution
Get the attribution property: imageInfo.- Returns:
- the attribution value.
-
withAttribution
Set the attribution property: imageInfo.- Parameters:
attribution- the attribution value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
backgroundColor
Get the backgroundColor property: Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color.- Returns:
- the backgroundColor value.
-
withBackgroundColor
Set the backgroundColor property: Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color.- Parameters:
backgroundColor- the backgroundColor value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
content
Get the content property: Json.- Returns:
- the content value.
-
withContent
Set the content property: Json.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
description
Get the description property: The description property.- Returns:
- the description value.
-
withDescription
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
displayText
Get the displayText property: Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation).- Returns:
- the displayText value.
-
withDisplayText
Set the displayText property: Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation).- Parameters:
displayText- the displayText value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
additionalProperties
Get the additionalProperties property: visualInfo.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: visualInfo.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-