ftc_api_v3_client 0.1.0 → 0.1.1

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 (56) 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/lib/ftc_api_v3_client/api/events_api.rb +0 -4
  6. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -15
  7. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +4 -45
  8. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +4 -45
  9. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +2 -30
  10. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +1 -0
  11. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +1 -15
  12. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +10 -150
  13. data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +16 -240
  14. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +9 -135
  15. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +15 -225
  16. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +7 -105
  17. data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +12 -180
  18. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -45
  19. data/lib/ftc_api_v3_client/models/api_v3_event.rb +2 -15
  20. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +13 -195
  21. data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +19 -285
  22. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +12 -180
  23. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +16 -240
  24. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +12 -180
  25. data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +13 -195
  26. data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +4 -60
  27. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +5 -60
  28. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +1 -15
  29. data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +1 -15
  30. data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +6 -90
  31. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +3 -45
  32. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +1 -15
  33. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +7 -105
  34. data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +15 -225
  35. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +8 -120
  36. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +14 -210
  37. data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +6 -90
  38. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +1 -15
  39. data/lib/ftc_api_v3_client/models/api_v3_season.rb +1 -15
  40. data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +1 -15
  41. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +1 -15
  42. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +1 -0
  43. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +4 -45
  44. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +4 -45
  45. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +1 -15
  46. data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +11 -165
  47. data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +15 -225
  48. data/lib/ftc_api_v3_client/models/api_v3_team.rb +1 -15
  49. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +1 -15
  50. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +10 -150
  51. data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +14 -210
  52. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +10 -150
  53. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +14 -210
  54. data/lib/ftc_api_v3_client/version.rb +1 -1
  55. data/update.sh +1 -1
  56. metadata +2 -1
@@ -104,6 +104,9 @@ module FtcApiV3Client
104
104
  # List of attributes with nullable: true
105
105
  def self.openapi_nullable
106
106
  Set.new([
107
+ :'series_id',
108
+ :'matches_to_win',
109
+ :'round',
107
110
  ])
108
111
  end
109
112
 
@@ -187,10 +190,6 @@ module FtcApiV3Client
187
190
  def list_invalid_properties
188
191
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
189
192
  invalid_properties = Array.new
190
- if @series_id.nil?
191
- invalid_properties.push('invalid value for "series_id", series_id cannot be nil.')
192
- end
193
-
194
193
  if @name.nil?
195
194
  invalid_properties.push('invalid value for "name", name cannot be nil.')
196
195
  end
@@ -199,14 +198,6 @@ module FtcApiV3Client
199
198
  invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
200
199
  end
201
200
 
202
- if @matches_to_win.nil?
203
- invalid_properties.push('invalid value for "matches_to_win", matches_to_win cannot be nil.')
204
- end
205
-
206
- if @round.nil?
207
- invalid_properties.push('invalid value for "round", round cannot be nil.')
208
- end
209
-
210
201
  if @red.nil?
211
202
  invalid_properties.push('invalid value for "red", red cannot be nil.')
212
203
  end
@@ -230,11 +221,8 @@ module FtcApiV3Client
230
221
  # @return true if the model is valid
231
222
  def valid?
232
223
  warn '[DEPRECATED] the `valid?` method is obsolete'
233
- return false if @series_id.nil?
234
224
  return false if @name.nil?
235
225
  return false if @short_name.nil?
236
- return false if @matches_to_win.nil?
237
- return false if @round.nil?
238
226
  return false if @red.nil?
239
227
  return false if @blue.nil?
240
228
  return false if @finals.nil?
@@ -242,16 +230,6 @@ module FtcApiV3Client
242
230
  true
243
231
  end
244
232
 
245
- # Custom attribute writer method with validation
246
- # @param [Object] series_id Value to be assigned
247
- def series_id=(series_id)
248
- if series_id.nil?
249
- fail ArgumentError, 'series_id cannot be nil'
250
- end
251
-
252
- @series_id = series_id
253
- end
254
-
255
233
  # Custom attribute writer method with validation
