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
|
@@ -48,6 +48,7 @@ module FtcApiV3Client
|
|
|
48
48
|
# List of attributes with nullable: true
|
|
49
49
|
def self.openapi_nullable
|
|
50
50
|
Set.new([
|
|
51
|
+
:'seed'
|
|
51
52
|
])
|
|
52
53
|
end
|
|
53
54
|
|
|
@@ -91,10 +92,6 @@ module FtcApiV3Client
|
|
|
91
92
|
invalid_properties.push('invalid value for "teams", teams cannot be nil.')
|
|
92
93
|
end
|
|
93
94
|
|
|
94
|
-
if @seed.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "seed", seed cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
95
|
invalid_properties
|
|
99
96
|
end
|
|
100
97
|
|
|
@@ -103,7 +100,6 @@ module FtcApiV3Client
|
|
|
103
100
|
def valid?
|
|
104
101
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
102
|
return false if @teams.nil?
|
|
106
|
-
return false if @seed.nil?
|
|
107
103
|
true
|
|
108
104
|
end
|
|
109
105
|
|
|
@@ -117,16 +113,6 @@ module FtcApiV3Client
|
|
|
117
113
|
@teams = teams
|
|
118
114
|
end
|
|
119
115
|
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] seed Value to be assigned
|
|
122
|
-
def seed=(seed)
|
|
123
|
-
if seed.nil?
|
|
124
|
-
fail ArgumentError, 'seed cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@seed = seed
|
|
128
|
-
end
|
|
129
|
-
|
|
130
116
|
# Checks equality by comparing each attribute.
|
|
131
117
|
# @param [Object] Object to be compared
|
|
132
118
|
def ==(o)
|
|
@@ -72,6 +72,12 @@ module FtcApiV3Client
|
|
|
72
72
|
# List of attributes with nullable: true
|
|
73
73
|
def self.openapi_nullable
|
|
74
74
|
Set.new([
|
|
75
|
+
:'rank',
|
|
76
|
+
:'wins',
|
|
77
|
+
:'losses',
|
|
78
|
+
:'ties',
|
|
79
|
+
:'matches_counted',
|
|
80
|
+
:'matches_played'
|
|
75
81
|
])
|
|
76
82
|
end
|
|
77
83
|
|
|
@@ -147,10 +153,6 @@ module FtcApiV3Client
|
|
|
147
153
|
def list_invalid_properties
|
|
148
154
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
149
155
|
invalid_properties = Array.new
|
|
150
|
-
if @rank.nil?
|
|
151
|
-
invalid_properties.push('invalid value for "rank", rank cannot be nil.')
|
|
152
|
-
end
|
|
153
|
-
|
|
154
156
|
if @alliance.nil?
|
|
155
157
|
invalid_properties.push('invalid value for "alliance", alliance cannot be nil.')
|
|
156
158
|
end
|
|
@@ -159,26 +161,6 @@ module FtcApiV3Client
|
|
|
159
161
|
invalid_properties.push('invalid value for "sort_orders", sort_orders cannot be nil.')
|
|
160
162
|
end
|
|
161
163
|
|
|
162
|
-
if @wins.nil?
|
|
163
|
-
invalid_properties.push('invalid value for "wins", wins cannot be nil.')
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
if @losses.nil?
|
|
167
|
-
invalid_properties.push('invalid value for "losses", losses cannot be nil.')
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
if @ties.nil?
|
|
171
|
-
invalid_properties.push('invalid value for "ties", ties cannot be nil.')
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
if @matches_counted.nil?
|
|
175
|
-
invalid_properties.push('invalid value for "matches_counted", matches_counted cannot be nil.')
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
if @matches_played.nil?
|
|
179
|
-
invalid_properties.push('invalid value for "matches_played", matches_played cannot be nil.')
|
|
180
|
-
end
|
|
181
|
-
|
|
182
164
|
invalid_properties
|
|
183
165
|
end
|
|
184
166
|
|
|
@@ -186,27 +168,11 @@ module FtcApiV3Client
|
|
|
186
168
|
# @return true if the model is valid
|
|
187
169
|
def valid?
|
|
188
170
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
189
|
-
return false if @rank.nil?
|
|
190
171
|
return false if @alliance.nil?
|
|
191
172
|
return false if @sort_orders.nil?
|
|
192
|
-
return false if @wins.nil?
|
|
193
|
-
return false if @losses.nil?
|
|
194
|
-
return false if @ties.nil?
|
|
195
|
-
return false if @matches_counted.nil?
|
|
196
|
-
return false if @matches_played.nil?
|
|
197
173
|
true
|
|
198
174
|
end
|
|
199
175
|
|
|
200
|
-
# Custom attribute writer method with validation
|
|
201
|
-
# @param [Object] rank Value to be assigned
|
|
202
|
-
def rank=(rank)
|
|
203
|
-
if rank.nil?
|
|
204
|
-
fail ArgumentError, 'rank cannot be nil'
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
@rank = rank
|
|
208
|
-
end
|
|
209
|
-
|
|
210
176
|
# Custom attribute writer method with validation
|
|
211
177
|
# @param [Object] alliance Value to be assigned
|
|
212
178
|
def alliance=(alliance)
|
|
@@ -227,56 +193,6 @@ module FtcApiV3Client
|
|
|
227
193
|
@sort_orders = sort_orders
|
|
228
194
|
end
|
|
229
195
|
|
|
230
|
-
# Custom attribute writer method with validation
|
|
231
|
-
# @param [Object] wins Value to be assigned
|
|
232
|
-
def wins=(wins)
|
|
233
|
-
if wins.nil?
|
|
234
|
-
fail ArgumentError, 'wins cannot be nil'
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
@wins = wins
|
|
238
|
-
end
|
|
239
|
-
|
|
240
|
-
# Custom attribute writer method with validation
|
|
241
|
-
# @param [Object] losses Value to be assigned
|
|
242
|
-
def losses=(losses)
|
|
243
|
-
if losses.nil?
|
|
244
|
-
fail ArgumentError, 'losses cannot be nil'
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
@losses = losses
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
# Custom attribute writer method with validation
|
|
251
|
-
# @param [Object] ties Value to be assigned
|
|
252
|
-
def ties=(ties)
|
|
253
|
-
if ties.nil?
|
|
254
|
-
fail ArgumentError, 'ties cannot be nil'
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
@ties = ties
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
# Custom attribute writer method with validation
|
|
261
|
-
# @param [Object] matches_counted Value to be assigned
|
|
262
|
-
def matches_counted=(matches_counted)
|
|
263
|
-
if matches_counted.nil?
|
|
264
|
-
fail ArgumentError, 'matches_counted cannot be nil'
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
@matches_counted = matches_counted
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
# Custom attribute writer method with validation
|
|
271
|
-
# @param [Object] matches_played Value to be assigned
|
|
272
|
-
def matches_played=(matches_played)
|
|
273
|
-
if matches_played.nil?
|
|
274
|
-
fail ArgumentError, 'matches_played cannot be nil'
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
@matches_played = matches_played
|
|
278
|
-
end
|
|
279
|
-
|
|
280
196
|
# Checks equality by comparing each attribute.
|
|
281
197
|
# @param [Object] Object to be compared
|
|
282
198
|
def ==(o)
|
|
@@ -73,6 +73,9 @@ module FtcApiV3Client
|
|
|
73
73
|
# List of attributes with nullable: true
|
|
74
74
|
def self.openapi_nullable
|
|
75
75
|
Set.new([
|
|
76
|
+
:'series_id',
|
|
77
|
+
:'matches_to_win',
|
|
78
|
+
:'round',
|
|
76
79
|
])
|
|
77
80
|
end
|
|
78
81
|
|
|
@@ -146,10 +149,6 @@ module FtcApiV3Client
|
|
|
146
149
|
def list_invalid_properties
|
|
147
150
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
148
151
|
invalid_properties = Array.new
|
|
149
|
-
if @series_id.nil?
|
|
150
|
-
invalid_properties.push('invalid value for "series_id", series_id cannot be nil.')
|
|
151
|
-
end
|
|
152
|
-
|
|
153
152
|
if @name.nil?
|
|
154
153
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
155
154
|
end
|
|
@@ -158,14 +157,6 @@ module FtcApiV3Client
|
|
|
158
157
|
invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
|
|
159
158
|
end
|
|
160
159
|
|
|
161
|
-
if @matches_to_win.nil?
|
|
162
|
-
invalid_properties.push('invalid value for "matches_to_win", matches_to_win cannot be nil.')
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
if @round.nil?
|
|
166
|
-
invalid_properties.push('invalid value for "round", round cannot be nil.')
|
|
167
|
-
end
|
|
168
|
-
|
|
169
160
|
if @red.nil?
|
|
170
161
|
invalid_properties.push('invalid value for "red", red cannot be nil.')
|
|
171
162
|
end
|
|
@@ -185,27 +176,14 @@ module FtcApiV3Client
|
|
|
185
176
|
# @return true if the model is valid
|
|
186
177
|
def valid?
|
|
187
178
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
188
|
-
return false if @series_id.nil?
|
|
189
179
|
return false if @name.nil?
|
|
190
180
|
return false if @short_name.nil?
|
|
191
|
-
return false if @matches_to_win.nil?
|
|
192
|
-
return false if @round.nil?
|
|
193
181
|
return false if @red.nil?
|
|
194
182
|
return false if @blue.nil?
|
|
195
183
|
return false if @finals.nil?
|
|
196
184
|
true
|
|
197
185
|
end
|
|
198
186
|
|
|
199
|
-
# Custom attribute writer method with validation
|
|
200
|
-
# @param [Object] series_id Value to be assigned
|
|
201
|
-
def series_id=(series_id)
|
|
202
|
-
if series_id.nil?
|
|
203
|
-
fail ArgumentError, 'series_id cannot be nil'
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
@series_id = series_id
|
|
207
|
-
end
|
|
208
|
-
|
|
209
187
|
# Custom attribute writer method with validation
|
|
210
188
|
# @param [Object] name Value to be assigned
|
|
211
189
|
def name=(name)
|
|
@@ -226,26 +204,6 @@ module FtcApiV3Client
|
|
|
226
204
|
@short_name = short_name
|
|
227
205
|
end
|
|
228
206
|
|
|
229
|
-
# Custom attribute writer method with validation
|
|
230
|
-
# @param [Object] matches_to_win Value to be assigned
|
|
231
|
-
def matches_to_win=(matches_to_win)
|
|
232
|
-
if matches_to_win.nil?
|
|
233
|
-
fail ArgumentError, 'matches_to_win cannot be nil'
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
@matches_to_win = matches_to_win
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
# Custom attribute writer method with validation
|
|
240
|
-
# @param [Object] round Value to be assigned
|
|
241
|
-
def round=(round)
|
|
242
|
-
if round.nil?
|
|
243
|
-
fail ArgumentError, 'round cannot be nil'
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
@round = round
|
|
247
|
-
end
|
|
248
|
-
|
|
249
207
|
# Custom attribute writer method with validation
|
|
250
208
|
# @param [Object] red Value to be assigned
|
|
251
209
|
def red=(red)
|
|
@@ -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
|
+
:'alliance_count',
|
|
78
79
|
])
|
|
79
80
|
end
|
|
80
81
|
|
|
@@ -124,10 +125,6 @@ module FtcApiV3Client
|
|
|
124
125
|
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
125
126
|
end
|
|
126
127
|
|
|
127
|
-
if @alliance_count.nil?
|
|
128
|
-
invalid_properties.push('invalid value for "alliance_count", alliance_count cannot be nil.')
|
|
129
|
-
end
|
|
130
|
-
|
|
131
128
|
if @series.nil?
|
|
132
129
|
invalid_properties.push('invalid value for "series", series cannot be nil.')
|
|
133
130
|
end
|
|
@@ -140,7 +137,6 @@ module FtcApiV3Client
|
|
|
140
137
|
def valid?
|
|
141
138
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
142
139
|
return false if @type.nil?
|
|
143
|
-
return false if @alliance_count.nil?
|
|
144
140
|
return false if @series.nil?
|
|
145
141
|
true
|
|
146
142
|
end
|
|
@@ -155,16 +151,6 @@ module FtcApiV3Client
|
|
|
155
151
|
@type = type
|
|
156
152
|
end
|
|
157
153
|
|
|
158
|
-
# Custom attribute writer method with validation
|
|
159
|
-
# @param [Object] alliance_count Value to be assigned
|
|
160
|
-
def alliance_count=(alliance_count)
|
|
161
|
-
if alliance_count.nil?
|
|
162
|
-
fail ArgumentError, 'alliance_count cannot be nil'
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
@alliance_count = alliance_count
|
|
166
|
-
end
|
|
167
|
-
|
|
168
154
|
# Custom attribute writer method with validation
|
|
169
155
|
# @param [Object] series Value to be assigned
|
|
170
156
|
def series=(series)
|
|
@@ -142,6 +142,13 @@ module FtcApiV3Client
|
|
|
142
142
|
# List of attributes with nullable: true
|
|
143
143
|
def self.openapi_nullable
|
|
144
144
|
Set.new([
|
|
145
|
+
:'auto_terminal',
|
|
146
|
+
:'minor_penalties',
|
|
147
|
+
:'major_penalties',
|
|
148
|
+
:'beacons',
|
|
149
|
+
:'owned_junctions',
|
|
150
|
+
:'dc_terminal_near',
|
|
151
|
+
:'dc_terminal_far',
|
|
145
152
|
])
|
|
146
153
|
end
|
|
147
154
|
|
|
@@ -275,10 +282,6 @@ module FtcApiV3Client
|
|
|
275
282
|
def list_invalid_properties
|
|
276
283
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
277
284
|
invalid_properties = Array.new
|
|
278
|
-
if @auto_terminal.nil?
|
|
279
|
-
invalid_properties.push('invalid value for "auto_terminal", auto_terminal cannot be nil.')
|
|
280
|
-
end
|
|
281
|
-
|
|
282
285
|
if @eg_navigated1.nil?
|
|
283
286
|
invalid_properties.push('invalid value for "eg_navigated1", eg_navigated1 cannot be nil.')
|
|
284
287
|
end
|
|
@@ -287,22 +290,6 @@ module FtcApiV3Client
|
|
|
287
290
|
invalid_properties.push('invalid value for "eg_navigated2", eg_navigated2 cannot be nil.')
|
|
288
291
|
end
|
|
289
292
|
|
|
290
|
-
if @minor_penalties.nil?
|
|
291
|
-
invalid_properties.push('invalid value for "minor_penalties", minor_penalties cannot be nil.')
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
if @major_penalties.nil?
|
|
295
|
-
invalid_properties.push('invalid value for "major_penalties", major_penalties cannot be nil.')
|
|
296
|
-
end
|
|
297
|
-
|
|
298
|
-
if @beacons.nil?
|
|
299
|
-
invalid_properties.push('invalid value for "beacons", beacons cannot be nil.')
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
if @owned_junctions.nil?
|
|
303
|
-
invalid_properties.push('invalid value for "owned_junctions", owned_junctions cannot be nil.')
|
|
304
|
-
end
|
|
305
|
-
|
|
306
293
|
if @circuit.nil?
|
|
307
294
|
invalid_properties.push('invalid value for "circuit", circuit cannot be nil.')
|
|
308
295
|
end
|
|
@@ -323,14 +310,6 @@ module FtcApiV3Client
|
|
|
323
310
|
invalid_properties.push('invalid value for "dc_junctions", dc_junctions cannot be nil.')
|
|
324
311
|
end
|
|
325
312
|
|
|
326
|
-
if @dc_terminal_near.nil?
|
|
327
|
-
invalid_properties.push('invalid value for "dc_terminal_near", dc_terminal_near cannot be nil.')
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
if @dc_terminal_far.nil?
|
|
331
|
-
invalid_properties.push('invalid value for "dc_terminal_far", dc_terminal_far cannot be nil.')
|
|
332
|
-
end
|
|
333
|
-
|
|
334
313
|
invalid_properties
|
|
335
314
|
end
|
|
336
315
|
|
|
@@ -338,33 +317,16 @@ module FtcApiV3Client
|
|
|
338
317
|
# @return true if the model is valid
|
|
339
318
|
def valid?
|
|
340
319
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
341
|
-
return false if @auto_terminal.nil?
|
|
342
320
|
return false if @eg_navigated1.nil?
|
|
343
321
|
return false if @eg_navigated2.nil?
|
|
344
|
-
return false if @minor_penalties.nil?
|
|
345
|
-
return false if @major_penalties.nil?
|
|
346
|
-
return false if @beacons.nil?
|
|
347
|
-
return false if @owned_junctions.nil?
|
|
348
322
|
return false if @circuit.nil?
|
|
349
323
|
return false if @init_signal_sleeve1.nil?
|
|
350
324
|
return false if @init_signal_sleeve2.nil?
|
|
351
325
|
return false if @auto_junctions.nil?
|
|
352
326
|
return false if @dc_junctions.nil?
|
|
353
|
-
return false if @dc_terminal_near.nil?
|
|
354
|
-
return false if @dc_terminal_far.nil?
|
|
355
327
|
true
|
|
356
328
|
end
|
|
357
329
|
|
|
358
|
-
# Custom attribute writer method with validation
|
|
359
|
-
# @param [Object] auto_terminal Value to be assigned
|
|
360
|
-
def auto_terminal=(auto_terminal)
|
|
361
|
-
if auto_terminal.nil?
|
|
362
|
-
fail ArgumentError, 'auto_terminal cannot be nil'
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
@auto_terminal = auto_terminal
|
|
366
|
-
end
|
|
367
|
-
|
|
368
330
|
# Custom attribute writer method with validation
|
|
369
331
|
# @param [Object] eg_navigated1 Value to be assigned
|
|
370
332
|
def eg_navigated1=(eg_navigated1)
|
|
@@ -385,46 +347,6 @@ module FtcApiV3Client
|
|
|
385
347
|
@eg_navigated2 = eg_navigated2
|
|
386
348
|
end
|
|
387
349
|
|
|
388
|
-
# Custom attribute writer method with validation
|
|
389
|
-
# @param [Object] minor_penalties Value to be assigned
|
|
390
|
-
def minor_penalties=(minor_penalties)
|
|
391
|
-
if minor_penalties.nil?
|
|
392
|
-
fail ArgumentError, 'minor_penalties cannot be nil'
|
|
393
|
-
end
|
|
394
|
-
|
|
395
|
-
@minor_penalties = minor_penalties
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
# Custom attribute writer method with validation
|
|
399
|
-
# @param [Object] major_penalties Value to be assigned
|
|
400
|
-
def major_penalties=(major_penalties)
|
|
401
|
-
if major_penalties.nil?
|
|
402
|
-
fail ArgumentError, 'major_penalties cannot be nil'
|
|
403
|
-
end
|
|
404
|
-
|
|
405
|
-
@major_penalties = major_penalties
|
|
406
|
-
end
|
|
407
|
-
|
|
408
|
-
# Custom attribute writer method with validation
|
|
409
|
-
# @param [Object] beacons Value to be assigned
|
|
410
|
-
def beacons=(beacons)
|
|
411
|
-
if beacons.nil?
|
|
412
|
-
fail ArgumentError, 'beacons cannot be nil'
|
|
413
|
-
end
|
|
414
|
-
|
|
415
|
-
@beacons = beacons
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
# Custom attribute writer method with validation
|
|
419
|
-
# @param [Object] owned_junctions Value to be assigned
|
|
420
|
-
def owned_junctions=(owned_junctions)
|
|
421
|
-
if owned_junctions.nil?
|
|
422
|
-
fail ArgumentError, 'owned_junctions cannot be nil'
|
|
423
|
-
end
|
|
424
|
-
|
|
425
|
-
@owned_junctions = owned_junctions
|
|
426
|
-
end
|
|
427
|
-
|
|
428
350
|
# Custom attribute writer method with validation
|
|
429
351
|
# @param [Object] circuit Value to be assigned
|
|
430
352
|
def circuit=(circuit)
|
|
@@ -475,26 +397,6 @@ module FtcApiV3Client
|
|
|
475
397
|
@dc_junctions = dc_junctions
|
|
476
398
|
end
|
|
477
399
|
|
|
478
|
-
# Custom attribute writer method with validation
|
|
479
|
-
# @param [Object] dc_terminal_near Value to be assigned
|
|
480
|
-
def dc_terminal_near=(dc_terminal_near)
|
|
481
|
-
if dc_terminal_near.nil?
|
|
482
|
-
fail ArgumentError, 'dc_terminal_near cannot be nil'
|
|
483
|
-
end
|
|
484
|
-
|
|
485
|
-
@dc_terminal_near = dc_terminal_near
|
|
486
|
-
end
|
|
487
|
-
|
|
488
|
-
# Custom attribute writer method with validation
|
|
489
|
-
# @param [Object] dc_terminal_far Value to be assigned
|
|
490
|
-
def dc_terminal_far=(dc_terminal_far)
|
|
491
|
-
if dc_terminal_far.nil?
|
|
492
|
-
fail ArgumentError, 'dc_terminal_far cannot be nil'
|
|
493
|
-
end
|
|
494
|
-
|
|
495
|
-
@dc_terminal_far = dc_terminal_far
|
|
496
|
-
end
|
|
497
|
-
|
|
498
400
|
# Checks equality by comparing each attribute.
|
|
499
401
|
# @param [Object] Object to be compared
|
|
500
402
|
def ==(o)
|