Class: WiMP::Gen::CategoryTree

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

Constant Summary collapse

CATEGORY =
1
CHILDREN =
2
FIELDS =
{
  CATEGORY => {:type => ::Thrift::Types::STRUCT, :name => 'category', :class => ::WiMP::Gen::Category, :optional => true},
  CHILDREN => {:type => ::Thrift::Types::MAP, :name => 'children', :key => {:type => ::Thrift::Types::I32}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::WiMP::Gen::Category}}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



845
# File 'lib/gen/services_types.rb', line 845

def struct_fields; FIELDS; end

#validateObject



847
848
# File 'lib/gen/services_types.rb', line 847

def validate
end