zsgf_client 2.0.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,6 +26,7 @@ module ZSGFClient
26
26
  # @option opts [String] :tag 兴趣标签
27
27
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
28
28
  # @option opts [Integer] :take 获取的记录数 (default to 10)
29
+ # @option opts [String] :user_id (default to '')
29
30
  # @return [UserCommonInterestsResultApiResponse]
30
31
  def user_common_interests(app_key, opts = {})
31
32
  data, _status_code, _headers = user_common_interests_with_http_info(app_key, opts)
@@ -39,6 +40,7 @@ module ZSGFClient
39
40
  # @option opts [String] :tag 兴趣标签
40
41
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
41
42
  # @option opts [Integer] :take 获取的记录数 (default to 10)
43
+ # @option opts [String] :user_id (default to '')
42
44
  # @return [Array<(UserCommonInterestsResultApiResponse, Integer, Hash)>] UserCommonInterestsResultApiResponse data, response status code and response headers
43
45
  def user_common_interests_with_http_info(app_key, opts = {})
44
46
  if @api_client.config.debugging
@@ -56,6 +58,7 @@ module ZSGFClient
56
58
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
57
59
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
58
60
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
61
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
59
62
 
60
63
  # header parameters
61
64
  header_params = opts[:header_params] || {}
@@ -96,6 +99,7 @@ module ZSGFClient
96
99
  # @param user_id [Integer] 要关注的用户ID
97
100
  # @param app_key [String]
98
101
  # @param [Hash] opts the optional parameters
102
+ # @option opts [String] :from_user_id
99
103
  # @return [BooleanApiResponse]
100
104
  def user_follow_user(user_id, app_key, opts = {})
101
105
  data, _status_code, _headers = user_follow_user_with_http_info(user_id, app_key, opts)
@@ -107,6 +111,7 @@ module ZSGFClient
107
111
  # @param user_id [Integer] 要关注的用户ID
108
112
  # @param app_key [String]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [String] :from_user_id
110
115
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
111
116
  def user_follow_user_with_http_info(user_id, app_key, opts = {})
112
117
  if @api_client.config.debugging
@@ -125,6 +130,7 @@ module ZSGFClient
125
130
 
126
131
  # query parameters
127
132
  query_params = opts[:query_params] || {}
133
+ query_params[:'fromUserId'] = opts[:'from_user_id'] if !opts[:'from_user_id'].nil?
128
134
 
129
135
  # header parameters
130
136
  header_params = opts[:header_params] || {}
@@ -245,6 +251,7 @@ module ZSGFClient
245
251
  # @option opts [Integer] :target_user_id 指定用户的粉丝 (default to 0)
246
252
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
247
253
  # @option opts [Integer] :take 获取的记录数 (default to 10)
254
+ # @option opts [String] :user_id (default to '')
248
255
  # @return [UserFollowersResultApiResponse]
249
256
  def user_followers(app_key, opts = {})
250
257
  data, _status_code, _headers = user_followers_with_http_info(app_key, opts)
@@ -260,6 +267,7 @@ module ZSGFClient
260
267
  # @option opts [Integer] :target_user_id 指定用户的粉丝 (default to 0)
261
268
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
262
269
  # @option opts [Integer] :take 获取的记录数 (default to 10)
270
+ # @option opts [String] :user_id (default to '')
263
271
  # @return [Array<(UserFollowersResultApiResponse, Integer, Hash)>] UserFollowersResultApiResponse data, response status code and response headers
264
272
  def user_followers_with_http_info(app_key, opts = {})
265
273
  if @api_client.config.debugging
@@ -279,6 +287,7 @@ module ZSGFClient
279
287
  query_params[:'targetUserId'] = opts[:'target_user_id'] if !opts[:'target_user_id'].nil?
280
288
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
281
289
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
290
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
282
291
 
283
292
  # header parameters
284
293
  header_params = opts[:header_params] || {}
@@ -325,6 +334,7 @@ module ZSGFClient
325
334
  # @option opts [Integer] :take 获取的记录数,用于分页(默认10)。 (default to 10)
326
335
  # @option opts [Integer] :check_user_id 要判断是否关注的目标用户ID。如果提供此参数,方法将返回一个布尔值,表示当前用户是否关注该目标用户。
