rustici_software_cloud_v2 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +355 -356
  4. data/lib/rustici_software_cloud_v2/api/about_api.rb +4 -4
  5. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +190 -62
  6. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +9 -17
  7. data/lib/rustici_software_cloud_v2/api/course_api.rb +903 -196
  8. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +458 -268
  9. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +212 -170
  10. data/lib/rustici_software_cloud_v2/api/learner_api.rb +48 -48
  11. data/lib/rustici_software_cloud_v2/api/ping_api.rb +2 -0
  12. data/lib/rustici_software_cloud_v2/api/registration_api.rb +255 -269
  13. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +19 -23
  14. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +81 -66
  15. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +124 -55
  16. data/lib/rustici_software_cloud_v2/api_client.rb +2 -2
  17. data/lib/rustici_software_cloud_v2/configuration.rb +3 -3
  18. data/lib/rustici_software_cloud_v2/models/about_schema.rb +3 -1
  19. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +8 -36
  20. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +234 -0
  21. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +3 -1
  22. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +186 -0
  23. data/lib/rustici_software_cloud_v2/models/application_schema.rb +3 -1
  24. data/lib/rustici_software_cloud_v2/models/application_token.rb +3 -1
  25. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +194 -0
  26. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +3 -1
  27. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +3 -1
  28. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +3 -1
  29. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +5 -29
  30. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +3 -1
  31. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +4 -1
  32. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +3 -1
  33. data/lib/rustici_software_cloud_v2/models/course_schema.rb +5 -29
  34. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +2 -19
  35. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +3 -1
  36. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +4 -2
  37. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +4 -2
  38. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +4 -2
  39. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +3 -1
  40. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +3 -1
  41. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +3 -1
  42. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +3 -1
  43. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +3 -1
  44. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +3 -1
  45. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +4 -2
  46. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +3 -1
  47. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +3 -1
  48. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +4 -1
  49. data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +221 -0
  50. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +3 -1
  51. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +43 -3
  52. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +3 -1
  53. data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +205 -0
  54. data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +187 -0
  55. data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +207 -0
  56. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +29 -6
  57. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +5 -29
  58. data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +216 -0
  59. data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +195 -0
  60. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +3 -1
  61. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +3 -1
  62. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +3 -1
  63. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +5 -29
  64. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +4 -1
  65. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +3 -1
  66. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +3 -1
  67. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +3 -1
  68. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +5 -29
  69. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +3 -1
  70. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +8 -36
  71. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +5 -3
  72. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +3 -1
  73. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +3 -1
  74. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +3 -1
  75. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +213 -0
  76. data/lib/rustici_software_cloud_v2/models/message_schema.rb +3 -1
  77. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +10 -8
  78. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +11 -43
  79. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +3 -1
  80. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +3 -1
  81. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +8 -36
  82. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +4 -1
  83. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +5 -3
  84. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +215 -0
  85. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +4 -1
  86. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +6 -4
  87. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +228 -0
  88. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +4 -1
  89. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +3 -1
  90. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +3 -1
  91. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +3 -1
  92. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +3 -1
  93. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +3 -1
  94. data/lib/rustici_software_cloud_v2/models/response_error.rb +3 -1
  95. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +5 -29
  96. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +8 -36
  97. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +5 -29
  98. data/lib/rustici_software_cloud_v2/models/score_schema.rb +3 -1
  99. data/lib/rustici_software_cloud_v2/models/setting_item.rb +5 -29
  100. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +3 -1
  101. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +5 -29
  102. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +3 -1
  103. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +3 -1
  104. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +3 -1
  105. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +3 -1
  106. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +3 -1
  107. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +3 -1
  108. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +3 -1
  109. data/lib/rustici_software_cloud_v2/models/title_schema.rb +3 -1
  110. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +3 -1
  111. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +196 -0
  112. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +15 -3
  113. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +4 -1
  114. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +3 -1
  115. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +3 -1
  116. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +3 -1
  117. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +3 -1
  118. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +3 -1
  119. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +5 -29
  120. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +3 -1
  121. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +3 -1
  122. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +3 -1
  123. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +5 -29
  124. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +5 -29
  125. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +3 -1
  126. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +3 -1
  127. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +3 -1
  128. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +4 -1
  129. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +3 -1
  130. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +3 -1
  131. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +3 -1
  132. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +3 -1
  133. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +3 -1
  134. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +3 -1
  135. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +3 -1
  136. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +3 -1
  137. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +3 -1
  138. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +3 -1
  139. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +3 -1
  140. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +3 -1
  141. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +3 -1
  142. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +13 -1
  143. data/lib/rustici_software_cloud_v2/version.rb +1 -1
  144. data/lib/rustici_software_cloud_v2.rb +13 -0
  145. data/rustici_software_cloud_v2.gemspec +2 -1
  146. data/spec/api_client_spec.rb +17 -0
  147. metadata +35 -2
