你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphVisualInfo Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphVisualInfo
- com.
Implements
public final class MicrosoftGraphVisualInfo
implements JsonSerializable<MicrosoftGraphVisualInfo>
visualInfo.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphVisualInfo() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
attribution()
Get the attribution property: image |
String |
backgroundColor()
Get the background |
Map<String,Object> |
content()
Get the content property: Json. |
String |
description()
Get the description property: The description property. |
String |
displayText()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAttribution(MicrosoftGraphImageInfo attribution)
Set the attribution property: image |
Microsoft |
withBackgroundColor(String backgroundColor)
Set the background |
Microsoft |
withContent(Map<String,Object> content)
Set the content property: Json. |
Microsoft |
withDescription(String description)
Set the description property: The description property. |
Microsoft |
withDisplayText(String displayText)
Set the display |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphVisualInfo
public MicrosoftGraphVisualInfo()
Creates an instance of MicrosoftGraphVisualInfo class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: visualInfo.
Returns:
attribution
public MicrosoftGraphImageInfo attribution()
Get the attribution property: imageInfo.
Returns:
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:
content
public Map
Get the content property: Json.
Returns:
description
public String description()
Get the description property: The description property.
Returns:
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:
fromJson
public static MicrosoftGraphVisualInfo fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphVisualInfo from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphVisualInfo withAdditionalProperties(Map
Set the additionalProperties property: visualInfo.
Parameters:
Returns:
withAttribution
public MicrosoftGraphVisualInfo withAttribution(MicrosoftGraphImageInfo attribution)
Set the attribution property: imageInfo.
Parameters:
Returns:
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:
Returns:
withContent
public MicrosoftGraphVisualInfo withContent(Map
Set the content property: Json.
Parameters:
Returns:
withDescription
public MicrosoftGraphVisualInfo withDescription(String description)
Set the description property: The description property.
Parameters:
Returns:
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:
Returns: