Class: YellowpageItem

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

ID =
1
MID =
2
NAME =
3
ADDRESS =
4
LATITUDE =
5
LONGITUDE =
6
DISTANCE =
7
CANFREECALL =
8
COUNTRYCODE =
9
PHONENUMBER =
10
CATEGORYID =
11
CATEGORYICON =
12
ADDITIONALINFO =
13
FIELDS =
{
  ID => {:type => ::Thrift::Types::STRING, :name => 'id'},
  MID => {:type => ::Thrift::Types::STRING, :name => 'mid'},
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  ADDRESS => {:type => ::Thrift::Types::STRING, :name => 'address'},
  LATITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'latitude'},
  LONGITUDE => {:type => ::Thrift::Types::DOUBLE, :name => 'longitude'},
  DISTANCE => {:type => ::Thrift::Types::DOUBLE, :name => 'distance'},
  CANFREECALL => {:type => ::Thrift::Types::BOOL, :name => 'canFreeCall'},
  COUNTRYCODE => {:type => ::Thrift::Types::I32, :name => 'countryCode'},
  PHONENUMBER => {:type => ::Thrift::Types::STRING, :name => 'phoneNumber'},
  CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'},
  CATEGORYICON => {:type => ::Thrift::Types::I32, :name => 'categoryIcon'},
  ADDITIONALINFO => {:type => ::Thrift::Types::LIST, :name => 'additionalInfo', :element => {:type => ::Thrift::Types::STRUCT, :class => ::AdditionalInfoItem}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end