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
@@ -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,7 +92,10 @@ module FtcApiV3Client
92
92
  # List of attributes with nullable: true
93
93
  def self.openapi_nullable
94
94
  Set.new([
95
- :'place'
95
+ :'type',
96
+ :'name',
97
+ :'description',
98
+ :'sub_name',
96
99
  ])
97
100
  end
98
101
 
@@ -154,14 +157,6 @@ module FtcApiV3Client
154
157
  def list_invalid_properties
155
158
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
156
159
  invalid_properties = Array.new
157
- if @type.nil?
158
- invalid_properties.push('invalid value for "type", type cannot be nil.')
159
- end
160
-
161
- if @name.nil?
162
- invalid_properties.push('invalid value for "name", name cannot be nil.')
163
- end
164
-
165
160
  if @ordered.nil?
166
161
  invalid_properties.push('invalid value for "ordered", ordered cannot be nil.')
167
162
  end
@@ -177,33 +172,11 @@ module FtcApiV3Client
177
172
  # @return true if the model is valid
178
173
  def valid?
179
174
  warn '[DEPRECATED] the `valid?` method is obsolete'
180
- return false if @type.nil?
181
- return false if @name.nil?
182
175
  return false if @ordered.nil?
183
176
  return false if @individual.nil?
184
177
  true
185
178
  end
186
179
 
187
- # Custom attribute writer method with validation
188
- # @param [Object] type Value to be assigned
189
- def type=(type)
190
- if type.nil?
191
- fail ArgumentError, 'type cannot be nil'
192
- end
193
-
194
- @type = type
195
- end
196
-
197
- # Custom attribute writer method with validation
198
- # @param [Object] name Value to be assigned
199
- def name=(name)
200
- if name.nil?
201
- fail ArgumentError, 'name cannot be nil'
202
- end
203
-
204
- @name = name
205
- end
206
-
207
180
  # Custom attribute writer method with validation
208
181
  # @param [Object] ordered Value to be assigned
209
182
  def ordered=(ordered)
@@ -123,10 +123,14 @@ module FtcApiV3Client
123
123
  # List of attributes with nullable: true
124
124
  def self.openapi_nullable
125
125
  Set.new([
126
- :'field',
127
- :'random',
128
- :'series',
129
- :'number',
126
+ :'type',
127
+ :'short_name',
128
+ :'tournament_level',
129
+ :'scheduled_start_time',
130
+ :'start_time',
131
+ :'post_time',
132
+ :'display_name',
133
+ :'commit_time',
130
134
  ])
131
135
  end
132
136
 
@@ -224,20 +228,16 @@ module FtcApiV3Client
224
228
  def list_invalid_properties
225
229
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
226
230
  invalid_properties = Array.new
227
- if @type.nil?
228
- invalid_properties.push('invalid value for "type", type cannot be nil.')
231
+ if @field.nil?
232
+ invalid_properties.push('invalid value for "field", field cannot be nil.')
229
233
  end
230
234
 
231
- if @short_name.nil?
232
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
235
+ if @series.nil?
236
+ invalid_properties.push('invalid value for "series", series cannot be nil.')
233
237
  end
234
238
 
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.')
239
+ if @number.nil?
240
+ invalid_properties.push('invalid value for "number", number cannot be nil.')
241
241
  end
242
242
 
243
243
  if @teams.nil?
@@ -251,52 +251,41 @@ module FtcApiV3Client
251
251
  # @return true if the model is valid
252
252
  def valid?
253
253
  warn '[DEPRECATED] the `valid?` method is obsolete'
254
- return false if @type.nil?
255
- return false if @short_name.nil?
256
- return false if @tournament_level.nil?
257
- return false if @display_name.nil?
254
+ return false if @field.nil?
255
+ return false if @series.nil?
256
+ return false if @number.nil?
258
257
  return false if @teams.nil?
259
258
  true
260
259
  end
261
260
 
262
261
  # Custom attribute writer method with validation
263
- # @param [Object] type Value to be assigned
264
- def type=(type)
265
- if type.nil?
266
- fail ArgumentError, 'type cannot be nil'
267
- end
268
-
269
- @type = type
270
- end
271
-
272
- # Custom attribute writer method with validation
273
- # @param [Object] short_name Value to be assigned
274
- def short_name=(short_name)
275
- if short_name.nil?
276
- fail ArgumentError, 'short_name cannot be nil'
262
+ # @param [Object] field Value to be assigned
263
+ def field=(field)
264
+ if field.nil?
265
+ fail ArgumentError, 'field cannot be nil'
277
266
  end
