class Google::Apis::CivicinfoV2::SearchDivisionResponse

The result of a division search query.

Attributes

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “civicinfo# divisionSearchResponse”. Corresponds to the JSON property `kind` @return [String]

results[RW]

Corresponds to the JSON property `results` @return [Array<Google::Apis::CivicinfoV2::DivisionSearchResult>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/civicinfo_v2/classes.rb, line 467
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/civicinfo_v2/classes.rb, line 472
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @results = args[:results] if args.key?(:results)
end