class Google::Apis::CivicinfoV2::ElectionOfficial

Information about individual election officials.

Attributes

email_address[RW]

The email address of the election official. Corresponds to the JSON property `emailAddress` @return [String]

fax_number[RW]

The fax number of the election official. Corresponds to the JSON property `faxNumber` @return [String]

name[RW]

The full name of the election official. Corresponds to the JSON property `name` @return [String]

office_phone_number[RW]

The office phone number of the election official. Corresponds to the JSON property `officePhoneNumber` @return [String]

title[RW]

The title of the election official. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/civicinfo_v2/classes.rb, line 568
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 573
def update!(**args)
  @email_address = args[:email_address] if args.key?(:email_address)
  @fax_number = args[:fax_number] if args.key?(:fax_number)
  @name = args[:name] if args.key?(:name)
  @office_phone_number = args[:office_phone_number] if args.key?(:office_phone_number)
  @title = args[:title] if args.key?(:title)
end