ftc_api_v3_client 0.1.1 → 0.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.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/config.json +1 -1
  4. data/ftc_api_v3_client-0.1.1.gem +0 -0
  5. data/lib/ftc_api_v3_client/api/events_api.rb +3 -103
  6. data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
  7. data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
  8. data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
  9. data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
  10. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +16 -1
  11. data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
  12. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +32 -43
  13. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +32 -43
  14. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +31 -2
  15. data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
  16. data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
  17. data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
  18. data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
  19. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -1
  20. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +9 -9
  21. data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
  22. data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
  23. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +138 -26
  24. data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +240 -16
  25. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +129 -17
  26. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +225 -15
  27. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +93 -23
  28. data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +180 -12
  29. data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
  30. data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
  31. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +34 -19
  32. data/lib/ftc_api_v3_client/models/api_v3_event.rb +32 -122
  33. data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
  34. data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
  35. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +185 -59
  36. data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +285 -19
  37. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +175 -35
  38. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +240 -16
  39. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
  40. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
  41. data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
  42. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +156 -44
  43. data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +195 -13
  44. data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
  45. data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
  46. data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +60 -4
  47. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +66 -5
  48. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +17 -1
  49. data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +15 -1
  50. data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +90 -6
  51. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +33 -19
  52. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +9 -9
  53. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +107 -7
  54. data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +225 -15
  55. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +121 -8
  56. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +210 -14
  57. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
  58. data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
  59. data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +90 -6
  60. data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
  61. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +9 -9
  62. data/lib/ftc_api_v3_client/models/api_v3_season.rb +11 -39
  63. data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +15 -1
  64. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +10 -24
  65. data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
  66. data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
  67. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -31
  68. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +32 -43
  69. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +32 -43
  70. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +15 -1
  71. data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +165 -11
  72. data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +225 -15
  73. data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
  74. data/lib/ftc_api_v3_client/models/api_v3_team.rb +17 -54
  75. data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
  76. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +15 -54
  77. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +138 -26
  78. data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +210 -14
  79. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +138 -26
  80. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +210 -14
  81. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
  82. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
  83. data/lib/ftc_api_v3_client/version.rb +1 -1
  84. data/update.sh +1 -1
  85. metadata +2 -1
@@ -101,21 +101,6 @@ module FtcApiV3Client
101
101
  # List of attributes with nullable: true
102
102
  def self.openapi_nullable
103
103
  Set.new([
104
- :'auto_delivery_points',
105
- :'auto_placed_points',
106
- :'repositioned_points',
107
- :'navigation_points',
108
- :'driver_controlled_delivery_points',
109
- :'driver_controlled_placed_points',
110
- :'skyscraper_bonus_points',
111
- :'capstone_points',
112
- :'parking_points',
113
- :'autonomous_points',
114
- :'driver_controlled_points',
115
- :'end_game_points',
116
- :'penalty_points',
117
- :'total_points',
118
- :'adjust_points'
119
104
  ])
120
105
  end
121
106
 
@@ -231,6 +216,66 @@ module FtcApiV3Client
231
216
  def list_invalid_properties
232
217
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
233
218
  invalid_properties = Array.new
219
+ if @auto_delivery_points.nil?
220
+ invalid_properties.push('invalid value for "auto_delivery_points", auto_delivery_points cannot be nil.')
221
+ end
222
+
223
+ if @auto_placed_points.nil?
224
+ invalid_properties.push('invalid value for "auto_placed_points", auto_placed_points cannot be nil.')
225
+ end
226
+
227
+ if @repositioned_points.nil?
228
+ invalid_properties.push('invalid value for "repositioned_points", repositioned_points cannot be nil.')
229
+ end
230
+
231
+ if @navigation_points.nil?
232
+ invalid_properties.push('invalid value for "navigation_points", navigation_points cannot be nil.')
233
+ end
234
+
235
+ if @driver_controlled_delivery_points.nil?
236
+ invalid_properties.push('invalid value for "driver_controlled_delivery_points", driver_controlled_delivery_points cannot be nil.')
237
+ end
238
+
239
+ if @driver_controlled_placed_points.nil?
240
+ invalid_properties.push('invalid value for "driver_controlled_placed_points", driver_controlled_placed_points cannot be nil.')
241
+ end
242
+
243
+ if @skyscraper_bonus_points.nil?
244
+ invalid_properties.push('invalid value for "skyscraper_bonus_points", skyscraper_bonus_points cannot be nil.')
245
+ end
246
+
247
+ if @capstone_points.nil?
248
+ invalid_properties.push('invalid value for "capstone_points", capstone_points cannot be nil.')
249
+ end
250
+
251
+ if @parking_points.nil?
252
+ invalid_properties.push('invalid value for "parking_points", parking_points cannot be nil.')
253
+ end
254
+
255
+ if @autonomous_points.nil?
256
+ invalid_properties.push('invalid value for "autonomous_points", autonomous_points cannot be nil.')
257
+ end
258
+
259
+ if @driver_controlled_points.nil?
260
+ invalid_properties.push('invalid value for "driver_controlled_points", driver_controlled_points cannot be nil.')
261
+ end
262
+
263
+ if @end_game_points.nil?
264
+ invalid_properties.push('invalid value for "end_game_points", end_game_points cannot be nil.')
265
+ end
266
+
267
+ if @penalty_points.nil?
268
+ invalid_properties.push('invalid value for "penalty_points", penalty_points cannot be nil.')
269
+ end
270
+
271
+ if @total_points.nil?
272
+ invalid_properties.push('invalid value for "total_points", total_points cannot be nil.')
273
+ end
274
+
275
+ if @adjust_points.nil?
276
+ invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
277
+ end
278
+
234
279
  invalid_properties
