Class: SearchItemUnion

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

CATEGORYITEM =
1
SPOTITEM =
2
PRODUCTITEM =
3
SERVICEITEM =
4
YELLOWPAGEITEM =
5
OAITEM =
6
GEOADDRESSITEM =
7
SHORTCUTITEM =
8
SQUAREITEM =
9
SQUARECATEGORYITEM =
10
PORTALSEARCHSUMMARY =
11
FIELDS =
{
  CATEGORYITEM => {:type => ::Thrift::Types::STRUCT, :name => 'categoryItem', :class => ::CategoryItem},
  SPOTITEM => {:type => ::Thrift::Types::STRUCT, :name => 'spotItem', :class => ::SpotItem},
  PRODUCTITEM => {:type => ::Thrift::Types::STRUCT, :name => 'productItem', :class => ::ProductSearchSummary},
  SERVICEITEM => {:type => ::Thrift::Types::STRUCT, :name => 'serviceItem', :class => ::ServiceItem},
  YELLOWPAGEITEM => {:type => ::Thrift::Types::STRUCT, :name => 'yellowpageItem', :class => ::YellowpageItem},
  OAITEM => {:type => ::Thrift::Types::STRUCT, :name => 'oaItem', :class => ::BuddySearchResult},
  GEOADDRESSITEM => {:type => ::Thrift::Types::STRUCT, :name => 'geoAddressItem', :class => ::GeoAddressItem},
  SHORTCUTITEM => {:type => ::Thrift::Types::STRUCT, :name => 'shortcutItem', :class => ::ShortcutItem},
  SQUAREITEM => {:type => ::Thrift::Types::STRUCT, :name => 'squareItem', :class => ::SquareInfo},
  SQUARECATEGORYITEM => {:type => ::Thrift::Types::STRUCT, :name => 'squareCategoryItem', :class => ::Category},
  PORTALSEARCHSUMMARY => {:type => ::Thrift::Types::STRUCT, :name => 'portalSearchSummary', :class => ::PortalSearchSummary}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end