Class: Google::Apis::CivicinfoV2::VoterInfoSegmentResult
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CivicinfoV2::VoterInfoSegmentResult
 
 
- Defined in:
 - generated/google/apis/civicinfo_v2/classes.rb,
generated/google/apis/civicinfo_v2/representations.rb,
generated/google/apis/civicinfo_v2/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #generated_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
generatedMillis. - 
  
    
      #postal_address  ⇒ Google::Apis::CivicinfoV2::PostalAddress 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
postalAddress. - 
  
    
      #request  ⇒ Google::Apis::CivicinfoV2::VoterInfoRequest 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A request for information about a voter.
 - 
  
    
      #response  ⇒ Google::Apis::CivicinfoV2::VoterInfoResponse 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The result of a voter info lookup query.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VoterInfoSegmentResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VoterInfoSegmentResult.
 - 
  
    
      #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) ⇒ VoterInfoSegmentResult
Returns a new instance of VoterInfoSegmentResult
      2073 2074 2075  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 2073 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#generated_millis ⇒ Fixnum
Corresponds to the JSON property generatedMillis
      2056 2057 2058  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 2056 def generated_millis @generated_millis end  | 
  
#postal_address ⇒ Google::Apis::CivicinfoV2::PostalAddress
Corresponds to the JSON property postalAddress
      2061 2062 2063  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 2061 def postal_address @postal_address end  | 
  
#request ⇒ Google::Apis::CivicinfoV2::VoterInfoRequest
A request for information about a voter.
Corresponds to the JSON property request
      2066 2067 2068  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 2066 def request @request end  | 
  
#response ⇒ Google::Apis::CivicinfoV2::VoterInfoResponse
The result of a voter info lookup query.
Corresponds to the JSON property response
      2071 2072 2073  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 2071 def response @response end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2078 2079 2080 2081 2082 2083  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 2078 def update!(**args) @generated_millis = args[:generated_millis] if args.key?(:generated_millis) @postal_address = args[:postal_address] if args.key?(:postal_address) @request = args[:request] if args.key?(:request) @response = args[:response] if args.key?(:response) end  |