GoogleApi.Chat.V1.Model.GoogleAppsCardV1CollapseControl (google_api_chat v0.43.0)

View Source

Represent an expand and collapse control. Google Workspace add-ons and Chat apps:

Attributes

  • collapseButton (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t, default: nil) - Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.
  • expandButton (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t, default: nil) - Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used.
  • horizontalAlignment (type: String.t, default: nil) - The horizontal alignment of the expand and collapse button.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1CollapseControl{
  collapseButton: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t() | nil,
  expandButton: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t() | nil,
  horizontalAlignment: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.