327
336
  # @option opts [Boolean] :only_ids 是否只返回关注用户的ID集合,默认为false(即返回完整的关注用户信息)。 (default to false)
337
+ # @option opts [String] :user_id (default to '')
328
338
  # @return [BooleanApiResponse]
329
339
  def user_following(app_key, opts = {})
330
340
  data, _status_code, _headers = user_following_with_http_info(app_key, opts)
@@ -342,6 +352,7 @@ module ZSGFClient
342
352
  # @option opts [Integer] :take 获取的记录数,用于分页(默认10)。 (default to 10)
343
353
  # @option opts [Integer] :check_user_id 要判断是否关注的目标用户ID。如果提供此参数,方法将返回一个布尔值,表示当前用户是否关注该目标用户。
344
354
  # @option opts [Boolean] :only_ids 是否只返回关注用户的ID集合,默认为false(即返回完整的关注用户信息)。 (default to false)
355
+ # @option opts [String] :user_id (default to '')
345
356
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
346
357
  def user_following_with_http_info(app_key, opts = {})
347
358
  if @api_client.config.debugging
@@ -363,6 +374,7 @@ module ZSGFClient
363
374
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
364
375
  query_params[:'checkUserId'] = opts[:'check_user_id'] if !opts[:'check_user_id'].nil?
365
376
  query_params[:'onlyIDs'] = opts[:'only_ids'] if !opts[:'only_ids'].nil?
377
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
366
378
 
367
379
  # header parameters
368
380
  header_params = opts[:header_params] || {}
@@ -415,6 +427,7 @@ module ZSGFClient
415
427
  # @option opts [Integer] :distance 搜索半径(单位:米,0表示不限制距离) (default to 0)
416
428
  # @option opts [Integer] :skip 跳过的记录数(分页起始位置,默认0) (default to 0)
417
429
  # @option opts [Integer] :take 获取的记录数(分页大小,默认10,最大100) (default to 10)
430
+ # @option opts [String] :user_id (default to '')
418
431
  # @return [UserFriendsNearByResultApiResponse]
419
432
  def user_friends_near_by(longitude, latitude, app_key, opts = {})
420
433
  data, _status_code, _headers = user_friends_near_by_with_http_info(longitude, latitude, app_key, opts)
@@ -438,6 +451,7 @@ module ZSGFClient
438
451
  # @option opts [Integer] :distance 搜索半径(单位:米,0表示不限制距离) (default to 0)
439
452
  # @option opts [Integer] :skip 跳过的记录数(分页起始位置,默认0) (default to 0)
440
453
  # @option opts [Integer] :take 获取的记录数(分页大小,默认10,最大100) (default to 10)
454
+ # @option opts [String] :user_id (default to '')
441
455
  # @return [Array<(UserFriendsNearByResultApiResponse, Integer, Hash)>] UserFriendsNearByResultApiResponse data, response status code and response headers
442
456
  def user_friends_near_by_with_http_info(longitude, latitude, app_key, opts = {})
443
457
  if @api_client.config.debugging
@@ -473,6 +487,7 @@ module ZSGFClient
473
487
  query_params[:'distance'] = opts[:'distance'] if !opts[:'distance'].nil?
474
488
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
475
489
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
490
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
476
491
 
477
492
  # header parameters
478
493
  header_params = opts[:header_params] || {}
@@ -514,6 +529,7 @@ module ZSGFClient
514
529
  # @param [Hash] opts the optional parameters
515
530
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
516
531
  # @option opts [Integer] :take 获取的记录数 (default to 10)
532
+ # @option opts [String] :user_id (default to '')
517
533
  # @return [UserMutualFollowersResultApiResponse]
518
534
  def user_mutual_followers(app_key, opts = {})
519
535
  data, _status_code, _headers = user_mutual_followers_with_http_info(app_key, opts)
@@ -526,6 +542,7 @@ module ZSGFClient
526
542
  # @param [Hash] opts the optional parameters
527
543
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
528
544
  # @option opts [Integer] :take 获取的记录数 (default to 10)
545
+ # @option opts [String] :user_id (default to '')
529
546
  # @return [Array<(UserMutualFollowersResultApiResponse, Integer, Hash)>] UserMutualFollowersResultApiResponse data, response status code and response headers
530
547
  def user_mutual_followers_with_http_info(app_key, opts = {})