278
267
 
279
- @short_name = short_name
268
+ @field = field
280
269
  end
281
270
 
282
271
  # Custom attribute writer method with validation
283
- # @param [Object] tournament_level Value to be assigned
284
- def tournament_level=(tournament_level)
285
- if tournament_level.nil?
286
- fail ArgumentError, 'tournament_level cannot be nil'
272
+ # @param [Object] series Value to be assigned
273
+ def series=(series)
274
+ if series.nil?
275
+ fail ArgumentError, 'series cannot be nil'
287
276
  end
288
277
 
289
- @tournament_level = tournament_level
278
+ @series = series
290
279
  end
291
280
 
292
281
  # Custom attribute writer method with validation
293
- # @param [Object] display_name Value to be assigned
294
- def display_name=(display_name)
295
- if display_name.nil?
296
- fail ArgumentError, 'display_name cannot be nil'
282
+ # @param [Object] number Value to be assigned
283
+ def number=(number)
284
+ if number.nil?
285
+ fail ArgumentError, 'number cannot be nil'
297
286
  end
298
287
 
299
- @display_name = display_name
288
+ @number = number
300
289
  end
301
290
 
302
291
  # Custom attribute writer method with validation
@@ -127,10 +127,14 @@ module FtcApiV3Client
127
127
  # List of attributes with nullable: true
128
128
  def self.openapi_nullable
129
129
  Set.new([
130
- :'field',
131
- :'random',
132
- :'series',
133
- :'number',
130
+ :'type',
131
+ :'short_name',
132
+ :'tournament_level',
133
+ :'scheduled_start_time',
134
+ :'start_time',
135
+ :'post_time',
136
+ :'display_name',
137
+ :'commit_time',
134
138
  ])
135
139
  end
136
140
 
@@ -232,20 +236,16 @@ module FtcApiV3Client
232
236
  def list_invalid_properties
233
237
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
234
238
  invalid_properties = Array.new
235
- if @type.nil?
236
- invalid_properties.push('invalid value for "type", type cannot be nil.')
239
+ if @field.nil?
240
+ invalid_properties.push('invalid value for "field", field cannot be nil.')
237
241
  end
238
242
 
239
- if @short_name.nil?
240
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
243
+ if @series.nil?
244
+ invalid_properties.push('invalid value for "series", series cannot be nil.')
241
245
  end
242
246
 
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.')
247
+ if @number.nil?
248
+ invalid_properties.push('invalid value for "number", number cannot be nil.')
249
249
  end
250
250
 
251
251
  if @teams.nil?
@@ -259,52 +259,41 @@ module FtcApiV3Client
259
259
  # @return true if the model is valid
260
260
  def valid?
261
261
  warn '[DEPRECATED] the `valid?` method is obsolete'
262
- return false if @type.nil?
263
- return false if @short_name.nil?
264
- return false if @tournament_level.nil?
265
- return false if @display_name.nil?
262
+ return false if @field.nil?
263
+ return false if @series.nil?
264
+ return false if @number.nil?
266
265
  return false if @teams.nil?
267
266
  true
268
267
  end
269
268
 
270
269
  # Custom attribute writer method with validation
271
- # @param [Object] type Value to be assigned
272
- def type=(type)
273
- if type.nil?
274
- fail ArgumentError, 'type cannot be nil'
275
- end
276
-
277
- @type = type
278
- end
279
-
280
- # Custom attribute writer method with validation
281
- # @param [Object] short_name Value to be assigned
282
- def short_name=(short_name)
283
- if short_name.nil?
284
- fail ArgumentError, 'short_name cannot be nil'
270
+ # @param [Object] field Value to be assigned
271
+ def field=(field)
272
+ if field.nil?
273
+ fail ArgumentError, 'field cannot be nil'
285
274
  end
286
275
 
287
- @short_name = short_name
276
+ @field = field
288
277
  end
289
278
 
290
279
  # Custom attribute writer method with validation
