GoogleApi.Chat.V1.Model.GoogleAppsCardV1SwitchControl (google_api_chat v0.27.0) View Source
Attributes
-
controlType(type:String.t, default:nil) - The control type, either switch or checkbox. -
name(type:String.t, default:nil) - The name of the switch widget that's used in formInput. -
onChangeAction(type:GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t, default:nil) - The action when the switch state is changed. -
selected(type:boolean(), default:nil) - If the switch is selected. -
value(type:String.t, default:nil) - The value is what is passed back in the callback.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1SwitchControl{
controlType: String.t() | nil,
name: String.t() | nil,
onChangeAction: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t() | nil,
selected: boolean() | nil,
value: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.