rustici_software_cloud_v2 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/lib/rustici_software_cloud_v2/api/about_api.rb +3 -1
  4. data/lib/rustici_software_cloud_v2/api/application_management_api.rb +100 -5
  5. data/lib/rustici_software_cloud_v2/api/authentication_api.rb +3 -1
  6. data/lib/rustici_software_cloud_v2/api/content_connectors_api.rb +6 -1
  7. data/lib/rustici_software_cloud_v2/api/course_api.rb +42 -1
  8. data/lib/rustici_software_cloud_v2/api/dispatch_api.rb +53 -2
  9. data/lib/rustici_software_cloud_v2/api/invitations_api.rb +33 -1
  10. data/lib/rustici_software_cloud_v2/api/learner_api.rb +8 -1
  11. data/lib/rustici_software_cloud_v2/api/ping_api.rb +3 -1
  12. data/lib/rustici_software_cloud_v2/api/registration_api.rb +32 -1
  13. data/lib/rustici_software_cloud_v2/api/reporting_api.rb +5 -1
  14. data/lib/rustici_software_cloud_v2/api/xapi_api.rb +15 -1
  15. data/lib/rustici_software_cloud_v2/api/zoomi_api.rb +11 -1
  16. data/lib/rustici_software_cloud_v2/api_client.rb +3 -2
  17. data/lib/rustici_software_cloud_v2/api_error.rb +0 -1
  18. data/lib/rustici_software_cloud_v2/configuration.rb +0 -8
  19. data/lib/rustici_software_cloud_v2/models/about_schema.rb +1 -1
  20. data/lib/rustici_software_cloud_v2/models/activity_result_schema.rb +1 -1
  21. data/lib/rustici_software_cloud_v2/models/application_info_list_schema.rb +197 -0
  22. data/lib/rustici_software_cloud_v2/models/application_info_schema.rb +12 -2
  23. data/lib/rustici_software_cloud_v2/models/application_list_schema.rb +1 -1
  24. data/lib/rustici_software_cloud_v2/models/application_request_schema.rb +1 -1
  25. data/lib/rustici_software_cloud_v2/models/application_schema.rb +1 -1
  26. data/lib/rustici_software_cloud_v2/models/application_token.rb +1 -1
  27. data/lib/rustici_software_cloud_v2/models/asset_file_schema.rb +1 -1
  28. data/lib/rustici_software_cloud_v2/models/batch_tags_schema.rb +1 -1
  29. data/lib/rustici_software_cloud_v2/models/comment_schema.rb +1 -1
  30. data/lib/rustici_software_cloud_v2/models/completion_amount_schema.rb +1 -1
  31. data/lib/rustici_software_cloud_v2/models/connector_list_schema.rb +1 -1
  32. data/lib/rustici_software_cloud_v2/models/connector_schema.rb +1 -1
  33. data/lib/rustici_software_cloud_v2/models/course_activity_schema.rb +1 -1
  34. data/lib/rustici_software_cloud_v2/models/course_list_non_paged_schema.rb +1 -1
  35. data/lib/rustici_software_cloud_v2/models/course_list_schema.rb +1 -1
  36. data/lib/rustici_software_cloud_v2/models/course_reference_schema.rb +1 -1
  37. data/lib/rustici_software_cloud_v2/models/course_schema.rb +1 -1
  38. data/lib/rustici_software_cloud_v2/models/create_connector_schema.rb +1 -1
  39. data/lib/rustici_software_cloud_v2/models/create_dispatch_id_schema.rb +1 -1
  40. data/lib/rustici_software_cloud_v2/models/create_dispatch_list_schema.rb +1 -1
  41. data/lib/rustici_software_cloud_v2/models/create_dispatch_schema.rb +1 -1
  42. data/lib/rustici_software_cloud_v2/models/create_private_invitation_schema.rb +1 -1
  43. data/lib/rustici_software_cloud_v2/models/create_public_invitation_schema.rb +1 -1
  44. data/lib/rustici_software_cloud_v2/models/create_registration_schema.rb +1 -1
  45. data/lib/rustici_software_cloud_v2/models/credential_created_schema.rb +1 -1
  46. data/lib/rustici_software_cloud_v2/models/credential_list_schema.rb +1 -1
  47. data/lib/rustici_software_cloud_v2/models/credential_request_schema.rb +1 -1
  48. data/lib/rustici_software_cloud_v2/models/credential_schema.rb +1 -1
  49. data/lib/rustici_software_cloud_v2/models/destination_id_schema.rb +1 -1
  50. data/lib/rustici_software_cloud_v2/models/destination_list_schema.rb +1 -1
  51. data/lib/rustici_software_cloud_v2/models/destination_schema.rb +1 -1
  52. data/lib/rustici_software_cloud_v2/models/dispatch_id_schema.rb +1 -1
  53. data/lib/rustici_software_cloud_v2/models/dispatch_list_schema.rb +1 -1
  54. data/lib/rustici_software_cloud_v2/models/dispatch_lti13_info_schema.rb +1 -1
  55. data/lib/rustici_software_cloud_v2/models/dispatch_lti_info_schema.rb +1 -1
  56. data/lib/rustici_software_cloud_v2/models/dispatch_registration_count_schema.rb +1 -1
  57. data/lib/rustici_software_cloud_v2/models/dispatch_schema.rb +1 -1
  58. data/lib/rustici_software_cloud_v2/models/enabled_schema.rb +1 -1
  59. data/lib/rustici_software_cloud_v2/models/file_list_item_schema.rb +1 -1
  60. data/lib/rustici_software_cloud_v2/models/file_list_schema.rb +1 -1
  61. data/lib/rustici_software_cloud_v2/models/import_asset_request_schema.rb +1 -1
  62. data/lib/rustici_software_cloud_v2/models/import_connector_request_schema.rb +1 -1
  63. data/lib/rustici_software_cloud_v2/models/import_fetch_request_schema.rb +1 -1
  64. data/lib/rustici_software_cloud_v2/models/import_job_result_schema.rb +1 -1
  65. data/lib/rustici_software_cloud_v2/models/import_media_file_reference_request_schema.rb +1 -1
  66. data/lib/rustici_software_cloud_v2/models/import_request_schema.rb +1 -1
  67. data/lib/rustici_software_cloud_v2/models/import_result_schema.rb +1 -1
  68. data/lib/rustici_software_cloud_v2/models/integer_result_schema.rb +1 -1
  69. data/lib/rustici_software_cloud_v2/models/invitation_email_schema.rb +1 -1
  70. data/lib/rustici_software_cloud_v2/models/invitation_job_status_schema.rb +1 -1
  71. data/lib/rustici_software_cloud_v2/models/invitation_summary_list.rb +15 -18
  72. data/lib/rustici_software_cloud_v2/models/invitation_summary_schema.rb +1 -1
  73. data/lib/rustici_software_cloud_v2/models/item_value_pair_schema.rb +1 -1
  74. data/lib/rustici_software_cloud_v2/models/launch_auth_options_schema.rb +1 -1
  75. data/lib/rustici_software_cloud_v2/models/launch_auth_schema.rb +1 -1
  76. data/lib/rustici_software_cloud_v2/models/launch_history_list_schema.rb +1 -1
  77. data/lib/rustici_software_cloud_v2/models/launch_history_schema.rb +1 -1
  78. data/lib/rustici_software_cloud_v2/models/launch_link_request_schema.rb +1 -1
  79. data/lib/rustici_software_cloud_v2/models/launch_link_schema.rb +1 -1
  80. data/lib/rustici_software_cloud_v2/models/learner_preference_schema.rb +1 -1
  81. data/lib/rustici_software_cloud_v2/models/learner_schema.rb +1 -1
  82. data/lib/rustici_software_cloud_v2/models/lti13_platform_configuration_schema.rb +1 -1
  83. data/lib/rustici_software_cloud_v2/models/lti13_tool_configuration_schema.rb +1 -1
  84. data/lib/rustici_software_cloud_v2/models/media_file_metadata_schema.rb +1 -1
  85. data/lib/rustici_software_cloud_v2/models/message_schema.rb +1 -1
  86. data/lib/rustici_software_cloud_v2/models/metadata_schema.rb +1 -1
  87. data/lib/rustici_software_cloud_v2/models/objective_schema.rb +1 -1
  88. data/lib/rustici_software_cloud_v2/models/paginated_list.rb +186 -0
  89. data/lib/rustici_software_cloud_v2/models/permissions_schema.rb +1 -1
  90. data/lib/rustici_software_cloud_v2/models/ping_schema.rb +1 -1
  91. data/lib/rustici_software_cloud_v2/models/post_back_schema.rb +1 -1
  92. data/lib/rustici_software_cloud_v2/models/private_invitation_list.rb +15 -18
  93. data/lib/rustici_software_cloud_v2/models/private_invitation_schema.rb +1 -1
  94. data/lib/rustici_software_cloud_v2/models/private_invitation_update_schema.rb +1 -1
  95. data/lib/rustici_software_cloud_v2/models/public_invitation_list.rb +15 -18
  96. data/lib/rustici_software_cloud_v2/models/public_invitation_schema.rb +1 -1
  97. data/lib/rustici_software_cloud_v2/models/public_invitation_update_schema.rb +1 -1
  98. data/lib/rustici_software_cloud_v2/models/registration_completion.rb +1 -1
  99. data/lib/rustici_software_cloud_v2/models/registration_list_schema.rb +1 -1
  100. data/lib/rustici_software_cloud_v2/models/registration_schema.rb +1 -1
  101. data/lib/rustici_software_cloud_v2/models/registration_success.rb +1 -1
  102. data/lib/rustici_software_cloud_v2/models/reportage_account_info_schema.rb +1 -1
  103. data/lib/rustici_software_cloud_v2/models/reportage_account_info_usage_schema.rb +1 -1
  104. data/lib/rustici_software_cloud_v2/models/reportage_auth_token_schema.rb +1 -1
  105. data/lib/rustici_software_cloud_v2/models/reportage_link_schema.rb +1 -1
  106. data/lib/rustici_software_cloud_v2/models/response_error.rb +1 -1
  107. data/lib/rustici_software_cloud_v2/models/runtime_interaction_schema.rb +1 -1
  108. data/lib/rustici_software_cloud_v2/models/runtime_objective_schema.rb +1 -1
  109. data/lib/rustici_software_cloud_v2/models/runtime_schema.rb +1 -1
  110. data/lib/rustici_software_cloud_v2/models/score_schema.rb +1 -1
  111. data/lib/rustici_software_cloud_v2/models/setting_item.rb +1 -1
  112. data/lib/rustici_software_cloud_v2/models/setting_list_schema.rb +1 -1
  113. data/lib/rustici_software_cloud_v2/models/setting_metadata.rb +1 -1
  114. data/lib/rustici_software_cloud_v2/models/setting_valid_value.rb +1 -1
  115. data/lib/rustici_software_cloud_v2/models/settings_individual_schema.rb +1 -1
  116. data/lib/rustici_software_cloud_v2/models/settings_post_schema.rb +1 -1
  117. data/lib/rustici_software_cloud_v2/models/shared_data_entry_schema.rb +1 -1
  118. data/lib/rustici_software_cloud_v2/models/static_properties_schema.rb +1 -1
  119. data/lib/rustici_software_cloud_v2/models/string_result_schema.rb +1 -1
  120. data/lib/rustici_software_cloud_v2/models/tag_list_schema.rb +1 -1
  121. data/lib/rustici_software_cloud_v2/models/title_schema.rb +1 -1
  122. data/lib/rustici_software_cloud_v2/models/token_request_schema.rb +1 -1
  123. data/lib/rustici_software_cloud_v2/models/update_application_schema.rb +1 -1
  124. data/lib/rustici_software_cloud_v2/models/update_connector_schema.rb +1 -1
  125. data/lib/rustici_software_cloud_v2/models/update_dispatch_schema.rb +1 -1
  126. data/lib/rustici_software_cloud_v2/models/user_invitation_list.rb +15 -18
  127. data/lib/rustici_software_cloud_v2/models/user_invitation_schema.rb +1 -1
  128. data/lib/rustici_software_cloud_v2/models/user_invitation_schema_registration_report.rb +1 -1
  129. data/lib/rustici_software_cloud_v2/models/xapi_account.rb +1 -1
  130. data/lib/rustici_software_cloud_v2/models/xapi_activity.rb +1 -1
  131. data/lib/rustici_software_cloud_v2/models/xapi_activity_definition.rb +1 -1
  132. data/lib/rustici_software_cloud_v2/models/xapi_agent_group.rb +1 -1
  133. data/lib/rustici_software_cloud_v2/models/xapi_attachment.rb +1 -1
  134. data/lib/rustici_software_cloud_v2/models/xapi_context.rb +1 -1
  135. data/lib/rustici_software_cloud_v2/models/xapi_context_activity.rb +1 -1
  136. data/lib/rustici_software_cloud_v2/models/xapi_credential_auth_type_schema.rb +1 -1
  137. data/lib/rustici_software_cloud_v2/models/xapi_credential_permissions_level_schema.rb +1 -1
  138. data/lib/rustici_software_cloud_v2/models/xapi_credential_post_schema.rb +1 -1
  139. data/lib/rustici_software_cloud_v2/models/xapi_credential_put_schema.rb +1 -1
  140. data/lib/rustici_software_cloud_v2/models/xapi_credential_schema.rb +1 -1
  141. data/lib/rustici_software_cloud_v2/models/xapi_credentials_list_schema.rb +1 -1
  142. data/lib/rustici_software_cloud_v2/models/xapi_endpoint_schema.rb +1 -1
  143. data/lib/rustici_software_cloud_v2/models/xapi_interaction_component.rb +1 -1
  144. data/lib/rustici_software_cloud_v2/models/xapi_result.rb +1 -1
  145. data/lib/rustici_software_cloud_v2/models/xapi_score.rb +1 -1
  146. data/lib/rustici_software_cloud_v2/models/xapi_statement.rb +1 -1
  147. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_list_schema.rb +1 -1
  148. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_post_schema.rb +1 -1
  149. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_put_schema.rb +1 -1
  150. data/lib/rustici_software_cloud_v2/models/xapi_statement_pipe_schema.rb +1 -1
  151. data/lib/rustici_software_cloud_v2/models/xapi_statement_reference.rb +1 -1
  152. data/lib/rustici_software_cloud_v2/models/xapi_statement_result.rb +1 -1
  153. data/lib/rustici_software_cloud_v2/models/xapi_verb.rb +1 -1
  154. data/lib/rustici_software_cloud_v2/models/zoomi_company_id.rb +1 -1
  155. data/lib/rustici_software_cloud_v2/models/zoomi_course_options_schema.rb +1 -1
  156. data/lib/rustici_software_cloud_v2/version.rb +1 -2
  157. data/lib/rustici_software_cloud_v2.rb +2 -1
  158. data/rustici_software_cloud_v2.gemspec +0 -1
  159. data/spec/api_client_spec.rb +0 -1
  160. data/spec/configuration_spec.rb +0 -1
  161. data/spec/spec_helper.rb +0 -1
  162. metadata +4 -2
