rustici_software_cloud_v2 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/rustici_software_cloud_v2/api/about_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/application_management_api.rb +100 -5
- data/lib/rustici_software_cloud_v2/api/authentication_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +241 -0
- data/lib/rustici_software_cloud_v2/api/course_api.rb +158 -3
- data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +229 -3
- data/lib/rustici_software_cloud_v2/api/invitations_api.rb +33 -1
- data/lib/rustici_software_cloud_v2/api/learner_api.rb +8 -1
- data/lib/rustici_software_cloud_v2/api/ping_api.rb +3 -1
- data/lib/rustici_software_cloud_v2/api/registration_api.rb +32 -1
- data/lib/rustici_software_cloud_v2/api/reporting_api.rb +5 -1
- data/lib/rustici_software_cloud_v2/api/xapi_api.rb +15 -1
- data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +11 -1
- data/lib/rustici_software_cloud_v2/api_client.rb +3 -2
- data/lib/rustici_software_cloud_v2/api_error.rb +0 -1
- data/lib/rustici_software_cloud_v2/configuration.rb +0 -1
- data/lib/rustici_software_cloud_v2/models/about_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_info_list_schema.rb +197 -0
- data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +12 -2
- data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/application_token.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/comment_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +188 -0
- data/lib/rustici_software_cloud_v2/models/connector_schema.rb +226 -0
- data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/course_schema.rb +2 -2
- data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +218 -0
- data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/credential_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/destination_schema.rb +32 -5
- data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +186 -0
- data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +207 -0
- data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +15 -6
- data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/learner_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +261 -0
- data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +236 -0
- data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/message_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/objective_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/paginated_list.rb +186 -0
- data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/ping_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +11 -2
- data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/response_error.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/score_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_item.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/title_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +196 -0
- data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +15 -18
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_account.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_result.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_score.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +1 -1
- data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +1 -1
- data/lib/rustici_software_cloud_v2/version.rb +1 -2
- data/lib/rustici_software_cloud_v2.rb +11 -1
- data/rustici_software_cloud_v2.gemspec +0 -1
- data/spec/api_client_spec.rb +0 -1
- data/spec/configuration_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +14 -3
@@ -0,0 +1,218 @@
|
|
1
|
+
=begin
|
2
|
+
#SCORM Cloud Rest API
|
3
|
+
|
4
|
+
#REST API used for SCORM Cloud integrations.
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
|
15
|
+
module RusticiSoftwareCloudV2
|
16
|
+
class CreateConnectorSchema
|
17
|
+
# type of this content connector
|
18
|
+
attr_accessor :content_connector_type
|
19
|
+
|
20
|
+
# configuration for this content connector, format is implementation specific
|
21
|
+
attr_accessor :configuration
|
22
|
+
|
23
|
+
# is this connector enabled
|
24
|
+
attr_accessor :enabled
|
25
|
+
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
27
|
+
def self.attribute_map
|
28
|
+
{
|
29
|
+
:'content_connector_type' => :'contentConnectorType',
|
30
|
+
:'configuration' => :'configuration',
|
31
|
+
:'enabled' => :'enabled'
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
# Attribute type mapping.
|
36
|
+
def self.swagger_types
|
37
|
+
{
|
38
|
+
:'content_connector_type' => :'String',
|
39
|
+
:'configuration' => :'Object',
|
40
|
+
:'enabled' => :'BOOLEAN'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
return unless attributes.is_a?(Hash)
|
48
|
+
|
49
|
+
# convert string to symbol for hash key
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
|
+
|
52
|
+
if attributes.has_key?(:'contentConnectorType')
|
53
|
+
self.content_connector_type = attributes[:'contentConnectorType']
|
54
|
+
end
|
55
|
+
|
56
|
+
if attributes.has_key?(:'configuration')
|
57
|
+
self.configuration = attributes[:'configuration']
|
58
|
+
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'enabled')
|
61
|
+
self.enabled = attributes[:'enabled']
|
62
|
+
else
|
63
|
+
self.enabled = true
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
+
# @return Array for valid properties with the reasons
|
69
|
+
def list_invalid_properties
|
70
|
+
invalid_properties = Array.new
|
71
|
+
if @content_connector_type.nil?
|
72
|
+
invalid_properties.push('invalid value for "content_connector_type", content_connector_type cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @configuration.nil?
|
76
|
+
invalid_properties.push('invalid value for "configuration", configuration cannot be nil.')
|
77
|
+
end
|
78
|
+
|
79
|
+
invalid_properties
|
80
|
+
end
|
81
|
+
|
82
|
+
# Check to see if the all the properties in the model are valid
|
83
|
+
# @return true if the model is valid
|
84
|
+
def valid?
|
85
|
+
return false if @content_connector_type.nil?
|
86
|
+
return false if @configuration.nil?
|
87
|
+
true
|
88
|
+
end
|
89
|
+
|
90
|
+
|
91
|
+
# Checks equality by comparing each attribute.
|
92
|
+
# @param [Object] Object to be compared
|
93
|
+
def ==(o)
|
94
|
+
return true if self.equal?(o)
|
95
|
+
self.class == o.class &&
|
96
|
+
content_connector_type == o.content_connector_type &&
|
97
|
+
configuration == o.configuration &&
|
98
|
+
enabled == o.enabled
|
99
|
+
end
|
100
|
+
|
101
|
+
# @see the `==` method
|
102
|
+
# @param [Object] Object to be compared
|
103
|
+
def eql?(o)
|
104
|
+
self == o
|
105
|
+
end
|
106
|
+
|
107
|
+
# Calculates hash code according to all attributes.
|
108
|
+
# @return [Fixnum] Hash code
|
109
|
+
def hash
|
110
|
+
[content_connector_type, configuration, enabled].hash
|
111
|
+
end
|
112
|
+
|
113
|
+
# Builds the object from hash
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
115
|
+
# @return [Object] Returns the model itself
|
116
|
+
def build_from_hash(attributes)
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
118
|
+
self.class.swagger_types.each_pair do |key, type|
|
119
|
+
if type =~ /\AArray<(.*)>/i
|
120
|
+
# check to ensure the input is an array given that the attribute
|
121
|
+
# is documented as an array but the input is not
|
122
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
123
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
124
|
+
end
|
125
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
126
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
127
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
128
|
+
end
|
129
|
+
|
130
|
+
self
|
131
|
+
end
|
132
|
+
|
133
|
+
# Deserializes the data based on type
|
134
|
+
# @param string type Data type
|
135
|
+
# @param string value Value to be deserialized
|
136
|
+
# @return [Object] Deserialized data
|
137
|
+
def _deserialize(type, value)
|
138
|
+
case type.to_sym
|
139
|
+
when :DateTime
|
140
|
+
DateTime.parse(value)
|
141
|
+
when :Date
|
142
|
+
Date.parse(value)
|
143
|
+
when :String
|
144
|
+
value.to_s
|
145
|
+
when :Integer
|
146
|
+
value.to_i
|
147
|
+
when :Float
|
148
|
+
value.to_f
|
149
|
+
when :BOOLEAN
|
150
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
151
|
+
true
|
152
|
+
else
|
153
|
+
false
|
154
|
+
end
|
155
|
+
when :Object
|
156
|
+
# generic object (usually a Hash), return directly
|
157
|
+
value
|
158
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
159
|
+
inner_type = Regexp.last_match[:inner_type]
|
160
|
+
value.map { |v| _deserialize(inner_type, v) }
|
161
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
162
|
+
k_type = Regexp.last_match[:k_type]
|
163
|
+
v_type = Regexp.last_match[:v_type]
|
164
|
+
{}.tap do |hash|
|
165
|
+
value.each do |k, v|
|
166
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
167
|
+
end
|
168
|
+
end
|
169
|
+
else # model
|
170
|
+
temp_model = RusticiSoftwareCloudV2.const_get(type).new
|
171
|
+
temp_model.build_from_hash(value)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the string representation of the object
|
176
|
+
# @return [String] String presentation of the object
|
177
|
+
def to_s
|
178
|
+
to_hash.to_s
|
179
|
+
end
|
180
|
+
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_body
|
184
|
+
to_hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Returns the object in the form of hash
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_hash
|
190
|
+
hash = {}
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
192
|
+
value = self.send(attr)
|
193
|
+
next if value.nil?
|
194
|
+
hash[param] = _to_hash(value)
|
195
|
+
end
|
196
|
+
hash
|
197
|
+
end
|
198
|
+
|
199
|
+
# Outputs non-array value in the form of hash
|
200
|
+
# For object, use to_hash. Otherwise, just return the value
|
201
|
+
# @param [Object] value Any valid value
|
202
|
+
# @return [Hash] Returns the value in the form of hash
|
203
|
+
def _to_hash(value)
|
204
|
+
if value.is_a?(Array)
|
205
|
+
value.compact.map { |v| _to_hash(v) }
|
206
|
+
elsif value.is_a?(Hash)
|
207
|
+
{}.tap do |hash|
|
208
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
209
|
+
end
|
210
|
+
elsif value.respond_to? :to_hash
|
211
|
+
value.to_hash
|
212
|
+
else
|
213
|
+
value
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
end
|
218
|
+
end
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CreateDispatchIdSchema
|
17
17
|
attr_accessor :id
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CreateDispatchListSchema
|
17
17
|
attr_accessor :dispatches
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CreateDispatchSchema
|
17
17
|
# Id of the destination this dispatch will belong to.
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CreatePrivateInvitationSchema
|
17
17
|
# The id of the course for which to create an invitation.
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CreatePublicInvitationSchema
|
17
17
|
# The id of the course for which to create an invitation.
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CreateRegistrationSchema
|
17
17
|
attr_accessor :course_id
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CredentialCreatedSchema
|
17
17
|
# id for this credential
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CredentialListSchema
|
17
17
|
attr_accessor :credentials
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CredentialRequestSchema
|
17
17
|
# name for this credential
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class CredentialSchema
|
17
17
|
# id for this credential
|
@@ -6,17 +6,21 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class DestinationSchema
|
17
17
|
# The destination's name.
|
18
18
|
attr_accessor :name
|
19
19
|
|
20
|
+
attr_accessor :updated
|
21
|
+
|
22
|
+
attr_accessor :created
|
23
|
+
|
20
24
|
# Optional array of tags.
|
21
25
|
attr_accessor :tags
|
22
26
|
|
@@ -28,14 +32,19 @@ module RusticiSoftwareCloudV2
|
|
28
32
|
|
29
33
|
attr_accessor :launch_auth
|
30
34
|
|
35
|
+
attr_accessor :lti13_data
|
36
|
+
|
31
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
38
|
def self.attribute_map
|
33
39
|
{
|
34
40
|
:'name' => :'name',
|
41
|
+
:'updated' => :'updated',
|
42
|
+
:'created' => :'created',
|
35
43
|
:'tags' => :'tags',
|
36
44
|
:'email' => :'email',
|
37
45
|
:'notes' => :'notes',
|
38
|
-
:'launch_auth' => :'launchAuth'
|
46
|
+
:'launch_auth' => :'launchAuth',
|
47
|
+
:'lti13_data' => :'lti13Data'
|
39
48
|
}
|
40
49
|
end
|
41
50
|
|
@@ -43,10 +52,13 @@ module RusticiSoftwareCloudV2
|
|
43
52
|
def self.swagger_types
|
44
53
|
{
|
45
54
|
:'name' => :'String',
|
55
|
+
:'updated' => :'DateTime',
|
56
|
+
:'created' => :'DateTime',
|
46
57
|
:'tags' => :'Array<String>',
|
47
58
|
:'email' => :'String',
|
48
59
|
:'notes' => :'String',
|
49
|
-
:'launch_auth' => :'LaunchAuthSchema'
|
60
|
+
:'launch_auth' => :'LaunchAuthSchema',
|
61
|
+
:'lti13_data' => :'Lti13PlatformConfigurationSchema'
|
50
62
|
}
|
51
63
|
end
|
52
64
|
|
@@ -62,6 +74,14 @@ module RusticiSoftwareCloudV2
|
|
62
74
|
self.name = attributes[:'name']
|
63
75
|
end
|
64
76
|
|
77
|
+
if attributes.has_key?(:'updated')
|
78
|
+
self.updated = attributes[:'updated']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'created')
|
82
|
+
self.created = attributes[:'created']
|
83
|
+
end
|
84
|
+
|
65
85
|
if attributes.has_key?(:'tags')
|
66
86
|
if (value = attributes[:'tags']).is_a?(Array)
|
67
87
|
self.tags = value
|
@@ -79,6 +99,10 @@ module RusticiSoftwareCloudV2
|
|
79
99
|
if attributes.has_key?(:'launchAuth')
|
80
100
|
self.launch_auth = attributes[:'launchAuth']
|
81
101
|
end
|
102
|
+
|
103
|
+
if attributes.has_key?(:'lti13Data')
|
104
|
+
self.lti13_data = attributes[:'lti13Data']
|
105
|
+
end
|
82
106
|
end
|
83
107
|
|
84
108
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -101,10 +125,13 @@ module RusticiSoftwareCloudV2
|
|
101
125
|
return true if self.equal?(o)
|
102
126
|
self.class == o.class &&
|
103
127
|
name == o.name &&
|
128
|
+
updated == o.updated &&
|
129
|
+
created == o.created &&
|
104
130
|
tags == o.tags &&
|
105
131
|
email == o.email &&
|
106
132
|
notes == o.notes &&
|
107
|
-
launch_auth == o.launch_auth
|
133
|
+
launch_auth == o.launch_auth &&
|
134
|
+
lti13_data == o.lti13_data
|
108
135
|
end
|
109
136
|
|
110
137
|
# @see the `==` method
|
@@ -116,7 +143,7 @@ module RusticiSoftwareCloudV2
|
|
116
143
|
# Calculates hash code according to all attributes.
|
117
144
|
# @return [Fixnum] Hash code
|
118
145
|
def hash
|
119
|
-
[name, tags, email, notes, launch_auth].hash
|
146
|
+
[name, updated, created, tags, email, notes, launch_auth, lti13_data].hash
|
120
147
|
end
|
121
148
|
|
122
149
|
# Builds the object from hash
|
@@ -6,12 +6,12 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.12
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
14
|
+
|
15
15
|
module RusticiSoftwareCloudV2
|
16
16
|
class DispatchListSchema
|
17
17
|
attr_accessor :dispatches
|