ftc_api_v3_client 0.1.0 → 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 (68) 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.0.gem +0 -0
  5. data/ftc_api_v3_client-0.1.1.gem +0 -0
  6. data/lib/ftc_api_v3_client/api/events_api.rb +0 -104
  7. data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
  8. data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
  9. data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
  10. data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
  11. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -0
  12. data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
  13. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +8 -60
  14. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +8 -60
  15. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +1 -0
  16. data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
  17. data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
  18. data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
  19. data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
  20. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -0
  21. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +1 -15
  22. data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
  23. data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
  24. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +2 -30
  25. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +1 -15
  26. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +2 -30
  27. data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
  28. data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
  29. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -30
  30. data/lib/ftc_api_v3_client/models/api_v3_event.rb +17 -120
  31. data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
  32. data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
  33. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +4 -60
  34. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +2 -30
  35. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
  36. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
  37. data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
  38. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +4 -60
  39. data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
  40. data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
  41. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +6 -0
  42. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +2 -0
  43. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +2 -30
  44. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +1 -15
  45. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +2 -0
  46. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +1 -0
  47. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
  48. data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
  49. data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
  50. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +1 -15
  51. data/lib/ftc_api_v3_client/models/api_v3_season.rb +3 -45
  52. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +2 -30
  53. data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
  54. data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
  55. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -30
  56. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +8 -60
  57. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +8 -60
  58. data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
  59. data/lib/ftc_api_v3_client/models/api_v3_team.rb +9 -60
  60. data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
  61. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +7 -60
  62. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +2 -30
  63. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +2 -30
  64. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
  65. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
  66. data/lib/ftc_api_v3_client/version.rb +1 -1
  67. data/update.sh +1 -1
  68. metadata +3 -1
@@ -127,6 +127,21 @@ module FtcApiV3Client
127
127
  # List of attributes with nullable: true
128
128
  def self.openapi_nullable
129
129
  Set.new([
130
+ :'code',
131
+ :'name',
132
+ :'type',
133
+ :'format',
134
+ :'start_date',
135
+ :'end_date',
136
+ :'region_code',
137
+ :'venue',
138
+ :'street_address',
139
+ :'street_address2',
140
+ :'city',
141
+ :'state',
142
+ :'country',
143
+ :'website',
144
+ :'timezone'
130
145
  ])
131
146
  end
132
147
 
@@ -234,42 +249,10 @@ module FtcApiV3Client
234
249
  def list_invalid_properties
235
250
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
236
251
  invalid_properties = Array.new
237
- if @code.nil?
238
- invalid_properties.push('invalid value for "code", code cannot be nil.')
239
- end
240
-
241
- if @name.nil?
242
- invalid_properties.push('invalid value for "name", name cannot be nil.')
243
- end
244
-
245
- if @type.nil?
246
- invalid_properties.push('invalid value for "type", type cannot be nil.')
247
- end
248
-
249
- if @format.nil?
250
- invalid_properties.push('invalid value for "format", format cannot be nil.')
251
- end
252
-
253
- if @start_date.nil?
254
- invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
255
- end
256
-
257
- if @end_date.nil?
258
- invalid_properties.push('invalid value for "end_date", end_date cannot be nil.')
259
- end
260
-
261
- if @region_code.nil?
262
- invalid_properties.push('invalid value for "region_code", region_code cannot be nil.')
263
- end
264
-
265
252
  if @published.nil?
266
253
  invalid_properties.push('invalid value for "published", published cannot be nil.')
267
254
  end
268
255
 
269
- if @timezone.nil?
270
- invalid_properties.push('invalid value for "timezone", timezone cannot be nil.')
271
- end
272
-
273
256
  invalid_properties
274
257
  end
275
258
 
@@ -277,88 +260,10 @@ module FtcApiV3Client
277
260
  # @return true if the model is valid
278
261
  def valid?
279
262
  warn '[DEPRECATED] the `valid?` method is obsolete'
280
- return false if @code.nil?
281
- return false if @name.nil?
282
- return false if @type.nil?
283
- return false if @format.nil?
284
- return false if @start_date.nil?
285
- return false if @end_date.nil?
286
- return false if @region_code.nil?
287
263
  return false if @published.nil?
288
- return false if @timezone.nil?
289
264
  true
290
265
  end
291
266
 