@@ -6,33 +6,31 @@
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
13
+ require_relative 'paginated_list'
14
+
14
15
 
15
16
  module RusticiSoftwareCloudV2
16
- class PublicInvitationList
17
+ class PublicInvitationList < PaginatedList
17
18
  # A list of public invitation objects.
18
19
  attr_accessor :invitations
19
20
 
20
- # Token for getting the next set of results, from the prior set of results.
21
- attr_accessor :more
22
-
23
21
  # Attribute mapping from ruby-style variable name to JSON key.
24
22
  def self.attribute_map
25
23
  {
26
- :'invitations' => :'invitations',
27
- :'more' => :'more'
24
+ :'more' => :'more',
25
+ :'invitations' => :'invitations'
28
26
  }
29
27
  end
30
28
 
31
29
  # Attribute type mapping.
32
30
  def self.swagger_types
33
31
  {
34
- :'invitations' => :'Array<PublicInvitationSchema>',
35
- :'more' => :'String'
32
+ :'more' => :'String',
33
+ :'invitations' => :'Array<PublicInvitationSchema>'
36
34
  }
37
35
  end
38
36
 
@@ -44,21 +42,20 @@ module RusticiSoftwareCloudV2
44
42
  # convert string to symbol for hash key
45
43
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
44
 