531
548
  if @api_client.config.debugging
@@ -542,6 +559,7 @@ module ZSGFClient
542
559
  query_params = opts[:query_params] || {}
543
560
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
544
561
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
562
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
545
563
 
546
564
  # header parameters
547
565
  header_params = opts[:header_params] || {}
@@ -583,6 +601,7 @@ module ZSGFClient
583
601
  # @param [Hash] opts the optional parameters
584
602
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
585
603
  # @option opts [Integer] :take 获取的记录数 (default to 10)
604
+ # @option opts [String] :user_id (default to '')
586
605
  # @return [UserMutualFollowingsResultApiResponse]
587
606
  def user_mutual_followings(app_key, opts = {})
588
607
  data, _status_code, _headers = user_mutual_followings_with_http_info(app_key, opts)
@@ -595,6 +614,7 @@ module ZSGFClient
595
614
  # @param [Hash] opts the optional parameters
596
615
  # @option opts [Integer] :skip 跳过的记录数 (default to 0)
597
616
  # @option opts [Integer] :take 获取的记录数 (default to 10)
617
+ # @option opts [String] :user_id (default to '')
598
618
  # @return [Array<(UserMutualFollowingsResultApiResponse, Integer, Hash)>] UserMutualFollowingsResultApiResponse data, response status code and response headers
599
619
  def user_mutual_followings_with_http_info(app_key, opts = {})
600
620
  if @api_client.config.debugging
@@ -611,6 +631,7 @@ module ZSGFClient
611
631
  query_params = opts[:query_params] || {}
612
632
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
613
633
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
634
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
614
635
 
615
636
  # header parameters
616
637
  header_params = opts[:header_params] || {}
@@ -720,6 +741,7 @@ module ZSGFClient
720
741
  # @param user_id [Integer] 要取消关注的用户ID
721
742
  # @param app_key [String]
722
743
  # @param [Hash] opts the optional parameters
744
+ # @option opts [String] :from_user_id
723
745
  # @return [BooleanApiResponse]
724
746
  def user_unfollow_user(user_id, app_key, opts = {})
725
747
  data, _status_code, _headers = user_unfollow_user_with_http_info(user_id, app_key, opts)
@@ -731,6 +753,7 @@ module ZSGFClient
731
753
  # @param user_id [Integer] 要取消关注的用户ID
732
754
  # @param app_key [String]
733
755
  # @param [Hash] opts the optional parameters
756
+ # @option opts [String] :from_user_id
734
757
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
735
758
  def user_unfollow_user_with_http_info(user_id, app_key, opts = {})
736
759
  if @api_client.config.debugging
@@ -749,6 +772,7 @@ module ZSGFClient
749
772
 
750
773
  # query parameters
751
774
  query_params = opts[:query_params] || {}
775
+ query_params[:'fromUserId'] = opts[:'from_user_id'] if !opts[:'from_user_id'].nil?
752
776
 
753
777
  # header parameters
754
778
  header_params = opts[:header_params] || {}
@@ -24,6 +24,7 @@ module ZSGFClient
24
24
  # @param id [Integer] 位置ID
25
25
  # @param app_key [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :user_id (default to '')
27
28
  # @return [GeoLocationModelApiResponse]
28
29
  def user_location(id, app_key, opts = {})
29
30
  data, _status_code, _headers = user_location_with_http_info(id, app_key, opts)
@@ -35,6 +36,7 @@ module ZSGFClient
35
36
  # @param id [Integer] 位置ID
36
37
  # @param app_key [String]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :user_id (default to '')
38
40
  # @return [Array<(GeoLocationModelApiResponse, Integer, Hash)>] GeoLocationModelApiResponse data, response status code and response headers
39
41
  def user_location_with_http_info(id, app_key, opts = {})
40
42
  if @api_client.config.debugging
@@ -53,6 +55,7 @@ module ZSGFClient
53
55
 
54
56
  # query parameters
55
57
  query_params = opts[:query_params] || {}
58
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
56
59
 
57
60
  # header parameters
58
61
  header_params = opts[:header_params] || {}
@@ -93,6 +96,7 @@ module ZSGFClient
93
96
  # @param id [Integer] 位置ID
94
97
  # @param app_key [String]
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :user_id (default to '')
96
100
  # @return [BooleanApiResponse]
