Class: Geolocation

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb

Constant Summary collapse

LONGITUDE =
1
LATITUDE =
2
ACCURACY =
3
ALTITUDEMETERS =
4
VELOCITYMETERSPERSECOND =
5
BEARINGDEGREES =
6
FIELDS =
{
  LONGITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'longitude'},
  LATITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'latitude'},
  ACCURACY => {:type => ::Thrift::Types::STRUCT, :name => 'accuracy', :class => ::GeolocationAccuracy, :optional => true},
  ALTITUDEMETERS => {:type => ::Thrift::Types::DOUBLE, :name => 'altitudeMeters', :optional => true},
  VELOCITYMETERSPERSECOND => {:type => ::Thrift::Types::DOUBLE, :name => 'velocityMetersPerSecond', :optional => true},
  BEARINGDEGREES => {:type => ::Thrift::Types::DOUBLE, :name => 'bearingDegrees', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



14944
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14944

def struct_fields; FIELDS; end

#validateObject



14946
14947
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14946

def validate
end