Class: Google::Apis::CivicinfoV2::ElectionOfficial
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CivicinfoV2::ElectionOfficial
 
- Defined in:
- generated/google/apis/civicinfo_v2/classes.rb,
 generated/google/apis/civicinfo_v2/representations.rb,
 generated/google/apis/civicinfo_v2/representations.rb
Overview
Information about individual election officials.
Instance Attribute Summary collapse
- 
  
    
      #email_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email address of the election official. 
- 
  
    
      #fax_number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The fax number of the election official. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The full name of the election official. 
- 
  
    
      #office_phone_number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The office phone number of the election official. 
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The title of the election official. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ElectionOfficial 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ElectionOfficial. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ElectionOfficial
Returns a new instance of ElectionOfficial
| 633 634 635 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 633 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#email_address ⇒ String
The email address of the election official.
Corresponds to the JSON property emailAddress
| 611 612 613 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 611 def email_address @email_address end | 
#fax_number ⇒ String
The fax number of the election official.
Corresponds to the JSON property faxNumber
| 616 617 618 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 616 def fax_number @fax_number end | 
#name ⇒ String
The full name of the election official.
Corresponds to the JSON property name
| 621 622 623 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 621 def name @name end | 
#office_phone_number ⇒ String
The office phone number of the election official.
Corresponds to the JSON property officePhoneNumber
| 626 627 628 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 626 def office_phone_number @office_phone_number end | 
#title ⇒ String
The title of the election official.
Corresponds to the JSON property title
| 631 632 633 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 631 def title @title end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 638 639 640 641 642 643 644 | # File 'generated/google/apis/civicinfo_v2/classes.rb', line 638 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 |