Class: FeatureName

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

Constant Summary collapse

NAME =
1
LANG =
2
FLAGS =
3
HIGHLIGHTEDNAME =
4
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  LANG => {:type => ::Thrift::Types::STRING, :name => 'lang'},
  FLAGS => {:type => ::Thrift::Types::LIST, :name => 'flags', :default => [
  ], :element => {:type => ::Thrift::Types::I32, :enum_class => ::FeatureNameFlags}, :optional => true},
  HIGHLIGHTEDNAME => {:type => ::Thrift::Types::STRING, :name => 'highlightedName', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



165
166
# File 'lib/thrift/geocoder_types.rb', line 165

def validate
end