45
+ # call parent's initialize
46
+ super(attributes)
47
+
47
48
  if attributes.has_key?(:'invitations')
48
49
  if (value = attributes[:'invitations']).is_a?(Array)
49
50
  self.invitations = value
50
51
  end
51
52
  end
52
-
53
- if attributes.has_key?(:'more')
54
- self.more = attributes[:'more']
55
- end
56
53
  end
57
54
 
58
55
  # Show invalid properties with the reasons. Usually used together with valid?
59
56
  # @return Array for valid properties with the reasons
60
57
  def list_invalid_properties
61
- invalid_properties = Array.new
58
+ invalid_properties = super
62
59
  invalid_properties
63
60
  end
64
61
 
@@ -74,8 +71,7 @@ module RusticiSoftwareCloudV2
74
71
  def ==(o)
75
72
  return true if self.equal?(o)
76
73
  self.class == o.class &&
77
- invitations == o.invitations &&
78
- more == o.more
74
+ invitations == o.invitations && super(o)
79
75
  end
80
76
 
81
77
  # @see the `==` method
@@ -87,7 +83,7 @@ module RusticiSoftwareCloudV2
87
83
  # Calculates hash code according to all attributes.
88
84
  # @return [Fixnum] Hash code
89
85
  def hash
90
- [invitations, more].hash
86
+ [invitations].hash
91
87
  end
