Class: Radar::API::BarChart

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/radar/api/radar_types.rb

Constant Summary collapse

TITLE =
1
SERIES =
2
CATEGORIES =
3
OPTIONS =
4
FIELDS =
{
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'},
  SERIES => {:type => ::Thrift::Types::LIST, :name => 'series', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::BarSeries}},
  CATEGORIES => {:type => ::Thrift::Types::LIST, :name => 'categories', :element => {:type => ::Thrift::Types::STRING}},
  # Criado na versão 0.2.2.
  OPTIONS => {:type => ::Thrift::Types::STRUCT, :name => 'options', :class => ::Radar::API::BarChartOptions}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



324
# File 'lib/radar/api/radar_types.rb', line 324

def struct_fields; FIELDS; end

#validateObject



326
327
# File 'lib/radar/api/radar_types.rb', line 326

def validate
end