ftc_api_v3_client 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/config.json +1 -1
  4. data/ftc_api_v3_client-0.1.1.gem +0 -0
  5. data/lib/ftc_api_v3_client/api/events_api.rb +3 -103
  6. data/lib/ftc_api_v3_client/api/leagues_api.rb +0 -56
  7. data/lib/ftc_api_v3_client/api/regions_api.rb +0 -28
  8. data/lib/ftc_api_v3_client/api/seasons_api.rb +0 -4
  9. data/lib/ftc_api_v3_client/api/teams_api.rb +0 -28
  10. data/lib/ftc_api_v3_client/models/api_v3_advancement_from.rb +16 -1
  11. data/lib/ftc_api_v3_client/models/api_v3_advancement_from_slot.rb +2 -15
  12. data/lib/ftc_api_v3_client/models/api_v3_alliance_match.rb +32 -43
  13. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_details.rb +32 -43
  14. data/lib/ftc_api_v3_client/models/api_v3_alliance_match_results.rb +31 -2
  15. data/lib/ftc_api_v3_client/models/api_v3_alliance_playoff_match_participants.rb +1 -15
  16. data/lib/ftc_api_v3_client/models/api_v3_alliance_selection.rb +1 -15
  17. data/lib/ftc_api_v3_client/models/api_v3_alliance_simple_match_participants.rb +1 -15
  18. data/lib/ftc_api_v3_client/models/api_v3_award.rb +4 -30
  19. data/lib/ftc_api_v3_client/models/api_v3_award_recipient.rb +2 -1
  20. data/lib/ftc_api_v3_client/models/api_v3_basic_alliance_description.rb +9 -9
  21. data/lib/ftc_api_v3_client/models/api_v3_center_stage_remote_score_detail.rb +1 -15
  22. data/lib/ftc_api_v3_client/models/api_v3_center_stage_score_detail.rb +1 -15
  23. data/lib/ftc_api_v3_client/models/api_v3_cs_achievements_detail.rb +138 -26
  24. data/lib/ftc_api_v3_client/models/api_v3_cs_points_detail.rb +240 -16
  25. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_achievements_detail.rb +129 -17
  26. data/lib/ftc_api_v3_client/models/api_v3_cs_remote_points_detail.rb +225 -15
  27. data/lib/ftc_api_v3_client/models/api_v3_decode_achievements_detail.rb +93 -23
  28. data/lib/ftc_api_v3_client/models/api_v3_decode_points_detail.rb +180 -12
  29. data/lib/ftc_api_v3_client/models/api_v3_decode_score_detail.rb +1 -15
  30. data/lib/ftc_api_v3_client/models/api_v3_division.rb +2 -30
  31. data/lib/ftc_api_v3_client/models/api_v3_double_elimination_series_description.rb +34 -19
  32. data/lib/ftc_api_v3_client/models/api_v3_event.rb +32 -122
  33. data/lib/ftc_api_v3_client/models/api_v3_event_live_stream.rb +3 -15
  34. data/lib/ftc_api_v3_client/models/api_v3_event_participant.rb +2 -15
  35. data/lib/ftc_api_v3_client/models/api_v3_ff_achievements_detail.rb +185 -59
  36. data/lib/ftc_api_v3_client/models/api_v3_ff_points_detail.rb +285 -19
  37. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_achievements_detail.rb +175 -35
  38. data/lib/ftc_api_v3_client/models/api_v3_ff_remote_points_detail.rb +240 -16
  39. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_remote_score_detail.rb +1 -15
  40. data/lib/ftc_api_v3_client/models/api_v3_freight_frenzy_score_detail.rb +1 -15
  41. data/lib/ftc_api_v3_client/models/api_v3_into_the_deep_score_detail.rb +1 -15
  42. data/lib/ftc_api_v3_client/models/api_v3_itd_achievements_detail.rb +156 -44
  43. data/lib/ftc_api_v3_client/models/api_v3_itd_points_detail.rb +195 -13
  44. data/lib/ftc_api_v3_client/models/api_v3_league.rb +4 -30
  45. data/lib/ftc_api_v3_client/models/api_v3_league_details.rb +4 -30
  46. data/lib/ftc_api_v3_client/models/api_v3_pit_map.rb +60 -4
  47. data/lib/ftc_api_v3_client/models/api_v3_pit_map_element.rb +66 -5
  48. data/lib/ftc_api_v3_client/models/api_v3_playoff_alliance.rb +17 -1
  49. data/lib/ftc_api_v3_client/models/api_v3_playoff_match_alliance.rb +15 -1
  50. data/lib/ftc_api_v3_client/models/api_v3_playoff_ranking.rb +90 -6
  51. data/lib/ftc_api_v3_client/models/api_v3_playoff_series_description.rb +33 -19
  52. data/lib/ftc_api_v3_client/models/api_v3_playoff_structure.rb +9 -9
  53. data/lib/ftc_api_v3_client/models/api_v3_power_play_achievements_detail.rb +107 -7
  54. data/lib/ftc_api_v3_client/models/api_v3_power_play_points_detail.rb +225 -15
  55. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_achievements_detail.rb +121 -8
  56. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_points_detail.rb +210 -14
  57. data/lib/ftc_api_v3_client/models/api_v3_power_play_remote_score_detail.rb +1 -15
  58. data/lib/ftc_api_v3_client/models/api_v3_power_play_score_detail.rb +1 -15
  59. data/lib/ftc_api_v3_client/models/api_v3_ranking.rb +90 -6
  60. data/lib/ftc_api_v3_client/models/api_v3_region.rb +2 -30
  61. data/lib/ftc_api_v3_client/models/api_v3_round_robin_alliance_description.rb +9 -9
  62. data/lib/ftc_api_v3_client/models/api_v3_season.rb +11 -39
  63. data/lib/ftc_api_v3_client/models/api_v3_seasons.rb +15 -1
  64. data/lib/ftc_api_v3_client/models/api_v3_series_alliance_description.rb +10 -24
  65. data/lib/ftc_api_v3_client/models/api_v3_simple_event.rb +15 -120
  66. data/lib/ftc_api_v3_client/models/api_v3_simple_team.rb +3 -45
  67. data/lib/ftc_api_v3_client/models/api_v3_single_award_recipient.rb +4 -31
  68. data/lib/ftc_api_v3_client/models/api_v3_single_team_match.rb +32 -43
  69. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_details.rb +32 -43
  70. data/lib/ftc_api_v3_client/models/api_v3_single_team_match_results.rb +15 -1
  71. data/lib/ftc_api_v3_client/models/api_v3_skystone_achievements_detail.rb +165 -11
  72. data/lib/ftc_api_v3_client/models/api_v3_skystone_points_detail.rb +225 -15
  73. data/lib/ftc_api_v3_client/models/api_v3_skystone_score_detail.rb +1 -15
  74. data/lib/ftc_api_v3_client/models/api_v3_team.rb +17 -54
  75. data/lib/ftc_api_v3_client/models/api_v3_team_avatar.rb +1 -15
  76. data/lib/ftc_api_v3_client/models/api_v3_team_history.rb +15 -54
  77. data/lib/ftc_api_v3_client/models/api_v3_ug_achievements_detail.rb +138 -26
  78. data/lib/ftc_api_v3_client/models/api_v3_ug_points_detail.rb +210 -14
  79. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_achievements_detail.rb +138 -26
  80. data/lib/ftc_api_v3_client/models/api_v3_ug_remote_points_detail.rb +210 -14
  81. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_remote_score_detail.rb +1 -15
  82. data/lib/ftc_api_v3_client/models/api_v3_ultimate_goal_score_detail.rb +1 -15
  83. data/lib/ftc_api_v3_client/version.rb +1 -1
  84. data/update.sh +1 -1
  85. metadata +2 -1
