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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/config.json +1 -1
- data/ftc_api_v3_client-0.1.1.gem +0 -0
- data/lib/ftc_api_v3_client/api/events_api.rb +3 -103
- 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 +16 -1
- 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 +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +31 -2
- 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 -1
- data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +9 -9
- 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 +138 -26
- data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +240 -16
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +129 -17
- data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +225 -15
- data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +93 -23
- data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +180 -12
- 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 +34 -19
- data/lib/ftc_api_v3_client/models/api_v3_event.rb +32 -122
- 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 +185 -59
- data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +285 -19
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +175 -35
- data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +240 -16
- 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 +156 -44
- data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +195 -13
- 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.rb +60 -4
- data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +66 -5
- data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +17 -1
- data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +15 -1
- data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +90 -6
- data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +33 -19
- data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +9 -9
- data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +107 -7
- data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +225 -15
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +121 -8
- data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +210 -14
- 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_ranking.rb +90 -6
- 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 +9 -9
- data/lib/ftc_api_v3_client/models/api_v3_season.rb +11 -39
- data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +15 -1
- data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +10 -24
- 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 -31
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +32 -43
- data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +15 -1
- data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +165 -11
- data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +225 -15
- 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 +17 -54
- 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 +15 -54
- data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +138 -26
- data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +210 -14
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +138 -26
- data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +210 -14
- 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 +2 -1
|
@@ -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)
|
|
@@ -72,12 +72,6 @@ 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'
|
|
81
75
|
])
|
|
82
76
|
end
|
|
83
77
|
|
|
@@ -153,6 +147,10 @@ module FtcApiV3Client
|
|
|
153
147
|
def list_invalid_properties
|
|
154
148
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
155
149
|
invalid_properties = Array.new
|
|
150
|
+
if @rank.nil?
|
|
151
|
+
invalid_properties.push('invalid value for "rank", rank cannot be nil.')
|
|
152
|
+
end
|
|
153
|
+
|
|
156
154
|
if @team.nil?
|
|
157
155
|
invalid_properties.push('invalid value for "team", team cannot be nil.')
|
|
158
156
|
end
|
|
@@ -161,6 +159,26 @@ module FtcApiV3Client
|
|
|
161
159
|
invalid_properties.push('invalid value for "sort_orders", sort_orders cannot be nil.')
|
|
162
160
|
end
|
|
163
161
|
|
|
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
|
+
|
|
164
182
|
invalid_properties
|
|
165
183
|
end
|
|
166
184
|
|
|
@@ -168,11 +186,27 @@ module FtcApiV3Client
|
|
|
168
186
|
# @return true if the model is valid
|
|
169
187
|
def valid?
|
|
170
188
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
189
|
+
return false if @rank.nil?
|
|
171
190
|
return false if @team.nil?
|
|
172
191
|
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?
|
|
173
197
|
true
|
|
174
198
|
end
|
|
175
199
|
|
|
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
|
+
|
|
176
210
|
# Custom attribute writer method with validation
|
|
177
211
|
# @param [Object] team Value to be assigned
|
|
178
212
|
def team=(team)
|
|
@@ -193,6 +227,56 @@ module FtcApiV3Client
|
|
|
193
227
|
@sort_orders = sort_orders
|
|
194
228
|
end
|
|
195
229
|
|
|
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
|
+
|
|
196
280
|
# Checks equality by comparing each attribute.
|
|
197
281
|
# @param [Object] Object to be compared
|
|
198
282
|
def ==(o)
|
|
@@ -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,7 +49,7 @@ module FtcApiV3Client
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
-
:'
|
|
52
|
+
:'type',
|
|
53
53
|
])
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -87,8 +87,8 @@ module FtcApiV3Client
|
|
|
87
87
|
def list_invalid_properties
|
|
88
88
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
89
|
invalid_properties = Array.new
|
|
90
|
-
if @
|
|
91
|
-
invalid_properties.push('invalid value for "
|
|
90
|
+
if @rank.nil?
|
|
91
|
+
invalid_properties.push('invalid value for "rank", rank cannot be nil.')
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
invalid_properties
|
|
@@ -98,18 +98,18 @@ module FtcApiV3Client
|
|
|
98
98
|
# @return true if the model is valid
|
|
99
99
|
def valid?
|
|
100
100
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
101
|
-
return false if @
|
|
101
|
+
return false if @rank.nil?
|
|
102
102
|
true
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
# Custom attribute writer method with validation
|
|
106
|
-
# @param [Object]
|
|
107
|
-
def
|
|
108
|
-
if
|
|
109
|
-
fail ArgumentError, '
|
|
106
|
+
# @param [Object] rank Value to be assigned
|
|
107
|
+
def rank=(rank)
|
|
108
|
+
if rank.nil?
|
|
109
|
+
fail ArgumentError, 'rank cannot be nil'
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
@
|
|
112
|
+
@rank = rank
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
# Checks equality by comparing each attribute.
|
|
@@ -56,7 +56,9 @@ module FtcApiV3Client
|
|
|
56
56
|
# List of attributes with nullable: true
|
|
57
57
|
def self.openapi_nullable
|
|
58
58
|
Set.new([
|
|
59
|
-
:'
|
|
59
|
+
:'year_string',
|
|
60
|
+
:'game_name',
|
|
61
|
+
:'kickoff_time'
|
|
60
62
|
])
|
|
61
63
|
end
|
|
62
64
|
|
|
@@ -106,16 +108,8 @@ module FtcApiV3Client
|
|
|
106
108
|
def list_invalid_properties
|
|
107
109
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
108
110
|
invalid_properties = Array.new
|
|
109
|
-
if @
|
|
110
|
-
invalid_properties.push('invalid value for "
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
if @game_name.nil?
|
|
114
|
-
invalid_properties.push('invalid value for "game_name", game_name cannot be nil.')
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if @kickoff_time.nil?
|
|
118
|
-
invalid_properties.push('invalid value for "kickoff_time", kickoff_time cannot be nil.')
|
|
111
|
+
if @cmp_year.nil?
|
|
112
|
+
invalid_properties.push('invalid value for "cmp_year", cmp_year cannot be nil.')
|
|
119
113
|
end
|
|
120
114
|
|
|
121
115
|
invalid_properties
|
|
@@ -125,40 +119,18 @@ module FtcApiV3Client
|
|
|
125
119
|
# @return true if the model is valid
|
|
126
120
|
def valid?
|
|
127
121
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
128
|
-
return false if @
|
|
129
|
-
return false if @game_name.nil?
|
|
130
|
-
return false if @kickoff_time.nil?
|
|
122
|
+
return false if @cmp_year.nil?
|
|
131
123
|
true
|
|
132
124
|
end
|
|
133
125
|
|
|
134
126
|
# Custom attribute writer method with validation
|
|
135
|
-
# @param [Object]
|
|
136
|
-
def
|
|
137
|
-
if
|
|
138
|
-
fail ArgumentError, '
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
@year_string = year_string
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
# Custom attribute writer method with validation
|
|
145
|
-
# @param [Object] game_name Value to be assigned
|
|
146
|
-
def game_name=(game_name)
|
|
147
|
-
if game_name.nil?
|
|
148
|
-
fail ArgumentError, 'game_name cannot be nil'
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
@game_name = game_name
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
# Custom attribute writer method with validation
|
|
155
|
-
# @param [Object] kickoff_time Value to be assigned
|
|
156
|
-
def kickoff_time=(kickoff_time)
|
|
157
|
-
if kickoff_time.nil?
|
|
158
|
-
fail ArgumentError, 'kickoff_time cannot be nil'
|
|
127
|
+
# @param [Object] cmp_year Value to be assigned
|
|
128
|
+
def cmp_year=(cmp_year)
|
|
129
|
+
if cmp_year.nil?
|
|
130
|
+
fail ArgumentError, 'cmp_year cannot be nil'
|
|
159
131
|
end
|
|
160
132
|
|
|
161
|
-
@
|
|
133
|
+
@cmp_year = cmp_year
|
|
162
134
|
end
|
|
163
135
|
|
|
164
136
|
# Checks equality by comparing each attribute.
|
|
@@ -48,7 +48,6 @@ module FtcApiV3Client
|
|
|
48
48
|
# List of attributes with nullable: true
|
|
49
49
|
def self.openapi_nullable
|
|
50
50
|
Set.new([
|
|
51
|
-
:'current_season_cmp_year'
|
|
52
51
|
])
|
|
53
52
|
end
|
|
54
53
|
|
|
@@ -92,6 +91,10 @@ module FtcApiV3Client
|
|
|
92
91
|
invalid_properties.push('invalid value for "seasons", seasons cannot be nil.')
|
|
93
92
|
end
|
|
94
93
|
|
|
94
|
+
if @current_season_cmp_year.nil?
|
|
95
|
+
invalid_properties.push('invalid value for "current_season_cmp_year", current_season_cmp_year cannot be nil.')
|
|
96
|
+
end
|
|
97
|
+
|
|
95
98
|
invalid_properties
|
|
96
99
|
end
|
|
97
100
|
|
|
@@ -100,6 +103,7 @@ module FtcApiV3Client
|
|
|
100
103
|
def valid?
|
|
101
104
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
102
105
|
return false if @seasons.nil?
|
|
106
|
+
return false if @current_season_cmp_year.nil?
|
|
103
107
|
true
|
|
104
108
|
end
|
|
105
109
|
|
|
@@ -113,6 +117,16 @@ module FtcApiV3Client
|
|
|
113
117
|
@seasons = seasons
|
|
114
118
|
end
|
|
115
119
|
|
|
120
|
+
# Custom attribute writer method with validation
|
|
121
|
+
# @param [Object] current_season_cmp_year Value to be assigned
|
|
122
|
+
def current_season_cmp_year=(current_season_cmp_year)
|
|
123
|
+
if current_season_cmp_year.nil?
|
|
124
|
+
fail ArgumentError, 'current_season_cmp_year cannot be nil'
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
@current_season_cmp_year = current_season_cmp_year
|
|
128
|
+
end
|
|
129
|
+
|
|
116
130
|
# Checks equality by comparing each attribute.
|
|
117
131
|
# @param [Object] Object to be compared
|
|
118
132
|
def ==(o)
|
|
@@ -75,7 +75,8 @@ module FtcApiV3Client
|
|
|
75
75
|
# List of attributes with nullable: true
|
|
76
76
|
def self.openapi_nullable
|
|
77
77
|
Set.new([
|
|
78
|
-
:'
|
|
78
|
+
:'type',
|
|
79
|
+
:'state'
|
|
79
80
|
])
|
|
80
81
|
end
|
|
81
82
|
|
|
@@ -119,12 +120,8 @@ module FtcApiV3Client
|
|
|
119
120
|
def list_invalid_properties
|
|
120
121
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
121
122
|
invalid_properties = Array.new
|
|
122
|
-
if @
|
|
123
|
-
invalid_properties.push('invalid value for "
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if @state.nil?
|
|
127
|
-
invalid_properties.push('invalid value for "state", state cannot be nil.')
|
|
123
|
+
if @series_id.nil?
|
|
124
|
+
invalid_properties.push('invalid value for "series_id", series_id cannot be nil.')
|
|
128
125
|
end
|
|
129
126
|
|
|
130
127
|
invalid_properties
|
|
@@ -134,29 +131,18 @@ module FtcApiV3Client
|
|
|
134
131
|
# @return true if the model is valid
|
|
135
132
|
def valid?
|
|
136
133
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
137
|
-
return false if @
|
|
138
|
-
return false if @state.nil?
|
|
134
|
+
return false if @series_id.nil?
|
|
139
135
|
true
|
|
140
136
|
end
|
|
141
137
|
|
|
142
138
|
# Custom attribute writer method with validation
|
|
143
|
-
# @param [Object]
|
|
144
|
-
def
|
|
145
|
-
if
|
|
146
|
-
fail ArgumentError, '
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
@type = type
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
# Custom attribute writer method with validation
|
|
153
|
-
# @param [Object] state Value to be assigned
|
|
154
|
-
def state=(state)
|
|
155
|
-
if state.nil?
|
|
156
|
-
fail ArgumentError, 'state cannot be nil'
|
|
139
|
+
# @param [Object] series_id Value to be assigned
|
|
140
|
+
def series_id=(series_id)
|
|
141
|
+
if series_id.nil?
|
|
142
|
+
fail ArgumentError, 'series_id cannot be nil'
|
|
157
143
|
end
|
|
158
144
|
|
|
159
|
-
@
|
|
145
|
+
@series_id = series_id
|
|
160
146
|
end
|
|
161
147
|
|
|
162
148
|
# Checks equality by comparing each attribute.
|
|
@@ -127,6 +127,21 @@ module FtcApiV3Client
|
|
|
127
127
|
# List of attributes with nullable: true
|
|
128
128
|
def self.openapi_nullable
|
|
129
129
|
Set.new([
|
|
130
|
+
:'code',
|
|
131
|
+
:'name',
|
|
132
|
+
:'type',
|
|
133
|
+
:'format',
|
|
134
|
+
:'start_date',
|
|
135
|
+
:'end_date',
|
|
136
|
+
:'region_code',
|
|
137
|
+
:'venue',
|
|
138
|
+
:'street_address',
|
|
139
|
+
:'street_address2',
|
|
140
|
+
:'city',
|
|
141
|
+
:'state',
|
|
142
|
+
:'country',
|
|
143
|
+
:'website',
|
|
144
|
+
:'timezone'
|
|
130
145
|
])
|
|
131
146
|
end
|
|
132
147
|
|
|
@@ -234,42 +249,10 @@ module FtcApiV3Client
|
|
|
234
249
|
def list_invalid_properties
|
|
235
250
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
236
251
|
invalid_properties = Array.new
|
|
237
|
-
if @code.nil?
|
|
238
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
if @name.nil?
|
|
242
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
if @type.nil?
|
|
246
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
if @format.nil?
|
|
250
|
-
invalid_properties.push('invalid value for "format", format cannot be nil.')
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
if @start_date.nil?
|
|
254
|
-
invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
if @end_date.nil?
|
|
258
|
-
invalid_properties.push('invalid value for "end_date", end_date cannot be nil.')
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
if @region_code.nil?
|
|
262
|
-
invalid_properties.push('invalid value for "region_code", region_code cannot be nil.')
|
|
263
|
-
end
|
|
264
|
-
|
|
265
252
|
if @published.nil?
|
|
266
253
|
invalid_properties.push('invalid value for "published", published cannot be nil.')
|
|
267
254
|
end
|
|
268
255
|
|
|
269
|
-
if @timezone.nil?
|
|
270
|
-
invalid_properties.push('invalid value for "timezone", timezone cannot be nil.')
|
|
271
|
-
end
|
|
272
|
-
|
|
273
256
|
invalid_properties
|
|
274
257
|
end
|
|
275
258
|
|
|
@@ -277,88 +260,10 @@ module FtcApiV3Client
|
|
|
277
260
|
# @return true if the model is valid
|
|
278
261
|
def valid?
|
|
279
262
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
280
|
-
return false if @code.nil?
|
|
281
|
-
return false if @name.nil?
|
|
282
|
-
return false if @type.nil?
|
|
283
|
-
return false if @format.nil?
|
|
284
|
-
return false if @start_date.nil?
|
|
285
|
-
return false if @end_date.nil?
|
|
286
|
-
return false if @region_code.nil?
|
|
287
263
|
return false if @published.nil?
|
|
288
|
-
return false if @timezone.nil?
|
|
289
264
|
true
|
|
290
265
|
end
|
|
291
266
|
|
|
292
|
-
# Custom attribute writer method with validation
|
|
293
|
-
# @param [Object] code Value to be assigned
|
|
294
|
-
def code=(code)
|
|
295
|
-
if code.nil?
|
|
296
|
-
fail ArgumentError, 'code cannot be nil'
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
@code = code
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
# Custom attribute writer method with validation
|
|
303
|
-
# @param [Object] name Value to be assigned
|
|
304
|
-
def name=(name)
|
|
305
|
-
if name.nil?
|
|
306
|
-
fail ArgumentError, 'name cannot be nil'
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
@name = name
|
|
310
|
-
end
|
|
311
|
-
|
|
312
|
-
# Custom attribute writer method with validation
|
|
313
|
-
# @param [Object] type Value to be assigned
|
|
314
|
-
def type=(type)
|
|
315
|
-
if type.nil?
|
|
316
|
-
fail ArgumentError, 'type cannot be nil'
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
@type = type
|
|
320
|
-
end
|
|
321
|
-
|
|
322
|
-
# Custom attribute writer method with validation
|
|
323
|
-
# @param [Object] format Value to be assigned
|
|
324
|
-
def format=(format)
|
|
325
|
-
if format.nil?
|
|
326
|
-
fail ArgumentError, 'format cannot be nil'
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
@format = format
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
# Custom attribute writer method with validation
|
|
333
|
-
# @param [Object] start_date Value to be assigned
|
|
334
|
-
def start_date=(start_date)
|
|
335
|
-
if start_date.nil?
|
|
336
|
-
fail ArgumentError, 'start_date cannot be nil'
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
@start_date = start_date
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
# Custom attribute writer method with validation
|
|
343
|
-
# @param [Object] end_date Value to be assigned
|
|
344
|
-
def end_date=(end_date)
|
|
345
|
-
if end_date.nil?
|
|
346
|
-
fail ArgumentError, 'end_date cannot be nil'
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
@end_date = end_date
|
|
350
|
-
end
|
|
351
|
-
|
|
352
|
-
# Custom attribute writer method with validation
|
|
353
|
-
# @param [Object] region_code Value to be assigned
|
|
354
|
-
def region_code=(region_code)
|
|
355
|
-
if region_code.nil?
|
|
356
|
-
fail ArgumentError, 'region_code cannot be nil'
|
|
357
|
-
end
|
|
358
|
-
|
|
359
|
-
@region_code = region_code
|
|
360
|
-
end
|
|
361
|
-
|
|
362
267
|
# Custom attribute writer method with validation
|
|
363
268
|
# @param [Object] published Value to be assigned
|
|
364
269
|
def published=(published)
|
|
@@ -369,16 +274,6 @@ module FtcApiV3Client
|
|
|
369
274
|
@published = published
|
|
370
275
|
end
|
|
371
276
|
|
|
372
|
-
# Custom attribute writer method with validation
|
|
373
|
-
# @param [Object] timezone Value to be assigned
|
|
374
|
-
def timezone=(timezone)
|
|
375
|
-
if timezone.nil?
|
|
376
|
-
fail ArgumentError, 'timezone cannot be nil'
|
|
377
|
-
end
|
|
378
|
-
|
|
379
|
-
@timezone = timezone
|
|
380
|
-
end
|
|
381
|
-
|
|
382
277
|
# Checks equality by comparing each attribute.
|
|
383
278
|
# @param [Object] Object to be compared
|
|
384
279
|
def ==(o)
|