92
88
 
93
89
  # Builds the object from hash
@@ -95,6 +91,7 @@ module RusticiSoftwareCloudV2
95
91
  # @return [Object] Returns the model itself
96
92
  def build_from_hash(attributes)
97
93
  return nil unless attributes.is_a?(Hash)
94
+ super(attributes)
98
95
  self.class.swagger_types.each_pair do |key, type|
99
96
  if type =~ /\AArray<(.*)>/i
100
97
  # check to ensure the input is an array given that the attribute
@@ -167,7 +164,7 @@ module RusticiSoftwareCloudV2
167
164
  # Returns the object in the form of hash
168
165
  # @return [Hash] Returns the object in the form of hash
169
166
  def to_hash
170
- hash = {}
167
+ hash = super
171
168
  self.class.attribute_map.each_pair do |attr, param|
172
169
  value = self.send(attr)
173
170
  next if value.nil?
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class PublicInvitationSchema
17
17
  # The invitationId for this 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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class PublicInvitationUpdateSchema
17
17
  # If true, then new registrations can be created for this 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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RegistrationCompletion
17
17
 
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RegistrationListSchema
17
17
  attr_accessor :registrations
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RegistrationSchema
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RegistrationSuccess
17
17
 
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class ReportageAccountInfoSchema
17
17
  attr_accessor :email
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class ReportageAccountInfoUsageSchema
17
17
  attr_accessor :month_start
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class ReportageAuthTokenSchema
17
17
  attr_accessor :auth_enabled
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class ReportageLinkSchema
17
17
  attr_accessor :reportage_link
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class ResponseError
17
17
  attr_accessor :message
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RuntimeInteractionSchema
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RuntimeObjectiveSchema
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class RuntimeSchema
17
17
  attr_accessor :completion_status
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class ScoreSchema
17
17
  # Scaled score between 0 and 100
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SettingItem
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SettingListSchema
17
17
  attr_accessor :setting_items
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SettingMetadata
17
17
  # Default value of this setting
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SettingValidValue
17
17
  attr_accessor :value
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SettingsIndividualSchema
17
17
  attr_accessor :setting_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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SettingsPostSchema