256
234
  # @param [Object] name Value to be assigned
257
235
  def name=(name)
@@ -272,26 +250,6 @@ module FtcApiV3Client
272
250
  @short_name = short_name
273
251
  end
274
252
 
275
- # Custom attribute writer method with validation
276
- # @param [Object] matches_to_win Value to be assigned
277
- def matches_to_win=(matches_to_win)
278
- if matches_to_win.nil?
279
- fail ArgumentError, 'matches_to_win cannot be nil'
280
- end
281
-
282
- @matches_to_win = matches_to_win
283
- end
284
-
285
- # Custom attribute writer method with validation
286
- # @param [Object] round Value to be assigned
287
- def round=(round)
288
- if round.nil?
289
- fail ArgumentError, 'round cannot be nil'
290
- end
291
-
292
- @round = round
293
- end
294
-
295
253
  # Custom attribute writer method with validation
296
254
  # @param [Object] red Value to be assigned
297
255
  def red=(red)
@@ -155,6 +155,8 @@ module FtcApiV3Client
155
155
  # List of attributes with nullable: true
156
156
  def self.openapi_nullable
157
157
  Set.new([
158
+ :'field_count',
159
+ :'capacity',
158
160
  ])
159
161
  end
160
162
 
@@ -330,10 +332,6 @@ module FtcApiV3Client
330
332
  invalid_properties.push('invalid value for "divisions", divisions cannot be nil.')
331
333
  end
332
334
 
333
- if @field_count.nil?
334
- invalid_properties.push('invalid value for "field_count", field_count cannot be nil.')
335
- end
336
-
337
335
  if @published.nil?
338
336
  invalid_properties.push('invalid value for "published", published cannot be nil.')
339
337
  end
@@ -357,7 +355,6 @@ module FtcApiV3Client
357
355
  return false if @end_date.nil?
358
356
  return false if @region_code.nil?
359
357
  return false if @divisions.nil?
360
- return false if @field_count.nil?
361
358
  return false if @published.nil?
362
359
  return false if @timezone.nil?
363
360
  true
@@ -443,16 +440,6 @@ module FtcApiV3Client
443
440
  @divisions = divisions
444
441
  end
445
442
 
446
- # Custom attribute writer method with validation
447
- # @param [Object] field_count Value to be assigned
448
- def field_count=(field_count)
449
- if field_count.nil?
450
- fail ArgumentError, 'field_count cannot be nil'
451
- end
452
-
453
- @field_count = field_count
454
- end
455
-
456
443
  # Custom attribute writer method with validation
457
444
  # @param [Object] published Value to be assigned
458
445
  def published=(published)
@@ -161,6 +161,19 @@ module FtcApiV3Client
161
161
  # List of attributes with nullable: true
162
162
  def self.openapi_nullable
163
163
  Set.new([
164
+ :'auto_storage_freight',
165
+ :'auto_freight1',
166
+ :'auto_freight2',
167
+ :'auto_freight3',
168
+ :'dc_storage_freight',
169
+ :'dc_freight1',
170
+ :'dc_freight2',
171
+ :'dc_freight3',
172
+ :'shared_freight',
173
+ :'eg_delivered',
174
+ :'capped',
175
+ :'minor_penalties',
176
+ :'major_penalties',
164
177
  ])
165
178
  end
166
179
 
@@ -350,46 +363,6 @@ module FtcApiV3Client
350
363
  invalid_properties.push('invalid value for "preload2", preload2 cannot be nil.')
351
364
  end
352
365
 