@@ -72,6 +72,7 @@ module RusticiSoftwareCloudV2
72
72
  true
73
73
  end
74
74
 
75
+
75
76
  # Checks equality by comparing each attribute.
76
77
  # @param [Object] Object to be compared
77
78
  def ==(o)
@@ -101,7 +102,7 @@ module RusticiSoftwareCloudV2
101
102
  return nil unless attributes.is_a?(Hash)
102
103
  self.class.swagger_types.each_pair do |key, type|
103
104
  if type =~ /\AArray<(.*)>/i
104
- # check to ensure the input is an array given that the the attribute
105
+ # check to ensure the input is an array given that the attribute
105
106
  # is documented as an array but the input is not
106
107
  if attributes[self.class.attribute_map[key]].is_a?(Array)
107
108
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -197,5 +198,6 @@ module RusticiSoftwareCloudV2
197
198
  value
198
199
  end
199
200
  end
201
+
200
202
  end
201
203
  end
@@ -57,6 +57,7 @@ module RusticiSoftwareCloudV2
57
57
  true
58
58
  end
59
59
 
60
+
60
61
  # Checks equality by comparing each attribute.
61
62
  # @param [Object] Object to be compared
62
63
  def ==(o)
@@ -84,7 +85,7 @@ module RusticiSoftwareCloudV2
84
85
  return nil unless attributes.is_a?(Hash)
85
86
  self.class.swagger_types.each_pair do |key, type|
86
87
  if type =~ /\AArray<(.*)>/i
87
- # check to ensure the input is an array given that the the attribute
88
+ # check to ensure the input is an array given that the attribute
88
89
  # is documented as an array but the input is not
89
90
  if attributes[self.class.attribute_map[key]].is_a?(Array)
90
91
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -180,5 +181,6 @@ module RusticiSoftwareCloudV2
180
181
  value
181
182
  end
182
183
  end
184
+
183
185
  end
184
186
  end
@@ -37,28 +37,6 @@ module RusticiSoftwareCloudV2
37
37
 
38
38
  attr_accessor :children
39
39
 
40
- class EnumAttributeValidator
41
- attr_reader :datatype
42
- attr_reader :allowable_values
43
-
44
- def initialize(datatype, allowable_values)
45
- @allowable_values = allowable_values.map do |value|
46
- case datatype.to_s
47
- when /Integer/i
48
- value.to_i
49
- when /Float/i
50
- value.to_f
51
- else
52
- value
53
- end
54
- end
55
- end
56
-
57
- def valid?(value)
58
- !value || allowable_values.include?(value)
59
- end
60
- end
61
-
62
40
  # Attribute mapping from ruby-style variable name to JSON key.
63
41
  def self.attribute_map