292
- # Custom attribute writer method with validation
293
- # @param [Object] code Value to be assigned
294
- def code=(code)
295
- if code.nil?
296
- fail ArgumentError, 'code cannot be nil'
297
- end
298
-
299
- @code = code
300
- end
301
-
302
- # Custom attribute writer method with validation
303
- # @param [Object] name Value to be assigned
304
- def name=(name)
305
- if name.nil?
306
- fail ArgumentError, 'name cannot be nil'
307
- end
308
-
309
- @name = name
310
- end
311
-
312
- # Custom attribute writer method with validation
313
- # @param [Object] type Value to be assigned
314
- def type=(type)
315
- if type.nil?
316
- fail ArgumentError, 'type cannot be nil'
317
- end
318
-
319
- @type = type
320
- end
321
-
322
- # Custom attribute writer method with validation
323
- # @param [Object] format Value to be assigned
324
- def format=(format)
325
- if format.nil?
326
- fail ArgumentError, 'format cannot be nil'
327
- end
328
-
329
- @format = format
330
- end
331
-
332
- # Custom attribute writer method with validation
333
- # @param [Object] start_date Value to be assigned
334
- def start_date=(start_date)
335
- if start_date.nil?
336
- fail ArgumentError, 'start_date cannot be nil'
337
- end
338
-
339
- @start_date = start_date
340
- end
341
-
342
- # Custom attribute writer method with validation
343
- # @param [Object] end_date Value to be assigned
344
- def end_date=(end_date)
345
- if end_date.nil?
346
- fail ArgumentError, 'end_date cannot be nil'
347
- end
348
-
349
- @end_date = end_date
350
- end
351
-
352
- # Custom attribute writer method with validation
353
- # @param [Object] region_code Value to be assigned
354
- def region_code=(region_code)
355
- if region_code.nil?
356
- fail ArgumentError, 'region_code cannot be nil'
357
- end
358
-
359
- @region_code = region_code
360
- end
361
-
362
267
  # Custom attribute writer method with validation
363
268
  # @param [Object] published Value to be assigned
364
269
  def published=(published)
@@ -369,16 +274,6 @@ module FtcApiV3Client
369
274
  @published = published
370
275
  end
371
276
 
372
- # Custom attribute writer method with validation
373
- # @param [Object] timezone Value to be assigned
374
- def timezone=(timezone)
375
- if timezone.nil?
376
- fail ArgumentError, 'timezone cannot be nil'
377
- end
378
-
379
- @timezone = timezone
380
- end
381
-
382
277
  # Checks equality by comparing each attribute.
383
278
  # @param [Object] Object to be compared
384
279
  def ==(o)
@@ -53,6 +53,9 @@ module FtcApiV3Client
53
53
  # List of attributes with nullable: true
54
54
  def self.openapi_nullable
55
55
  Set.new([
56
+ :'number',
57
+ :'name',
58
+ :'display_number'
56
59
  ])
57
60
  end
58
61
 
@@ -96,18 +99,6 @@ module FtcApiV3Client
96
99
  def list_invalid_properties
97
100
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
98
101
  invalid_properties = Array.new
99
- if @number.nil?
100
- invalid_properties.push('invalid value for "number", number cannot be nil.')
101
- end
102
-
103
- if @name.nil?
104
- invalid_properties.push('invalid value for "name", name cannot be nil.')
105
- end
106
-
107
- if @display_number.nil?
108
- invalid_properties.push('invalid value for "display_number", display_number cannot be nil.')
109
- end
110
-
111
102
  invalid_properties
112
103
  end
113
104
 
@@ -115,42 +106,9 @@ module FtcApiV3Client
115
106
  # @return true if the model is valid
116
107
  def valid?
117
108
  warn '[DEPRECATED] the `valid?` method is obsolete'
118
- return false if @number.nil?
119
- return false if @name.nil?
120
- return false if @display_number.nil?
121
109
  true
122
110
  end
123
111
 
