Class: Radar::API::TableCellFormat

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

Constant Summary collapse

BOLD =
1
ITALIC =
2
COLOR =
3
COLSPAN =
4
ROWSPAN =
5
FIELDS =
{
  BOLD => {:type => ::Thrift::Types::BOOL, :name => 'bold'},
  ITALIC => {:type => ::Thrift::Types::BOOL, :name => 'italic'},
  COLOR => {:type => ::Thrift::Types::I32, :name => 'color'},
  COLSPAN => {:type => ::Thrift::Types::I16, :name => 'colspan', :default => 1},
  ROWSPAN => {:type => ::Thrift::Types::I16, :name => 'rowspan', :default => 1}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end