353
- if @auto_storage_freight.nil?
354
- invalid_properties.push('invalid value for "auto_storage_freight", auto_storage_freight cannot be nil.')
355
- end
356
-
357
- if @auto_freight1.nil?
358
- invalid_properties.push('invalid value for "auto_freight1", auto_freight1 cannot be nil.')
359
- end
360
-
361
- if @auto_freight2.nil?
362
- invalid_properties.push('invalid value for "auto_freight2", auto_freight2 cannot be nil.')
363
- end
364
-
365
- if @auto_freight3.nil?
366
- invalid_properties.push('invalid value for "auto_freight3", auto_freight3 cannot be nil.')
367
- end
368
-
369
- if @dc_storage_freight.nil?
370
- invalid_properties.push('invalid value for "dc_storage_freight", dc_storage_freight cannot be nil.')
371
- end
372
-
373
- if @dc_freight1.nil?
374
- invalid_properties.push('invalid value for "dc_freight1", dc_freight1 cannot be nil.')
375
- end
376
-
377
- if @dc_freight2.nil?
378
- invalid_properties.push('invalid value for "dc_freight2", dc_freight2 cannot be nil.')
379
- end
380
-
381
- if @dc_freight3.nil?
382
- invalid_properties.push('invalid value for "dc_freight3", dc_freight3 cannot be nil.')
383
- end
384
-
385
- if @shared_freight.nil?
386
- invalid_properties.push('invalid value for "shared_freight", shared_freight cannot be nil.')
387
- end
388
-
389
- if @eg_delivered.nil?
390
- invalid_properties.push('invalid value for "eg_delivered", eg_delivered cannot be nil.')
391
- end
392
-
393
366
  if @balanced.nil?
394
367
  invalid_properties.push('invalid value for "balanced", balanced cannot be nil.')
395
368
  end
@@ -402,18 +375,6 @@ module FtcApiV3Client
402
375
  invalid_properties.push('invalid value for "eg_robot2", eg_robot2 cannot be nil.')
403
376
  end
404
377
 
405
- if @capped.nil?
406
- invalid_properties.push('invalid value for "capped", capped cannot be nil.')
407
- end
408
-
409
- if @minor_penalties.nil?
410
- invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
411
- end
412
-
413
- if @major_penalties.nil?
414
- invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
415
- end
416
-
417
378
  if @init_tse1.nil?
418
379
  invalid_properties.push('invalid value for "init_tse1", init_tse1 cannot be nil.')
419
380
  end
@@ -438,22 +399,9 @@ module FtcApiV3Client
438
399
  return false if @auto_robot2.nil?
439
400
  return false if @preload1.nil?
440
401
  return false if @preload2.nil?
441
- return false if @auto_storage_freight.nil?
442
- return false if @auto_freight1.nil?
443
- return false if @auto_freight2.nil?
444
- return false if @auto_freight3.nil?
445
- return false if @dc_storage_freight.nil?
446
- return false if @dc_freight1.nil?
447
- return false if @dc_freight2.nil?
448
- return false if @dc_freight3.nil?
449
- return false if @shared_freight.nil?
450
- return false if @eg_delivered.nil?
451
402
  return false if @balanced.nil?
452
403
  return false if @eg_robot1.nil?
453
404
  return false if @eg_robot2.nil?
454
- return false if @capped.nil?
455
- return false if @minor_penalties.nil?
456
- return false if @major_penalties.nil?
457
405
  return false if @init_tse1.nil?
458
406
  return false if @init_tse2.nil?
459
407
  return false if @shared_tipped.nil?
@@ -510,106 +458,6 @@ module FtcApiV3Client
510
458
  @preload2 = preload2
511
459
  end
512
460
 