124
- # Custom attribute writer method with validation
125
- # @param [Object] number Value to be assigned
126
- def number=(number)
127
- if number.nil?
128
- fail ArgumentError, 'number cannot be nil'
129
- end
130
-
131
- @number = number
132
- end
133
-
134
- # Custom attribute writer method with validation
135
- # @param [Object] name Value to be assigned
136
- def name=(name)
137
- if name.nil?
138
- fail ArgumentError, 'name cannot be nil'
139
- end
140
-
141
- @name = name
142
- end
143
-
144
- # Custom attribute writer method with validation
145
- # @param [Object] display_number Value to be assigned
146
- def display_number=(display_number)
147
- if display_number.nil?
148
- fail ArgumentError, 'display_number cannot be nil'
149
- end
150
-
151
- @display_number = display_number
152
- end
153
-
154
112
  # Checks equality by comparing each attribute.
155
113
  # @param [Object] Object to be compared
156
114
  def ==(o)
@@ -92,6 +92,10 @@ module FtcApiV3Client
92
92
  # List of attributes with nullable: true
93
93
  def self.openapi_nullable
94
94
  Set.new([
95
+ :'type',
96
+ :'name',
97
+ :'description',
98
+ :'sub_name',
95
99
  ])
96
100
  end
97
101
 
@@ -153,14 +157,6 @@ module FtcApiV3Client
153
157
  def list_invalid_properties
154
158
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
155
159
  invalid_properties = Array.new
156
- if @type.nil?
157
- invalid_properties.push('invalid value for "type", type cannot be nil.')
158
- end
159
-
160
- if @name.nil?
161
- invalid_properties.push('invalid value for "name", name cannot be nil.')
162
- end
163
-
164
160
  if @ordered.nil?
165
161
  invalid_properties.push('invalid value for "ordered", ordered cannot be nil.')
166
162
  end
@@ -176,33 +172,11 @@ module FtcApiV3Client
176
172
  # @return true if the model is valid
177
173
  def valid?
178
174
  warn '[DEPRECATED] the `valid?` method is obsolete'
179
- return false if @type.nil?
180
- return false if @name.nil?
181
175
  return false if @ordered.nil?
182
176
  return false if @individual.nil?
183
177
  true
184
178
  end
185
179
 
186
- # Custom attribute writer method with validation
187
- # @param [Object] type Value to be assigned
188
- def type=(type)
189
- if type.nil?
190
- fail ArgumentError, 'type cannot be nil'
191
- end
192
-
193
- @type = type
194
- end
195
-
196
- # Custom attribute writer method with validation
197
- # @param [Object] name Value to be assigned
198
- def name=(name)
199
- if name.nil?
200
- fail ArgumentError, 'name cannot be nil'
201
- end
202
-
203
- @name = name
204
- end
205
-
206
180
  # Custom attribute writer method with validation
207
181
  # @param [Object] ordered Value to be assigned
208
182
  def ordered=(ordered)
@@ -123,6 +123,14 @@ module FtcApiV3Client
123
123
  # List of attributes with nullable: true
124
124
  def self.openapi_nullable
125
125
  Set.new([
126
+ :'type',
127
+ :'short_name',
128
+ :'tournament_level',
129
+ :'scheduled_start_time',
130
+ :'start_time',
131
+ :'post_time',
132
+ :'display_name',
133
+ :'commit_time',
126
134
  ])
127
135
  end
128
136
 
@@ -220,26 +228,10 @@ module FtcApiV3Client
220
228
  def list_invalid_properties
221
229
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
222
230
  invalid_properties = Array.new
223
- if @type.nil?
224
- invalid_properties.push('invalid value for "type", type cannot be nil.')
225
- end
226
-
227
- if @short_name.nil?
228
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
229
- end
230
-
231
231
  if @field.nil?
232
232
  invalid_properties.push('invalid value for "field", field cannot be nil.')
233
233
  end
234
234
 
235
- if @tournament_level.nil?
236
- invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
237
- end
238
-
239
- if @display_name.nil?
240
- invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
241
- end
242
-
243
235
  if @series.nil?
244
236
  invalid_properties.push('invalid value for "series", series cannot be nil.')
245
237
  end
@@ -259,37 +251,13 @@ module FtcApiV3Client
259
251
  # @return true if the model is valid
260
252
  def valid?
261
253
  warn '[DEPRECATED] the `valid?` method is obsolete'
262
- return false if @type.nil?
263
- return false if @short_name.nil?
264
254
  return false if @field.nil?
265
- return false if @tournament_level.nil?
266
- return false if @display_name.nil?
267
255
  return false if @series.nil?
268
256
  return false if @number.nil?
269
257
  return false if @teams.nil?
