class Google::Apis::CivicinfoV2::Channel
A social media or web channel for a candidate.
Attributes
id[RW]
The unique public identifier for the candidate's channel. Corresponds to the JSON property `id` @return [String]
type[RW]
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 Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/civicinfo_v2/classes.rb, line 246 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/civicinfo_v2/classes.rb, line 251 def update!(**args) @id = args[:id] if args.key?(:id) @type = args[:type] if args.key?(:type) end