Class MicrosoftGraphVisualInfo
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVisualInfo
-
public final class MicrosoftGraphVisualInfo extends Object
visualInfo.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphVisualInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: visualInfo.MicrosoftGraphImageInfo
attribution()
Get the attribution property: imageInfo.String
backgroundColor()
Get the backgroundColor property: Optional.Map<String,Object>
content()
Get the content property: Json.String
description()
Get the description property: Optional.String
displayText()
Get the displayText property: Required.void
validate()
Validates the instance.MicrosoftGraphVisualInfo
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: visualInfo.MicrosoftGraphVisualInfo
withAttribution(MicrosoftGraphImageInfo attribution)
Set the attribution property: imageInfo.MicrosoftGraphVisualInfo
withBackgroundColor(String backgroundColor)
Set the backgroundColor property: Optional.MicrosoftGraphVisualInfo
withContent(Map<String,Object> content)
Set the content property: Json.MicrosoftGraphVisualInfo
withDescription(String description)
Set the description property: Optional.MicrosoftGraphVisualInfo
withDisplayText(String displayText)
Set the displayText property: Required.
-
-
-
Method Detail
-
attribution
public MicrosoftGraphImageInfo attribution()
Get the attribution property: imageInfo.- Returns:
- the attribution value.
-
withAttribution
public MicrosoftGraphVisualInfo withAttribution(MicrosoftGraphImageInfo attribution)
Set the attribution property: imageInfo.- Parameters:
attribution
- the attribution value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
backgroundColor
public String 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
public MicrosoftGraphVisualInfo withBackgroundColor(String backgroundColor)
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
public Map<String,Object> content()
Get the content property: Json.- Returns:
- the content value.
-
withContent
public MicrosoftGraphVisualInfo withContent(Map<String,Object> content)
Set the content property: Json.- Parameters:
content
- the content value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
description
public String description()
Get the description property: Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata).- Returns:
- the description value.
-
withDescription
public MicrosoftGraphVisualInfo withDescription(String description)
Set the description property: Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata).- Parameters:
description
- the description value to set.- Returns:
- the MicrosoftGraphVisualInfo object itself.
-
displayText
public String 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
public MicrosoftGraphVisualInfo withDisplayText(String displayText)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: visualInfo.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphVisualInfo withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-