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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/config.json +1 -1
- data/ftc_api_v3_client-0.1.0.gem +0 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +0 -4
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +10 -150
- data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +16 -240
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +9 -135
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +15 -225
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +7 -105
- data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +12 -180
- data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +13 -195
- data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +19 -285
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +12 -180
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +16 -240
- data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +12 -180
- data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +13 -195
- data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +4 -60
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +5 -60
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +6 -90
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +7 -105
- data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +15 -225
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +8 -120
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +14 -210
- data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +6 -90
- data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_season.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +4 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +11 -165
- data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +15 -225
- data/lib/ftc_api_v3_client/models/api_v3_team.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +10 -150
- data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +14 -210
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +10 -150
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +14 -210
- data/lib/ftc_api_v3_client/version.rb +1 -1
- data/update.sh +1 -1
- metadata +2 -1
|
@@ -135,6 +135,18 @@ module FtcApiV3Client
|
|
|
135
135
|
# List of attributes with nullable: true
|
|
136
136
|
def self.openapi_nullable
|
|
137
137
|
Set.new([
|
|
138
|
+
:'auto_storage_freight',
|
|
139
|
+
:'auto_freight1',
|
|
140
|
+
:'auto_freight2',
|
|
141
|
+
:'auto_freight3',
|
|
142
|
+
:'dc_storage_freight',
|
|
143
|
+
:'dc_freight1',
|
|
144
|
+
:'dc_freight2',
|
|
145
|
+
:'dc_freight3',
|
|
146
|
+
:'eg_delivered',
|
|
147
|
+
:'capped',
|
|
148
|
+
:'minor_penalties',
|
|
149
|
+
:'major_penalties',
|
|
138
150
|
])
|
|
139
151
|
end
|
|
140
152
|
|
|
@@ -280,42 +292,6 @@ module FtcApiV3Client
|
|
|
280
292
|
invalid_properties.push('invalid value for "preload", preload cannot be nil.')
|
|
281
293
|
end
|
|
282
294
|
|
|
283
|
-
if @auto_storage_freight.nil?
|
|
284
|
-
invalid_properties.push('invalid value for "auto_storage_freight", auto_storage_freight cannot be nil.')
|
|
285
|
-
end
|
|
286
|
-
|
|
287
|
-
if @auto_freight1.nil?
|
|
288
|
-
invalid_properties.push('invalid value for "auto_freight1", auto_freight1 cannot be nil.')
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
if @auto_freight2.nil?
|
|
292
|
-
invalid_properties.push('invalid value for "auto_freight2", auto_freight2 cannot be nil.')
|
|
293
|
-
end
|
|
294
|
-
|
|
295
|
-
if @auto_freight3.nil?
|
|
296
|
-
invalid_properties.push('invalid value for "auto_freight3", auto_freight3 cannot be nil.')
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
if @dc_storage_freight.nil?
|
|
300
|
-
invalid_properties.push('invalid value for "dc_storage_freight", dc_storage_freight cannot be nil.')
|
|
301
|
-
end
|
|
302
|
-
|
|
303
|
-
if @dc_freight1.nil?
|
|
304
|
-
invalid_properties.push('invalid value for "dc_freight1", dc_freight1 cannot be nil.')
|
|
305
|
-
end
|
|
306
|
-
|
|
307
|
-
if @dc_freight2.nil?
|
|
308
|
-
invalid_properties.push('invalid value for "dc_freight2", dc_freight2 cannot be nil.')
|
|
309
|
-
end
|
|
310
|
-
|
|
311
|
-
if @dc_freight3.nil?
|
|
312
|
-
invalid_properties.push('invalid value for "dc_freight3", dc_freight3 cannot be nil.')
|
|
313
|
-
end
|
|
314
|
-
|
|
315
|
-
if @eg_delivered.nil?
|
|
316
|
-
invalid_properties.push('invalid value for "eg_delivered", eg_delivered cannot be nil.')
|
|
317
|
-
end
|
|
318
|
-
|
|
319
295
|
if @balanced.nil?
|
|
320
296
|
invalid_properties.push('invalid value for "balanced", balanced cannot be nil.')
|
|
321
297
|
end
|
|
@@ -324,18 +300,6 @@ module FtcApiV3Client
|
|
|
324
300
|
invalid_properties.push('invalid value for "eg_robot", eg_robot cannot be nil.')
|
|
325
301
|
end
|
|
326
302
|
|
|
327
|
-
if @capped.nil?
|
|
328
|
-
invalid_properties.push('invalid value for "capped", capped cannot be nil.')
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
if @minor_penalties.nil?
|
|
332
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
if @major_penalties.nil?
|
|
336
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
337
|
-
end
|
|
338
|
-
|
|
339
303
|
if @init_tse.nil?
|
|
340
304
|
invalid_properties.push('invalid value for "init_tse", init_tse cannot be nil.')
|
|
341
305
|
end
|
|
@@ -350,20 +314,8 @@ module FtcApiV3Client
|
|
|
350
314
|
return false if @auto_delivered.nil?
|
|
351
315
|
return false if @auto_robot.nil?
|
|
352
316
|
return false if @preload.nil?
|
|
353
|
-
return false if @auto_storage_freight.nil?
|
|
354
|
-
return false if @auto_freight1.nil?
|
|
355
|
-
return false if @auto_freight2.nil?
|
|
356
|
-
return false if @auto_freight3.nil?
|
|
357
|
-
return false if @dc_storage_freight.nil?
|
|
358
|
-
return false if @dc_freight1.nil?
|
|
359
|
-
return false if @dc_freight2.nil?
|
|
360
|
-
return false if @dc_freight3.nil?
|
|
361
|
-
return false if @eg_delivered.nil?
|
|
362
317
|
return false if @balanced.nil?
|
|
363
318
|
return false if @eg_robot.nil?
|
|
364
|
-
return false if @capped.nil?
|
|
365
|
-
return false if @minor_penalties.nil?
|
|
366
|
-
return false if @major_penalties.nil?
|
|
367
319
|
return false if @init_tse.nil?
|
|
368
320
|
true
|
|
369
321
|
end
|
|
@@ -398,96 +350,6 @@ module FtcApiV3Client
|
|
|
398
350
|
@preload = preload
|
|
399
351
|
end
|
|
400
352
|
|
|
401
|
-
# Custom attribute writer method with validation
|
|
402
|
-
# @param [Object] auto_storage_freight Value to be assigned
|
|
403
|
-
def auto_storage_freight=(auto_storage_freight)
|
|
404
|
-
if auto_storage_freight.nil?
|
|
405
|
-
fail ArgumentError, 'auto_storage_freight cannot be nil'
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
@auto_storage_freight = auto_storage_freight
|
|
409
|
-
end
|
|
410
|
-
|
|
411
|
-
# Custom attribute writer method with validation
|
|
412
|
-
# @param [Object] auto_freight1 Value to be assigned
|
|
413
|
-
def auto_freight1=(auto_freight1)
|
|
414
|
-
if auto_freight1.nil?
|
|
415
|
-
fail ArgumentError, 'auto_freight1 cannot be nil'
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
@auto_freight1 = auto_freight1
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
# Custom attribute writer method with validation
|
|
422
|
-
# @param [Object] auto_freight2 Value to be assigned
|
|
423
|
-
def auto_freight2=(auto_freight2)
|
|
424
|
-
if auto_freight2.nil?
|
|
425
|
-
fail ArgumentError, 'auto_freight2 cannot be nil'
|
|
426
|
-
end
|
|
427
|
-
|
|
428
|
-
@auto_freight2 = auto_freight2
|
|
429
|
-
end
|
|
430
|
-
|
|
431
|
-
# Custom attribute writer method with validation
|
|
432
|
-
# @param [Object] auto_freight3 Value to be assigned
|
|
433
|
-
def auto_freight3=(auto_freight3)
|
|
434
|
-
if auto_freight3.nil?
|
|
435
|
-
fail ArgumentError, 'auto_freight3 cannot be nil'
|
|
436
|
-
end
|
|
437
|
-
|
|
438
|
-
@auto_freight3 = auto_freight3
|
|
439
|
-
end
|
|
440
|
-
|
|
441
|
-
# Custom attribute writer method with validation
|
|
442
|
-
# @param [Object] dc_storage_freight Value to be assigned
|
|
443
|
-
def dc_storage_freight=(dc_storage_freight)
|
|
444
|
-
if dc_storage_freight.nil?
|
|
445
|
-
fail ArgumentError, 'dc_storage_freight cannot be nil'
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
@dc_storage_freight = dc_storage_freight
|
|
449
|
-
end
|
|
450
|
-
|
|
451
|
-
# Custom attribute writer method with validation
|
|
452
|
-
# @param [Object] dc_freight1 Value to be assigned
|
|
453
|
-
def dc_freight1=(dc_freight1)
|
|
454
|
-
if dc_freight1.nil?
|
|
455
|
-
fail ArgumentError, 'dc_freight1 cannot be nil'
|
|
456
|
-
end
|
|
457
|
-
|
|
458
|
-
@dc_freight1 = dc_freight1
|
|
459
|
-
end
|
|
460
|
-
|
|
461
|
-
# Custom attribute writer method with validation
|
|
462
|
-
# @param [Object] dc_freight2 Value to be assigned
|
|
463
|
-
def dc_freight2=(dc_freight2)
|
|
464
|
-
if dc_freight2.nil?
|
|
465
|
-
fail ArgumentError, 'dc_freight2 cannot be nil'
|
|
466
|
-
end
|
|
467
|
-
|
|
468
|
-
@dc_freight2 = dc_freight2
|
|
469
|
-
end
|
|
470
|
-
|
|
471
|
-
# Custom attribute writer method with validation
|
|
472
|
-
# @param [Object] dc_freight3 Value to be assigned
|
|
473
|
-
def dc_freight3=(dc_freight3)
|
|
474
|
-
if dc_freight3.nil?
|
|
475
|
-
fail ArgumentError, 'dc_freight3 cannot be nil'
|
|
476
|
-
end
|
|
477
|
-
|
|
478
|
-
@dc_freight3 = dc_freight3
|
|
479
|
-
end
|
|
480
|
-
|
|
481
|
-
# Custom attribute writer method with validation
|
|
482
|
-
# @param [Object] eg_delivered Value to be assigned
|
|
483
|
-
def eg_delivered=(eg_delivered)
|
|
484
|
-
if eg_delivered.nil?
|
|
485
|
-
fail ArgumentError, 'eg_delivered cannot be nil'
|
|
486
|
-
end
|
|
487
|
-
|
|
488
|
-
@eg_delivered = eg_delivered
|
|
489
|
-
end
|
|
490
|
-
|
|
491
353
|
# Custom attribute writer method with validation
|
|
492
354
|
# @param [Object] balanced Value to be assigned
|
|
493
355
|
def balanced=(balanced)
|
|
@@ -508,36 +370,6 @@ module FtcApiV3Client
|
|
|
508
370
|
@eg_robot = eg_robot
|
|
509
371
|
end
|
|
510
372
|
|
|
511
|
-
# Custom attribute writer method with validation
|
|
512
|
-
# @param [Object] capped Value to be assigned
|
|
513
|
-
def capped=(capped)
|
|
514
|
-
if capped.nil?
|
|
515
|
-
fail ArgumentError, 'capped cannot be nil'
|
|
516
|
-
end
|
|
517
|
-
|
|
518
|
-
@capped = capped
|
|
519
|
-
end
|
|
520
|
-
|
|
521
|
-
# Custom attribute writer method with validation
|
|
522
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
523
|
-
def minor_penalties=(minor_penalties)
|
|
524
|
-
if minor_penalties.nil?
|
|
525
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
526
|
-
end
|
|
527
|
-
|
|
528
|
-
@minor_penalties = minor_penalties
|
|
529
|
-
end
|
|
530
|
-
|
|
531
|
-
# Custom attribute writer method with validation
|
|
532
|
-
# @param [Object] major_penalties Value to be assigned
|
|
533
|
-
def major_penalties=(major_penalties)
|
|
534
|
-
if major_penalties.nil?
|
|
535
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
536
|
-
end
|
|
537
|
-
|
|
538
|
-
@major_penalties = major_penalties
|
|
539
|
-
end
|
|
540
|
-
|
|
541
373
|
# Custom attribute writer method with validation
|
|
542
374
|
# @param [Object] init_tse Value to be assigned
|
|
543
375
|
def init_tse=(init_tse)
|
|
@@ -104,6 +104,22 @@ module FtcApiV3Client
|
|
|
104
104
|
# List of attributes with nullable: true
|
|
105
105
|
def self.openapi_nullable
|
|
106
106
|
Set.new([
|
|
107
|
+
:'carousel_points',
|
|
108
|
+
:'navigation_points',
|
|
109
|
+
:'auto_freight_points',
|
|
110
|
+
:'auto_bonus_points',
|
|
111
|
+
:'dc_hub_points',
|
|
112
|
+
:'dc_storage_points',
|
|
113
|
+
:'eg_delivery_points',
|
|
114
|
+
:'balanced_points',
|
|
115
|
+
:'parking_points',
|
|
116
|
+
:'capping_points',
|
|
117
|
+
:'auto_points',
|
|
118
|
+
:'dc_points',
|
|
119
|
+
:'endgame_points',
|
|
120
|
+
:'penalty_points',
|
|
121
|
+
:'scored_points',
|
|
122
|
+
:'total_points'
|
|
107
123
|
])
|
|
108
124
|
end
|
|
109
125
|
|
|
@@ -225,70 +241,6 @@ module FtcApiV3Client
|
|
|
225
241
|
def list_invalid_properties
|
|
226
242
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
227
243
|
invalid_properties = Array.new
|
|
228
|
-
if @carousel_points.nil?
|
|
229
|
-
invalid_properties.push('invalid value for "carousel_points", carousel_points cannot be nil.')
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
if @navigation_points.nil?
|
|
233
|
-
invalid_properties.push('invalid value for "navigation_points", navigation_points cannot be nil.')
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
if @auto_freight_points.nil?
|
|
237
|
-
invalid_properties.push('invalid value for "auto_freight_points", auto_freight_points cannot be nil.')
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
if @auto_bonus_points.nil?
|
|
241
|
-
invalid_properties.push('invalid value for "auto_bonus_points", auto_bonus_points cannot be nil.')
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
if @dc_hub_points.nil?
|
|
245
|
-
invalid_properties.push('invalid value for "dc_hub_points", dc_hub_points cannot be nil.')
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
if @dc_storage_points.nil?
|
|
249
|
-
invalid_properties.push('invalid value for "dc_storage_points", dc_storage_points cannot be nil.')
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
if @eg_delivery_points.nil?
|
|
253
|
-
invalid_properties.push('invalid value for "eg_delivery_points", eg_delivery_points cannot be nil.')
|
|
254
|
-
end
|
|
255
|
-
|
|
256
|
-
if @balanced_points.nil?
|
|
257
|
-
invalid_properties.push('invalid value for "balanced_points", balanced_points cannot be nil.')
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
if @parking_points.nil?
|
|
261
|
-
invalid_properties.push('invalid value for "parking_points", parking_points cannot be nil.')
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
if @capping_points.nil?
|
|
265
|
-
invalid_properties.push('invalid value for "capping_points", capping_points cannot be nil.')
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
if @auto_points.nil?
|
|
269
|
-
invalid_properties.push('invalid value for "auto_points", auto_points cannot be nil.')
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
if @dc_points.nil?
|
|
273
|
-
invalid_properties.push('invalid value for "dc_points", dc_points cannot be nil.')
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
if @endgame_points.nil?
|
|
277
|
-
invalid_properties.push('invalid value for "endgame_points", endgame_points cannot be nil.')
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
if @penalty_points.nil?
|
|
281
|
-
invalid_properties.push('invalid value for "penalty_points", penalty_points cannot be nil.')
|
|
282
|
-
end
|
|
283
|
-
|
|
284
|
-
if @scored_points.nil?
|
|
285
|
-
invalid_properties.push('invalid value for "scored_points", scored_points cannot be nil.')
|
|
286
|
-
end
|
|
287
|
-
|
|
288
|
-
if @total_points.nil?
|
|
289
|
-
invalid_properties.push('invalid value for "total_points", total_points cannot be nil.')
|
|
290
|
-
end
|
|
291
|
-
|
|
292
244
|
invalid_properties
|
|
293
245
|
end
|
|
294
246
|
|
|
@@ -296,185 +248,9 @@ module FtcApiV3Client
|
|
|
296
248
|
# @return true if the model is valid
|
|
297
249
|
def valid?
|
|
298
250
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
299
|
-
return false if @carousel_points.nil?
|
|
300
|
-
return false if @navigation_points.nil?
|
|
301
|
-
return false if @auto_freight_points.nil?
|
|
302
|
-
return false if @auto_bonus_points.nil?
|
|
303
|
-
return false if @dc_hub_points.nil?
|
|
304
|
-
return false if @dc_storage_points.nil?
|
|
305
|
-
return false if @eg_delivery_points.nil?
|
|
306
|
-
return false if @balanced_points.nil?
|
|
307
|
-
return false if @parking_points.nil?
|
|
308
|
-
return false if @capping_points.nil?
|
|
309
|
-
return false if @auto_points.nil?
|
|
310
|
-
return false if @dc_points.nil?
|
|
311
|
-
return false if @endgame_points.nil?
|
|
312
|
-
return false if @penalty_points.nil?
|
|
313
|
-
return false if @scored_points.nil?
|
|
314
|
-
return false if @total_points.nil?
|
|
315
251
|
true
|
|
316
252
|
end
|
|
317
253
|
|
|
318
|
-
# Custom attribute writer method with validation
|
|
319
|
-
# @param [Object] carousel_points Value to be assigned
|
|
320
|
-
def carousel_points=(carousel_points)
|
|
321
|
-
if carousel_points.nil?
|
|
322
|
-
fail ArgumentError, 'carousel_points cannot be nil'
|
|
323
|
-
end
|
|
324
|
-
|
|
325
|
-
@carousel_points = carousel_points
|
|
326
|
-
end
|
|
327
|
-
|
|
328
|
-
# Custom attribute writer method with validation
|
|
329
|
-
# @param [Object] navigation_points Value to be assigned
|
|
330
|
-
def navigation_points=(navigation_points)
|
|
331
|
-
if navigation_points.nil?
|
|
332
|
-
fail ArgumentError, 'navigation_points cannot be nil'
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
@navigation_points = navigation_points
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
# Custom attribute writer method with validation
|
|
339
|
-
# @param [Object] auto_freight_points Value to be assigned
|
|
340
|
-
def auto_freight_points=(auto_freight_points)
|
|
341
|
-
if auto_freight_points.nil?
|
|
342
|
-
fail ArgumentError, 'auto_freight_points cannot be nil'
|
|
343
|
-
end
|
|
344
|
-
|
|
345
|
-
@auto_freight_points = auto_freight_points
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
# Custom attribute writer method with validation
|
|
349
|
-
# @param [Object] auto_bonus_points Value to be assigned
|
|
350
|
-
def auto_bonus_points=(auto_bonus_points)
|
|
351
|
-
if auto_bonus_points.nil?
|
|
352
|
-
fail ArgumentError, 'auto_bonus_points cannot be nil'
|
|
353
|
-
end
|
|
354
|
-
|
|
355
|
-
@auto_bonus_points = auto_bonus_points
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
# Custom attribute writer method with validation
|
|
359
|
-
# @param [Object] dc_hub_points Value to be assigned
|
|
360
|
-
def dc_hub_points=(dc_hub_points)
|
|
361
|
-
if dc_hub_points.nil?
|
|
362
|
-
fail ArgumentError, 'dc_hub_points cannot be nil'
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
@dc_hub_points = dc_hub_points
|
|
366
|
-
end
|
|
367
|
-
|
|
368
|
-
# Custom attribute writer method with validation
|
|
369
|
-
# @param [Object] dc_storage_points Value to be assigned
|
|
370
|
-
def dc_storage_points=(dc_storage_points)
|
|
371
|
-
if dc_storage_points.nil?
|
|
372
|
-
fail ArgumentError, 'dc_storage_points cannot be nil'
|
|
373
|
-
end
|
|
374
|
-
|
|
375
|
-
@dc_storage_points = dc_storage_points
|
|
376
|
-
end
|
|
377
|
-
|
|
378
|
-
# Custom attribute writer method with validation
|
|
379
|
-
# @param [Object] eg_delivery_points Value to be assigned
|
|
380
|
-
def eg_delivery_points=(eg_delivery_points)
|
|
381
|
-
if eg_delivery_points.nil?
|
|
382
|
-
fail ArgumentError, 'eg_delivery_points cannot be nil'
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
@eg_delivery_points = eg_delivery_points
|
|
386
|
-
end
|
|
387
|
-
|
|
388
|
-
# Custom attribute writer method with validation
|
|
389
|
-
# @param [Object] balanced_points Value to be assigned
|
|
390
|
-
def balanced_points=(balanced_points)
|
|
391
|
-
if balanced_points.nil?
|
|
392
|
-
fail ArgumentError, 'balanced_points cannot be nil'
|
|
393
|
-
end
|
|
394
|
-
|
|
395
|
-
@balanced_points = balanced_points
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
# Custom attribute writer method with validation
|
|
399
|
-
# @param [Object] parking_points Value to be assigned
|
|
400
|
-
def parking_points=(parking_points)
|
|
401
|
-
if parking_points.nil?
|
|
402
|
-
fail ArgumentError, 'parking_points cannot be nil'
|
|
403
|
-
end
|
|
404
|
-
|
|
405
|
-
@parking_points = parking_points
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
# Custom attribute writer method with validation
|
|
409
|
-
# @param [Object] capping_points Value to be assigned
|
|
410
|
-
def capping_points=(capping_points)
|
|
411
|
-
if capping_points.nil?
|
|
412
|
-
fail ArgumentError, 'capping_points cannot be nil'
|
|
413
|
-
end
|
|
414
|
-
|
|
415
|
-
@capping_points = capping_points
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
# Custom attribute writer method with validation
|
|
419
|
-
# @param [Object] auto_points Value to be assigned
|
|
420
|
-
def auto_points=(auto_points)
|
|
421
|
-
if auto_points.nil?
|
|
422
|
-
fail ArgumentError, 'auto_points cannot be nil'
|
|
423
|
-
end
|
|
424
|
-
|
|
425
|
-
@auto_points = auto_points
|
|
426
|
-
end
|
|
427
|
-
|
|
428
|
-
# Custom attribute writer method with validation
|
|
429
|
-
# @param [Object] dc_points Value to be assigned
|
|
430
|
-
def dc_points=(dc_points)
|
|
431
|
-
if dc_points.nil?
|
|
432
|
-
fail ArgumentError, 'dc_points cannot be nil'
|
|
433
|
-
end
|
|
434
|
-
|
|
435
|
-
@dc_points = dc_points
|
|
436
|
-
end
|
|
437
|
-
|
|
438
|
-
# Custom attribute writer method with validation
|
|
439
|
-
# @param [Object] endgame_points Value to be assigned
|
|
440
|
-
def endgame_points=(endgame_points)
|
|
441
|
-
if endgame_points.nil?
|
|
442
|
-
fail ArgumentError, 'endgame_points cannot be nil'
|
|
443
|
-
end
|
|
444
|
-
|
|
445
|
-
@endgame_points = endgame_points
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
# Custom attribute writer method with validation
|
|
449
|
-
# @param [Object] penalty_points Value to be assigned
|
|
450
|
-
def penalty_points=(penalty_points)
|
|
451
|
-
if penalty_points.nil?
|
|
452
|
-
fail ArgumentError, 'penalty_points cannot be nil'
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
@penalty_points = penalty_points
|
|
456
|
-
end
|
|
457
|
-
|
|
458
|
-
# Custom attribute writer method with validation
|
|
459
|
-
# @param [Object] scored_points Value to be assigned
|
|
460
|
-
def scored_points=(scored_points)
|
|
461
|
-
if scored_points.nil?
|
|
462
|
-
fail ArgumentError, 'scored_points cannot be nil'
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
@scored_points = scored_points
|
|
466
|
-
end
|
|
467
|
-
|
|
468
|
-
# Custom attribute writer method with validation
|
|
469
|
-
# @param [Object] total_points Value to be assigned
|
|
470
|
-
def total_points=(total_points)
|
|
471
|
-
if total_points.nil?
|
|
472
|
-
fail ArgumentError, 'total_points cannot be nil'
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
@total_points = total_points
|
|
476
|
-
end
|
|
477
|
-
|
|
478
254
|
# Checks equality by comparing each attribute.
|
|
479
255
|
# @param [Object] Object to be compared
|
|
480
256
|
def ==(o)
|