97
101
  def user_location_delete(id, app_key, opts = {})
98
102
  data, _status_code, _headers = user_location_delete_with_http_info(id, app_key, opts)
@@ -104,6 +108,7 @@ module ZSGFClient
104
108
  # @param id [Integer] 位置ID
105
109
  # @param app_key [String]
106
110
  # @param [Hash] opts the optional parameters
111
+ # @option opts [String] :user_id (default to '')
107
112
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
108
113
  def user_location_delete_with_http_info(id, app_key, opts = {})
109
114
  if @api_client.config.debugging
@@ -122,6 +127,7 @@ module ZSGFClient
122
127
 
123
128
  # query parameters
124
129
  query_params = opts[:query_params] || {}
130
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
125
131
 
126
132
  # header parameters
127
133
  header_params = opts[:header_params] || {}
@@ -161,6 +167,7 @@ module ZSGFClient
161
167
  # 添加新的位置信息
162
168
  # @param app_key [String]
163
169
  # @param [Hash] opts the optional parameters
170
+ # @option opts [String] :user_id (default to '')
164
171
  # @option opts [GeoLocationModel] :geo_location_model 位置信息
165
172
  # @return [UserLocationPostResultApiResponse]
166
173
  def user_location_post(app_key, opts = {})
@@ -172,6 +179,7 @@ module ZSGFClient
172
179
  # 添加新的位置信息
173
180
  # @param app_key [String]
174
181
  # @param [Hash] opts the optional parameters
182
+ # @option opts [String] :user_id (default to '')
175
183
  # @option opts [GeoLocationModel] :geo_location_model 位置信息
176
184
  # @return [Array<(UserLocationPostResultApiResponse, Integer, Hash)>] UserLocationPostResultApiResponse data, response status code and response headers
177
185
  def user_location_post_with_http_info(app_key, opts = {})
@@ -187,6 +195,7 @@ module ZSGFClient
187
195
 
188
196
  # query parameters
189
197
  query_params = opts[:query_params] || {}
198
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
190
199
 
191
200
  # header parameters
192
201
  header_params = opts[:header_params] || {}
@@ -232,6 +241,7 @@ module ZSGFClient
232
241
  # @param id [Integer] 位置ID
233
242
  # @param app_key [String]
234
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [String] :user_id (default to '')
235
245
  # @option opts [GeoLocationModel] :geo_location_model 位置信息
236
246
  # @return [BooleanApiResponse]
237
247
  def user_location_put(id, app_key, opts = {})
@@ -244,6 +254,7 @@ module ZSGFClient
244
254
  # @param id [Integer] 位置ID
245
255
  # @param app_key [String]
246
256
  # @param [Hash] opts the optional parameters
257
+ # @option opts [String] :user_id (default to '')
247
258
  # @option opts [GeoLocationModel] :geo_location_model 位置信息
248
259
  # @return [Array<(BooleanApiResponse, Integer, Hash)>] BooleanApiResponse data, response status code and response headers
249
260
  def user_location_put_with_http_info(id, app_key, opts = {})
@@ -263,6 +274,7 @@ module ZSGFClient
263
274
 
264
275
  # query parameters
265
276
  query_params = opts[:query_params] || {}
277
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
266
278
 
267
279
  # header parameters
268
280
  header_params = opts[:header_params] || {}
@@ -314,6 +326,7 @@ module ZSGFClient
314
326
  # @option opts [Integer] :sphere 附近距离,单位:米
315
327
  # @option opts [Integer] :skip 跳过的记录数
316
328
  # @option opts [Integer] :take 获取的记录数 (default to 10)
329
+ # @option opts [String] :user_id (default to '')
317
330
  # @return [UserLocationsResultApiResponse]
318
331
  def user_locations(app_key, opts = {})
319
332
  data, _status_code, _headers = user_locations_with_http_info(app_key, opts)
@@ -331,6 +344,7 @@ module ZSGFClient
331
344
  # @option opts [Integer] :sphere 附近距离,单位:米
332
345
  # @option opts [Integer] :skip 跳过的记录数
333
346
  # @option opts [Integer] :take 获取的记录数 (default to 10)
347
+ # @option opts [String] :user_id (default to '')
334
348
  # @return [Array<(UserLocationsResultApiResponse, Integer, Hash)>] UserLocationsResultApiResponse data, response status code and response headers
