Class: Stat::Query::THotService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/t_hot_service.rb

Instance Method Summary collapse

Instance Method Details

#hotAlbum(id, tagName, pageNo, pageSize) ⇒ Object



136
137
138
139
# File 'lib/t_hot_service.rb', line 136

def hotAlbum(id, tagName, pageNo, pageSize)
  send_hotAlbum(id, tagName, pageNo, pageSize)
  return recv_hotAlbum()
end

#hotCategoryAlbum(id, tagNames, size) ⇒ Object



166
167
168
169
# File 'lib/t_hot_service.rb', line 166

def hotCategoryAlbum(id, tagNames, size)
  send_hotCategoryAlbum(id, tagNames, size)
  return recv_hotCategoryAlbum()
end

#hotRadio(id, pageNo, pageSize) ⇒ Object



16
17
18
19
# File 'lib/t_hot_service.rb', line 16

def hotRadio(id, pageNo, pageSize)
  send_hotRadio(id, pageNo, pageSize)
  return recv_hotRadio()
end

#hotRadioAndSound(categoryIds) ⇒ Object



151
152
153
154
# File 'lib/t_hot_service.rb', line 151

def hotRadioAndSound(categoryIds)
  send_hotRadioAndSound(categoryIds)
  return recv_hotRadioAndSound()
end

#hotRadioDay(id, pageNo, pageSize) ⇒ Object



106
107
108
109
# File 'lib/t_hot_service.rb', line 106

def hotRadioDay(id, pageNo, pageSize)
  send_hotRadioDay(id, pageNo, pageSize)
  return recv_hotRadioDay()
end

#hotRadioRandomObject



181
182
183
184
# File 'lib/t_hot_service.rb', line 181

def hotRadioRandom()
  send_hotRadioRandom()
  return recv_hotRadioRandom()
end

#hotSound(id, tagName, pageNo, pageSize) ⇒ Object



31
32
33
34
# File 'lib/t_hot_service.rb', line 31

def hotSound(id, tagName, pageNo, pageSize)
  send_hotSound(id, tagName, pageNo, pageSize)
  return recv_hotSound()
end

#hotSoundDay(id, tagName, pageNo, pageSize) ⇒ Object



121
122
123
124
# File 'lib/t_hot_service.rb', line 121

def hotSoundDay(id, tagName, pageNo, pageSize)
  send_hotSoundDay(id, tagName, pageNo, pageSize)
  return recv_hotSoundDay()
end

#mostFavoritSound(id, tagName, pageNo, pageSize) ⇒ Object



76
77
78
79
# File 'lib/t_hot_service.rb', line 76

def mostFavoritSound(id, tagName, pageNo, pageSize)
  send_mostFavoritSound(id, tagName, pageNo, pageSize)
  return recv_mostFavoritSound()
end

#mostFollowedUser(id, pageNo, pageSize) ⇒ Object



61
62
63
64
# File 'lib/t_hot_service.rb', line 61

def mostFollowedUser(id, pageNo, pageSize)
  send_mostFollowedUser(id, pageNo, pageSize)
  return recv_mostFollowedUser()
end

#newV(id, pageNo, pageSize) ⇒ Object



46
47
48
49
# File 'lib/t_hot_service.rb', line 46

def newV(id, pageNo, pageSize)
  send_newV(id, pageNo, pageSize)
  return recv_newV()
end

#recentVTrack(id, tagName, pageNo, pageSize) ⇒ Object



91
92
93
94
# File 'lib/t_hot_service.rb', line 91

def recentVTrack(id, tagName, pageNo, pageSize)
  send_recentVTrack(id, tagName, pageNo, pageSize)
  return recv_recentVTrack()
end

#recv_hotAlbumObject

Raises:

  • (::Thrift::ApplicationException)


145
146
147
148
149
# File 'lib/t_hot_service.rb', line 145

