google_api_civic_info v0.12.0 GoogleApi.CivicInfo.V2.Model.Channel View Source

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CivicInfo.V2.Model.Channel{id: String.t(), type: String.t()}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.