17
17
  attr_accessor :settings
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class SharedDataEntrySchema
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class StaticPropertiesSchema
17
17
  attr_accessor :completion_threshold
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class StringResultSchema
17
17
  attr_accessor :result
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class TagListSchema
17
17
  attr_accessor :tags
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class TitleSchema
17
17
  attr_accessor :title
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class TokenRequestSchema
17
17
  attr_accessor :permissions
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class UpdateApplicationSchema
17
17
  # The new name of the application.
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class UpdateConnectorSchema
17
17
  # configuration for this content connector, format is implementation specific
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class UpdateDispatchSchema
17
17
  # If true, then new registrations can be created for this dispatch.
@@ -6,33 +6,31 @@
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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
13
+ require_relative 'paginated_list'
14
+
14
15
 
15
16
  module RusticiSoftwareCloudV2
16
- class UserInvitationList
17
+ class UserInvitationList < PaginatedList
17
18
  # A list of user invitation objects.
18
19
  attr_accessor :user_invitations
19
20
 
20
- # Token for getting the next set of results, from the prior set of results.
21
- attr_accessor :more
22
-
23
21
  # Attribute mapping from ruby-style variable name to JSON key.
24
22
  def self.attribute_map
25
23
  {
26
- :'user_invitations' => :'userInvitations',
27
- :'more' => :'more'
24
+ :'more' => :'more',
25
+ :'user_invitations' => :'userInvitations'
28
26
  }
