GoogleApi.CivicInfo.V2.Model.CivicinfoSchemaV2Channel (google_api_civic_info v0.26.0)

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.