View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1BorderStyle (google_api_chat v0.34.3)

The style options for the border of a card or widget, including the border type and color. Google Workspace Add-ons and Chat apps:

Attributes

  • cornerRadius (type: integer(), default: nil) - The corner radius for the border.
  • strokeColor (type: GoogleApi.Chat.V1.Model.Color.t, default: nil) - The colors to use when the type is BORDER_TYPE_STROKE.
  • type (type: String.t, default: nil) - The border type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1BorderStyle{
  cornerRadius: integer() | nil,
  strokeColor: GoogleApi.Chat.V1.Model.Color.t() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.