View Source GoogleApi.CivicInfo.V2.Model.Channel (google_api_civic_info v0.23.0)

A social media or web channel for a candidate.

Attributes

  • id (type: String.t, default: nil) - The unique public identifier for the candidate's channel.
  • type (type: String.t, default: nil) - The type of channel. The following is a list of types of channels, but is not exhaustive. More channel types may be added at a later time. One of: GooglePlus, YouTube, Facebook, Twitter

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CivicInfo.V2.Model.Channel{
  id: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.