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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3602915958dd77e637d20a75343b35a906d5d04e1b8b04b72be143f2ef02120
|
|
4
|
+
data.tar.gz: 62f116cc88650f20075722710e104f7cf1940418575c61f1464951d6fcdffe84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 023f7820bc6a71836b24a1db67654e3244c867522ae307dc6d58456d74767d541a727f5bd2d48ca9951de3cc3539d5fcca036a6273616d7434db21b16e1ac809
|
|
7
|
+
data.tar.gz: 3ce56713da47447a2c422c977927e6034a478b6baaff98a4f8698abafbe847eb1b835a28de16dd198f8df6bd0b1a05490e7d2178ff8c8e29a67eb42add18039e
|
data/README.md
CHANGED
|
@@ -29,7 +29,7 @@ To request additional data, please submit a feature request here: https://github
|
|
|
29
29
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
30
30
|
|
|
31
31
|
- API version: v3
|
|
32
|
-
- Package version: 0.1.
|
|
32
|
+
- Package version: 0.1.1
|
|
33
33
|
- Generator version: 7.20.0
|
|
34
34
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
35
35
|
|
|
@@ -46,16 +46,16 @@ gem build ftc_api_v3_client.gemspec
|
|
|
46
46
|
Then either install the gem locally:
|
|
47
47
|
|
|
48
48
|
```shell
|
|
49
|
-
gem install ./ftc_api_v3_client-0.1.
|
|
49
|
+
gem install ./ftc_api_v3_client-0.1.1.gem
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
(for development, run `gem install --dev ./ftc_api_v3_client-0.1.
|
|
52
|
+
(for development, run `gem install --dev ./ftc_api_v3_client-0.1.1.gem` to install the development dependencies)
|
|
53
53
|
|
|
54
54
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
55
55
|
|
|
56
56
|
Finally add this to the Gemfile:
|
|
57
57
|
|
|
58
|
-
gem 'ftc_api_v3_client', '~> 0.1.
|
|
58
|
+
gem 'ftc_api_v3_client', '~> 0.1.1'
|
|
59
59
|
|
|
60
60
|
### Install from Git
|
|
61
61
|
|
data/config.json
CHANGED
|
Binary file
|
|
@@ -407,10 +407,6 @@ module FtcApiV3Client
|
|
|
407
407
|
if @api_client.config.client_side_validation && series.nil?
|
|
408
408
|
fail ArgumentError, "Missing the required parameter 'series' when calling EventsApi.get_event_match"
|
|
409
409
|
end
|
|
410
|
-
# verify the required parameter 'number' is set
|
|
411
|
-
if @api_client.config.client_side_validation && number.nil?
|
|
412
|
-
fail ArgumentError, "Missing the required parameter 'number' when calling EventsApi.get_event_match"
|
|
413
|
-
end
|
|
414
410
|
# resource path
|
|
415
411
|
local_var_path = '/api/v3/seasons/{cmpYear}/events/{eventCode}/matches/{tournamentLevel}/{series}/{number}'.sub('{' + 'cmpYear' + '}', CGI.escape(cmp_year.to_s)).sub('{' + 'eventCode' + '}', CGI.escape(event_code.to_s)).sub('{' + 'tournamentLevel' + '}', CGI.escape(tournament_level.to_s)).sub('{' + 'series' + '}', CGI.escape(series.to_s)).sub('{' + 'number' + '}', CGI.escape(number.to_s))
|
|
416
412
|
|
|
@@ -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
|
+
:'advancing_team_count',
|
|
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 @advancing_team_count.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "advancing_team_count", advancing_team_count cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
100
|
if @slots.nil?
|
|
104
101
|
invalid_properties.push('invalid value for "slots", slots cannot be nil.')
|
|
105
102
|
end
|
|
@@ -111,21 +108,10 @@ module FtcApiV3Client
|
|
|
111
108
|
# @return true if the model is valid
|
|
112
109
|
def valid?
|
|
113
110
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
114
|
-
return false if @advancing_team_count.nil?
|
|
115
111
|
return false if @slots.nil?
|
|
116
112
|
true
|
|
117
113
|
end
|
|
118
114
|
|
|
119
|
-
# Custom attribute writer method with validation
|
|
120
|
-
# @param [Object] advancing_team_count Value to be assigned
|
|
121
|
-
def advancing_team_count=(advancing_team_count)
|
|
122
|
-
if advancing_team_count.nil?
|
|
123
|
-
fail ArgumentError, 'advancing_team_count cannot be nil'
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
@advancing_team_count = advancing_team_count
|
|
127
|
-
end
|
|
128
|
-
|
|
129
115
|
# Custom attribute writer method with validation
|
|
130
116
|
# @param [Object] slots Value to be assigned
|
|
131
117
|
def slots=(slots)
|
|
@@ -123,6 +123,10 @@ 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
130
|
])
|
|
127
131
|
end
|
|
128
132
|
|
|
@@ -228,10 +232,6 @@ module FtcApiV3Client
|
|
|
228
232
|
invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
|
|
229
233
|
end
|
|
230
234
|
|
|
231
|
-
if @field.nil?
|
|
232
|
-
invalid_properties.push('invalid value for "field", field cannot be nil.')
|
|
233
|
-
end
|
|
234
|
-
|
|
235
235
|
if @tournament_level.nil?
|
|
236
236
|
invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
|
|
237
237
|
end
|
|
@@ -240,14 +240,6 @@ module FtcApiV3Client
|
|
|
240
240
|
invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
-
if @series.nil?
|
|
244
|
-
invalid_properties.push('invalid value for "series", series cannot be nil.')
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
if @number.nil?
|
|
248
|
-
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
|
249
|
-
end
|
|
250
|
-
|
|
251
243
|
if @teams.nil?
|
|
252
244
|
invalid_properties.push('invalid value for "teams", teams cannot be nil.')
|
|
253
245
|
end
|
|
@@ -261,11 +253,8 @@ module FtcApiV3Client
|
|
|
261
253
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
262
254
|
return false if @type.nil?
|
|
263
255
|
return false if @short_name.nil?
|
|
264
|
-
return false if @field.nil?
|
|
265
256
|
return false if @tournament_level.nil?
|
|
266
257
|
return false if @display_name.nil?
|
|
267
|
-
return false if @series.nil?
|
|
268
|
-
return false if @number.nil?
|
|
269
258
|
return false if @teams.nil?
|
|
270
259
|
true
|
|
271
260
|
end
|
|
@@ -290,16 +279,6 @@ module FtcApiV3Client
|
|
|
290
279
|
@short_name = short_name
|
|
291
280
|
end
|
|
292
281
|
|
|
293
|
-
# Custom attribute writer method with validation
|
|
294
|
-
# @param [Object] field Value to be assigned
|
|
295
|
-
def field=(field)
|
|
296
|
-
if field.nil?
|
|
297
|
-
fail ArgumentError, 'field cannot be nil'
|
|
298
|
-
end
|
|
299
|
-
|
|
300
|
-
@field = field
|
|
301
|
-
end
|
|
302
|
-
|
|
303
282
|
# Custom attribute writer method with validation
|
|
304
283
|
# @param [Object] tournament_level Value to be assigned
|
|
305
284
|
def tournament_level=(tournament_level)
|
|
@@ -320,26 +299,6 @@ module FtcApiV3Client
|
|
|
320
299
|
@display_name = display_name
|
|
321
300
|
end
|
|
322
301
|
|
|
323
|
-
# Custom attribute writer method with validation
|
|
324
|
-
# @param [Object] series Value to be assigned
|
|
325
|
-
def series=(series)
|
|
326
|
-
if series.nil?
|
|
327
|
-
fail ArgumentError, 'series cannot be nil'
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
@series = series
|
|
331
|
-
end
|
|
332
|
-
|
|
333
|
-
# Custom attribute writer method with validation
|
|
334
|
-
# @param [Object] number Value to be assigned
|
|
335
|
-
def number=(number)
|
|
336
|
-
if number.nil?
|
|
337
|
-
fail ArgumentError, 'number cannot be nil'
|
|
338
|
-
end
|
|
339
|
-
|
|
340
|
-
@number = number
|
|
341
|
-
end
|
|
342
|
-
|
|
343
302
|
# Custom attribute writer method with validation
|
|
344
303
|
# @param [Object] teams Value to be assigned
|
|
345
304
|
def teams=(teams)
|
|
@@ -127,6 +127,10 @@ 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
134
|
])
|
|
131
135
|
end
|
|
132
136
|
|
|
@@ -236,10 +240,6 @@ module FtcApiV3Client
|
|
|
236
240
|
invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
|
|
237
241
|
end
|
|
238
242
|
|
|
239
|
-
if @field.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "field", field cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
243
|
if @tournament_level.nil?
|
|
244
244
|
invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
|
|
245
245
|
end
|
|
@@ -248,14 +248,6 @@ module FtcApiV3Client
|
|
|
248
248
|
invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
-
if @series.nil?
|
|
252
|
-
invalid_properties.push('invalid value for "series", series cannot be nil.')
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
if @number.nil?
|
|
256
|
-
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
|
257
|
-
end
|
|
258
|
-
|
|
259
251
|
if @teams.nil?
|
|
260
252
|
invalid_properties.push('invalid value for "teams", teams cannot be nil.')
|
|
261
253
|
end
|
|
@@ -269,11 +261,8 @@ module FtcApiV3Client
|
|
|
269
261
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
270
262
|
return false if @type.nil?
|
|
271
263
|
return false if @short_name.nil?
|
|
272
|
-
return false if @field.nil?
|
|
273
264
|
return false if @tournament_level.nil?
|
|
274
265
|
return false if @display_name.nil?
|
|
275
|
-
return false if @series.nil?
|
|
276
|
-
return false if @number.nil?
|
|
277
266
|
return false if @teams.nil?
|
|
278
267
|
true
|
|
279
268
|
end
|
|
@@ -298,16 +287,6 @@ module FtcApiV3Client
|
|
|
298
287
|
@short_name = short_name
|
|
299
288
|
end
|
|
300
289
|
|
|
301
|
-
# Custom attribute writer method with validation
|
|
302
|
-
# @param [Object] field Value to be assigned
|
|
303
|
-
def field=(field)
|
|
304
|
-
if field.nil?
|
|
305
|
-
fail ArgumentError, 'field cannot be nil'
|
|
306
|
-
end
|
|
307
|
-
|
|
308
|
-
@field = field
|
|
309
|
-
end
|
|
310
|
-
|
|
311
290
|
# Custom attribute writer method with validation
|
|
312
291
|
# @param [Object] tournament_level Value to be assigned
|
|
313
292
|
def tournament_level=(tournament_level)
|
|
@@ -328,26 +307,6 @@ module FtcApiV3Client
|
|
|
328
307
|
@display_name = display_name
|
|
329
308
|
end
|
|
330
309
|
|
|
331
|
-
# Custom attribute writer method with validation
|
|
332
|
-
# @param [Object] series Value to be assigned
|
|
333
|
-
def series=(series)
|
|
334
|
-
if series.nil?
|
|
335
|
-
fail ArgumentError, 'series cannot be nil'
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
@series = series
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
# Custom attribute writer method with validation
|
|
342
|
-
# @param [Object] number Value to be assigned
|
|
343
|
-
def number=(number)
|
|
344
|
-
if number.nil?
|
|
345
|
-
fail ArgumentError, 'number cannot be nil'
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
@number = number
|
|
349
|
-
end
|
|
350
|
-
|
|
351
310
|
# Custom attribute writer method with validation
|
|
352
311
|
# @param [Object] teams Value to be assigned
|
|
353
312
|
def teams=(teams)
|
|
@@ -74,6 +74,8 @@ module FtcApiV3Client
|
|
|
74
74
|
# List of attributes with nullable: true
|
|
75
75
|
def self.openapi_nullable
|
|
76
76
|
Set.new([
|
|
77
|
+
:'red_score',
|
|
78
|
+
:'blue_score'
|
|
77
79
|
])
|
|
78
80
|
end
|
|
79
81
|
|
|
@@ -115,14 +117,6 @@ module FtcApiV3Client
|
|
|
115
117
|
def list_invalid_properties
|
|
116
118
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
117
119
|
invalid_properties = Array.new
|
|
118
|
-
if @red_score.nil?
|
|
119
|
-
invalid_properties.push('invalid value for "red_score", red_score cannot be nil.')
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if @blue_score.nil?
|
|
123
|
-
invalid_properties.push('invalid value for "blue_score", blue_score cannot be nil.')
|
|
124
|
-
end
|
|
125
|
-
|
|
126
120
|
invalid_properties
|
|
127
121
|
end
|
|
128
122
|
|
|
@@ -130,31 +124,9 @@ module FtcApiV3Client
|
|
|
130
124
|
# @return true if the model is valid
|
|
131
125
|
def valid?
|
|
132
126
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
133
|
-
return false if @red_score.nil?
|
|
134
|
-
return false if @blue_score.nil?
|
|
135
127
|
true
|
|
136
128
|
end
|
|
137
129
|
|
|
138
|
-
# Custom attribute writer method with validation
|
|
139
|
-
# @param [Object] red_score Value to be assigned
|
|
140
|
-
def red_score=(red_score)
|
|
141
|
-
if red_score.nil?
|
|
142
|
-
fail ArgumentError, 'red_score cannot be nil'
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
@red_score = red_score
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
# Custom attribute writer method with validation
|
|
149
|
-
# @param [Object] blue_score Value to be assigned
|
|
150
|
-
def blue_score=(blue_score)
|
|
151
|
-
if blue_score.nil?
|
|
152
|
-
fail ArgumentError, 'blue_score cannot be nil'
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
@blue_score = blue_score
|
|
156
|
-
end
|
|
157
|
-
|
|
158
130
|
# Checks equality by comparing each attribute.
|
|
159
131
|
# @param [Object] Object to be compared
|
|
160
132
|
def ==(o)
|
|
@@ -49,6 +49,7 @@ module FtcApiV3Client
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
+
:'alliance_seed'
|
|
52
53
|
])
|
|
53
54
|
end
|
|
54
55
|
|
|
@@ -90,10 +91,6 @@ module FtcApiV3Client
|
|
|
90
91
|
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
91
92
|
end
|
|
92
93
|
|
|
93
|
-
if @alliance_seed.nil?
|
|
94
|
-
invalid_properties.push('invalid value for "alliance_seed", alliance_seed cannot be nil.')
|
|
95
|
-
end
|
|
96
|
-
|
|
97
94
|
invalid_properties
|
|
98
95
|
end
|
|
99
96
|
|
|
@@ -102,7 +99,6 @@ module FtcApiV3Client
|
|
|
102
99
|
def valid?
|
|
103
100
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
104
101
|
return false if @type.nil?
|
|
105
|
-
return false if @alliance_seed.nil?
|
|
106
102
|
true
|
|
107
103
|
end
|
|
108
104
|
|
|
@@ -116,16 +112,6 @@ module FtcApiV3Client
|
|
|
116
112
|
@type = type
|
|
117
113
|
end
|
|
118
114
|
|
|
119
|
-
# Custom attribute writer method with validation
|
|
120
|
-
# @param [Object] alliance_seed Value to be assigned
|
|
121
|
-
def alliance_seed=(alliance_seed)
|
|
122
|
-
if alliance_seed.nil?
|
|
123
|
-
fail ArgumentError, 'alliance_seed cannot be nil'
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
@alliance_seed = alliance_seed
|
|
127
|
-
end
|
|
128
|
-
|
|
129
115
|
# Checks equality by comparing each attribute.
|
|
130
116
|
# @param [Object] Object to be compared
|
|
131
117
|
def ==(o)
|
|
@@ -142,6 +142,16 @@ module FtcApiV3Client
|
|
|
142
142
|
# List of attributes with nullable: true
|
|
143
143
|
def self.openapi_nullable
|
|
144
144
|
Set.new([
|
|
145
|
+
:'auto_backdrop',
|
|
146
|
+
:'auto_backstage',
|
|
147
|
+
:'dc_backdrop',
|
|
148
|
+
:'dc_backstage',
|
|
149
|
+
:'mosaics',
|
|
150
|
+
:'max_set_line',
|
|
151
|
+
:'drone1',
|
|
152
|
+
:'drone2',
|
|
153
|
+
:'minor_penalties',
|
|
154
|
+
:'major_penalties'
|
|
145
155
|
])
|
|
146
156
|
end
|
|
147
157
|
|
|
@@ -319,30 +329,6 @@ module FtcApiV3Client
|
|
|
319
329
|
invalid_properties.push('invalid value for "target_backdrop_pixel2", target_backdrop_pixel2 cannot be nil.')
|
|
320
330
|
end
|
|
321
331
|
|
|
322
|
-
if @auto_backdrop.nil?
|
|
323
|
-
invalid_properties.push('invalid value for "auto_backdrop", auto_backdrop cannot be nil.')
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
if @auto_backstage.nil?
|
|
327
|
-
invalid_properties.push('invalid value for "auto_backstage", auto_backstage cannot be nil.')
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
if @dc_backdrop.nil?
|
|
331
|
-
invalid_properties.push('invalid value for "dc_backdrop", dc_backdrop cannot be nil.')
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
if @dc_backstage.nil?
|
|
335
|
-
invalid_properties.push('invalid value for "dc_backstage", dc_backstage cannot be nil.')
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
if @mosaics.nil?
|
|
339
|
-
invalid_properties.push('invalid value for "mosaics", mosaics cannot be nil.')
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
if @max_set_line.nil?
|
|
343
|
-
invalid_properties.push('invalid value for "max_set_line", max_set_line cannot be nil.')
|
|
344
|
-
end
|
|
345
|
-
|
|
346
332
|
if @eg_robot1.nil?
|
|
347
333
|
invalid_properties.push('invalid value for "eg_robot1", eg_robot1 cannot be nil.')
|
|
348
334
|
end
|
|
@@ -351,22 +337,6 @@ module FtcApiV3Client
|
|
|
351
337
|
invalid_properties.push('invalid value for "eg_robot2", eg_robot2 cannot be nil.')
|
|
352
338
|
end
|
|
353
339
|
|
|
354
|
-
if @drone1.nil?
|
|
355
|
-
invalid_properties.push('invalid value for "drone1", drone1 cannot be nil.')
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
if @drone2.nil?
|
|
359
|
-
invalid_properties.push('invalid value for "drone2", drone2 cannot be nil.')
|
|
360
|
-
end
|
|
361
|
-
|
|
362
|
-
if @minor_penalties.nil?
|
|
363
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
if @major_penalties.nil?
|
|
367
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
368
|
-
end
|
|
369
|
-
|
|
370
340
|
invalid_properties
|
|
371
341
|
end
|
|
372
342
|
|
|
@@ -382,18 +352,8 @@ module FtcApiV3Client
|
|
|
382
352
|
return false if @spike_mark_pixel2.nil?
|
|
383
353
|
return false if @target_backdrop_pixel1.nil?
|
|
384
354
|
return false if @target_backdrop_pixel2.nil?
|
|
385
|
-
return false if @auto_backdrop.nil?
|
|
386
|
-
return false if @auto_backstage.nil?
|
|
387
|
-
return false if @dc_backdrop.nil?
|
|
388
|
-
return false if @dc_backstage.nil?
|
|
389
|
-
return false if @mosaics.nil?
|
|
390
|
-
return false if @max_set_line.nil?
|
|
391
355
|
return false if @eg_robot1.nil?
|
|
392
356
|
return false if @eg_robot2.nil?
|
|
393
|
-
return false if @drone1.nil?
|
|
394
|
-
return false if @drone2.nil?
|
|
395
|
-
return false if @minor_penalties.nil?
|
|
396
|
-
return false if @major_penalties.nil?
|
|
397
357
|
true
|
|
398
358
|
end
|
|
399
359
|
|
|
@@ -477,66 +437,6 @@ module FtcApiV3Client
|
|
|
477
437
|
@target_backdrop_pixel2 = target_backdrop_pixel2
|
|
478
438
|
end
|
|
479
439
|
|
|
480
|
-
# Custom attribute writer method with validation
|
|
481
|
-
# @param [Object] auto_backdrop Value to be assigned
|
|
482
|
-
def auto_backdrop=(auto_backdrop)
|
|
483
|
-
if auto_backdrop.nil?
|
|
484
|
-
fail ArgumentError, 'auto_backdrop cannot be nil'
|
|
485
|
-
end
|
|
486
|
-
|
|
487
|
-
@auto_backdrop = auto_backdrop
|
|
488
|
-
end
|
|
489
|
-
|
|
490
|
-
# Custom attribute writer method with validation
|
|
491
|
-
# @param [Object] auto_backstage Value to be assigned
|
|
492
|
-
def auto_backstage=(auto_backstage)
|
|
493
|
-
if auto_backstage.nil?
|
|
494
|
-
fail ArgumentError, 'auto_backstage cannot be nil'
|
|
495
|
-
end
|
|
496
|
-
|
|
497
|
-
@auto_backstage = auto_backstage
|
|
498
|
-
end
|
|
499
|
-
|
|
500
|
-
# Custom attribute writer method with validation
|
|
501
|
-
# @param [Object] dc_backdrop Value to be assigned
|
|
502
|
-
def dc_backdrop=(dc_backdrop)
|
|
503
|
-
if dc_backdrop.nil?
|
|
504
|
-
fail ArgumentError, 'dc_backdrop cannot be nil'
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
@dc_backdrop = dc_backdrop
|
|
508
|
-
end
|
|
509
|
-
|
|
510
|
-
# Custom attribute writer method with validation
|
|
511
|
-
# @param [Object] dc_backstage Value to be assigned
|
|
512
|
-
def dc_backstage=(dc_backstage)
|
|
513
|
-
if dc_backstage.nil?
|
|
514
|
-
fail ArgumentError, 'dc_backstage cannot be nil'
|
|
515
|
-
end
|
|
516
|
-
|
|
517
|
-
@dc_backstage = dc_backstage
|
|
518
|
-
end
|
|
519
|
-
|
|
520
|
-
# Custom attribute writer method with validation
|
|
521
|
-
# @param [Object] mosaics Value to be assigned
|
|
522
|
-
def mosaics=(mosaics)
|
|
523
|
-
if mosaics.nil?
|
|
524
|
-
fail ArgumentError, 'mosaics cannot be nil'
|
|
525
|
-
end
|
|
526
|
-
|
|
527
|
-
@mosaics = mosaics
|
|
528
|
-
end
|
|
529
|
-
|
|
530
|
-
# Custom attribute writer method with validation
|
|
531
|
-
# @param [Object] max_set_line Value to be assigned
|
|
532
|
-
def max_set_line=(max_set_line)
|
|
533
|
-
if max_set_line.nil?
|
|
534
|
-
fail ArgumentError, 'max_set_line cannot be nil'
|
|
535
|
-
end
|
|
536
|
-
|
|
537
|
-
@max_set_line = max_set_line
|
|
538
|
-
end
|
|
539
|
-
|
|
540
440
|
# Custom attribute writer method with validation
|
|
541
441
|
# @param [Object] eg_robot1 Value to be assigned
|
|
542
442
|
def eg_robot1=(eg_robot1)
|
|
@@ -557,46 +457,6 @@ module FtcApiV3Client
|
|
|
557
457
|
@eg_robot2 = eg_robot2
|
|
558
458
|
end
|
|
559
459
|
|
|
560
|
-
# Custom attribute writer method with validation
|
|
561
|
-
# @param [Object] drone1 Value to be assigned
|
|
562
|
-
def drone1=(drone1)
|
|
563
|
-
if drone1.nil?
|
|
564
|
-
fail ArgumentError, 'drone1 cannot be nil'
|
|
565
|
-
end
|
|
566
|
-
|
|
567
|
-
@drone1 = drone1
|
|
568
|
-
end
|
|
569
|
-
|
|
570
|
-
# Custom attribute writer method with validation
|
|
571
|
-
# @param [Object] drone2 Value to be assigned
|
|
572
|
-
def drone2=(drone2)
|
|
573
|
-
if drone2.nil?
|
|
574
|
-
fail ArgumentError, 'drone2 cannot be nil'
|
|
575
|
-
end
|
|
576
|
-
|
|
577
|
-
@drone2 = drone2
|
|
578
|
-
end
|
|
579
|
-
|
|
580
|
-
# Custom attribute writer method with validation
|
|
581
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
582
|
-
def minor_penalties=(minor_penalties)
|
|
583
|
-
if minor_penalties.nil?
|
|
584
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
585
|
-
end
|
|
586
|
-
|
|
587
|
-
@minor_penalties = minor_penalties
|
|
588
|
-
end
|
|
589
|
-
|
|
590
|
-
# Custom attribute writer method with validation
|
|
591
|
-
# @param [Object] major_penalties Value to be assigned
|
|
592
|
-
def major_penalties=(major_penalties)
|
|
593
|
-
if major_penalties.nil?
|
|
594
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
@major_penalties = major_penalties
|
|
598
|
-
end
|
|
599
|
-
|
|
600
460
|
# Checks equality by comparing each attribute.
|
|
601
461
|
# @param [Object] Object to be compared
|
|
602
462
|
def ==(o)
|