@@ -123,10 +123,14 @@ module FtcApiV3Client
123
123
  # List of attributes with nullable: true
124
124
  def self.openapi_nullable
125
125
  Set.new([
126
- :'field',
127
- :'random',
128
- :'series',
129
- :'number',
126
+ :'type',
127
+ :'short_name',
128
+ :'tournament_level',
129
+ :'scheduled_start_time',
130
+ :'start_time',
131
+ :'post_time',
132
+ :'display_name',
133
+ :'commit_time',
130
134
  ])
131
135
  end
132
136
 
@@ -224,20 +228,16 @@ module FtcApiV3Client
224
228
  def list_invalid_properties
225
229
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
226
230
  invalid_properties = Array.new
227
- if @type.nil?
228
- invalid_properties.push('invalid value for "type", type cannot be nil.')
231
+ if @field.nil?
232
+ invalid_properties.push('invalid value for "field", field cannot be nil.')
229
233
  end
230
234
 
231
- if @short_name.nil?
232
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
235
+ if @series.nil?
236
+ invalid_properties.push('invalid value for "series", series cannot be nil.')
233
237
  end
234
238
 
235
- if @tournament_level.nil?
236
- invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
237
- end
238
-
239
- if @display_name.nil?
240
- invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
239
+ if @number.nil?
240
+ invalid_properties.push('invalid value for "number", number cannot be nil.')
241
241
  end