64
42
  {
@@ -140,18 +118,15 @@ module RusticiSoftwareCloudV2
140
118
  # Check to see if the all the properties in the model are valid
141
119
  # @return true if the model is valid
142
120
  def valid?
143
- activity_type_validator = EnumAttributeValidator.new('String', ['UNKNOWN', 'AGGREGATION', 'SCO', 'ASSET', 'OBJECTIVE'])
144
- return false unless activity_type_validator.valid?(@activity_type)
145
121
  true
146
122
  end
147
123
 
148
124
  # Custom attribute writer method checking allowed values (enum).
125
+ #
126
+ # allowable_values = ['UNKNOWN', 'AGGREGATION', 'SCO', 'ASSET', 'OBJECTIVE']
127
+ #
149
128
  # @param [Object] activity_type Object to be assigned
150
129
  def activity_type=(activity_type)
151
- validator = EnumAttributeValidator.new('String', ['UNKNOWN', 'AGGREGATION', 'SCO', 'ASSET', 'OBJECTIVE'])
152
- unless validator.valid?(activity_type)
153
- fail ArgumentError, 'invalid value for "activity_type", must be one of #{validator.allowable_values}.'
154
- end
155
130
  @activity_type = activity_type
156
131
  end
157
132
 
@@ -189,7 +164,7 @@ module RusticiSoftwareCloudV2
189
164
  return nil unless attributes.is_a?(Hash)
190
165
  self.class.swagger_types.each_pair do |key, type|
191
166
  if type =~ /\AArray<(.*)>/i
192
- # check to ensure the input is an array given that the the attribute
167
+ # check to ensure the input is an array given that the attribute
193
168
  # is documented as an array but the input is not
194
169
  if attributes[self.class.attribute_map[key]].is_a?(Array)
195
170
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -285,5 +260,6 @@ module RusticiSoftwareCloudV2
285
260
  value
286
261
  end
287
262
  end
263
+
288
264
  end
289
265
  end
@@ -58,6 +58,7 @@ module RusticiSoftwareCloudV2
58
58
  true
59
59
  end
60
60
 
61
+
61
62
  # Checks equality by comparing each attribute.
62
63
  # @param [Object] Object to be compared
63
64
  def ==(o)
@@ -85,7 +86,7 @@ module RusticiSoftwareCloudV2
85
86
  return nil unless attributes.is_a?(Hash)
86
87
  self.class.swagger_types.each_pair do |key, type|
87
88
  if type =~ /\AArray<(.*)>/i
88
- # check to ensure the input is an array given that the the attribute
89
+ # check to ensure the input is an array given that the attribute
89
90
  # is documented as an array but the input is not
90
91
  if attributes[self.class.attribute_map[key]].is_a?(Array)
91
92
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -181,5 +182,6 @@ module RusticiSoftwareCloudV2
181
182
  value
182
183
  end
183
184
  end
185
+
184
186
  end
185
187
  end
@@ -16,6 +16,7 @@ module RusticiSoftwareCloudV2
16
16
  class CourseListSchema
17
17
  attr_accessor :courses
18
18
 
19
+ # Token for getting the next set of results, from the prior set of results.
19
20
  attr_accessor :more
20
21
 
21
22
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -66,6 +67,7 @@ module RusticiSoftwareCloudV2
66
67
  true
67
68
  end
68
69
 
70
+
69
71
  # Checks equality by comparing each attribute.
70
72
  # @param [Object] Object to be compared
71
73
  def ==(o)
@@ -94,7 +96,7 @@ module RusticiSoftwareCloudV2
94
96
  return nil unless attributes.is_a?(Hash)
95
97
  self.class.swagger_types.each_pair do |key, type|
96
98
  if type =~ /\AArray<(.*)>/i
97
- # check to ensure the input is an array given that the the attribute
99
+ # check to ensure the input is an array given that the attribute
98
100
  # is documented as an array but the input is not
99
101
  if attributes[self.class.attribute_map[key]].is_a?(Array)
100
102
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -190,5 +192,6 @@ module RusticiSoftwareCloudV2
190
192
  value
191
193
  end
192
194
  end
195
+
193
196
  end
194
197
  end
@@ -73,6 +73,7 @@ module RusticiSoftwareCloudV2
73
73
  true
74
74
  end
75
75
 
76
+
76
77
  # Checks equality by comparing each attribute.
77
78
  # @param [Object] Object to be compared
78
79
  def ==(o)
@@ -102,7 +103,7 @@ module RusticiSoftwareCloudV2
102
103
  return nil unless attributes.is_a?(Hash)
103
104
  self.class.swagger_types.each_pair do |key, type|
104
105
  if type =~ /\AArray<(.*)>/i
105
- # check to ensure the input is an array given that the the attribute
106
+ # check to ensure the input is an array given that the attribute
106
107
  # is documented as an array but the input is not
107
108
  if attributes[self.class.attribute_map[key]].is_a?(Array)
108
109
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -198,5 +199,6 @@ module RusticiSoftwareCloudV2
198
199
  value
199
200
  end
200
201
  end
202
+
201
203
  end
202
204
  end
@@ -41,28 +41,6 @@ module RusticiSoftwareCloudV2
41
41
 
42
42
  attr_accessor :root_activity
43
43
 
44
- class EnumAttributeValidator
45
- attr_reader :datatype
46
- attr_reader :allowable_values
47
-
48
- def initialize(datatype, allowable_values)
49
- @allowable_values = allowable_values.map do |value|
50
- case datatype.to_s
51
- when /Integer/i
52
- value.to_i
53
- when /Float/i
54
- value.to_f
55
- else
56
- value
57
- end
58
- end
59
- end
60
-
61
- def valid?(value)
62
- !value || allowable_values.include?(value)
63
- end
64
- end
65
-
66
44
  # Attribute mapping from ruby-style variable name to JSON key.
67
45
  def self.attribute_map
68
46
  {
@@ -174,18 +152,15 @@ module RusticiSoftwareCloudV2
174
152
  # Check to see if the all the properties in the model are valid
175
153
  # @return true if the model is valid
176
154
  def valid?
177
- course_learning_standard_validator = EnumAttributeValidator.new('String', ['UNKNOWN', 'SCORM11', 'SCORM12', 'SCORM20042NDEDITION', 'SCORM20043RDEDITION', 'SCORM20044THEDITION', 'AICC', 'XAPI', 'CMI5'])
178
- return false unless course_learning_standard_validator.valid?(@course_learning_standard)
179
155
  true
180
156
  end
181
157
 
182
158
  # Custom attribute writer method checking allowed values (enum).
159
+ #
160
+ # allowable_values = ['UNKNOWN', 'SCORM11', 'SCORM12', 'SCORM20042NDEDITION', 'SCORM20043RDEDITION', 'SCORM20044THEDITION', 'AICC', 'XAPI', 'CMI5']
161
+ #
183
162
  # @param [Object] course_learning_standard Object to be assigned
184
163
  def course_learning_standard=(course_learning_standard)
185
- validator = EnumAttributeValidator.new('String', ['UNKNOWN', 'SCORM11', 'SCORM12', 'SCORM20042NDEDITION', 'SCORM20043RDEDITION', 'SCORM20044THEDITION', 'AICC', 'XAPI', 'CMI5'])
186
- unless validator.valid?(course_learning_standard)
187
- fail ArgumentError, 'invalid value for "course_learning_standard", must be one of #{validator.allowable_values}.'
188
- end
189
164
  @course_learning_standard = course_learning_standard
190
165
  end
191
166
 
@@ -228,7 +203,7 @@ module RusticiSoftwareCloudV2
228
203
  return nil unless attributes.is_a?(Hash)
229
204
  self.class.swagger_types.each_pair do |key, type|
230
205
  if type =~ /\AArray<(.*)>/i
231
- # check to ensure the input is an array given that the the attribute
206
+ # check to ensure the input is an array given that the attribute
232
207
  # is documented as an array but the input is not
233
208
  if attributes[self.class.attribute_map[key]].is_a?(Array)
234
209
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -324,5 +299,6 @@ module RusticiSoftwareCloudV2
324
299
  value
325
300
  end
326
301
  end
302
+
327
303
  end
328
304
  end
@@ -59,10 +59,6 @@ module RusticiSoftwareCloudV2
59
59
  invalid_properties.push('invalid value for "id", id cannot be nil.')
60
60
  end
61
61
 
62
- if @id.to_s.length < 9
63
- invalid_properties.push('invalid value for "id", the character length must be great than or equal to 9.')
64
- end
65
-
66
62
  if @data.nil?
67
63
  invalid_properties.push('invalid value for "data", data cannot be nil.')
68
64
  end
@@ -74,24 +70,10 @@ module RusticiSoftwareCloudV2
74
70
  # @return true if the model is valid
75
71
  def valid?
76
72
  return false if @id.nil?
77
- return false if @id.to_s.length < 9
78
73
  return false if @data.nil?
79
74
  true
80
75
  end
81
76
 
82
- # Custom attribute writer method with validation
83
- # @param [Object] id Value to be assigned
84
- def id=(id)
85
- if id.nil?
86
- fail ArgumentError, 'id cannot be nil'
87
- end
88
-
89
- if id.to_s.length < 9
90
- fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 9.'
91
- end
92
-
93
- @id = id
94
- end
95
77
 
96
78
  # Checks equality by comparing each attribute.
97
79
  # @param [Object] Object to be compared
@@ -121,7 +103,7 @@ module RusticiSoftwareCloudV2
121
103
  return nil unless attributes.is_a?(Hash)
122
104
  self.class.swagger_types.each_pair do |key, type|
123
105
  if type =~ /\AArray<(.*)>/i
124
- # check to ensure the input is an array given that the the attribute
106
+ # check to ensure the input is an array given that the attribute
125
107
  # is documented as an array but the input is not
126
108
  if attributes[self.class.attribute_map[key]].is_a?(Array)
127
109
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -217,5 +199,6 @@ module RusticiSoftwareCloudV2
217
199
  value
218
200
  end
219
201
  end
202
+
220
203
  end
221
204
  end
@@ -58,6 +58,7 @@ module RusticiSoftwareCloudV2
58
58
  true
59
59
  end
60
60
 
61
+
61
62
  # Checks equality by comparing each attribute.
62
63
  # @param [Object] Object to be compared
63
64
  def ==(o)
@@ -85,7 +86,7 @@ module RusticiSoftwareCloudV2
85
86
  return nil unless attributes.is_a?(Hash)
86
87
  self.class.swagger_types.each_pair do |key, type|
87
88
  if type =~ /\AArray<(.*)>/i
88
- # check to ensure the input is an array given that the the attribute
89
+ # check to ensure the input is an array given that the attribute
89
90
  # is documented as an array but the input is not
90
91
  if attributes[self.class.attribute_map[key]].is_a?(Array)
91
92
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -181,5 +182,6 @@ module RusticiSoftwareCloudV2
181
182
  value
182
183
  end
183
184
  end
185
+
184
186
  end
185
187
  end
@@ -29,7 +29,7 @@ module RusticiSoftwareCloudV2
29
29
  # The maximum number of registrations that can be created for this dispatch, where '0' means 'unlimited registrations'.
30
30
  attr_accessor :registration_cap
31
31
 
32
- # The date after which this dispatch will be disabled as an ISO 8601 string, or not present for no expiration date.
32
+ # The ISO 8601 TimeStamp (defaults to UTC) after which this dispatch will be disabled. An empty value will represent no expiration date.
33
33
  attr_accessor :expiration_date
34
34
 
35
35
  # If true, then this dispatch can be launched.
@@ -167,6 +167,7 @@ module RusticiSoftwareCloudV2
167
167
  true
168
168
  end
169
169
 
170
+
170
171
  # Checks equality by comparing each attribute.
171
172
  # @param [Object] Object to be compared
172
173
  def ==(o)
@@ -204,7 +205,7 @@ module RusticiSoftwareCloudV2
204
205
  return nil unless attributes.is_a?(Hash)
205
206
  self.class.swagger_types.each_pair do |key, type|
206
207
  if type =~ /\AArray<(.*)>/i
207
- # check to ensure the input is an array given that the the attribute
208
+ # check to ensure the input is an array given that the attribute
208
209
  # is documented as an array but the input is not
209
210
  if attributes[self.class.attribute_map[key]].is_a?(Array)
210
211
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -300,5 +301,6 @@ module RusticiSoftwareCloudV2
300
301
  value
301
302
  end
302
303
  end
304
+
303
305
  end
304
306
  end
@@ -25,7 +25,7 @@ module RusticiSoftwareCloudV2
25
25
  # Specifies a URL for which to post activity and status data in real time as the course is completed
26
26
  attr_accessor :post_back
27
27
 
28
- # The date this invitation will expire and can not be launched (formatted yyyyMMddHHmmss in UTC time).
28
+ # The ISO 8601 TimeStamp (defaults to UTC) after which this invitation will expire and can no longer be launched. An empty value will represent no expiration date.
29
29
  attr_accessor :expiration_date
30
30
 
31
31
  # Optional tags to be applied to this invitation.
@@ -118,6 +118,7 @@ module RusticiSoftwareCloudV2
118
118
  true
119
119
  end
120
120
 
121
+
121
122
  # Checks equality by comparing each attribute.
122
123
  # @param [Object] Object to be compared
123
124
  def ==(o)
@@ -150,7 +151,7 @@ module RusticiSoftwareCloudV2
150
151
  return nil unless attributes.is_a?(Hash)
151
152
  self.class.swagger_types.each_pair do |key, type|
152
153
  if type =~ /\AArray<(.*)>/i
153
- # check to ensure the input is an array given that the the attribute
154
+ # check to ensure the input is an array given that the attribute
154
155
  # is documented as an array but the input is not
155
156
  if attributes[self.class.attribute_map[key]].is_a?(Array)
156
157
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -246,5 +247,6 @@ module RusticiSoftwareCloudV2
246
247
  value
247
248
  end
248
249
  end
250
+
249
251
  end
250
252
  end
@@ -26,7 +26,7 @@ module RusticiSoftwareCloudV2
26
26
  # Specifies a URL for which to post activity and status data in real time as the course is completed
27
27
  attr_accessor :post_back
28
28
 
29
- # The date this invitation will expire and can no longer be launched (formatted yyyyMMddHHmmss in UTC time).
29
+ # The ISO 8601 TimeStamp (defaults to UTC) after which this invitation will expire and can no longer be launched. An empty value will represent no expiration date.
30
30
  attr_accessor :expiration_date
31
31
 
32
32
  # Optional tags to be applied to this invitation.
@@ -116,6 +116,7 @@ module RusticiSoftwareCloudV2
116
116
  true
117
117
  end
118
118
 
119
+
119
120
  # Checks equality by comparing each attribute.
120
121
  # @param [Object] Object to be compared
121
122
  def ==(o)
@@ -148,7 +149,7 @@ module RusticiSoftwareCloudV2
148
149
  return nil unless attributes.is_a?(Hash)
149
150
  self.class.swagger_types.each_pair do |key, type|
150
151
  if type =~ /\AArray<(.*)>/i
151
- # check to ensure the input is an array given that the the attribute
152
+ # check to ensure the input is an array given that the attribute
152
153
  # is documented as an array but the input is not
153
154
  if attributes[self.class.attribute_map[key]].is_a?(Array)
154
155
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -244,5 +245,6 @@ module RusticiSoftwareCloudV2
244
245
  value
245
246
  end
246
247
  end
248
+
247
249
  end
248
250
  end
@@ -151,6 +151,7 @@ module RusticiSoftwareCloudV2
151
151
  true
152
152
  end
153
153
 
154
+
154
155
  # Checks equality by comparing each attribute.
155
156
  # @param [Object] Object to be compared
156
157
  def ==(o)
@@ -187,7 +188,7 @@ module RusticiSoftwareCloudV2
187
188
  return nil unless attributes.is_a?(Hash)
188
189
  self.class.swagger_types.each_pair do |key, type|
189
190
  if type =~ /\AArray<(.*)>/i
190
- # check to ensure the input is an array given that the the attribute
191
+ # check to ensure the input is an array given that the attribute
191
192
  # is documented as an array but the input is not
192
193
  if attributes[self.class.attribute_map[key]].is_a?(Array)
193
194
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -283,5 +284,6 @@ module RusticiSoftwareCloudV2
283
284
  value
284
285
  end
285
286
  end
287
+
286
288
  end
287
289
  end
@@ -92,6 +92,7 @@ module RusticiSoftwareCloudV2
92
92
  true
93
93
  end
94
94
 
95
+
95
96
  # Checks equality by comparing each attribute.
96
97
  # @param [Object] Object to be compared
97
98
  def ==(o)
@@ -123,7 +124,7 @@ module RusticiSoftwareCloudV2
123
124
  return nil unless attributes.is_a?(Hash)
124
125
  self.class.swagger_types.each_pair do |key, type|
125
126
  if type =~ /\AArray<(.*)>/i
126
- # check to ensure the input is an array given that the the attribute
127
+ # check to ensure the input is an array given that the attribute
127
128
  # is documented as an array but the input is not
128
129
  if attributes[self.class.attribute_map[key]].is_a?(Array)
129
130
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -219,5 +220,6 @@ module RusticiSoftwareCloudV2
219
220
  value
220
221
  end
221
222
  end
223
+
222
224
  end
223
225
  end
@@ -58,6 +58,7 @@ module RusticiSoftwareCloudV2
58
58
  true
59
59
  end
60
60
 
61
+
61
62
  # Checks equality by comparing each attribute.
62
63
  # @param [Object] Object to be compared
63
64
  def ==(o)
@@ -85,7 +86,7 @@ module RusticiSoftwareCloudV2
85
86
  return nil unless attributes.is_a?(Hash)
86
87
  self.class.swagger_types.each_pair do |key, type|
87
88
  if type =~ /\AArray<(.*)>/i
88
- # check to ensure the input is an array given that the the attribute
89
+ # check to ensure the input is an array given that the attribute
89
90
  # is documented as an array but the input is not
90
91
  if attributes[self.class.attribute_map[key]].is_a?(Array)
91
92
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -181,5 +182,6 @@ module RusticiSoftwareCloudV2
181
182
  value
182
183
  end
183
184
  end
185
+
184
186
  end
185
187
  end
@@ -66,6 +66,7 @@ module RusticiSoftwareCloudV2
66
66
  true
67
67
  end
68
68
 
69
+
69
70
  # Checks equality by comparing each attribute.
70
71
  # @param [Object] Object to be compared
71
72
  def ==(o)
@@ -94,7 +95,7 @@ module RusticiSoftwareCloudV2
94
95
  return nil unless attributes.is_a?(Hash)
95
96
  self.class.swagger_types.each_pair do |key, type|
96
97
  if type =~ /\AArray<(.*)>/i
97
- # check to ensure the input is an array given that the the attribute
98
+ # check to ensure the input is an array given that the attribute
98
99
  # is documented as an array but the input is not
99
100
  if attributes[self.class.attribute_map[key]].is_a?(Array)
100
101
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -190,5 +191,6 @@ module RusticiSoftwareCloudV2
190
191
  value
191
192
  end
192
193
  end
194
+
193
195
  end
194
196
  end
@@ -92,6 +92,7 @@ module RusticiSoftwareCloudV2
92
92
  true
93
93
  end
94
94
 
95
+
95
96
  # Checks equality by comparing each attribute.
96
97
  # @param [Object] Object to be compared
97
98
  def ==(o)
@@ -123,7 +124,7 @@ module RusticiSoftwareCloudV2
123
124
  return nil unless attributes.is_a?(Hash)
124
125
  self.class.swagger_types.each_pair do |key, type|
125
126
  if type =~ /\AArray<(.*)>/i
126
- # check to ensure the input is an array given that the the attribute
127
+ # check to ensure the input is an array given that the attribute
127
128
  # is documented as an array but the input is not
128
129
  if attributes[self.class.attribute_map[key]].is_a?(Array)
129
130
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -219,5 +220,6 @@ module RusticiSoftwareCloudV2
219
220
  value
220
221
  end
221
222
  end
223
+
222
224
  end
223
225
  end
@@ -65,6 +65,7 @@ module RusticiSoftwareCloudV2
65
65
  true
66
66
  end
67
67
 
68
+
68
69
  # Checks equality by comparing each attribute.
69
70
  # @param [Object] Object to be compared
70
71
  def ==(o)
@@ -93,7 +94,7 @@ module RusticiSoftwareCloudV2
93
94
  return nil unless attributes.is_a?(Hash)
94
95
  self.class.swagger_types.each_pair do |key, type|
95
96
  if type =~ /\AArray<(.*)>/i
96
- # check to ensure the input is an array given that the the attribute
97
+ # check to ensure the input is an array given that the attribute
97
98
  # is documented as an array but the input is not
98
99
  if attributes[self.class.attribute_map[key]].is_a?(Array)
99
100
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -189,5 +190,6 @@ module RusticiSoftwareCloudV2
189
190
  value
190
191
  end
191
192
  end
193
+
192
194
  end
193
195
  end
@@ -17,7 +17,7 @@ module RusticiSoftwareCloudV2
17
17
  #
18
18
  attr_accessor :destinations
19
19
 
20
- #
20
+ # Token for getting the next set of results, from the prior set of results.
21
21
  attr_accessor :more
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -68,6 +68,7 @@ module RusticiSoftwareCloudV2
68
68
  true
69
69
  end
70
70
 
71
+
71
72
  # Checks equality by comparing each attribute.
72
73
  # @param [Object] Object to be compared
73
74
  def ==(o)
@@ -96,7 +97,7 @@ module RusticiSoftwareCloudV2
96
97
  return nil unless attributes.is_a?(Hash)
97
98
  self.class.swagger_types.each_pair do |key, type|
98
99
  if type =~ /\AArray<(.*)>/i
99
- # check to ensure the input is an array given that the the attribute
100
+ # check to ensure the input is an array given that the attribute
100
101
  # is documented as an array but the input is not
101
102
  if attributes[self.class.attribute_map[key]].is_a?(Array)
102
103
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -192,5 +193,6 @@ module RusticiSoftwareCloudV2
192
193
  value
193
194
  end
194
195
  end
196
+
195
197
  end
196
198
  end
@@ -94,6 +94,7 @@ module RusticiSoftwareCloudV2
94
94
  true
95
95
  end
96
96
 
97
+
97
98
  # Checks equality by comparing each attribute.
98
99
  # @param [Object] Object to be compared
99
100
  def ==(o)
@@ -125,7 +126,7 @@ module RusticiSoftwareCloudV2
125
126
  return nil unless attributes.is_a?(Hash)
126
127
  self.class.swagger_types.each_pair do |key, type|
127
128
  if type =~ /\AArray<(.*)>/i
128
- # check to ensure the input is an array given that the the attribute
129
+ # check to ensure the input is an array given that the attribute
129
130
  # is documented as an array but the input is not
130
131
  if attributes[self.class.attribute_map[key]].is_a?(Array)
131
132
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -221,5 +222,6 @@ module RusticiSoftwareCloudV2
221
222
  value
222
223
  end
223
224
  end
225
+
224
226
  end
225
227
  end
@@ -64,6 +64,7 @@ module RusticiSoftwareCloudV2
64
64
  true
65
65
  end
66
66
 
67
+
67
68
  # Checks equality by comparing each attribute.
68
69
  # @param [Object] Object to be compared
69
70
  def ==(o)
@@ -92,7 +93,7 @@ module RusticiSoftwareCloudV2
92
93
  return nil unless attributes.is_a?(Hash)
93
94
  self.class.swagger_types.each_pair do |key, type|
94
95
  if type =~ /\AArray<(.*)>/i
95
- # check to ensure the input is an array given that the the attribute
96
+ # check to ensure the input is an array given that the attribute
96
97
  # is documented as an array but the input is not
97
98
  if attributes[self.class.attribute_map[key]].is_a?(Array)
98
99
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -188,5 +189,6 @@ module RusticiSoftwareCloudV2
188
189
  value
189
190
  end
190
191
  end
192
+
191
193
  end
192
194
  end