235
280
  end
236
281
 
@@ -238,9 +283,174 @@ module FtcApiV3Client
238
283
  # @return true if the model is valid
239
284
  def valid?
240
285
  warn '[DEPRECATED] the `valid?` method is obsolete'
286
+ return false if @auto_delivery_points.nil?
287
+ return false if @auto_placed_points.nil?
288
+ return false if @repositioned_points.nil?
289
+ return false if @navigation_points.nil?
290
+ return false if @driver_controlled_delivery_points.nil?
291
+ return false if @driver_controlled_placed_points.nil?
292
+ return false if @skyscraper_bonus_points.nil?
293
+ return false if @capstone_points.nil?
294
+ return false if @parking_points.nil?
295
+ return false if @autonomous_points.nil?
296
+ return false if @driver_controlled_points.nil?
297
+ return false if @end_game_points.nil?
298
+ return false if @penalty_points.nil?
299
+ return false if @total_points.nil?
300
+ return false if @adjust_points.nil?
241
301
  true
242
302
  end
243
303
 
304
+ # Custom attribute writer method with validation
305
+ # @param [Object] auto_delivery_points Value to be assigned
306
+ def auto_delivery_points=(auto_delivery_points)
307
+ if auto_delivery_points.nil?
308
+ fail ArgumentError, 'auto_delivery_points cannot be nil'
309
+ end
310
+
311
+ @auto_delivery_points = auto_delivery_points
312
+ end
313
+
314
+ # Custom attribute writer method with validation
315
+ # @param [Object] auto_placed_points Value to be assigned
316
+ def auto_placed_points=(auto_placed_points)
317
+ if auto_placed_points.nil?
318
+ fail ArgumentError, 'auto_placed_points cannot be nil'
319
+ end
320
+
321
+ @auto_placed_points = auto_placed_points
322
+ end
323
+
324
+ # Custom attribute writer method with validation
325
+ # @param [Object] repositioned_points Value to be assigned
326
+ def repositioned_points=(repositioned_points)
327
+ if repositioned_points.nil?
328
+ fail ArgumentError, 'repositioned_points cannot be nil'
329
+ end
330
+
331
+ @repositioned_points = repositioned_points
332
+ end
333
+
334
+ # Custom attribute writer method with validation
335
+ # @param [Object] navigation_points Value to be assigned
336
+ def navigation_points=(navigation_points)
337
+ if navigation_points.nil?
338
+ fail ArgumentError, 'navigation_points cannot be nil'
339
+ end
340
+
341
+ @navigation_points = navigation_points
342
+ end
343
+
344
+ # Custom attribute writer method with validation
345
+ # @param [Object] driver_controlled_delivery_points Value to be assigned
346
+ def driver_controlled_delivery_points=(driver_controlled_delivery_points)
347
+ if driver_controlled_delivery_points.nil?
348
+ fail ArgumentError, 'driver_controlled_delivery_points cannot be nil'
349
+ end
350
+
351
+ @driver_controlled_delivery_points = driver_controlled_delivery_points
352
+ end
353
+
354
+ # Custom attribute writer method with validation
355
+ # @param [Object] driver_controlled_placed_points Value to be assigned
356
+ def driver_controlled_placed_points=(driver_controlled_placed_points)
357
+ if driver_controlled_placed_points.nil?
358
+ fail ArgumentError, 'driver_controlled_placed_points cannot be nil'
359
+ end
360
+
361
+ @driver_controlled_placed_points = driver_controlled_placed_points
362
+ end
363
+
364
+ # Custom attribute writer method with validation
365
+ # @param [Object] skyscraper_bonus_points Value to be assigned
366
+ def skyscraper_bonus_points=(skyscraper_bonus_points)
367
+ if skyscraper_bonus_points.nil?
368
+ fail ArgumentError, 'skyscraper_bonus_points cannot be nil'
369
+ end
370
+
371
+ @skyscraper_bonus_points = skyscraper_bonus_points
372
+ end
373
+
374
+ # Custom attribute writer method with validation
375
+ # @param [Object] capstone_points Value to be assigned
376
+ def capstone_points=(capstone_points)
377
+ if capstone_points.nil?
378
+ fail ArgumentError, 'capstone_points cannot be nil'
379
+ end
380
+
381
+ @capstone_points = capstone_points
382
+ end
383
+
384
+ # Custom attribute writer method with validation
385
+ # @param [Object] parking_points Value to be assigned
386
+ def parking_points=(parking_points)
387
+ if parking_points.nil?
388
+ fail ArgumentError, 'parking_points cannot be nil'
389
+ end
390
+
391
+ @parking_points = parking_points
392
+ end
393
+
394
+ # Custom attribute writer method with validation
395
+ # @param [Object] autonomous_points Value to be assigned
396
+ def autonomous_points=(autonomous_points)
397
+ if autonomous_points.nil?
398
+ fail ArgumentError, 'autonomous_points cannot be nil'
399
+ end
400
+
401
+ @autonomous_points = autonomous_points
402
+ end
403
+
404
+ # Custom attribute writer method with validation
405
+ # @param [Object] driver_controlled_points Value to be assigned
406
+ def driver_controlled_points=(driver_controlled_points)
407
+ if driver_controlled_points.nil?
408
+ fail ArgumentError, 'driver_controlled_points cannot be nil'
409
+ end
410
+
411
+ @driver_controlled_points = driver_controlled_points
412
+ end
413
+
414
+ # Custom attribute writer method with validation
415
+ # @param [Object] end_game_points Value to be assigned
416
+ def end_game_points=(end_game_points)
417
+ if end_game_points.nil?
418
+ fail ArgumentError, 'end_game_points cannot be nil'
419
+ end
420
+
421
+ @end_game_points = end_game_points
422
+ end
423
+
424
+ # Custom attribute writer method with validation
425
+ # @param [Object] penalty_points Value to be assigned
426
+ def penalty_points=(penalty_points)
427
+ if penalty_points.nil?
428
+ fail ArgumentError, 'penalty_points cannot be nil'
429
+ end
430
+
431
+ @penalty_points = penalty_points
432
+ end
433
+
434
+ # Custom attribute writer method with validation
435
+ # @param [Object] total_points Value to be assigned
436
+ def total_points=(total_points)
437
+ if total_points.nil?
438
+ fail ArgumentError, 'total_points cannot be nil'
439
+ end
440
+
441
+ @total_points = total_points
442
+ end
443
+
444
+ # Custom attribute writer method with validation
445
+ # @param [Object] adjust_points Value to be assigned
446
+ def adjust_points=(adjust_points)
447
+ if adjust_points.nil?
448
+ fail ArgumentError, 'adjust_points cannot be nil'
449
+ end
450
+
451
+ @adjust_points = adjust_points
452
+ end
453
+
244
454
  # Checks equality by comparing each attribute.