242
242
 
243
243
  if @teams.nil?
@@ -251,52 +251,41 @@ module FtcApiV3Client
251
251
  # @return true if the model is valid
252
252
  def valid?
253
253
  warn '[DEPRECATED] the `valid?` method is obsolete'
254
- return false if @type.nil?
255
- return false if @short_name.nil?
256
- return false if @tournament_level.nil?
257
- return false if @display_name.nil?
254
+ return false if @field.nil?
255
+ return false if @series.nil?
256
+ return false if @number.nil?
258
257
  return false if @teams.nil?
259
258
  true
260
259
  end
261
260
 
262
261
  # Custom attribute writer method with validation
263
- # @param [Object] type Value to be assigned
264
- def type=(type)
265
- if type.nil?
266
- fail ArgumentError, 'type cannot be nil'
267
- end
268
-
269
- @type = type
270
- end
271
-
272
- # Custom attribute writer method with validation
273
- # @param [Object] short_name Value to be assigned
274
- def short_name=(short_name)
275
- if short_name.nil?
276
- fail ArgumentError, 'short_name cannot be nil'
262
+ # @param [Object] field Value to be assigned
263
+ def field=(field)
264
+ if field.nil?
265
+ fail ArgumentError, 'field cannot be nil'
277
266
  end
278
267
 
279
- @short_name = short_name
268
+ @field = field
280
269
  end
281
270
 
282
271
  # Custom attribute writer method with validation
283
- # @param [Object] tournament_level Value to be assigned
284
- def tournament_level=(tournament_level)
285
- if tournament_level.nil?
286
- fail ArgumentError, 'tournament_level cannot be nil'
272
+ # @param [Object] series Value to be assigned
273
+ def series=(series)
274
+ if series.nil?
275
+ fail ArgumentError, 'series cannot be nil'
287
276
  end
288
277
 
289
- @tournament_level = tournament_level
278
+ @series = series
290
279
  end
291
280
 
292
281
  # Custom attribute writer method with validation
293
- # @param [Object] display_name Value to be assigned
294
- def display_name=(display_name)
295
- if display_name.nil?
296
- fail ArgumentError, 'display_name cannot be nil'
282
+ # @param [Object] number Value to be assigned
283
+ def number=(number)
284
+ if number.nil?
285
+ fail ArgumentError, 'number cannot be nil'
297
286
  end
298
287
 
299
- @display_name = display_name
288
+ @number = number
300
289
  end
301
290
 
302
291
  # Custom attribute writer method with validation
@@ -127,10 +127,14 @@ module FtcApiV3Client
127
127
  # List of attributes with nullable: true
128
128
  def self.openapi_nullable
129
129
  Set.new([
130
- :'field',
131
- :'random',
132
- :'series',
133
- :'number',
130
+ :'type',
131
+ :'short_name',
132
+ :'tournament_level',
133
+ :'scheduled_start_time',
134
+ :'start_time',
135
+ :'post_time',
136
+ :'display_name',
137
+ :'commit_time',
134
138
  ])
135
139
  end
136
140
 
@@ -232,20 +236,16 @@ module FtcApiV3Client
232
236
  def list_invalid_properties
233
237
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
234
238
  invalid_properties = Array.new
235
- if @type.nil?
236
- invalid_properties.push('invalid value for "type", type cannot be nil.')
239
+ if @field.nil?
240
+ invalid_properties.push('invalid value for "field", field cannot be nil.')
237
241
  end
238
242
 
239
- if @short_name.nil?
240
- invalid_properties.push('invalid value for "short_name", short_name cannot be nil.')
243
+ if @series.nil?
244
+ invalid_properties.push('invalid value for "series", series cannot be nil.')
241
245
  end
242
246
 
243
- if @tournament_level.nil?
244
- invalid_properties.push('invalid value for "tournament_level", tournament_level cannot be nil.')
245
- end
246
-
247
- if @display_name.nil?
248
- invalid_properties.push('invalid value for "display_name", display_name cannot be nil.')
247
+ if @number.nil?
248
+ invalid_properties.push('invalid value for "number", number cannot be nil.')
249
249
  end
250
250
 
251
251
  if @teams.nil?
@@ -259,52 +259,41 @@ module FtcApiV3Client
259
259
  # @return true if the model is valid
260
260
  def valid?
261
261
  warn '[DEPRECATED] the `valid?` method is obsolete'
262
- return false if @type.nil?
263
- return false if @short_name.nil?
264
- return false if @tournament_level.nil?
265
- return false if @display_name.nil?
262
+ return false if @field.nil?
263
+ return false if @series.nil?
264
+ return false if @number.nil?
266
265
  return false if @teams.nil?
