GoogleApi.DriveActivity.V2.Model.Selection (google_api_drive_activity v0.9.0)

View Source

Wrapper for Selection Field value as combined value/display_name pair for selected choice.

Attributes

  • displayName (type: String.t, default: nil) - Selection value as human-readable display string.
  • value (type: String.t, default: nil) - Selection value as Field Choice ID.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DriveActivity.V2.Model.Selection{
  displayName: String.t() | nil,
  value: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.