270
258
  true
271
259
  end
272
260
 
273
- # Custom attribute writer method with validation
274
- # @param [Object] type Value to be assigned
275
- def type=(type)
276
- if type.nil?
277
- fail ArgumentError, 'type cannot be nil'
278
- end
279
-
280
- @type = type
281
- end
282
-
283
- # Custom attribute writer method with validation
284
- # @param [Object] short_name Value to be assigned
285
- def short_name=(short_name)
286
- if short_name.nil?
287
- fail ArgumentError, 'short_name cannot be nil'
288
- end
289
-
290
- @short_name = short_name
291
- end
292
-
293
261
  # Custom attribute writer method with validation
294
262
  # @param [Object] field Value to be assigned
295
263
  def field=(field)
@@ -300,26 +268,6 @@ module FtcApiV3Client
300
268
  @field = field
301
269
  end
302
270
 
303
- # Custom attribute writer method with validation
304
- # @param [Object] tournament_level Value to be assigned
305
- def tournament_level=(tournament_level)
306
- if tournament_level.nil?
307
- fail ArgumentError, 'tournament_level cannot be nil'
308
- end
309
-
310
- @tournament_level = tournament_level
311
- end
312
-
313
- # Custom attribute writer method with validation
314
- # @param [Object] display_name Value to be assigned
315
- def display_name=(display_name)
316
- if display_name.nil?
317
- fail ArgumentError, 'display_name cannot be nil'
318
- end
319
-
320
- @display_name = display_name
321
- end
322
-
323
271
  # Custom attribute writer method with validation
324
272
  # @param [Object] series Value to be assigned
325
273
  def series=(series)
@@ -127,6 +127,14 @@ module FtcApiV3Client
127
127
  # List of attributes with nullable: true
128
128
  def self.openapi_nullable
129
129
  Set.new([
130
+ :'type',
131
+ :'short_name',
132
+ :'tournament_level',
133
+ :'scheduled_start_time',
134
+ :'start_time',
135
+ :'post_time',
136
+ :'display_name',
137
+ :'commit_time',
130
138
  ])
131
139
  end
132
140
 
@@ -228,26 +236,10 @@ module FtcApiV3Client
228
236
  def list_invalid_properties
229
237
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
230
238
  invalid_properties = Array.new
231
- if @type.nil?
232
- invalid_properties.push('invalid value for "type", type cannot be nil.')
233
- end
234
-
235
- if @short_name.nil?
236
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
237
- end
238
-
239
239
  if @field.nil?
240
240
  invalid_properties.push('invalid value for "field", field cannot be nil.')
241
241
  end
242
242
 
243
- if @tournament_level.nil?
244
- invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
245
- end
246
-
247
- if @display_name.nil?
248
- invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
249
- end
250
-
251
243
  if @series.nil?
252
244
  invalid_properties.push('invalid value for "series", series cannot be nil.')
253
245
  end
@@ -267,37 +259,13 @@ module FtcApiV3Client
267
259
  # @return true if the model is valid
268
260
  def valid?
269
261
  warn '[DEPRECATED] the `valid?` method is obsolete'
270
- return false if @type.nil?
271
- return false if @short_name.nil?
272
262
  return false if @field.nil?
273
- return false if @tournament_level.nil?
274
- return false if @display_name.nil?
275
263
  return false if @series.nil?
276
264
  return false if @number.nil?
277
265
  return false if @teams.nil?
278
266
  true
279
267
  end
280
268
 
281
- # Custom attribute writer method with validation
282
- # @param [Object] type Value to be assigned
283
- def type=(type)
284
- if type.nil?
285
- fail ArgumentError, 'type cannot be nil'
286
- end
287
-
288
- @type = type
289
- end
290
-
291
- # Custom attribute writer method with validation
292
- # @param [Object] short_name Value to be assigned
293
- def short_name=(short_name)
294
- if short_name.nil?
295
- fail ArgumentError, 'short_name cannot be nil'
296
- end
297
-
298
- @short_name = short_name
299
- end
300
-
301
269
  # Custom attribute writer method with validation
302
270
  # @param [Object] field Value to be assigned
303
271
  def field=(field)
@@ -308,26 +276,6 @@ module FtcApiV3Client
308
276
  @field = field
309
277
  end
310
278
 
