Class: Radar::API::Table

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

Constant Summary collapse

TITLE =
1
HEADER =
2
BODY =
3
4
FIELDS =
{
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'},
  HEADER => {:type => ::Thrift::Types::LIST, :name => 'header', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::TableRow}},
  BODY => {:type => ::Thrift::Types::LIST, :name => 'body', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::TableRow}},
  FOOTER => {:type => ::Thrift::Types::LIST, :name => 'footer', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Radar::API::TableRow}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end