291
- # @param [Object] tournament_level Value to be assigned
292
- def tournament_level=(tournament_level)
293
- if tournament_level.nil?
294
- fail ArgumentError, 'tournament_level cannot be nil'
280
+ # @param [Object] series Value to be assigned
281
+ def series=(series)
282
+ if series.nil?
283
+ fail ArgumentError, 'series cannot be nil'
295
284
  end
296
285
 
297
- @tournament_level = tournament_level
286
+ @series = series
298
287
  end
299
288
 
300
289
  # Custom attribute writer method with validation
301
- # @param [Object] display_name Value to be assigned
302
- def display_name=(display_name)
303
- if display_name.nil?
304
- fail ArgumentError, 'display_name cannot be nil'
290
+ # @param [Object] number Value to be assigned
291
+ def number=(number)
292
+ if number.nil?
293
+ fail ArgumentError, 'number cannot be nil'
305
294
  end
306
295
 
307
- @display_name = display_name
296
+ @number = number
308
297
  end
309
298
 
310
299
  # Custom attribute writer method with validation
@@ -44,7 +44,6 @@ module FtcApiV3Client
44
44
  # List of attributes with nullable: true
45
45
  def self.openapi_nullable
46
46
  Set.new([
47
- :'score'
48
47
  ])
49
48
  end
50
49
 
@@ -76,6 +75,10 @@ module FtcApiV3Client
76
75
  def list_invalid_properties
77
76
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
78
77
  invalid_properties = Array.new
78
+ if @score.nil?
79
+ invalid_properties.push('invalid value for "score", score cannot be nil.')
80
+ end
81
+
79
82
  invalid_properties
80
83
  end
81
84
 
@@ -83,9 +86,20 @@ module FtcApiV3Client
83
86
  # @return true if the model is valid
84
87
  def valid?
85
88
  warn '[DEPRECATED] the `valid?` method is obsolete'
89
+ return false if @score.nil?
86
90
  true
87
91
  end
88
92
 
93
+ # Custom attribute writer method with validation
94
+ # @param [Object] score Value to be assigned
95
+ def score=(score)
96
+ if score.nil?
97
+ fail ArgumentError, 'score cannot be nil'
98
+ end
99
+
100
+ @score = score
101
+ end
102
+
89
103
  # Checks equality by comparing each attribute.
90
104
  # @param [Object] Object to be compared
91
105
  def ==(o)
@@ -116,17 +116,6 @@ module FtcApiV3Client
116
116
  # List of attributes with nullable: true
117
117
  def self.openapi_nullable
118
118
  Set.new([
119
- :'auto_delivered',
120
- :'auto_returned',
121
- :'auto_placed',
122
- :'driver_controlled_delivered',
123
- :'driver_controlled_returned',
124
- :'driver_controlled_placed',
125
- :'tallest_skyscraper',
126
- :'robot1_capstone_level',
127
- :'robot2_capstone_level',
128
- :'minor_penalties',
129
- :'major_penalties'
130
119
  ])
131
120
  end
132
121
 
@@ -280,6 +269,18 @@ module FtcApiV3Client
280
269
  invalid_properties.push('invalid value for "auto_stones", auto_stones cannot be nil.')
281
270
  end
282
271
 
272
+ if @auto_delivered.nil?
273
+ invalid_properties.push('invalid value for "auto_delivered", auto_delivered cannot be nil.')
274
+ end
275
+
276
+ if @auto_returned.nil?
277
+ invalid_properties.push('invalid value for "auto_returned", auto_returned cannot be nil.')
278
+ end
279
+
280
+ if @auto_placed.nil?
281
+ invalid_properties.push('invalid value for "auto_placed", auto_placed cannot be nil.')
282
+ end
283
+
283
284
  if @first_returned_is_skystone.nil?
284
285
  invalid_properties.push('invalid value for "first_returned_is_skystone", first_returned_is_skystone cannot be nil.')
285
286
  end
@@ -288,6 +289,22 @@ module FtcApiV3Client
288
289
  invalid_properties.push('invalid value for "foundation_repositioned", foundation_repositioned cannot be nil.')
289
290
  end
290
291
 