267
266
  true
268
267
  end
269
268
 
270
269
  # Custom attribute writer method with validation
271
- # @param [Object] type Value to be assigned
272
- def type=(type)
273
- if type.nil?
274
- fail ArgumentError, 'type cannot be nil'
275
- end
276
-
277
- @type = type
278
- end
279
-
280
- # Custom attribute writer method with validation
281
- # @param [Object] short_name Value to be assigned
282
- def short_name=(short_name)
283
- if short_name.nil?
284
- fail ArgumentError, 'short_name cannot be nil'
270
+ # @param [Object] field Value to be assigned
271
+ def field=(field)
272
+ if field.nil?
273
+ fail ArgumentError, 'field cannot be nil'
285
274
  end
286
275
 
287
- @short_name = short_name
276
+ @field = field
288
277
  end
289
278
 
290
279
  # Custom attribute writer method with validation
291
- # @param [Object] tournament_level Value to be assigned
292
- def tournament_level=(tournament_level)
293
- if tournament_level.nil?
294
- fail ArgumentError, 'tournament_level cannot be nil'
280
+ # @param [Object] series Value to be assigned
281
+ def series=(series)
282
+ if series.nil?
283
+ fail ArgumentError, 'series cannot be nil'
295
284
  end
296
285
 
297
- @tournament_level = tournament_level
286
+ @series = series
298
287
  end
299
288
 
300
289
  # Custom attribute writer method with validation
301
- # @param [Object] display_name Value to be assigned
302
- def display_name=(display_name)
303
- if display_name.nil?
304
- fail ArgumentError, 'display_name cannot be nil'
290
+ # @param [Object] number Value to be assigned
291
+ def number=(number)
292
+ if number.nil?
293
+ fail ArgumentError, 'number cannot be nil'
305
294
  end
306
295
 
307
- @display_name = display_name
296
+ @number = number
308
297
  end
309
298
 
310
299
  # Custom attribute writer method with validation
@@ -74,8 +74,7 @@ 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
+ :'winner',
79
78
  ])
80
79
  end
81
80
 
@@ -117,6 +116,14 @@ module FtcApiV3Client
117
116
  def list_invalid_properties
118
117
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
119
118
  invalid_properties = Array.new
119
+ if @red_score.nil?
120
+ invalid_properties.push('invalid value for "red_score", red_score cannot be nil.')
121
+ end
122
+
123
+ if @blue_score.nil?
124
+ invalid_properties.push('invalid value for "blue_score", blue_score cannot be nil.')
125
+ end
126
+
120
127
  invalid_properties
121
128
  end
122
129
 
@@ -124,9 +131,31 @@ module FtcApiV3Client
124
131
  # @return true if the model is valid
125
132
  def valid?
126
133
  warn '[DEPRECATED] the `valid?` method is obsolete'
134
+ return false if @red_score.nil?
135
+ return false if @blue_score.nil?
127
136
  true
128
137
  end
129
138
 
139
+ # Custom attribute writer method with validation
140
+ # @param [Object] red_score Value to be assigned
141
+ def red_score=(red_score)
142
+ if red_score.nil?
143
+ fail ArgumentError, 'red_score cannot be nil'
144
+ end
145
+
146
+ @red_score = red_score
147
+ end
148
+
149
+ # Custom attribute writer method with validation
150
+ # @param [Object] blue_score Value to be assigned
151
+ def blue_score=(blue_score)
152
+ if blue_score.nil?
153
+ fail ArgumentError, 'blue_score cannot be nil'
154
+ end
155
+
156
+ @blue_score = blue_score
157
+ end
158
+
130
159
  # Checks equality by comparing each attribute.
131
160
  # @param [Object] Object to be compared
132
161
  def ==(o)
@@ -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 @red_alliance.nil?
104
101
  invalid_properties.push('invalid value for "red_alliance", red_alliance 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 @red_alliance.nil?
120
116
  return false if @blue_alliance.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] red_alliance Value to be assigned
136
122
  def red_alliance=(red_alliance)
@@ -70,6 +70,7 @@ module FtcApiV3Client
70
70
  # List of attributes with nullable: true
71
71
  def self.openapi_nullable
72
72
  Set.new([
73
+ :'operation',
73
74
  ])
74
75
  end
75
76
 
@@ -107,10 +108,6 @@ module FtcApiV3Client
107
108
  def list_invalid_properties
108
109
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
109
110
  invalid_properties = Array.new
