Class: SearchResultCollection

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

COLLECTION =
1
TITLE =
2
RANK =
3
HITS =
4
ITEMS =
5
HASNEXT =
6
CATEGORYID =
7
ERROR =
8
TABTITLE =
9
START =
10
LENGTH =
11
SQUARECATEGORYID =
12
FIELDS =
{
  COLLECTION => {:type => ::Thrift::Types::I32, :name => 'collection'},
  TITLE => {:type => ::Thrift::Types::STRING, :name => 'title'},
  RANK => {:type => ::Thrift::Types::I32, :name => 'rank'},
  HITS => {:type => ::Thrift::Types::I32, :name => 'hits'},
  ITEMS => {:type => ::Thrift::Types::LIST, :name => 'items', :element => {:type => ::Thrift::Types::STRUCT, :class => ::SearchResultItem}},
  HASNEXT => {:type => ::Thrift::Types::BOOL, :name => 'hasNext'},
  CATEGORYID => {:type => ::Thrift::Types::LIST, :name => 'categoryId', :element => {:type => ::Thrift::Types::I32}, :optional => true},
  ERROR => {:type => ::Thrift::Types::STRING, :name => 'error', :optional => true},
  TABTITLE => {:type => ::Thrift::Types::STRING, :name => 'tabTitle', :optional => true},
  START => {:type => ::Thrift::Types::I32, :name => 'start', :optional => true},
  LENGTH => {:type => ::Thrift::Types::I32, :name => 'length', :optional => true},
  SQUARECATEGORYID => {:type => ::Thrift::Types::I32, :name => 'squareCategoryId', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end