292
+ if @driver_controlled_delivered.nil?
293
+ invalid_properties.push('invalid value for "driver_controlled_delivered", driver_controlled_delivered cannot be nil.')
294
+ end
295
+
296
+ if @driver_controlled_returned.nil?
297
+ invalid_properties.push('invalid value for "driver_controlled_returned", driver_controlled_returned cannot be nil.')
298
+ end
299
+
300
+ if @driver_controlled_placed.nil?
301
+ invalid_properties.push('invalid value for "driver_controlled_placed", driver_controlled_placed cannot be nil.')
302
+ end
303
+
304
+ if @tallest_skyscraper.nil?
305
+ invalid_properties.push('invalid value for "tallest_skyscraper", tallest_skyscraper cannot be nil.')
306
+ end
307
+
291
308
  if @robot1_parked.nil?
292
309
  invalid_properties.push('invalid value for "robot1_parked", robot1_parked cannot be nil.')
293
310
  end
@@ -296,10 +313,26 @@ module FtcApiV3Client
296
313
  invalid_properties.push('invalid value for "robot2_parked", robot2_parked cannot be nil.')
297
314
  end
298
315
 
316
+ if @robot1_capstone_level.nil?
317
+ invalid_properties.push('invalid value for "robot1_capstone_level", robot1_capstone_level cannot be nil.')
318
+ end
319
+
320
+ if @robot2_capstone_level.nil?
321
+ invalid_properties.push('invalid value for "robot2_capstone_level", robot2_capstone_level cannot be nil.')
322
+ end
323
+
299
324
  if @foundation_moved.nil?
300
325
  invalid_properties.push('invalid value for "foundation_moved", foundation_moved cannot be nil.')
301
326
  end
302
327
 
328
+ if @minor_penalties.nil?
329
+ invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
330
+ end
331
+
332
+ if @major_penalties.nil?
333
+ invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
334
+ end
335
+
303
336
  invalid_properties
304
337
  end
305
338
 
@@ -310,11 +343,22 @@ module FtcApiV3Client
310
343
  return false if @robot1_navigated.nil?
311
344
  return false if @robot2_navigated.nil?
312
345
  return false if @auto_stones.nil?
346
+ return false if @auto_delivered.nil?
347
+ return false if @auto_returned.nil?
348
+ return false if @auto_placed.nil?
313
349
  return false if @first_returned_is_skystone.nil?
314
350
  return false if @foundation_repositioned.nil?
351
+ return false if @driver_controlled_delivered.nil?
352
+ return false if @driver_controlled_returned.nil?
353
+ return false if @driver_controlled_placed.nil?
354
+ return false if @tallest_skyscraper.nil?
315
355
  return false if @robot1_parked.nil?
316
356
  return false if @robot2_parked.nil?
357
+ return false if @robot1_capstone_level.nil?
358
+ return false if @robot2_capstone_level.nil?
317
359
  return false if @foundation_moved.nil?
360
+ return false if @minor_penalties.nil?
361
+ return false if @major_penalties.nil?
318
362
  true
319
363
  end
320
364
 
@@ -348,6 +392,36 @@ module FtcApiV3Client
348
392
  @auto_stones = auto_stones
349
393
  end
350
394
 
395
+ # Custom attribute writer method with validation
396
+ # @param [Object] auto_delivered Value to be assigned
397
+ def auto_delivered=(auto_delivered)
398
+ if auto_delivered.nil?
399
+ fail ArgumentError, 'auto_delivered cannot be nil'
400
+ end
401
+
402
+ @auto_delivered = auto_delivered
403
+ end
404
+
405
+ # Custom attribute writer method with validation
406
+ # @param [Object] auto_returned Value to be assigned
407
+ def auto_returned=(auto_returned)
408
+ if auto_returned.nil?
409
+ fail ArgumentError, 'auto_returned cannot be nil'
410
+ end
411
+
412
+ @auto_returned = auto_returned
413
+ end
414
+
415
+ # Custom attribute writer method with validation
416
+ # @param [Object] auto_placed Value to be assigned
417
+ def auto_placed=(auto_placed)
418
+ if auto_placed.nil?
419
+ fail ArgumentError, 'auto_placed cannot be nil'
420
+ end
421
+
422
+ @auto_placed = auto_placed
423
+ end
424
+
351
425
  # Custom attribute writer method with validation
352
426
  # @param [Object] first_returned_is_skystone Value to be assigned