29
27
  end
30
28
 
31
29
  # Attribute type mapping.
32
30
  def self.swagger_types
33
31
  {
34
- :'user_invitations' => :'Array<UserInvitationSchema>',
35
- :'more' => :'String'
32
+ :'more' => :'String',
33
+ :'user_invitations' => :'Array<UserInvitationSchema>'
36
34
  }
37
35
  end
38
36
 
@@ -44,21 +42,20 @@ module RusticiSoftwareCloudV2
44
42
  # convert string to symbol for hash key
45
43
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
44
 
45
+ # call parent's initialize
46
+ super(attributes)
47
+
47
48
  if attributes.has_key?(:'userInvitations')
48
49
  if (value = attributes[:'userInvitations']).is_a?(Array)
49
50
  self.user_invitations = value
50
51
  end
51
52
  end
52
-
53
- if attributes.has_key?(:'more')
54
- self.more = attributes[:'more']
55
- end
56
53
  end
57
54
 
58
55
  # Show invalid properties with the reasons. Usually used together with valid?
59
56
  # @return Array for valid properties with the reasons
60
57
  def list_invalid_properties
61
- invalid_properties = Array.new
58
+ invalid_properties = super
62
59
  invalid_properties
63
60
  end
64
61
 
@@ -74,8 +71,7 @@ module RusticiSoftwareCloudV2
74
71
  def ==(o)
75
72
  return true if self.equal?(o)
76
73
  self.class == o.class &&
77
- user_invitations == o.user_invitations &&
78
- more == o.more
74
+ user_invitations == o.user_invitations && super(o)
79
75
  end
80
76
 
81
77
  # @see the `==` method
@@ -87,7 +83,7 @@ module RusticiSoftwareCloudV2
87
83
  # Calculates hash code according to all attributes.
88
84
  # @return [Fixnum] Hash code
89
85
  def hash
90
- [user_invitations, more].hash
86
+ [user_invitations].hash
91
87
  end
92
88
 
93
89
  # Builds the object from hash
@@ -95,6 +91,7 @@ module RusticiSoftwareCloudV2
95
91
  # @return [Object] Returns the model itself
96
92
  def build_from_hash(attributes)
97
93
  return nil unless attributes.is_a?(Hash)
94
+ super(attributes)
98
95
  self.class.swagger_types.each_pair do |key, type|
99
96
  if type =~ /\AArray<(.*)>/i
100
97
  # check to ensure the input is an array given that the attribute
@@ -167,7 +164,7 @@ module RusticiSoftwareCloudV2
167
164
  # Returns the object in the form of hash
168
165
  # @return [Hash] Returns the object in the form of hash
169
166
  def to_hash
170
- hash = {}
167
+ hash = super
171
168
  self.class.attribute_map.each_pair do |attr, param|
172
169
  value = self.send(attr)
173
170
  next if value.nil?
@@ -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.27
10
9
 
11
10
  =end
12
11
 
13
12
  require 'date'
14
13
 
14
+
15
15
  module RusticiSoftwareCloudV2
16
16
  class UserInvitationSchema
17
17
  # The email of the user who took an invitation.