110
- if @operation.nil?
111
- invalid_properties.push('invalid value for "operation", operation cannot be nil.')
112
- end
113
-
114
111
  if @team.nil?
115
112
  invalid_properties.push('invalid value for "team", team cannot be nil.')
116
113
  end
@@ -122,21 +119,10 @@ module FtcApiV3Client
122
119
  # @return true if the model is valid
123
120
  def valid?
124
121
  warn '[DEPRECATED] the `valid?` method is obsolete'
125
- return false if @operation.nil?
126
122
  return false if @team.nil?
127
123
  true
128
124
  end
129
125
 
130
- # Custom attribute writer method with validation
131
- # @param [Object] operation Value to be assigned
132
- def operation=(operation)
133
- if operation.nil?
134
- fail ArgumentError, 'operation cannot be nil'
135
- end
136
-
137
- @operation = operation
138
- end
139
-
140
126
  # Custom attribute writer method with validation
141
127
  # @param [Object] team Value to be assigned
142
128
  def team=(team)
@@ -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 @red_alliance.nil?
104
101
  invalid_properties.push('invalid value for "red_alliance", red_alliance 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 @red_alliance.nil?
120
116
  return false if @blue_alliance.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] red_alliance Value to be assigned
136
122
  def red_alliance=(red_alliance)
@@ -91,6 +91,10 @@ module FtcApiV3Client
91
91
  # List of attributes with nullable: true
92
92
  def self.openapi_nullable
93
93
  Set.new([
94
+ :'type',
95
+ :'name',
96
+ :'description',
97
+ :'sub_name',
94
98
  ])
95
99
  end
96
100
 
@@ -156,14 +160,6 @@ module FtcApiV3Client
156
160
  def list_invalid_properties
157
161
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
158
162
  invalid_properties = Array.new
159
- if @type.nil?
160
- invalid_properties.push('invalid value for "type", type cannot be nil.')
161
- end
162
-
163
- if @name.nil?
164
- invalid_properties.push('invalid value for "name", name cannot be nil.')
165
- end
166
-
167
163
  if @ordered.nil?
168
164
  invalid_properties.push('invalid value for "ordered", ordered cannot be nil.')
169
165
  end
@@ -183,34 +179,12 @@ module FtcApiV3Client
183
179
  # @return true if the model is valid
184
180
  def valid?
185
181
  warn '[DEPRECATED] the `valid?` method is obsolete'
186
- return false if @type.nil?
187
- return false if @name.nil?
188
182
  return false if @ordered.nil?
189
183
  return false if @individual.nil?
190
184
  return false if @recipients.nil?
191
185
  true
192
186
  end
193
187
 
194
- # Custom attribute writer method with validation
195
- # @param [Object] type Value to be assigned
196
- def type=(type)
197
- if type.nil?
198
- fail ArgumentError, 'type cannot be nil'
199
- end
200
-
201
- @type = type
202
- end
203
-
204
- # Custom attribute writer method with validation
205
- # @param [Object] name Value to be assigned
206
- def name=(name)
207
- if name.nil?
208
- fail ArgumentError, 'name cannot be nil'
209
- end
210
-
211
- @name = name
212
- end
213
-
214
188
  # Custom attribute writer method with validation
215
189
  # @param [Object] ordered Value to be assigned
216
190
  def ordered=(ordered)
@@ -59,7 +59,8 @@ module FtcApiV3Client
59
59
  # List of attributes with nullable: true
60
60
  def self.openapi_nullable
61
61
  Set.new([
62
- :'place',
62
+ :'name',
63
+ :'comment'
63
64
  ])
64
65
  end
65
66
 
@@ -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
- :'alliance_seed'
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 @type.nil?
91
- invalid_properties.push('invalid value for "type", type cannot be nil.')
90
+ if @alliance_seed.nil?
91
+ invalid_properties.push('invalid value for "alliance_seed", alliance_seed 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 @type.nil?
101
+ return false if @alliance_seed.nil?
102
102
  true
103
103
  end
104
104
 
105
105
  # Custom attribute writer method with validation
106
- # @param [Object] type Value to be assigned
107
- def type=(type)
108
- if type.nil?
109
- fail ArgumentError, 'type cannot be nil'
106
+ # @param [Object] alliance_seed Value to be assigned
107
+ def alliance_seed=(alliance_seed)
108
+ if alliance_seed.nil?
109
+ fail ArgumentError, 'alliance_seed cannot be nil'
110
110
  end
111
111
 
112
- @type = type
112
+ @alliance_seed = alliance_seed
113
113
  end
114
114
 
115
115
  # Checks equality by comparing each attribute.
@@ -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)