353
427
  def first_returned_is_skystone=(first_returned_is_skystone)
@@ -368,6 +442,46 @@ module FtcApiV3Client
368
442
  @foundation_repositioned = foundation_repositioned
369
443
  end
370
444
 
445
+ # Custom attribute writer method with validation
446
+ # @param [Object] driver_controlled_delivered Value to be assigned
447
+ def driver_controlled_delivered=(driver_controlled_delivered)
448
+ if driver_controlled_delivered.nil?
449
+ fail ArgumentError, 'driver_controlled_delivered cannot be nil'
450
+ end
451
+
452
+ @driver_controlled_delivered = driver_controlled_delivered
453
+ end
454
+
455
+ # Custom attribute writer method with validation
456
+ # @param [Object] driver_controlled_returned Value to be assigned
457
+ def driver_controlled_returned=(driver_controlled_returned)
458
+ if driver_controlled_returned.nil?
459
+ fail ArgumentError, 'driver_controlled_returned cannot be nil'
460
+ end
461
+
462
+ @driver_controlled_returned = driver_controlled_returned
463
+ end
464
+
465
+ # Custom attribute writer method with validation
466
+ # @param [Object] driver_controlled_placed Value to be assigned
467
+ def driver_controlled_placed=(driver_controlled_placed)
468
+ if driver_controlled_placed.nil?
469
+ fail ArgumentError, 'driver_controlled_placed cannot be nil'
470
+ end
471
+
472
+ @driver_controlled_placed = driver_controlled_placed
473
+ end
474
+
475
+ # Custom attribute writer method with validation
476
+ # @param [Object] tallest_skyscraper Value to be assigned
477
+ def tallest_skyscraper=(tallest_skyscraper)
478
+ if tallest_skyscraper.nil?
479
+ fail ArgumentError, 'tallest_skyscraper cannot be nil'
480
+ end
481
+
482
+ @tallest_skyscraper = tallest_skyscraper
483
+ end
484
+
371
485
  # Custom attribute writer method with validation
372
486
  # @param [Object] robot1_parked Value to be assigned
373
487
  def robot1_parked=(robot1_parked)
@@ -388,6 +502,26 @@ module FtcApiV3Client
388
502
  @robot2_parked = robot2_parked
389
503
  end
390
504
 
505
+ # Custom attribute writer method with validation
506
+ # @param [Object] robot1_capstone_level Value to be assigned
507
+ def robot1_capstone_level=(robot1_capstone_level)
508
+ if robot1_capstone_level.nil?
509
+ fail ArgumentError, 'robot1_capstone_level cannot be nil'
510
+ end
511
+
512
+ @robot1_capstone_level = robot1_capstone_level
513
+ end
514
+
515
+ # Custom attribute writer method with validation
516
+ # @param [Object] robot2_capstone_level Value to be assigned
517
+ def robot2_capstone_level=(robot2_capstone_level)
518
+ if robot2_capstone_level.nil?
519
+ fail ArgumentError, 'robot2_capstone_level cannot be nil'
520
+ end
521
+
522
+ @robot2_capstone_level = robot2_capstone_level
523
+ end
524
+
391
525
  # Custom attribute writer method with validation
392
526
  # @param [Object] foundation_moved Value to be assigned
393
527
  def foundation_moved=(foundation_moved)
@@ -398,6 +532,26 @@ module FtcApiV3Client
398
532
  @foundation_moved = foundation_moved
399
533
  end
400
534
 
535
+ # Custom attribute writer method with validation
536
+ # @param [Object] minor_penalties Value to be assigned
537
+ def minor_penalties=(minor_penalties)
538
+ if minor_penalties.nil?
539
+ fail ArgumentError, 'minor_penalties cannot be nil'
540
+ end
541
+
542
+ @minor_penalties = minor_penalties
543
+ end
544
+
545
+ # Custom attribute writer method with validation
546
+ # @param [Object] major_penalties Value to be assigned
547
+ def major_penalties=(major_penalties)
548
+ if major_penalties.nil?
549
+ fail ArgumentError, 'major_penalties cannot be nil'
550
+ end
551
+
552
+ @major_penalties = major_penalties
553
+ end
554
+
401
555
  # Checks equality by comparing each attribute.
402
556
  # @param [Object] Object to be compared
403
557
  def ==(o)