245
455
  # @param [Object] Object to be compared
246
456
  def ==(o)
@@ -53,6 +53,7 @@ module FtcApiV3Client
53
53
  # List of attributes with nullable: true
54
54
  def self.openapi_nullable
55
55
  Set.new([
56
+ :'type',
56
57
  ])
57
58
  end
58
59
 
@@ -96,10 +97,6 @@ module FtcApiV3Client
96
97
  def list_invalid_properties
97
98
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
99
  invalid_properties = Array.new
99
- if @type.nil?
100
- invalid_properties.push('invalid value for "type", type cannot be nil.')
101
- end
102
-
103
100
  if @achievements.nil?
104
101
  invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
105
102
  end
@@ -115,22 +112,11 @@ module FtcApiV3Client
115
112
  # @return true if the model is valid
116
113
  def valid?
117
114
  warn '[DEPRECATED] the `valid?` method is obsolete'
118
- return false if @type.nil?
119
115
  return false if @achievements.nil?
120
116
  return false if @points.nil?
121
117
  true
122
118
  end
123
119
 
124
- # Custom attribute writer method with validation
125
- # @param [Object] type Value to be assigned
126
- def type=(type)
127
- if type.nil?
128
- fail ArgumentError, 'type cannot be nil'
129
- end
130
-
131
- @type = type
132
- end
133
-
134
120
  # Custom attribute writer method with validation
