Class: Google::Apis::CivicinfoV2::SearchDivisionResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CivicinfoV2::SearchDivisionResponse
 
 
- Defined in:
 - generated/google/apis/civicinfo_v2/classes.rb,
generated/google/apis/civicinfo_v2/representations.rb,
generated/google/apis/civicinfo_v2/representations.rb 
Overview
The result of a division search query.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #results  ⇒ Array<Google::Apis::CivicinfoV2::DivisionSearchResult> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
results. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SearchDivisionResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SearchDivisionResponse.
 - 
  
    
      #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) ⇒ SearchDivisionResponse
Returns a new instance of SearchDivisionResponse
      524 525 526  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 524 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "civicinfo#
divisionSearchResponse".
Corresponds to the JSON property kind
      517 518 519  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 517 def kind @kind end  | 
  
#results ⇒ Array<Google::Apis::CivicinfoV2::DivisionSearchResult>
Corresponds to the JSON property results
      522 523 524  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 522 def results @results end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      529 530 531 532  | 
    
      # File 'generated/google/apis/civicinfo_v2/classes.rb', line 529 def update!(**args) @kind = args[:kind] if args.key?(:kind) @results = args[:results] if args.key?(:results) end  |