Class: CommonGeocodeRequestParams

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/geocoder_types.rb

Constant Summary collapse

DEBUG =
1
WOEHINT =
2
WOERESTRICT =
3
CC =
4
LANG =
5
RESPONSEINCLUDES =
6
ALLOWEDSOURCES =
7
LLHINT =
8
BOUNDS =
9
MAXINTERPRETATIONS =
10
FIELDS =
{
  DEBUG => {:type => ::Thrift::Types::I32, :name => 'debug', :default => 0, :optional => true},
  WOEHINT => {:type => ::Thrift::Types::LIST, :name => 'woeHint', :default => [
  ], :element => {:type => ::Thrift::Types::I32, :enum_class => ::YahooWoeType}, :optional => true},
  WOERESTRICT => {:type => ::Thrift::Types::LIST, :name => 'woeRestrict', :default => [
  ], :element => {:type => ::Thrift::Types::I32, :enum_class => ::YahooWoeType}, :optional => true},
  CC => {:type => ::Thrift::Types::STRING, :name => 'cc', :optional => true},
  LANG => {:type => ::Thrift::Types::STRING, :name => 'lang', :default => %q"en", :optional => true},
  RESPONSEINCLUDES => {:type => ::Thrift::Types::LIST, :name => 'responseIncludes', :default => [
  ], :element => {:type => ::Thrift::Types::I32, :enum_class => ::ResponseIncludes}, :optional => true},
  ALLOWEDSOURCES => {:type => ::Thrift::Types::LIST, :name => 'allowedSources', :element => {:type => ::Thrift::Types::STRING}, :optional => true},
  LLHINT => {:type => ::Thrift::Types::STRUCT, :name => 'llHint', :class => ::GeocodePoint, :optional => true},
  BOUNDS => {:type => ::Thrift::Types::STRUCT, :name => 'bounds', :class => ::GeocodeBoundingBox, :optional => true},
  MAXINTERPRETATIONS => {:type => ::Thrift::Types::I32, :name => 'maxInterpretations', :default => 0, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



581
# File 'lib/thrift/geocoder_types.rb', line 581

def struct_fields; FIELDS; end

#validateObject



583
584
# File 'lib/thrift/geocoder_types.rb', line 583

def validate
end