135
121
  # @param [Object] achievements Value to be assigned
136
122
  def achievements=(achievements)
@@ -86,7 +86,15 @@ module FtcApiV3Client
86
86
  # List of attributes with nullable: true
87
87
  def self.openapi_nullable
88
88
  Set.new([
89
- :'rookie_cmp_year',
89
+ :'number',
90
+ :'name',
91
+ :'affiliations',
92
+ :'city',
93
+ :'state_prov',
94
+ :'country',
95
+ :'website',
96
+ :'home_region_code',
97
+ :'display_number',
90
98
  ])
91
99
  end
92
100
 
@@ -166,20 +174,8 @@ module FtcApiV3Client
166
174
  def list_invalid_properties
167
175
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
168
176
  invalid_properties = Array.new
169
- if @number.nil?
170
- invalid_properties.push('invalid value for "number", number cannot be nil.')
171
- end
172
-
173
- if @name.nil?
174
- invalid_properties.push('invalid value for "name", name cannot be nil.')
175
- end
176
-
177
- if @affiliations.nil?
178
- invalid_properties.push('invalid value for "affiliations", affiliations cannot be nil.')
179
- end
180
-
181
- if @display_number.nil?
182
- invalid_properties.push('invalid value for "display_number", display_number cannot be nil.')
177
+ if @rookie_cmp_year.nil?
178
+ invalid_properties.push('invalid value for "rookie_cmp_year", rookie_cmp_year cannot be nil.')
183
179
  end
184
180
 
185
181
  invalid_properties
@@ -189,51 +185,18 @@ module FtcApiV3Client
189
185
  # @return true if the model is valid
190
186
  def valid?
191
187
  warn '[DEPRECATED] the `valid?` method is obsolete'
192
- return false if @number.nil?
193
- return false if @name.nil?
194
- return false if @affiliations.nil?
195
- return false if @display_number.nil?
188
+ return false if @rookie_cmp_year.nil?
196
189
  true
197
190
  end
198
191
 
199
192
  # Custom attribute writer method with validation
200
- # @param [Object] number Value to be assigned
201
- def number=(number)
202
- if number.nil?
203
- fail ArgumentError, 'number cannot be nil'
204
- end
205
-
206
- @number = number
207
- end
208
-
209
- # Custom attribute writer method with validation
210
- # @param [Object] name Value to be assigned
211
- def name=(name)
212
- if name.nil?
213
- fail ArgumentError, 'name cannot be nil'
214
- end
215
-
216
- @name = name
217
- end
218
-
219
- # Custom attribute writer method with validation
220
- # @param [Object] affiliations Value to be assigned
221
- def affiliations=(affiliations)
222
- if affiliations.nil?
223
- fail ArgumentError, 'affiliations cannot be nil'
224
- end
225
-
226
- @affiliations = affiliations
227
- end
228
-
229
- # Custom attribute writer method with validation
230
- # @param [Object] display_number Value to be assigned
231
- def display_number=(display_number)
232
- if display_number.nil?
233
- fail ArgumentError, 'display_number cannot be nil'
193
+ # @param [Object] rookie_cmp_year Value to be assigned
194
+ def rookie_cmp_year=(rookie_cmp_year)
195
+ if rookie_cmp_year.nil?
196
+ fail ArgumentError, 'rookie_cmp_year cannot be nil'
234
197
  end
235
198
 
236
- @display_number = display_number
199
+ @rookie_cmp_year = rookie_cmp_year
237
200
  end
238
201
 
239
202
  # Checks equality by comparing each attribute.
@@ -48,6 +48,7 @@ module FtcApiV3Client
48
48
  # List of attributes with nullable: true
49
49
  def self.openapi_nullable
50
50
  Set.new([
51
+ :'avatar_url'
51
52
  ])
52
53
  end
53
54
 
@@ -89,10 +90,6 @@ module FtcApiV3Client
89
90
  invalid_properties.push('invalid value for "team", team cannot be nil.')
90
91
  end
91
92
 
92
- if @avatar_url.nil?
93
- invalid_properties.push('invalid value for "avatar_url", avatar_url cannot be nil.')
94
- end
95
-
96
93
  invalid_properties
97
94
  end
98
95
 
@@ -101,7 +98,6 @@ module FtcApiV3Client
101
98
  def valid?
102
99
  warn '[DEPRECATED] the `valid?` method is obsolete'