513
- # Custom attribute writer method with validation
514
- # @param [Object] auto_storage_freight Value to be assigned
515
- def auto_storage_freight=(auto_storage_freight)
516
- if auto_storage_freight.nil?
517
- fail ArgumentError, 'auto_storage_freight cannot be nil'
518
- end
519
-
520
- @auto_storage_freight = auto_storage_freight
521
- end
522
-
523
- # Custom attribute writer method with validation
524
- # @param [Object] auto_freight1 Value to be assigned
525
- def auto_freight1=(auto_freight1)
526
- if auto_freight1.nil?
527
- fail ArgumentError, 'auto_freight1 cannot be nil'
528
- end
529
-
530
- @auto_freight1 = auto_freight1
531
- end
532
-
533
- # Custom attribute writer method with validation
534
- # @param [Object] auto_freight2 Value to be assigned
535
- def auto_freight2=(auto_freight2)
536
- if auto_freight2.nil?
537
- fail ArgumentError, 'auto_freight2 cannot be nil'
538
- end
539
-
540
- @auto_freight2 = auto_freight2
541
- end
542
-
543
- # Custom attribute writer method with validation
544
- # @param [Object] auto_freight3 Value to be assigned
545
- def auto_freight3=(auto_freight3)
546
- if auto_freight3.nil?
547
- fail ArgumentError, 'auto_freight3 cannot be nil'
548
- end
549
-
550
- @auto_freight3 = auto_freight3
551
- end
552
-
553
- # Custom attribute writer method with validation
554
- # @param [Object] dc_storage_freight Value to be assigned
555
- def dc_storage_freight=(dc_storage_freight)
556
- if dc_storage_freight.nil?
557
- fail ArgumentError, 'dc_storage_freight cannot be nil'
558
- end
559
-
560
- @dc_storage_freight = dc_storage_freight
561
- end
562
-
563
- # Custom attribute writer method with validation
564
- # @param [Object] dc_freight1 Value to be assigned
565
- def dc_freight1=(dc_freight1)
566
- if dc_freight1.nil?
567
- fail ArgumentError, 'dc_freight1 cannot be nil'
568
- end
569
-
570
- @dc_freight1 = dc_freight1
571
- end
572
-
573
- # Custom attribute writer method with validation
574
- # @param [Object] dc_freight2 Value to be assigned
575
- def dc_freight2=(dc_freight2)
576
- if dc_freight2.nil?
577
- fail ArgumentError, 'dc_freight2 cannot be nil'
578
- end
579
-
580
- @dc_freight2 = dc_freight2
581
- end
582
-
583
- # Custom attribute writer method with validation
584
- # @param [Object] dc_freight3 Value to be assigned
585
- def dc_freight3=(dc_freight3)
586
- if dc_freight3.nil?
587
- fail ArgumentError, 'dc_freight3 cannot be nil'
588
- end
589
-
590
- @dc_freight3 = dc_freight3
591
- end
592
-
593
- # Custom attribute writer method with validation
594
- # @param [Object] shared_freight Value to be assigned
595
- def shared_freight=(shared_freight)
596
- if shared_freight.nil?
597
- fail ArgumentError, 'shared_freight cannot be nil'
598
- end
599
-
600
- @shared_freight = shared_freight
601
- end
602
-
603
- # Custom attribute writer method with validation
604
- # @param [Object] eg_delivered Value to be assigned
605
- def eg_delivered=(eg_delivered)
606
- if eg_delivered.nil?
607
- fail ArgumentError, 'eg_delivered cannot be nil'
608
- end
609
-
610
- @eg_delivered = eg_delivered
611
- end
612
-
613
461
  # Custom attribute writer method with validation
614
462
  # @param [Object] balanced Value to be assigned
615
463
  def balanced=(balanced)
@@ -640,36 +488,6 @@ module FtcApiV3Client
640
488
  @eg_robot2 = eg_robot2
641
489
  end
642
490
 
643
- # Custom attribute writer method with validation
644
- # @param [Object] capped Value to be assigned
645
- def capped=(capped)
646
- if capped.nil?
647
- fail ArgumentError, 'capped cannot be nil'
648
- end
649
-
650
- @capped = capped
651
- end
652
-
653
- # Custom attribute writer method with validation
654
- # @param [Object] minor_penalties Value to be assigned
655
- def minor_penalties=(minor_penalties)
656
- if minor_penalties.nil?
657
- fail ArgumentError, 'minor_penalties cannot be nil'
658
- end
659
-
660
- @minor_penalties = minor_penalties
661
- end
662
-
663
- # Custom attribute writer method with validation
664
- # @param [Object] major_penalties Value to be assigned
665
- def major_penalties=(major_penalties)
666
- if major_penalties.nil?
667
- fail ArgumentError, 'major_penalties cannot be nil'
668
- end
669
-
670
- @major_penalties = major_penalties
671
- end
672
-
673
491
  # Custom attribute writer method with validation