def recv_hotAlbum()
  result = receive_message(HotAlbum_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotAlbum failed: unknown result')
end

#recv_hotCategoryAlbumObject

Raises:

  • (::Thrift::ApplicationException)


175
176
177
178
179
# File 'lib/t_hot_service.rb', line 175

def recv_hotCategoryAlbum()
  result = receive_message(HotCategoryAlbum_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotCategoryAlbum failed: unknown result')
end

#recv_hotRadioObject

Raises:

  • (::Thrift::ApplicationException)


25
26
27
28
29
# File 'lib/t_hot_service.rb', line 25

def recv_hotRadio()
  result = receive_message(HotRadio_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadio failed: unknown result')
end

#recv_hotRadioAndSoundObject

Raises:

  • (::Thrift::ApplicationException)


160
161
162
163
164
# File 'lib/t_hot_service.rb', line 160

def recv_hotRadioAndSound()
  result = receive_message(HotRadioAndSound_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioAndSound failed: unknown result')
end

#recv_hotRadioDayObject

Raises:

  • (::Thrift::ApplicationException)


115
116
117
118
119
# File 'lib/t_hot_service.rb', line 115

def recv_hotRadioDay()
  result = receive_message(HotRadioDay_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioDay failed: unknown result')
end

#recv_hotRadioRandomObject

Raises:

  • (::Thrift::ApplicationException)


190
191
192
193
194
# File 'lib/t_hot_service.rb', line 190

def recv_hotRadioRandom()
  result = receive_message(HotRadioRandom_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioRandom failed: unknown result')
end

#recv_hotSoundObject

Raises:

  • (::Thrift::ApplicationException)


40
41
42
43
44
# File 'lib/t_hot_service.rb', line 40

def recv_hotSound()
  result = receive_message(HotSound_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotSound failed: unknown result')
end

#recv_hotSoundDayObject

Raises:

  • (::Thrift::ApplicationException)


130
131
132
133
134
# File 'lib/t_hot_service.rb', line 130

def recv_hotSoundDay()
  result = receive_message(HotSoundDay_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotSoundDay failed: unknown result')
end

#recv_mostFavoritSoundObject

Raises:

  • (::Thrift::ApplicationException)


85
86
87
88
89
# File 'lib/t_hot_service.rb', line 85

def recv_mostFavoritSound()
  result = receive_message(MostFavoritSound_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'mostFavoritSound failed: unknown result')
end

#recv_mostFollowedUserObject

Raises:

  • (::Thrift::ApplicationException)


70
71
72
73
74
# File 'lib/t_hot_service.rb', line 70

def recv_mostFollowedUser()
  result = receive_message(MostFollowedUser_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'mostFollowedUser failed: unknown result')
end

#recv_newVObject

Raises:

  • (::Thrift::ApplicationException)


55
56
57
58
59
# File 'lib/t_hot_service.rb', line 55

def recv_newV()
  result = receive_message(NewV_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'newV failed: unknown result')
end

#recv_recentVTrackObject

Raises:

  • (::Thrift::ApplicationException)


100
101
102
103
104
# File 'lib/t_hot_service.rb', line 100

def recv_recentVTrack()
  result = receive_message(RecentVTrack_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'recentVTrack failed: unknown result')
end

#send_hotAlbum(id, tagName, pageNo, pageSize) ⇒ Object



141
142
143
# File 'lib/t_hot_service.rb', line 141

def send_hotAlbum(id, tagName, pageNo, pageSize)
  send_message('hotAlbum', HotAlbum_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
end

#send_hotCategoryAlbum(id, tagNames, size) ⇒ Object



171
172
173
# File 'lib/t_hot_service.rb', line 171

def send_hotCategoryAlbum(id, tagNames, size)
  send_message('hotCategoryAlbum', HotCategoryAlbum_args, :id => id, :tagNames => tagNames, :size => size)
end

#send_hotRadio(id, pageNo, pageSize) ⇒ Object



21
22
23
# File 'lib/t_hot_service.rb', line 21

def send_hotRadio(id, pageNo, pageSize)
  send_message('hotRadio', HotRadio_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
end

#send_hotRadioAndSound(categoryIds) ⇒ Object



156
157
158
# File 'lib/t_hot_service.rb', line 156

def send_hotRadioAndSound(categoryIds)
  send_message('hotRadioAndSound', HotRadioAndSound_args, :categoryIds => categoryIds)
end

#send_hotRadioDay(id, pageNo, pageSize) ⇒ Object



111
112
113
# File 'lib/t_hot_service.rb', line 111

def send_hotRadioDay(id, pageNo, pageSize)
  send_message('hotRadioDay', HotRadioDay_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
end

#send_hotRadioRandomObject



186
187
188
# File 'lib/t_hot_service.rb', line 186

def send_hotRadioRandom()
  send_message('hotRadioRandom', HotRadioRandom_args)
end

#send_hotSound(id, tagName, pageNo, pageSize) ⇒ Object



36
37
38
# File 'lib/t_hot_service.rb', line 36

def send_hotSound(id, tagName, pageNo, pageSize)
  send_message('hotSound', HotSound_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
end

#send_hotSoundDay(id, tagName, pageNo, pageSize) ⇒ Object



126
127
128
# File 'lib/t_hot_service.rb', line 126

def send_hotSoundDay(id, tagName, pageNo, pageSize)
  send_message('hotSoundDay', HotSoundDay_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
end

#send_mostFavoritSound(id, tagName, pageNo, pageSize) ⇒ Object



81
82
83
# File 'lib/t_hot_service.rb', line 81

def send_mostFavoritSound(id, tagName, pageNo, pageSize)
  send_message('mostFavoritSound', MostFavoritSound_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
end

#send_mostFollowedUser(id, pageNo, pageSize) ⇒ Object



66
67
68
# File 'lib/t_hot_service.rb', line 66

def send_mostFollowedUser(id, pageNo, pageSize)
  send_message('mostFollowedUser', MostFollowedUser_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
end

#send_newV(id, pageNo, pageSize) ⇒ Object



51
52
53
# File 'lib/t_hot_service.rb', line 51

def send_newV(id, pageNo, pageSize)
  send_message('newV', NewV_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
end

#send_recentVTrack(id, tagName, pageNo, pageSize) ⇒ Object



96
97
98
# File 'lib/t_hot_service.rb', line 96

def send_recentVTrack(id, tagName, pageNo, pageSize)
  send_message('recentVTrack', RecentVTrack_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
end