103
100
  return false if @team.nil?
104
- return false if @avatar_url.nil?
105
101
  true
106
102
  end
107
103
 
@@ -115,16 +111,6 @@ module FtcApiV3Client
115
111
  @team = team
116
112
  end
117
113
 
118
- # Custom attribute writer method with validation
119
- # @param [Object] avatar_url Value to be assigned
120
- def avatar_url=(avatar_url)
121
- if avatar_url.nil?
122
- fail ArgumentError, 'avatar_url cannot be nil'
123
- end
124
-
125
- @avatar_url = avatar_url
126
- end
127
-
128
114
  # Checks equality by comparing each attribute.
129
115
  # @param [Object] Object to be compared
130
116
  def ==(o)
@@ -82,7 +82,13 @@ module FtcApiV3Client
82
82
  # List of attributes with nullable: true
83
83
  def self.openapi_nullable
84
84
  Set.new([
85
- :'rookie_cmp_year',
85
+ :'number',
86
+ :'name',
87
+ :'affiliations',
88
+ :'city',
89
+ :'state_prov',
90
+ :'country',
91
+ :'display_number',
86
92
  ])
87
93
  end
88
94
 
@@ -162,26 +168,14 @@ module FtcApiV3Client
162
168
  def list_invalid_properties
163
169
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
164
170
  invalid_properties = Array.new
165
- if @number.nil?
166
- invalid_properties.push('invalid value for "number", number cannot be nil.')
167
- end
168
-
169
- if @name.nil?
170
- invalid_properties.push('invalid value for "name", name cannot be nil.')
171
- end
172
-
173
- if @affiliations.nil?
174
- invalid_properties.push('invalid value for "affiliations", affiliations cannot be nil.')
171
+ if @rookie_cmp_year.nil?
172
+ invalid_properties.push('invalid value for "rookie_cmp_year", rookie_cmp_year cannot be nil.')
175
173
  end
176
174
 
177
175
  if @seasons.nil?
178
176
  invalid_properties.push('invalid value for "seasons", seasons cannot be nil.')
179
177
  end
180
178
 
181
- if @display_number.nil?
182
- invalid_properties.push('invalid value for "display_number", display_number cannot be nil.')
183
- end
184
-
185
179
  invalid_properties
186
180
  end
187
181
 
@@ -189,42 +183,19 @@ module FtcApiV3Client
189
183
  # @return true if the model is valid
190
184
  def valid?
191
185
  warn '[DEPRECATED] the `valid?` method is obsolete'
192
- return false if @number.nil?
193
- return false if @name.nil?
194
- return false if @affiliations.nil?
186
+ return false if @rookie_cmp_year.nil?
195
187
  return false if @seasons.nil?
196
- return false if @display_number.nil?
197
188
  true
198
189
  end
199
190
 
200
191
  # Custom attribute writer method with validation
201
- # @param [Object] number Value to be assigned
202
- def number=(number)
203
- if number.nil?
204
- fail ArgumentError, 'number cannot be nil'
205
- end
206
-
207
- @number = number
208
- end
209
-
210
- # Custom attribute writer method with validation
211
- # @param [Object] name Value to be assigned
212
- def name=(name)
213
- if name.nil?
214
- fail ArgumentError, 'name cannot be nil'
192
+ # @param [Object] rookie_cmp_year Value to be assigned
193
+ def rookie_cmp_year=(rookie_cmp_year)
194
+ if rookie_cmp_year.nil?
195
+ fail ArgumentError, 'rookie_cmp_year cannot be nil'
215
196
  end
216
197
 
217
- @name = name
218
- end
219
-
220
- # Custom attribute writer method with validation
221
- # @param [Object] affiliations Value to be assigned
222
- def affiliations=(affiliations)
223
- if affiliations.nil?
224
- fail ArgumentError, 'affiliations cannot be nil'
225
- end
226
-
227
- @affiliations = affiliations
198
+ @rookie_cmp_year = rookie_cmp_year
228
199
  end
229
200
 
230
201
  # Custom attribute writer method with validation
@@ -237,16 +208,6 @@ module FtcApiV3Client
237
208
  @seasons = seasons
238
209
  end
239
210
 
240
- # Custom attribute writer method with validation
241
- # @param [Object] display_number Value to be assigned
242
- def display_number=(display_number)
243
- if display_number.nil?
244
- fail ArgumentError, 'display_number cannot be nil'
245
- end
246
-
247
- @display_number = display_number
248
- end
249
-
250
211
  # Checks equality by comparing each attribute.
251
212
  # @param [Object] Object to be compared
252
213
  def ==(o)