674
492
  # @param [Object] init_tse1 Value to be assigned
675
493
  def init_tse1=(init_tse1)
@@ -117,6 +117,25 @@ module FtcApiV3Client
117
117
  # List of attributes with nullable: true
118
118
  def self.openapi_nullable
119
119
  Set.new([
120
+ :'carousel_points',
121
+ :'navigation_points',
122
+ :'auto_freight_points',
123
+ :'auto_bonus_points',
124
+ :'dc_hub_points',
125
+ :'dc_shared_points',
126
+ :'dc_storage_points',
127
+ :'eg_delivery_points',
128
+ :'balanced_points',
129
+ :'tipped_points',
130
+ :'parking_points',
131
+ :'capping_points',
132
+ :'auto_points',
133
+ :'dc_points',
134
+ :'endgame_points',
135
+ :'penalty_points',
136
+ :'scored_points',
137
+ :'total_points',
138
+ :'adjust_points'
120
139
  ])
121
140
  end
122
141
 
@@ -256,82 +275,6 @@ module FtcApiV3Client
256
275
  def list_invalid_properties
257
276
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
258
277
  invalid_properties = Array.new
259
- if @carousel_points.nil?
260
- invalid_properties.push('invalid value for "carousel_points", carousel_points cannot be nil.')
261
- end
262
-
263
- if @navigation_points.nil?
264
- invalid_properties.push('invalid value for "navigation_points", navigation_points cannot be nil.')
265
- end
266
-
267
- if @auto_freight_points.nil?
268
- invalid_properties.push('invalid value for "auto_freight_points", auto_freight_points cannot be nil.')
269
- end
270
-
271
- if @auto_bonus_points.nil?
272
- invalid_properties.push('invalid value for "auto_bonus_points", auto_bonus_points cannot be nil.')
273
- end
274
-
275
- if @dc_hub_points.nil?
276
- invalid_properties.push('invalid value for "dc_hub_points", dc_hub_points cannot be nil.')
277
- end
278
-
279
- if @dc_shared_points.nil?
280
- invalid_properties.push('invalid value for "dc_shared_points", dc_shared_points cannot be nil.')
281
- end
282
-
283
- if @dc_storage_points.nil?
284
- invalid_properties.push('invalid value for "dc_storage_points", dc_storage_points cannot be nil.')
285
- end
286
-
287
- if @eg_delivery_points.nil?
288
- invalid_properties.push('invalid value for "eg_delivery_points", eg_delivery_points cannot be nil.')
289
- end
290
-
291
- if @balanced_points.nil?
292
- invalid_properties.push('invalid value for "balanced_points", balanced_points cannot be nil.')
293
- end
294
-
295
- if @tipped_points.nil?
296
- invalid_properties.push('invalid value for "tipped_points", tipped_points cannot be nil.')
297
- end
298
-
299
- if @parking_points.nil?
300
- invalid_properties.push('invalid value for "parking_points", parking_points cannot be nil.')
301
- end
302
-
303
- if @capping_points.nil?
304
- invalid_properties.push('invalid value for "capping_points", capping_points cannot be nil.')
305
- end
306
-
307
- if @auto_points.nil?
308
- invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
309
- end
310
-
311
- if @dc_points.nil?
312
- invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
313
- end
314
-
315
- if @endgame_points.nil?
316
- invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
317
- end
318
-
319
- if @penalty_points.nil?
320
- invalid_properties.push('invalid value for "penalty_points", penalty_points cannot be nil.')
321
- end
322
-
323
- if @scored_points.nil?
324
- invalid_properties.push('invalid value for "scored_points", scored_points cannot be nil.')
325
- end
326
-
327
- if @total_points.nil?
328
- invalid_properties.push('invalid value for "total_points", total_points cannot be nil.')
329
- end
330
-
331
- if @adjust_points.nil?
332
- invalid_properties.push('invalid value for "adjust_points", adjust_points cannot be nil.')
333
- end
334
-
335
278
  invalid_properties
