ftc_api_v3_client 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/ftc_api_v3_client-0.1.1.gem +0 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +0 -104
- data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
- data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
- data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
- data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -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_center_stage_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +3 -30
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +17 -120
- data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
- data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
- data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +4 -60
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +4 -60
- data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +6 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +2 -0
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +2 -30
- 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 +2 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +1 -0
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
- 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 +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
- data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
- data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -30
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +8 -60
- data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team.rb +9 -60
- data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +7 -60
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +2 -30
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
- data/lib/ftc_api_v3_client/version.rb +1 -1
- data/update.sh +1 -1
- metadata +3 -1
|
@@ -126,6 +126,10 @@ module FtcApiV3Client
|
|
|
126
126
|
# List of attributes with nullable: true
|
|
127
127
|
def self.openapi_nullable
|
|
128
128
|
Set.new([
|
|
129
|
+
:'robot1_auto',
|
|
130
|
+
:'robot2_auto',
|
|
131
|
+
:'robot1_teleop',
|
|
132
|
+
:'robot2_teleop',
|
|
129
133
|
])
|
|
130
134
|
end
|
|
131
135
|
|
|
@@ -247,14 +251,6 @@ module FtcApiV3Client
|
|
|
247
251
|
def list_invalid_properties
|
|
248
252
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
249
253
|
invalid_properties = Array.new
|
|
250
|
-
if @robot1_auto.nil?
|
|
251
|
-
invalid_properties.push('invalid value for "robot1_auto", robot1_auto cannot be nil.')
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
if @robot2_auto.nil?
|
|
255
|
-
invalid_properties.push('invalid value for "robot2_auto", robot2_auto cannot be nil.')
|
|
256
|
-
end
|
|
257
|
-
|
|
258
254
|
if @auto_sample_net.nil?
|
|
259
255
|
invalid_properties.push('invalid value for "auto_sample_net", auto_sample_net cannot be nil.')
|
|
260
256
|
end
|
|
@@ -295,14 +291,6 @@ module FtcApiV3Client
|
|
|
295
291
|
invalid_properties.push('invalid value for "teleop_specimen_high", teleop_specimen_high cannot be nil.')
|
|
296
292
|
end
|
|
297
293
|
|
|
298
|
-
if @robot1_teleop.nil?
|
|
299
|
-
invalid_properties.push('invalid value for "robot1_teleop", robot1_teleop cannot be nil.')
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
if @robot2_teleop.nil?
|
|
303
|
-
invalid_properties.push('invalid value for "robot2_teleop", robot2_teleop cannot be nil.')
|
|
304
|
-
end
|
|
305
|
-
|
|
306
294
|
if @minor_fouls.nil?
|
|
307
295
|
invalid_properties.push('invalid value for "minor_fouls", minor_fouls cannot be nil.')
|
|
308
296
|
end
|
|
@@ -318,8 +306,6 @@ module FtcApiV3Client
|
|
|
318
306
|
# @return true if the model is valid
|
|
319
307
|
def valid?
|
|
320
308
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
321
|
-
return false if @robot1_auto.nil?
|
|
322
|
-
return false if @robot2_auto.nil?
|
|
323
309
|
return false if @auto_sample_net.nil?
|
|
324
310
|
return false if @auto_sample_low.nil?
|
|
325
311
|
return false if @auto_sample_high.nil?
|
|
@@ -330,33 +316,11 @@ module FtcApiV3Client
|
|
|
330
316
|
return false if @teleop_sample_high.nil?
|
|
331
317
|
return false if @teleop_specimen_low.nil?
|
|
332
318
|
return false if @teleop_specimen_high.nil?
|
|
333
|
-
return false if @robot1_teleop.nil?
|
|
334
|
-
return false if @robot2_teleop.nil?
|
|
335
319
|
return false if @minor_fouls.nil?
|
|
336
320
|
return false if @major_fouls.nil?
|
|
337
321
|
true
|
|
338
322
|
end
|
|
339
323
|
|
|
340
|
-
# Custom attribute writer method with validation
|
|
341
|
-
# @param [Object] robot1_auto Value to be assigned
|
|
342
|
-
def robot1_auto=(robot1_auto)
|
|
343
|
-
if robot1_auto.nil?
|
|
344
|
-
fail ArgumentError, 'robot1_auto cannot be nil'
|
|
345
|
-
end
|
|
346
|
-
|
|
347
|
-
@robot1_auto = robot1_auto
|
|
348
|
-
end
|
|
349
|
-
|
|
350
|
-
# Custom attribute writer method with validation
|
|
351
|
-
# @param [Object] robot2_auto Value to be assigned
|
|
352
|
-
def robot2_auto=(robot2_auto)
|
|
353
|
-
if robot2_auto.nil?
|
|
354
|
-
fail ArgumentError, 'robot2_auto cannot be nil'
|
|
355
|
-
end
|
|
356
|
-
|
|
357
|
-
@robot2_auto = robot2_auto
|
|
358
|
-
end
|
|
359
|
-
|
|
360
324
|
# Custom attribute writer method with validation
|
|
361
325
|
# @param [Object] auto_sample_net Value to be assigned
|
|
362
326
|
def auto_sample_net=(auto_sample_net)
|
|
@@ -457,26 +421,6 @@ module FtcApiV3Client
|
|
|
457
421
|
@teleop_specimen_high = teleop_specimen_high
|
|
458
422
|
end
|
|
459
423
|
|
|
460
|
-
# Custom attribute writer method with validation
|
|
461
|
-
# @param [Object] robot1_teleop Value to be assigned
|
|
462
|
-
def robot1_teleop=(robot1_teleop)
|
|
463
|
-
if robot1_teleop.nil?
|
|
464
|
-
fail ArgumentError, 'robot1_teleop cannot be nil'
|
|
465
|
-
end
|
|
466
|
-
|
|
467
|
-
@robot1_teleop = robot1_teleop
|
|
468
|
-
end
|
|
469
|
-
|
|
470
|
-
# Custom attribute writer method with validation
|
|
471
|
-
# @param [Object] robot2_teleop Value to be assigned
|
|
472
|
-
def robot2_teleop=(robot2_teleop)
|
|
473
|
-
if robot2_teleop.nil?
|
|
474
|
-
fail ArgumentError, 'robot2_teleop cannot be nil'
|
|
475
|
-
end
|
|
476
|
-
|
|
477
|
-
@robot2_teleop = robot2_teleop
|
|
478
|
-
end
|
|
479
|
-
|
|
480
424
|
# Custom attribute writer method with validation
|
|
481
425
|
# @param [Object] minor_fouls Value to be assigned
|
|
482
426
|
def minor_fouls=(minor_fouls)
|
|
@@ -60,6 +60,10 @@ module FtcApiV3Client
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
+
:'code',
|
|
64
|
+
:'name',
|
|
65
|
+
:'location',
|
|
66
|
+
:'parent_code'
|
|
63
67
|
])
|
|
64
68
|
end
|
|
65
69
|
|
|
@@ -109,14 +113,6 @@ module FtcApiV3Client
|
|
|
109
113
|
def list_invalid_properties
|
|
110
114
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
111
115
|
invalid_properties = Array.new
|
|
112
|
-
if @code.nil?
|
|
113
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if @name.nil?
|
|
117
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
118
|
-
end
|
|
119
|
-
|
|
120
116
|
invalid_properties
|
|
121
117
|
end
|
|
122
118
|
|
|
@@ -124,31 +120,9 @@ module FtcApiV3Client
|
|
|
124
120
|
# @return true if the model is valid
|
|
125
121
|
def valid?
|
|
126
122
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
127
|
-
return false if @code.nil?
|
|
128
|
-
return false if @name.nil?
|
|
129
123
|
true
|
|
130
124
|
end
|
|
131
125
|
|
|
132
|
-
# Custom attribute writer method with validation
|
|
133
|
-
# @param [Object] code Value to be assigned
|
|
134
|
-
def code=(code)
|
|
135
|
-
if code.nil?
|
|
136
|
-
fail ArgumentError, 'code cannot be nil'
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
@code = code
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
# Custom attribute writer method with validation
|
|
143
|
-
# @param [Object] name Value to be assigned
|
|
144
|
-
def name=(name)
|
|
145
|
-
if name.nil?
|
|
146
|
-
fail ArgumentError, 'name cannot be nil'
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
@name = name
|
|
150
|
-
end
|
|
151
|
-
|
|
152
126
|
# Checks equality by comparing each attribute.
|
|
153
127
|
# @param [Object] Object to be compared
|
|
154
128
|
def ==(o)
|
|
@@ -64,6 +64,10 @@ module FtcApiV3Client
|
|
|
64
64
|
# List of attributes with nullable: true
|
|
65
65
|
def self.openapi_nullable
|
|
66
66
|
Set.new([
|
|
67
|
+
:'code',
|
|
68
|
+
:'name',
|
|
69
|
+
:'location',
|
|
70
|
+
:'parent_code',
|
|
67
71
|
])
|
|
68
72
|
end
|
|
69
73
|
|
|
@@ -121,14 +125,6 @@ module FtcApiV3Client
|
|
|
121
125
|
def list_invalid_properties
|
|
122
126
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
123
127
|
invalid_properties = Array.new
|
|
124
|
-
if @code.nil?
|
|
125
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
if @name.nil?
|
|
129
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
130
|
-
end
|
|
131
|
-
|
|
132
128
|
if @children.nil?
|
|
133
129
|
invalid_properties.push('invalid value for "children", children cannot be nil.')
|
|
134
130
|
end
|
|
@@ -140,32 +136,10 @@ module FtcApiV3Client
|
|
|
140
136
|
# @return true if the model is valid
|
|
141
137
|
def valid?
|
|
142
138
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
143
|
-
return false if @code.nil?
|
|
144
|
-
return false if @name.nil?
|
|
145
139
|
return false if @children.nil?
|
|
146
140
|
true
|
|
147
141
|
end
|
|
148
142
|
|
|
149
|
-
# Custom attribute writer method with validation
|
|
150
|
-
# @param [Object] code Value to be assigned
|
|
151
|
-
def code=(code)
|
|
152
|
-
if code.nil?
|
|
153
|
-
fail ArgumentError, 'code cannot be nil'
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
@code = code
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
# Custom attribute writer method with validation
|
|
160
|
-
# @param [Object] name Value to be assigned
|
|
161
|
-
def name=(name)
|
|
162
|
-
if name.nil?
|
|
163
|
-
fail ArgumentError, 'name cannot be nil'
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
@name = name
|
|
167
|
-
end
|
|
168
|
-
|
|
169
143
|
# Custom attribute writer method with validation
|
|
170
144
|
# @param [Object] children Value to be assigned
|
|
171
145
|
def children=(children)
|
|
@@ -73,6 +73,8 @@ module FtcApiV3Client
|
|
|
73
73
|
# List of attributes with nullable: true
|
|
74
74
|
def self.openapi_nullable
|
|
75
75
|
Set.new([
|
|
76
|
+
:'name',
|
|
77
|
+
:'short_name',
|
|
76
78
|
])
|
|
77
79
|
end
|
|
78
80
|
|
|
@@ -150,14 +152,6 @@ module FtcApiV3Client
|
|
|
150
152
|
invalid_properties.push('invalid value for "series_id", series_id cannot be nil.')
|
|
151
153
|
end
|
|
152
154
|
|
|
153
|
-
if @name.nil?
|
|
154
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
if @short_name.nil?
|
|
158
|
-
invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
|
|
159
|
-
end
|
|
160
|
-
|
|
161
155
|
if @matches_to_win.nil?
|
|
162
156
|
invalid_properties.push('invalid value for "matches_to_win", matches_to_win cannot be nil.')
|
|
163
157
|
end
|
|
@@ -186,8 +180,6 @@ module FtcApiV3Client
|
|
|
186
180
|
def valid?
|
|
187
181
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
188
182
|
return false if @series_id.nil?
|
|
189
|
-
return false if @name.nil?
|
|
190
|
-
return false if @short_name.nil?
|
|
191
183
|
return false if @matches_to_win.nil?
|
|
192
184
|
return false if @round.nil?
|
|
193
185
|
return false if @red.nil?
|
|
@@ -206,26 +198,6 @@ module FtcApiV3Client
|
|
|
206
198
|
@series_id = series_id
|
|
207
199
|
end
|
|
208
200
|
|
|
209
|
-
# Custom attribute writer method with validation
|
|
210
|
-
# @param [Object] name Value to be assigned
|
|
211
|
-
def name=(name)
|
|
212
|
-
if name.nil?
|
|
213
|
-
fail ArgumentError, 'name cannot be nil'
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
@name = name
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
# Custom attribute writer method with validation
|
|
220
|
-
# @param [Object] short_name Value to be assigned
|
|
221
|
-
def short_name=(short_name)
|
|
222
|
-
if short_name.nil?
|
|
223
|
-
fail ArgumentError, 'short_name cannot be nil'
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
@short_name = short_name
|
|
227
|
-
end
|
|
228
|
-
|
|
229
201
|
# Custom attribute writer method with validation
|
|
230
202
|
# @param [Object] matches_to_win Value to be assigned
|
|
231
203
|
def matches_to_win=(matches_to_win)
|
|
@@ -75,6 +75,7 @@ module FtcApiV3Client
|
|
|
75
75
|
# List of attributes with nullable: true
|
|
76
76
|
def self.openapi_nullable
|
|
77
77
|
Set.new([
|
|
78
|
+
:'type',
|
|
78
79
|
])
|
|
79
80
|
end
|
|
80
81
|
|
|
@@ -120,10 +121,6 @@ module FtcApiV3Client
|
|
|
120
121
|
def list_invalid_properties
|
|
121
122
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
122
123
|
invalid_properties = Array.new
|
|
123
|
-
if @type.nil?
|
|
124
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
125
|
-
end
|
|
126
|
-
|
|
127
124
|
if @alliance_count.nil?
|
|
128
125
|
invalid_properties.push('invalid value for "alliance_count", alliance_count cannot be nil.')
|
|
129
126
|
end
|
|
@@ -139,22 +136,11 @@ module FtcApiV3Client
|
|
|
139
136
|
# @return true if the model is valid
|
|
140
137
|
def valid?
|
|
141
138
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
142
|
-
return false if @type.nil?
|
|
143
139
|
return false if @alliance_count.nil?
|
|
144
140
|
return false if @series.nil?
|
|
145
141
|
true
|
|
146
142
|
end
|
|
147
143
|
|
|
148
|
-
# Custom attribute writer method with validation
|
|
149
|
-
# @param [Object] type Value to be assigned
|
|
150
|
-
def type=(type)
|
|
151
|
-
if type.nil?
|
|
152
|
-
fail ArgumentError, 'type cannot be nil'
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
@type = type
|
|
156
|
-
end
|
|
157
|
-
|
|
158
144
|
# Custom attribute writer method with validation
|
|
159
145
|
# @param [Object] alliance_count Value to be assigned
|
|
160
146
|
def alliance_count=(alliance_count)
|
|
@@ -53,6 +53,7 @@ module FtcApiV3Client
|
|
|
53
53
|
# List of attributes with nullable: true
|
|
54
54
|
def self.openapi_nullable
|
|
55
55
|
Set.new([
|
|
56
|
+
:'type',
|
|
56
57
|
])
|
|
57
58
|
end
|
|
58
59
|
|
|
@@ -96,10 +97,6 @@ module FtcApiV3Client
|
|
|
96
97
|
def list_invalid_properties
|
|
97
98
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
99
|
invalid_properties = Array.new
|
|
99
|
-
if @type.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
100
|
if @achievements.nil?
|
|
104
101
|
invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
|
|
105
102
|
end
|
|
@@ -115,22 +112,11 @@ module FtcApiV3Client
|
|
|
115
112
|
# @return true if the model is valid
|
|
116
113
|
def valid?
|
|
117
114
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
118
|
-
return false if @type.nil?
|
|
119
115
|
return false if @achievements.nil?
|
|
120
116
|
return false if @points.nil?
|
|
121
117
|
true
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object] type Value to be assigned
|
|
126
|
-
def type=(type)
|
|
127
|
-
if type.nil?
|
|
128
|
-
fail ArgumentError, 'type cannot be nil'
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@type = type
|
|
132
|
-
end
|
|
133
|
-
|
|
134
120
|
# Custom attribute writer method with validation
|
|
135
121
|
# @param [Object] achievements Value to be assigned
|
|
136
122
|
def achievements=(achievements)
|
|
@@ -53,6 +53,7 @@ module FtcApiV3Client
|
|
|
53
53
|
# List of attributes with nullable: true
|
|
54
54
|
def self.openapi_nullable
|
|
55
55
|
Set.new([
|
|
56
|
+
:'type',
|
|
56
57
|
])
|
|
57
58
|
end
|
|
58
59
|
|
|
@@ -96,10 +97,6 @@ module FtcApiV3Client
|
|
|
96
97
|
def list_invalid_properties
|
|
97
98
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
99
|
invalid_properties = Array.new
|
|
99
|
-
if @type.nil?
|
|
100
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
101
|
-
end
|
|
102
|
-
|
|
103
100
|
if @achievements.nil?
|
|
104
101
|
invalid_properties.push('invalid value for "achievements", achievements cannot be nil.')
|
|
105
102
|
end
|
|
@@ -115,22 +112,11 @@ module FtcApiV3Client
|
|
|
115
112
|
# @return true if the model is valid
|
|
116
113
|
def valid?
|
|
117
114
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
118
|
-
return false if @type.nil?
|
|
119
115
|
return false if @achievements.nil?
|
|
120
116
|
return false if @points.nil?
|
|
121
117
|
true
|
|
122
118
|
end
|
|
123
119
|
|
|
124
|
-
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object] type Value to be assigned
|
|
126
|
-
def type=(type)
|
|
127
|
-
if type.nil?
|
|
128
|
-
fail ArgumentError, 'type cannot be nil'
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@type = type
|
|
132
|
-
end
|
|
133
|
-
|
|
134
120
|
# Custom attribute writer method with validation
|
|
135
121
|
# @param [Object] achievements Value to be assigned
|
|
136
122
|
def achievements=(achievements)
|
|
@@ -48,6 +48,8 @@ module FtcApiV3Client
|
|
|
48
48
|
# List of attributes with nullable: true
|
|
49
49
|
def self.openapi_nullable
|
|
50
50
|
Set.new([
|
|
51
|
+
:'code',
|
|
52
|
+
:'name'
|
|
51
53
|
])
|
|
52
54
|
end
|
|
53
55
|
|
|
@@ -85,14 +87,6 @@ module FtcApiV3Client
|
|
|
85
87
|
def list_invalid_properties
|
|
86
88
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
89
|
invalid_properties = Array.new
|
|
88
|
-
if @code.nil?
|
|
89
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
if @name.nil?
|
|
93
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
94
|
-
end
|
|
95
|
-
|
|
96
90
|
invalid_properties
|
|
97
91
|
end
|
|
98
92
|
|
|
@@ -100,31 +94,9 @@ module FtcApiV3Client
|
|
|
100
94
|
# @return true if the model is valid
|
|
101
95
|
def valid?
|
|
102
96
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
103
|
-
return false if @code.nil?
|
|
104
|
-
return false if @name.nil?
|
|
105
97
|
true
|
|
106
98
|
end
|
|
107
99
|
|
|
108
|
-
# Custom attribute writer method with validation
|
|
109
|
-
# @param [Object] code Value to be assigned
|
|
110
|
-
def code=(code)
|
|
111
|
-
if code.nil?
|
|
112
|
-
fail ArgumentError, 'code cannot be nil'
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
@code = code
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
# Custom attribute writer method with validation
|
|
119
|
-
# @param [Object] name Value to be assigned
|
|
120
|
-
def name=(name)
|
|
121
|
-
if name.nil?
|
|
122
|
-
fail ArgumentError, 'name cannot be nil'
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
@name = name
|
|
126
|
-
end
|
|
127
|
-
|
|
128
100
|
# Checks equality by comparing each attribute.
|
|
129
101
|
# @param [Object] Object to be compared
|
|
130
102
|
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
|
+
:'type',
|
|
52
53
|
])
|
|
53
54
|
end
|
|
54
55
|
|
|
@@ -86,10 +87,6 @@ module FtcApiV3Client
|
|
|
86
87
|
def list_invalid_properties
|
|
87
88
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
88
89
|
invalid_properties = Array.new
|
|
89
|
-
if @type.nil?
|
|
90
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
91
|
-
end
|
|
92
|
-
|
|
93
90
|
if @rank.nil?
|
|
94
91
|
invalid_properties.push('invalid value for "rank", rank cannot be nil.')
|
|
95
92
|
end
|
|
@@ -101,21 +98,10 @@ module FtcApiV3Client
|
|
|
101
98
|
# @return true if the model is valid
|
|
102
99
|
def valid?
|
|
103
100
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
104
|
-
return false if @type.nil?
|
|
105
101
|
return false if @rank.nil?
|
|
106
102
|
true
|
|
107
103
|
end
|
|
108
104
|
|
|
109
|
-
# Custom attribute writer method with validation
|
|
110
|
-
# @param [Object] type Value to be assigned
|
|
111
|
-
def type=(type)
|
|
112
|
-
if type.nil?
|
|
113
|
-
fail ArgumentError, 'type cannot be nil'
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
@type = type
|
|
117
|
-
end
|
|
118
|
-
|
|
119
105
|
# Custom attribute writer method with validation
|
|
120
106
|
# @param [Object] rank Value to be assigned
|
|
121
107
|
def rank=(rank)
|
|
@@ -56,6 +56,9 @@ module FtcApiV3Client
|
|
|
56
56
|
# List of attributes with nullable: true
|
|
57
57
|
def self.openapi_nullable
|
|
58
58
|
Set.new([
|
|
59
|
+
:'year_string',
|
|
60
|
+
:'game_name',
|
|
61
|
+
:'kickoff_time'
|
|
59
62
|
])
|
|
60
63
|
end
|
|
61
64
|
|
|
@@ -105,22 +108,10 @@ module FtcApiV3Client
|
|
|
105
108
|
def list_invalid_properties
|
|
106
109
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
107
110
|
invalid_properties = Array.new
|
|
108
|
-
if @year_string.nil?
|
|
109
|
-
invalid_properties.push('invalid value for "year_string", year_string cannot be nil.')
|
|
110
|
-
end
|
|
111
|
-
|
|
112
111
|
if @cmp_year.nil?
|
|
113
112
|
invalid_properties.push('invalid value for "cmp_year", cmp_year cannot be nil.')
|
|
114
113
|
end
|
|
115
114
|
|
|
116
|
-
if @game_name.nil?
|
|
117
|
-
invalid_properties.push('invalid value for "game_name", game_name cannot be nil.')
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if @kickoff_time.nil?
|
|
121
|
-
invalid_properties.push('invalid value for "kickoff_time", kickoff_time cannot be nil.')
|
|
122
|
-
end
|
|
123
|
-
|
|
124
115
|
invalid_properties
|
|
125
116
|
end
|
|
126
117
|
|
|
@@ -128,23 +119,10 @@ module FtcApiV3Client
|
|
|
128
119
|
# @return true if the model is valid
|
|
129
120
|
def valid?
|
|
130
121
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
131
|
-
return false if @year_string.nil?
|
|
132
122
|
return false if @cmp_year.nil?
|
|
133
|
-
return false if @game_name.nil?
|
|
134
|
-
return false if @kickoff_time.nil?
|
|
135
123
|
true
|
|
136
124
|
end
|
|
137
125
|
|
|
138
|
-
# Custom attribute writer method with validation
|
|
139
|
-
# @param [Object] year_string Value to be assigned
|
|
140
|
-
def year_string=(year_string)
|
|
141
|
-
if year_string.nil?
|
|
142
|
-
fail ArgumentError, 'year_string cannot be nil'
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
@year_string = year_string
|
|
146
|
-
end
|
|
147
|
-
|
|
148
126
|
# Custom attribute writer method with validation
|
|
149
127
|
# @param [Object] cmp_year Value to be assigned
|
|
150
128
|
def cmp_year=(cmp_year)
|
|
@@ -155,26 +133,6 @@ module FtcApiV3Client
|
|
|
155
133
|
@cmp_year = cmp_year
|
|
156
134
|
end
|
|
157
135
|
|
|
158
|
-
# Custom attribute writer method with validation
|
|
159
|
-
# @param [Object] game_name Value to be assigned
|
|
160
|
-
def game_name=(game_name)
|
|
161
|
-
if game_name.nil?
|
|
162
|
-
fail ArgumentError, 'game_name cannot be nil'
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
@game_name = game_name
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
# Custom attribute writer method with validation
|
|
169
|
-
# @param [Object] kickoff_time Value to be assigned
|
|
170
|
-
def kickoff_time=(kickoff_time)
|
|
171
|
-
if kickoff_time.nil?
|
|
172
|
-
fail ArgumentError, 'kickoff_time cannot be nil'
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
@kickoff_time = kickoff_time
|
|
176
|
-
end
|
|
177
|
-
|
|
178
136
|
# Checks equality by comparing each attribute.
|
|
179
137
|
# @param [Object] Object to be compared
|
|
180
138
|
def ==(o)
|
|
@@ -75,6 +75,8 @@ module FtcApiV3Client
|
|
|
75
75
|
# List of attributes with nullable: true
|
|
76
76
|
def self.openapi_nullable
|
|
77
77
|
Set.new([
|
|
78
|
+
:'type',
|
|
79
|
+
:'state'
|
|
78
80
|
])
|
|
79
81
|
end
|
|
80
82
|
|
|
@@ -118,18 +120,10 @@ module FtcApiV3Client
|
|
|
118
120
|
def list_invalid_properties
|
|
119
121
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
120
122
|
invalid_properties = Array.new
|
|
121
|
-
if @type.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
123
|
if @series_id.nil?
|
|
126
124
|
invalid_properties.push('invalid value for "series_id", series_id cannot be nil.')
|
|
127
125
|
end
|
|
128
126
|
|
|
129
|
-
if @state.nil?
|
|
130
|
-
invalid_properties.push('invalid value for "state", state cannot be nil.')
|
|
131
|
-
end
|
|
132
|
-
|
|
133
127
|
invalid_properties
|
|
134
128
|
end
|
|
135
129
|
|
|
@@ -137,22 +131,10 @@ module FtcApiV3Client
|
|
|
137
131
|
# @return true if the model is valid
|
|
138
132
|
def valid?
|
|
139
133
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
140
|
-
return false if @type.nil?
|
|
141
134
|
return false if @series_id.nil?
|
|
142
|
-
return false if @state.nil?
|
|
143
135
|
true
|
|
144
136
|
end
|
|
145
137
|
|
|
146
|
-
# Custom attribute writer method with validation
|
|
147
|
-
# @param [Object] type Value to be assigned
|
|
148
|
-
def type=(type)
|
|
149
|
-
if type.nil?
|
|
150
|
-
fail ArgumentError, 'type cannot be nil'
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
@type = type
|
|
154
|
-
end
|
|
155
|
-
|
|
156
138
|
# Custom attribute writer method with validation
|
|
157
139
|
# @param [Object] series_id Value to be assigned
|
|
158
140
|
def series_id=(series_id)
|
|
@@ -163,16 +145,6 @@ module FtcApiV3Client
|
|
|
163
145
|
@series_id = series_id
|
|
164
146
|
end
|
|
165
147
|
|
|
166
|
-
# Custom attribute writer method with validation
|
|
167
|
-
# @param [Object] state Value to be assigned
|
|
168
|
-
def state=(state)
|
|
169
|
-
if state.nil?
|
|
170
|
-
fail ArgumentError, 'state cannot be nil'
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
@state = state
|
|
174
|
-
end
|
|
175
|
-
|
|
176
148
|
# Checks equality by comparing each attribute.
|
|
177
149
|
# @param [Object] Object to be compared
|
|
178
150
|
def ==(o)
|