335
349
  def user_locations_with_http_info(app_key, opts = {})
336
350
  if @api_client.config.debugging
@@ -352,6 +366,7 @@ module ZSGFClient
352
366
  query_params[:'sphere'] = opts[:'sphere'] if !opts[:'sphere'].nil?
353
367
  query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
354
368
  query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
369
+ query_params[:'userId'] = opts[:'user_id'] if !opts[:'user_id'].nil?
355
370
 
356
371
  # header parameters
357
372
  header_params = opts[:header_params] || {}
@@ -19,8 +19,6 @@ module ZSGFClient
19
19
 
20
20
  attr_accessor :tags
21
21
 
22
- attr_accessor :user_id
23
-
24
22
  attr_accessor :description
25
23
 
26
24
  attr_accessor :permissions
@@ -32,7 +30,6 @@ module ZSGFClient
32
30
  {
33
31
  :'title' => :'title',
34
32
  :'tags' => :'tags',
35
- :'user_id' => :'userID',
36
33
  :'description' => :'description',
37
34
  :'permissions' => :'permissions',
38
35
  :'expire_in_days' => :'expireInDays'
@@ -54,7 +51,6 @@ module ZSGFClient
54
51
  {
55
52
  :'title' => :'String',
56
53
  :'tags' => :'String',
57
- :'user_id' => :'Integer',
58
54
  :'description' => :'String',
59
55
  :'permissions' => :'String',
60
56
  :'expire_in_days' => :'Integer'
@@ -96,10 +92,6 @@ module ZSGFClient
96
92
  self.tags = attributes[:'tags']
97
93
  end
98
94
 
99
- if attributes.key?(:'user_id')
100
- self.user_id = attributes[:'user_id']
101
- end
102
-
103
95
  if attributes.key?(:'description')
104
96
  self.description = attributes[:'description']
105
97
  end
@@ -187,7 +179,6 @@ module ZSGFClient
187
179
  self.class == o.class &&
188
180
  title == o.title &&
189
181
  tags == o.tags &&
190
- user_id == o.user_id &&
191
182
  description == o.description &&
192
183
  permissions == o.permissions &&
193
184
  expire_in_days == o.expire_in_days
@@ -202,7 +193,7 @@ module ZSGFClient
202
193
  # Calculates hash code according to all attributes.
203
194
  # @return [Integer] Hash code
204
195
  def hash
205
- [title, tags, user_id, description, permissions, expire_in_days].hash
196
+ [title, tags, description, permissions, expire_in_days].hash
206
197
  end
207
198
 
208
199
  # Builds the object from hash
@@ -17,12 +17,15 @@ module ZSGFClient
17
17
  class HbFqPayInfo
18
18
  attr_accessor :fq_amount
19
19
 
20
+ attr_accessor :fq_inst_id
21
+
20
22
  attr_accessor :user_install_num
21
23
 
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'fq_amount' => :'fqAmount',
28
+ :'fq_inst_id' => :'fqInstId',
26
29
  :'user_install_num' => :'userInstallNum'
27
30
  }
28
31
  end
@@ -41,6 +44,7 @@ module ZSGFClient
41
44
  def self.openapi_types
42
45
  {
43
46
  :'fq_amount' => :'String',
47
+ :'fq_inst_id' => :'String',
44
48
  :'user_install_num' => :'String'
45
49
  }
46
50
  end
@@ -49,6 +53,7 @@ module ZSGFClient
49
53
  def self.openapi_nullable
50
54
  Set.new([
51
55
  :'fq_amount',
56
+ :'fq_inst_id',
52
57
  :'user_install_num'
53
58
  ])
54
59
  end
@@ -73,6 +78,10 @@ module ZSGFClient
73
78
  self.fq_amount = attributes[:'fq_amount']
74
79
  end
75
80
 
81
+ if attributes.key?(:'fq_inst_id')
82
+ self.fq_inst_id = attributes[:'fq_inst_id']
83
+ end
84
+
76
85
  if attributes.key?(:'user_install_num')
77
86
  self.user_install_num = attributes[:'user_install_num']
78
87
  end
@@ -99,6 +108,7 @@ module ZSGFClient
99
108
  return true if self.equal?(o)
100
109
  self.class == o.class &&
101
110
  fq_amount == o.fq_amount &&
111
+ fq_inst_id == o.fq_inst_id &&
102
112
  user_install_num == o.user_install_num
103
113
  end
104
114
 
@@ -111,7 +121,7 @@ module ZSGFClient
111
121
  # Calculates hash code according to all attributes.
112
122
  # @return [Integer] Hash code
113
123
  def hash
114
- [fq_amount, user_install_num].hash
124
+ [fq_amount, fq_inst_id, user_install_num].hash
115
125
  end
116
126
 
117
127
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.13.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module ZSGFClient
14
- VERSION = '2.0.0'
14
+ VERSION = '2.1.2'
15
15
  end
@@ -38,6 +38,7 @@ describe 'AccessTokenApi' do
38
38
  # @param id
39
39
  # @param app_key
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :user_id
41
42
  # @return [BooleanApiResponse]
42
43
  describe 'access_token_delete test' do
43
44
  it 'should work' do
@@ -50,6 +51,7 @@ describe 'AccessTokenApi' do
50
51
  # 创建新的用户令牌
51
52
  # @param app_key
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :user_id
53
55
  # @option opts [AccessTokenPostRequest] :access_token_post_request
54
56
  # @return [TokenModelApiResponse]
55
57
  describe 'access_token_post test' do
@@ -64,6 +66,7 @@ describe 'AccessTokenApi' do
64
66
  # @param id
65
67
  # @param app_key
66
68
  # @param [Hash] opts the optional parameters
69
+ # @option opts [String] :user_id
67
70
  # @option opts [AccessTokenPutRequest] :access_token_put_request
68
71
  # @return [BooleanApiResponse]
69
72
  describe 'access_token_put test' do
@@ -77,9 +80,9 @@ describe 'AccessTokenApi' do
77
80
  # 获取用户令牌列表
78
81
  # @param app_key
79
82
  # @param [Hash] opts the optional parameters
80
- # @option opts [Integer] :user_id
81
83
  # @option opts [Integer] :skip
82
84
  # @option opts [Integer] :take
85
+ # @option opts [String] :user_id
83
86
  # @return [AccessTokenListResultApiResponse]
84
87
  describe 'access_tokens test' do
85
88
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'ExternalAccountApi' do
37
37
  # 使用外部账号登录应用
38
38
  # @param app_key
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :user_id
40
41
  # @option opts [ExternalAccountSignInRequest] :external_account_sign_in_request 登录请求参数
41
42
  # @return [TokenModelApiResponse]
42
43
  describe 'external_account_sign_in test' do
@@ -50,6 +51,7 @@ describe 'ExternalAccountApi' do
50
51
  # 绑定外部账号,如果已存在绑定则直接返回成功
51
52
  # @param app_key
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :user_id
53
55
  # @option opts [ExternalAccountBindRequest] :external_account_bind_request 绑定请求参数
54
56
  # @return [BooleanApiResponse]
55
57
  describe 'user_external_account_bind test' do
@@ -63,6 +65,7 @@ describe 'ExternalAccountApi' do
63
65
  # 获取绑定成功的外部账号列表
64
66
  # @param app_key
65
67
  # @param [Hash] opts the optional parameters
68
+ # @option opts [String] :user_id
66
69
  # @return [UserLoginsListApiResponse]
67
70
  describe 'user_o_auth_accounts test' do
68
71
  it 'should work' do
@@ -76,6 +79,7 @@ describe 'ExternalAccountApi' do
76
79
  # @param id 绑定ID
77
80
  # @param app_key
78
81
  # @param [Hash] opts the optional parameters
82
+ # @option opts [String] :user_id
79
83
  # @option opts [ExternalAccountPutRequest] :external_account_put_request 更新请求参数
80
84
  # @return [BooleanApiResponse]
81
85
  describe 'user_o_auth_accounts_put_bind test' do
@@ -90,6 +94,7 @@ describe 'ExternalAccountApi' do
90
94
  # @param id 绑定ID
91
95
  # @param app_key
92
96
  # @param [Hash] opts the optional parameters
97
+ # @option opts [String] :user_id
93
98
  # @return [BooleanApiResponse]
94
99
  describe 'user_o_auth_accounts_un_bind test' do
95
100
  it 'should work' do
@@ -34,10 +34,11 @@ describe 'UserCurrencyApi' do
34
34
 
35
35
  # unit tests for user_currencies
36
36
  # 获取用户资产
37
- # 根据用户ID获取用户的资产列表
38
- # @param id 用户ID
37
+ # 获取用户的资产列表
39
38
  # @param app_key
39
+ # @param id
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :user_id
41
42
  # @return [UserCurrencyListApiResponse]
42
43
  describe 'user_currencies test' do
43
44
  it 'should work' do
@@ -53,6 +54,7 @@ describe 'UserCurrencyApi' do
53
54
  # @param signature 签名
54
55
  # @param app_key
55
56
  # @param [Hash] opts the optional parameters
57
+ # @option opts [String] :user_id
56
58
  # @option opts [CurrencyConsumeRequest] :currency_consume_request 消费请求参数
57
59
  # @return [BooleanApiResponse]
58
60
  describe 'user_currency_consume test' do
@@ -69,6 +71,7 @@ describe 'UserCurrencyApi' do
69
71
  # @param signature 签名
70
72
  # @param app_key
71
73
  # @param [Hash] opts the optional parameters
74
+ # @option opts [String] :user_id
72
75
  # @option opts [ExchangeCurrencyRequest] :exchange_currency_request 兑换请求参数
73
76
  # @return [BooleanApiResponse]
74
77
  describe 'user_currency_exchange test' do
@@ -85,6 +88,7 @@ describe 'UserCurrencyApi' do
85
88
  # @param signature 签名
86
89
  # @param app_key
87
90
  # @param [Hash] opts the optional parameters
91
+ # @option opts [String] :user_id
88
92
  # @option opts [RechargePointRequest] :recharge_point_request 充值请求参数
89
93
  # @return [BooleanApiResponse]
90
94
  describe 'user_currency_recharge test' do
@@ -104,6 +108,7 @@ describe 'UserCurrencyApi' do
104
108
  # @option opts [Time] :end_time 结束时间
105
109
  # @option opts [Integer] :skip 跳过的条数
106
110
  # @option opts [Integer] :take 拉取的条数
111
+ # @option opts [String] :user_id
107
112
  # @return [UserCurrencyCurrencyTransResultApiResponse]
108
113
  describe 'user_currency_transactions test' do
109
114
  it 'should work' do
@@ -40,6 +40,7 @@ describe 'UserFriendsApi' do
40
40
  # @option opts [String] :tag 兴趣标签
41
41
  # @option opts [Integer] :skip 跳过的记录数
42
42
  # @option opts [Integer] :take 获取的记录数
43
+ # @option opts [String] :user_id
43
44
  # @return [UserCommonInterestsResultApiResponse]
44
45
  describe 'user_common_interests test' do
45
46
  it 'should work' do
@@ -53,6 +54,7 @@ describe 'UserFriendsApi' do
53
54
  # @param user_id 要关注的用户ID
54
55
  # @param app_key
55
56
  # @param [Hash] opts the optional parameters
57
+ # @option opts [String] :from_user_id
56
58
  # @return [BooleanApiResponse]
57
59
  describe 'user_follow_user test' do
58
60
  it 'should work' do
@@ -84,6 +86,7 @@ describe 'UserFriendsApi' do
84
86
  # @option opts [Integer] :target_user_id 指定用户的粉丝
85
87
  # @option opts [Integer] :skip 跳过的记录数
86
88
  # @option opts [Integer] :take 获取的记录数
89
+ # @option opts [String] :user_id
87
90
  # @return [UserFollowersResultApiResponse]
88
91
  describe 'user_followers test' do
89
92
  it 'should work' do
@@ -103,6 +106,7 @@ describe 'UserFriendsApi' do
103
106
  # @option opts [Integer] :take 获取的记录数,用于分页(默认10)。
104
107
  # @option opts [Integer] :check_user_id 要判断是否关注的目标用户ID。如果提供此参数,方法将返回一个布尔值,表示当前用户是否关注该目标用户。
105
108
  # @option opts [Boolean] :only_ids 是否只返回关注用户的ID集合,默认为false(即返回完整的关注用户信息)。
109
+ # @option opts [String] :user_id
106
110
  # @return [BooleanApiResponse]
107
111
  describe 'user_following test' do
108
112
  it 'should work' do
@@ -128,6 +132,7 @@ describe 'UserFriendsApi' do
128
132
  # @option opts [Integer] :distance 搜索半径(单位:米,0表示不限制距离)
129
133
  # @option opts [Integer] :skip 跳过的记录数(分页起始位置,默认0)
130
134
  # @option opts [Integer] :take 获取的记录数(分页大小,默认10,最大100)
135
+ # @option opts [String] :user_id
131
136
  # @return [UserFriendsNearByResultApiResponse]
132
137
  describe 'user_friends_near_by test' do
133
138
  it 'should work' do
@@ -142,6 +147,7 @@ describe 'UserFriendsApi' do
142
147
  # @param [Hash] opts the optional parameters
143
148
  # @option opts [Integer] :skip 跳过的记录数
144
149
  # @option opts [Integer] :take 获取的记录数
150
+ # @option opts [String] :user_id
145
151
  # @return [UserMutualFollowersResultApiResponse]
146
152
  describe 'user_mutual_followers test' do
147
153
  it 'should work' do
@@ -156,6 +162,7 @@ describe 'UserFriendsApi' do
156
162
  # @param [Hash] opts the optional parameters
157
163
  # @option opts [Integer] :skip 跳过的记录数
158
164
  # @option opts [Integer] :take 获取的记录数
165
+ # @option opts [String] :user_id
159
166
  # @return [UserMutualFollowingsResultApiResponse]
160
167
  describe 'user_mutual_followings test' do
161
168
  it 'should work' do
@@ -182,6 +189,7 @@ describe 'UserFriendsApi' do
182
189
  # @param user_id 要取消关注的用户ID
183
190
  # @param app_key
184
191
  # @param [Hash] opts the optional parameters
192
+ # @option opts [String] :from_user_id
185
193
  # @return [BooleanApiResponse]
186
194
  describe 'user_unfollow_user test' do
187
195
  it 'should work' do
@@ -38,6 +38,7 @@ describe 'UserLocationApi' do
38
38
  # @param id 位置ID
39
39
  # @param app_key
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :user_id
41
42
  # @return [GeoLocationModelApiResponse]
42
43
  describe 'user_location test' do
43
44
  it 'should work' do
@@ -51,6 +52,7 @@ describe 'UserLocationApi' do
51
52
  # @param id 位置ID
52
53
  # @param app_key
53
54
  # @param [Hash] opts the optional parameters
55
+ # @option opts [String] :user_id
54
56
  # @return [BooleanApiResponse]
55
57
  describe 'user_location_delete test' do
56
58
  it 'should work' do
@@ -63,6 +65,7 @@ describe 'UserLocationApi' do
63
65
  # 添加新的位置信息
64
66
  # @param app_key
65
67
  # @param [Hash] opts the optional parameters
68
+ # @option opts [String] :user_id
66
69
  # @option opts [GeoLocationModel] :geo_location_model 位置信息
67
70
  # @return [UserLocationPostResultApiResponse]
68
71
  describe 'user_location_post test' do
@@ -77,6 +80,7 @@ describe 'UserLocationApi' do
77
80
  # @param id 位置ID
78
81
  # @param app_key
79
82
  # @param [Hash] opts the optional parameters
83
+ # @option opts [String] :user_id
80
84
  # @option opts [GeoLocationModel] :geo_location_model 位置信息
81
85
  # @return [BooleanApiResponse]
82
86
  describe 'user_location_put test' do
@@ -97,6 +101,7 @@ describe 'UserLocationApi' do
97
101
  # @option opts [Integer] :sphere 附近距离,单位:米
98
102
  # @option opts [Integer] :skip 跳过的记录数
99
103
  # @option opts [Integer] :take 获取的记录数
104
+ # @option opts [String] :user_id
100
105
  # @return [UserLocationsResultApiResponse]
101
106
  describe 'user_locations test' do
102
107
  it 'should work' do
@@ -39,12 +39,6 @@ describe ZSGFClient::AccessTokenPostRequest do
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "user_id"' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
42
  describe 'test attribute "description"' do
49
43
  it 'should work' do
50
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -33,6 +33,12 @@ describe ZSGFClient::HbFqPayInfo do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "fq_inst_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
36
42
  describe 'test attribute "user_install_num"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/