336
279
  end
337
280
 
@@ -339,218 +282,9 @@ module FtcApiV3Client
339
282
  # @return true if the model is valid
340
283
  def valid?
341
284
  warn '[DEPRECATED] the `valid?` method is obsolete'
342
- return false if @carousel_points.nil?
343
- return false if @navigation_points.nil?
344
- return false if @auto_freight_points.nil?
345
- return false if @auto_bonus_points.nil?
346
- return false if @dc_hub_points.nil?
347
- return false if @dc_shared_points.nil?
348
- return false if @dc_storage_points.nil?
349
- return false if @eg_delivery_points.nil?
350
- return false if @balanced_points.nil?
351
- return false if @tipped_points.nil?
352
- return false if @parking_points.nil?
353
- return false if @capping_points.nil?
354
- return false if @auto_points.nil?
355
- return false if @dc_points.nil?
356
- return false if @endgame_points.nil?
357
- return false if @penalty_points.nil?
358
- return false if @scored_points.nil?
359
- return false if @total_points.nil?
360
- return false if @adjust_points.nil?
361
285
  true
362
286
  end
363
287
 
364
- # Custom attribute writer method with validation
365
- # @param [Object] carousel_points Value to be assigned
366
- def carousel_points=(carousel_points)
367
- if carousel_points.nil?
368
- fail ArgumentError, 'carousel_points cannot be nil'
369
- end
370
-
371
- @carousel_points = carousel_points
372
- end
373
-
374
- # Custom attribute writer method with validation
375
- # @param [Object] navigation_points Value to be assigned
376
- def navigation_points=(navigation_points)
377
- if navigation_points.nil?
378
- fail ArgumentError, 'navigation_points cannot be nil'
379
- end
380
-
381
- @navigation_points = navigation_points
382
- end
383
-
384
- # Custom attribute writer method with validation
385
- # @param [Object] auto_freight_points Value to be assigned
386
- def auto_freight_points=(auto_freight_points)
387
- if auto_freight_points.nil?
388
- fail ArgumentError, 'auto_freight_points cannot be nil'
389
- end
390
-
391
- @auto_freight_points = auto_freight_points
392
- end
393
-
394
- # Custom attribute writer method with validation
395
- # @param [Object] auto_bonus_points Value to be assigned
396
- def auto_bonus_points=(auto_bonus_points)
397
- if auto_bonus_points.nil?
398
- fail ArgumentError, 'auto_bonus_points cannot be nil'
399
- end
400
-
401
- @auto_bonus_points = auto_bonus_points
402
- end
403
-
404
- # Custom attribute writer method with validation
405
- # @param [Object] dc_hub_points Value to be assigned
406
- def dc_hub_points=(dc_hub_points)
407
- if dc_hub_points.nil?
408
- fail ArgumentError, 'dc_hub_points cannot be nil'
409
- end
410
-
411
- @dc_hub_points = dc_hub_points
412
- end
413
-
414
- # Custom attribute writer method with validation
415
- # @param [Object] dc_shared_points Value to be assigned
416
- def dc_shared_points=(dc_shared_points)
417
- if dc_shared_points.nil?
418
- fail ArgumentError, 'dc_shared_points cannot be nil'
419
- end
420
-
421
- @dc_shared_points = dc_shared_points
422
- end
423
-
424
- # Custom attribute writer method with validation
425
- # @param [Object] dc_storage_points Value to be assigned
426
- def dc_storage_points=(dc_storage_points)
427
- if dc_storage_points.nil?
428
- fail ArgumentError, 'dc_storage_points cannot be nil'
429
- end
430
-
431
- @dc_storage_points = dc_storage_points
432
- end
433
-
434
- # Custom attribute writer method with validation
435
- # @param [Object] eg_delivery_points Value to be assigned
436
- def eg_delivery_points=(eg_delivery_points)
437
- if eg_delivery_points.nil?
438
- fail ArgumentError, 'eg_delivery_points cannot be nil'
439
- end
440
-
441
- @eg_delivery_points = eg_delivery_points
442
- end
443
-
444
- # Custom attribute writer method with validation
445
- # @param [Object] balanced_points Value to be assigned
446
- def balanced_points=(balanced_points)
447
- if balanced_points.nil?
448
- fail ArgumentError, 'balanced_points cannot be nil'
449
- end
450
-
451
- @balanced_points = balanced_points
452
- end
453
-
454
- # Custom attribute writer method with validation
455
- # @param [Object] tipped_points Value to be assigned
456
- def tipped_points=(tipped_points)
457
- if tipped_points.nil?
458
- fail ArgumentError, 'tipped_points cannot be nil'
459
- end
460
-
461
- @tipped_points = tipped_points
462
- end
463
-
464
- # Custom attribute writer method with validation
465
- # @param [Object] parking_points Value to be assigned
466
- def parking_points=(parking_points)
467
- if parking_points.nil?
468
- fail ArgumentError, 'parking_points cannot be nil'
469
- end
470
-
471
- @parking_points = parking_points
472
- end
473
-
474
- # Custom attribute writer method with validation
475
- # @param [Object] capping_points Value to be assigned
476
- def capping_points=(capping_points)
477
- if capping_points.nil?
478
- fail ArgumentError, 'capping_points cannot be nil'
479
- end
480
-
481
- @capping_points = capping_points
482
- end
483
-
484
- # Custom attribute writer method with validation
485
- # @param [Object] auto_points Value to be assigned
486
- def auto_points=(auto_points)
487
- if auto_points.nil?
488
- fail ArgumentError, 'auto_points cannot be nil'
489
- end
490
-
491
- @auto_points = auto_points
492
- end
493
-
494
- # Custom attribute writer method with validation
495
- # @param [Object] dc_points Value to be assigned
496
- def dc_points=(dc_points)
497
- if dc_points.nil?
498
- fail ArgumentError, 'dc_points cannot be nil'
499
- end
500
-
501
- @dc_points = dc_points
502
- end
503
-
504
- # Custom attribute writer method with validation
505
- # @param [Object] endgame_points Value to be assigned
506
- def endgame_points=(endgame_points)
507
- if endgame_points.nil?
508
- fail ArgumentError, 'endgame_points cannot be nil'
509
- end
510
-
511
- @endgame_points = endgame_points
512
- end
513
-
514
- # Custom attribute writer method with validation
515
- # @param [Object] penalty_points Value to be assigned
516
- def penalty_points=(penalty_points)
517
- if penalty_points.nil?
518
- fail ArgumentError, 'penalty_points cannot be nil'
519
- end
520
-
521
- @penalty_points = penalty_points
522
- end
523
-
524
- # Custom attribute writer method with validation
525
- # @param [Object] scored_points Value to be assigned
526
- def scored_points=(scored_points)
527
- if scored_points.nil?
528
- fail ArgumentError, 'scored_points cannot be nil'
529
- end
530
-
531
- @scored_points = scored_points
532
- end
533
-
534
- # Custom attribute writer method with validation
535
- # @param [Object] total_points Value to be assigned
536
- def total_points=(total_points)
537
- if total_points.nil?
538
- fail ArgumentError, 'total_points cannot be nil'
539
- end
540
-
541
- @total_points = total_points
542
- end
543
-
544
- # Custom attribute writer method with validation
545
- # @param [Object] adjust_points Value to be assigned
546
- def adjust_points=(adjust_points)
547
- if adjust_points.nil?
548
- fail ArgumentError, 'adjust_points cannot be nil'
549
- end
550
-
551
- @adjust_points = adjust_points
552
- end
553
-
554
288
  # Checks equality by comparing each attribute.
555
289
  # @param [Object] Object to be compared
556
290
  def ==(o)