Class MicrosoftGraphVisualInfo

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphVisualInfo

public final class MicrosoftGraphVisualInfo extends Object
visualInfo.
  • Constructor Details

    • MicrosoftGraphVisualInfo

      public MicrosoftGraphVisualInfo()
      Creates an instance of MicrosoftGraphVisualInfo class.
  • Method Details

    • 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: The description property.
      Returns:
      the description value.
    • withDescription

      public MicrosoftGraphVisualInfo withDescription(String description)
      Set the description property: The description property.
      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.