311
- # Custom attribute writer method with validation
312
- # @param [Object] tournament_level Value to be assigned
313
- def tournament_level=(tournament_level)
314
- if tournament_level.nil?
315
- fail ArgumentError, 'tournament_level cannot be nil'
316
- end
317
-
318
- @tournament_level = tournament_level
319
- end
320
-
321
- # Custom attribute writer method with validation
322
- # @param [Object] display_name Value to be assigned
323
- def display_name=(display_name)
324
- if display_name.nil?
325
- fail ArgumentError, 'display_name cannot be nil'
326
- end
327
-
328
- @display_name = display_name
329
- end
330
-
331
279
  # Custom attribute writer method with validation
332
280
  # @param [Object] series Value to be assigned
333
281
  def series=(series)
@@ -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,6 +86,15 @@ module FtcApiV3Client
86
86
  # List of attributes with nullable: true
87
87
  def self.openapi_nullable
88
88
  Set.new([
89
+ :'number',
90
+ :'name',
91
+ :'affiliations',
92
+ :'city',
93
+ :'state_prov',
94
+ :'country',
95
+ :'website',
96
+ :'home_region_code',
97
+ :'display_number',
89
98
  ])
90
99
  end
91
100
 
@@ -165,26 +174,10 @@ module FtcApiV3Client
165
174
  def list_invalid_properties
166
175
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
167
176
  invalid_properties = Array.new
168
- if @number.nil?
169
- invalid_properties.push('invalid value for "number", number cannot be nil.')
170
- end
171
-
172
- if @name.nil?
173
- invalid_properties.push('invalid value for "name", name cannot be nil.')
174
- end
175
-
176
- if @affiliations.nil?
177
- invalid_properties.push('invalid value for "affiliations", affiliations cannot be nil.')
178
- end
179
-
180
177
  if @rookie_cmp_year.nil?
181
178
  invalid_properties.push('invalid value for "rookie_cmp_year", rookie_cmp_year cannot be nil.')
182
179
  end
183
180
 
184
- if @display_number.nil?
185
- invalid_properties.push('invalid value for "display_number", display_number cannot be nil.')
186
- end
187
-
188
181
  invalid_properties
189
182
  end
190
183
 
@@ -192,44 +185,10 @@ module FtcApiV3Client
192
185
  # @return true if the model is valid
193
186
  def valid?
194
187
  warn '[DEPRECATED] the `valid?` method is obsolete'
195
- return false if @number.nil?
196
- return false if @name.nil?
197
- return false if @affiliations.nil?
198
188
  return false if @rookie_cmp_year.nil?
199
- return false if @display_number.nil?
200
189
  true
201
190
  end
202
191
 
203
- # Custom attribute writer method with validation
204
- # @param [Object] number Value to be assigned
205
- def number=(number)
206
- if number.nil?
207
- fail ArgumentError, 'number cannot be nil'
208
- end
209
-
210
- @number = number
211
- end
212
-
213
- # Custom attribute writer method with validation
214
- # @param [Object] name Value to be assigned
215
- def name=(name)
216
- if name.nil?
217
- fail ArgumentError, 'name cannot be nil'
218
- end
219
-
220
- @name = name
221
- end
222
-
223
- # Custom attribute writer method with validation
224
- # @param [Object] affiliations Value to be assigned
225
- def affiliations=(affiliations)
226
- if affiliations.nil?
227
- fail ArgumentError, 'affiliations cannot be nil'
228
- end
229
-
230
- @affiliations = affiliations
231
- end
232
-
233
192
  # Custom attribute writer method with validation
234
193
  # @param [Object] rookie_cmp_year Value to be assigned
235
194
  def rookie_cmp_year=(rookie_cmp_year)
@@ -240,16 +199,6 @@ module FtcApiV3Client
240
199
  @rookie_cmp_year = rookie_cmp_year
241
200
  end
242
201
 
243
- # Custom attribute writer method with validation
244
- # @param [Object] display_number Value to be assigned
245
- def display_number=(display_number)
246
- if display_number.nil?
247
- fail ArgumentError, 'display_number cannot be nil'
248
- end
249
-
250
- @display_number = display_number
251
- end
252
-
253
202
  # Checks equality by comparing each attribute.
254
203
  # @param [Object] Object to be compared
255
204
  def ==(o)
@@ -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)