Class: GeocodeServingFeature

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

Constant Summary collapse

LONGID =
5
SCORINGFEATURES =
2
FEATURE =
3
PARENTS =
4
DEPRECATED_ID =
1
FIELDS =
{
  LONGID => {:type => ::Thrift::Types::I64, :name => 'longId'},
  SCORINGFEATURES => {:type => ::Thrift::Types::STRUCT, :name => 'scoringFeatures', :class => ::ScoringFeatures},
  FEATURE => {:type => ::Thrift::Types::STRUCT, :name => 'feature', :class => ::GeocodeFeature},
  PARENTS => {:type => ::Thrift::Types::LIST, :name => 'parents', :element => {:type => ::Thrift::Types::STRUCT, :class => ::GeocodeFeature}, :optional => true},
  DEPRECATED_ID => {:type => ::Thrift::Types::STRING, :name => 'DEPRECATED_id', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



382
383
# File 'lib/thrift/geocoder_types.rb', line 382

def validate
end