autosde_openapi_client 1.1.32 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -7
  3. data/docs/CeleryConfig.md +20 -0
  4. data/docs/CeleryConfigApi.md +140 -0
  5. data/docs/Event.md +4 -0
  6. data/docs/EventApi.md +16 -16
  7. data/docs/EventResponse.md +36 -0
  8. data/docs/Job.md +2 -0
  9. data/docs/JobApi.md +136 -0
  10. data/docs/JobCreate.md +2 -2
  11. data/docs/RefreshSystem.md +18 -0
  12. data/docs/RefreshSystemApi.md +75 -0
  13. data/docs/{StorageHostVolumeMapping.md → StorageHostsMapping.md} +2 -2
  14. data/docs/{StorageHostVolumeMappingApi.md → StorageHostsMappingApi.md} +37 -37
  15. data/docs/{StorageHostVolumeMappingCreate.md → StorageHostsMappingCreate.md} +2 -2
  16. data/docs/{StorageHostVolumeMappingResponse.md → StorageHostsMappingResponse.md} +2 -2
  17. data/docs/StorageSystem.md +2 -2
  18. data/docs/StorageSystemCreate.md +4 -4
  19. data/lib/autosde_openapi_client/api/celery_config_api.rb +136 -0
  20. data/lib/autosde_openapi_client/api/event_api.rb +12 -12
  21. data/lib/autosde_openapi_client/api/job_api.rb +118 -0
  22. data/lib/autosde_openapi_client/api/refresh_system_api.rb +83 -0
  23. data/lib/autosde_openapi_client/api/{storage_host_volume_mapping_api.rb → storage_hosts_mapping_api.rb} +36 -36
  24. data/lib/autosde_openapi_client/models/celery_config.rb +230 -0
  25. data/lib/autosde_openapi_client/models/event.rb +22 -2
  26. data/lib/autosde_openapi_client/models/event_response.rb +310 -0
  27. data/lib/autosde_openapi_client/models/job.rb +11 -1
  28. data/lib/autosde_openapi_client/models/job_create.rb +8 -8
  29. data/lib/autosde_openapi_client/models/refresh_system.rb +220 -0
  30. data/lib/autosde_openapi_client/models/{storage_host_volume_mapping.rb → storage_hosts_mapping.rb} +4 -4
  31. data/lib/autosde_openapi_client/models/{storage_host_volume_mapping_create.rb → storage_hosts_mapping_create.rb} +3 -3
  32. data/lib/autosde_openapi_client/models/{storage_host_volume_mapping_response.rb → storage_hosts_mapping_response.rb} +3 -3
  33. data/lib/autosde_openapi_client/models/storage_system.rb +9 -9
  34. data/lib/autosde_openapi_client/models/storage_system_create.rb +21 -21
  35. data/lib/autosde_openapi_client/version.rb +2 -2
  36. data/lib/autosde_openapi_client.rb +9 -4
  37. data/spec/api/celery_config_api_spec.rb +54 -0
  38. data/spec/api/event_api_spec.rb +4 -4
  39. data/spec/api/job_api_spec.rb +20 -0
  40. data/spec/api/refresh_system_api_spec.rb +45 -0
  41. data/spec/api/{storage_host_volume_mapping_api_spec.rb → storage_hosts_mapping_api_spec.rb} +11 -11
  42. data/spec/models/celery_config_spec.rb +40 -0
  43. data/spec/models/event_response_spec.rb +88 -0
  44. data/spec/models/event_spec.rb +12 -0
  45. data/spec/models/job_create_spec.rb +1 -1
  46. data/spec/models/job_spec.rb +6 -0
  47. data/spec/models/refresh_system_spec.rb +34 -0
  48. data/spec/models/{storage_host_volume_mapping_create_spec.rb → storage_hosts_mapping_create_spec.rb} +6 -6
  49. data/spec/models/{storage_host_volume_mapping_response_spec.rb → storage_hosts_mapping_response_spec.rb} +6 -6
  50. data/spec/models/{storage_host_volume_mapping_spec.rb → storage_hosts_mapping_spec.rb} +6 -6
  51. data/spec/models/storage_system_create_spec.rb +7 -7
  52. data/spec/models/storage_system_spec.rb +1 -1
  53. metadata +38 -18
@@ -0,0 +1,220 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module AutosdeOpenapiClient
17
+ # RefreshSystem object represents refreshing of the storage system.
18
+ class RefreshSystem
19
+ # uuid
20
+ attr_accessor :uuid
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'uuid' => :'uuid'
26
+ }
27
+ end
28
+
29
+ # Returns all the JSON keys this model knows about
30
+ def self.acceptable_attributes
31
+ attribute_map.values
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.openapi_types
36
+ {
37
+ :'uuid' => :'String'
38
+ }
39
+ end
40
+
41
+ # List of attributes with nullable: true
42
+ def self.openapi_nullable
43
+ Set.new([
44
+ ])
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::RefreshSystem` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::RefreshSystem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'uuid')
63
+ self.uuid = attributes[:'uuid']
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
+ invalid_properties
72
+ end
73
+
74
+ # Check to see if the all the properties in the model are valid
75
+ # @return true if the model is valid
76
+ def valid?
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ uuid == o.uuid
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [uuid].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ new.build_from_hash(attributes)
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def build_from_hash(attributes)
111
+ return nil unless attributes.is_a?(Hash)
112
+ self.class.openapi_types.each_pair do |key, type|
113
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
114
+ self.send("#{key}=", nil)
115
+ elsif type =~ /\AArray<(.*)>/i
116
+ # check to ensure the input is an array given that the attribute
117
+ # is documented as an array but the input is not
118
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
119
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
120
+ end
121
+ elsif !attributes[self.class.attribute_map[key]].nil?
122
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
123
+ end
124
+ end
125
+
126
+ self
127
+ end
128
+
129
+ # Deserializes the data based on type
130
+ # @param string type Data type
131
+ # @param string value Value to be deserialized
132
+ # @return [Object] Deserialized data
133
+ def _deserialize(type, value)
134
+ case type.to_sym
135
+ when :Time
136
+ Time.parse(value)
137
+ when :Date
138
+ Date.parse(value)
139
+ when :String
140
+ value.to_s
141
+ when :Integer
142
+ value.to_i
143
+ when :Float
144
+ value.to_f
145
+ when :Boolean
146
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
147
+ true
148
+ else
149
+ false
150
+ end
151
+ when :Object
152
+ # generic object (usually a Hash), return directly
153
+ value
154
+ when /\AArray<(?<inner_type>.+)>\z/
155
+ inner_type = Regexp.last_match[:inner_type]
156
+ value.map { |v| _deserialize(inner_type, v) }
157
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
158
+ k_type = Regexp.last_match[:k_type]
159
+ v_type = Regexp.last_match[:v_type]
160
+ {}.tap do |hash|
161
+ value.each do |k, v|
162
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
163
+ end
164
+ end
165
+ else # model
166
+ # models (e.g. Pet) or oneOf
167
+ klass = AutosdeOpenapiClient.const_get(type)
168
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
169
+ end
170
+ end
171
+
172
+ # Returns the string representation of the object
173
+ # @return [String] String presentation of the object
174
+ def to_s
175
+ to_hash.to_s
176
+ end
177
+
178
+ # to_body is an alias to to_hash (backward compatibility)
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_body
181
+ to_hash
182
+ end
183
+
184
+ # Returns the object in the form of hash
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_hash
187
+ hash = {}
188
+ self.class.attribute_map.each_pair do |attr, param|
189
+ value = self.send(attr)
190
+ if value.nil?
191
+ is_nullable = self.class.openapi_nullable.include?(attr)
192
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
193
+ end
194
+
195
+ hash[param] = _to_hash(value)
196
+ end
197
+ hash
198
+ end
199
+
200
+ # Outputs non-array value in the form of hash
201
+ # For object, use to_hash. Otherwise, just return the value
202
+ # @param [Object] value Any valid value
203
+ # @return [Hash] Returns the value in the form of hash
204
+ def _to_hash(value)
205
+ if value.is_a?(Array)
206
+ value.compact.map { |v| _to_hash(v) }
207
+ elsif value.is_a?(Hash)
208
+ {}.tap do |hash|
209
+ value.each { |k, v| hash[k] = _to_hash(v) }
210
+ end
211
+ elsif value.respond_to? :to_hash
212
+ value.to_hash
213
+ else
214
+ value
215
+ end
216
+ end
217
+
218
+ end
219
+
220
+ end
@@ -14,8 +14,8 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module AutosdeOpenapiClient
17
- # StorageHostVolumeMapping
18
- class StorageHostVolumeMapping
17
+ # StorageHostsMapping
18
+ class StorageHostsMapping
19
19
  # component_state
20
20
  attr_accessor :component_state
21
21
 
@@ -88,13 +88,13 @@ module AutosdeOpenapiClient
88
88
  # @param [Hash] attributes Model attributes in the form of hash
89
89
  def initialize(attributes = {})
90
90
  if (!attributes.is_a?(Hash))
91
- fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageHostVolumeMapping` initialize method"
91
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageHostsMapping` initialize method"
92
92
  end
93
93
 
94
94
  # check to see if the attribute exists and convert string to symbol for hash key
95
95
  attributes = attributes.each_with_object({}) { |(k, v), h|
96
96
  if (!self.class.attribute_map.key?(k.to_sym))
97
- fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageHostVolumeMapping`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
97
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageHostsMapping`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
98
98
  end
99
99
  h[k.to_sym] = v
100
100
  }
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module AutosdeOpenapiClient
17
17
  # TODO add description
18
- class StorageHostVolumeMappingCreate
18
+ class StorageHostsMappingCreate
19
19
  # component_state
20
20
  attr_accessor :component_state
21
21
 
@@ -85,13 +85,13 @@ module AutosdeOpenapiClient
85
85
  # @param [Hash] attributes Model attributes in the form of hash
86
86
  def initialize(attributes = {})
87
87
  if (!attributes.is_a?(Hash))
88
- fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageHostVolumeMappingCreate` initialize method"
88
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageHostsMappingCreate` initialize method"
89
89
  end
90
90
 
91
91
  # check to see if the attribute exists and convert string to symbol for hash key
92
92
  attributes = attributes.each_with_object({}) { |(k, v), h|
93
93
  if (!self.class.attribute_map.key?(k.to_sym))
94
- fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageHostVolumeMappingCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
94
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageHostsMappingCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
95
95
  end
96
96
  h[k.to_sym] = v
97
97
  }
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module AutosdeOpenapiClient
17
17
  # TODO add description
18
- class StorageHostVolumeMappingResponse
18
+ class StorageHostsMappingResponse
19
19
  # component_state
20
20
  attr_accessor :component_state
21
21
 
@@ -90,13 +90,13 @@ module AutosdeOpenapiClient
90
90
  # @param [Hash] attributes Model attributes in the form of hash
91
91
  def initialize(attributes = {})
92
92
  if (!attributes.is_a?(Hash))
93
- fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageHostVolumeMappingResponse` initialize method"
93
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageHostsMappingResponse` initialize method"
94
94
  end
95
95
 
96
96
  # check to see if the attribute exists and convert string to symbol for hash key
97
97
  attributes = attributes.each_with_object({}) { |(k, v), h|
98
98
  if (!self.class.attribute_map.key?(k.to_sym))
99
- fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageHostVolumeMappingResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
99
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageHostsMappingResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
100
100
  end
101
101
  h[k.to_sym] = v
102
102
  }
@@ -16,8 +16,8 @@ require 'time'
16
16
  module AutosdeOpenapiClient
17
17
  # Use to define storage system properties.
18
18
  class StorageSystem
19
- # auto_add_pools
20
- attr_accessor :auto_add_pools
19
+ # auto_refresh
20
+ attr_accessor :auto_refresh
21
21
 
22
22
  # component_state
23
23
  attr_accessor :component_state
@@ -67,7 +67,7 @@ module AutosdeOpenapiClient
67
67
  # Attribute mapping from ruby-style variable name to JSON key.
68
68
  def self.attribute_map
69
69
  {
70
- :'auto_add_pools' => :'auto_add_pools',
70
+ :'auto_refresh' => :'auto_refresh',
71
71
  :'component_state' => :'component_state',
72
72
  :'management_ip' => :'management_ip',
73
73
  :'name' => :'name',
@@ -87,7 +87,7 @@ module AutosdeOpenapiClient
87
87
  # Attribute type mapping.
88
88
  def self.openapi_types
89
89
  {
90
- :'auto_add_pools' => :'Boolean',
90
+ :'auto_refresh' => :'Boolean',
91
91
  :'component_state' => :'String',
92
92
  :'management_ip' => :'String',
93
93
  :'name' => :'String',
@@ -120,10 +120,10 @@ module AutosdeOpenapiClient
120
120
  h[k.to_sym] = v
121
121
  }
122
122
 
123
- if attributes.key?(:'auto_add_pools')
124
- self.auto_add_pools = attributes[:'auto_add_pools']
123
+ if attributes.key?(:'auto_refresh')
124
+ self.auto_refresh = attributes[:'auto_refresh']
125
125
  else
126
- self.auto_add_pools = false
126
+ self.auto_refresh = true
127
127
  end
128
128
 
129
129
  if attributes.key?(:'component_state')
@@ -206,7 +206,7 @@ module AutosdeOpenapiClient
206
206
  def ==(o)
207
207
  return true if self.equal?(o)
208
208
  self.class == o.class &&
209
- auto_add_pools == o.auto_add_pools &&
209
+ auto_refresh == o.auto_refresh &&
210
210
  component_state == o.component_state &&
211
211
  management_ip == o.management_ip &&
212
212
  name == o.name &&
@@ -226,7 +226,7 @@ module AutosdeOpenapiClient
226
226
  # Calculates hash code according to all attributes.
227
227
  # @return [Integer] Hash code
228
228
  def hash
229
- [auto_add_pools, component_state, management_ip, name, status, storage_array, storage_family, system_type, uuid].hash
229
+ [auto_refresh, component_state, management_ip, name, status, storage_array, storage_family, system_type, uuid].hash
230
230
  end
231
231
 
232
232
  # Builds the object from hash
@@ -16,11 +16,8 @@ require 'time'
16
16
  module AutosdeOpenapiClient
17
17
  # TODO add description
18
18
  class StorageSystemCreate
19
- # auto_add_pools
20
- attr_accessor :auto_add_pools
21
-
22
- # auto_setup
23
- attr_accessor :auto_setup
19
+ # auto_refresh
20
+ attr_accessor :auto_refresh
24
21
 
25
22
  # chap_name
26
23
  attr_accessor :chap_name
@@ -31,6 +28,9 @@ module AutosdeOpenapiClient
31
28
  # component_state
32
29
  attr_accessor :component_state
33
30
 
31
+ # initial_refresh
32
+ attr_accessor :initial_refresh
33
+
34
34
  attr_accessor :iqn
35
35
 
36
36
  # management_ip
@@ -93,11 +93,11 @@ module AutosdeOpenapiClient
93
93
  # Attribute mapping from ruby-style variable name to JSON key.
94
94
  def self.attribute_map
95
95
  {
96
- :'auto_add_pools' => :'auto_add_pools',
97
- :'auto_setup' => :'auto_setup',
96
+ :'auto_refresh' => :'auto_refresh',
98
97
  :'chap_name' => :'chap_name',
99
98
  :'chap_secret' => :'chap_secret',
100
99
  :'component_state' => :'component_state',
100
+ :'initial_refresh' => :'initial_refresh',
101
101
  :'iqn' => :'iqn',
102
102
  :'management_ip' => :'management_ip',
103
103
  :'name' => :'name',
@@ -122,11 +122,11 @@ module AutosdeOpenapiClient
122
122
  # Attribute type mapping.
123
123
  def self.openapi_types
124
124
  {
125
- :'auto_add_pools' => :'Boolean',
126
- :'auto_setup' => :'Boolean',
125
+ :'auto_refresh' => :'Boolean',
127
126
  :'chap_name' => :'String',
128
127
  :'chap_secret' => :'String',
129
128
  :'component_state' => :'String',
129
+ :'initial_refresh' => :'Boolean',
130
130
  :'iqn' => :'String',
131
131
  :'management_ip' => :'String',
132
132
  :'name' => :'String',
@@ -164,16 +164,10 @@ module AutosdeOpenapiClient
164
164
  h[k.to_sym] = v
165
165
  }
166
166
 
167
- if attributes.key?(:'auto_add_pools')
168
- self.auto_add_pools = attributes[:'auto_add_pools']
169
- else
170
- self.auto_add_pools = false
171
- end
172
-
173
- if attributes.key?(:'auto_setup')
174
- self.auto_setup = attributes[:'auto_setup']
167
+ if attributes.key?(:'auto_refresh')
168
+ self.auto_refresh = attributes[:'auto_refresh']
175
169
  else
176
- self.auto_setup = false
170
+ self.auto_refresh = true
177
171
  end
178
172
 
179
173
  if attributes.key?(:'chap_name')
@@ -188,6 +182,12 @@ module AutosdeOpenapiClient
188
182
  self.component_state = attributes[:'component_state']
189
183
  end
190
184
 
185
+ if attributes.key?(:'initial_refresh')
186
+ self.initial_refresh = attributes[:'initial_refresh']
187
+ else
188
+ self.initial_refresh = true
189
+ end
190
+
191
191
  if attributes.key?(:'iqn')
192
192
  self.iqn = attributes[:'iqn']
193
193
  end
@@ -300,11 +300,11 @@ module AutosdeOpenapiClient
300
300
  def ==(o)
301
301
  return true if self.equal?(o)
302
302
  self.class == o.class &&
303
- auto_add_pools == o.auto_add_pools &&
304
- auto_setup == o.auto_setup &&
303
+ auto_refresh == o.auto_refresh &&
305
304
  chap_name == o.chap_name &&
306
305
  chap_secret == o.chap_secret &&
307
306
  component_state == o.component_state &&
307
+ initial_refresh == o.initial_refresh &&
308
308
  iqn == o.iqn &&
309
309
  management_ip == o.management_ip &&
310
310
  name == o.name &&
@@ -329,7 +329,7 @@ module AutosdeOpenapiClient
329
329
  # Calculates hash code according to all attributes.
330
330
  # @return [Integer] Hash code
331
331
  def hash
332
- [auto_add_pools, auto_setup, chap_name, chap_secret, component_state, iqn, management_ip, name, password, port_type, secondary_ip, status, storage_array, storage_driver, storage_family, system_type, user, wwpn].hash
332
+ [auto_refresh, chap_name, chap_secret, component_state, initial_refresh, iqn, management_ip, name, password, port_type, secondary_ip, status, storage_array, storage_driver, storage_family, system_type, user, wwpn].hash
333
333
  end
334
334
 
335
335
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Site Manager API
5
5
 
6
- The version of the OpenAPI document: 1.1.32
6
+ The version of the OpenAPI document: 1.2
7
7
  Contact: autosde@il.ibm.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.0
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
11
11
  =end
12
12
 
13
13
  module AutosdeOpenapiClient
14
- VERSION = '1.1.32'
14
+ VERSION = '1.2'
15
15
  end
@@ -29,7 +29,9 @@ require 'autosde_openapi_client/models/auto_sde_project'
29
29
  require 'autosde_openapi_client/models/auto_sde_role'
30
30
  require 'autosde_openapi_client/models/capability_translation'
31
31
  require 'autosde_openapi_client/models/capability_translation_create'
32
+ require 'autosde_openapi_client/models/celery_config'
32
33
  require 'autosde_openapi_client/models/event'
34
+ require 'autosde_openapi_client/models/event_response'
33
35
  require 'autosde_openapi_client/models/host'
34
36
  require 'autosde_openapi_client/models/host_cluster'
35
37
  require 'autosde_openapi_client/models/host_cluster_create'
@@ -46,6 +48,7 @@ require 'autosde_openapi_client/models/job_create'
46
48
  require 'autosde_openapi_client/models/native_capability'
47
49
  require 'autosde_openapi_client/models/profile'
48
50
  require 'autosde_openapi_client/models/provisioning_strategy'
51
+ require 'autosde_openapi_client/models/refresh_system'
49
52
  require 'autosde_openapi_client/models/service'
50
53
  require 'autosde_openapi_client/models/service_abstract_capability_value'
51
54
  require 'autosde_openapi_client/models/service_create'
@@ -56,10 +59,10 @@ require 'autosde_openapi_client/models/storage_host'
56
59
  require 'autosde_openapi_client/models/storage_host_create'
57
60
  require 'autosde_openapi_client/models/storage_host_response'
58
61
  require 'autosde_openapi_client/models/storage_host_update'
59
- require 'autosde_openapi_client/models/storage_host_volume_mapping'
60
- require 'autosde_openapi_client/models/storage_host_volume_mapping_create'
61
- require 'autosde_openapi_client/models/storage_host_volume_mapping_response'
62
62
  require 'autosde_openapi_client/models/storage_host_wwpn_candidates'
63
+ require 'autosde_openapi_client/models/storage_hosts_mapping'
64
+ require 'autosde_openapi_client/models/storage_hosts_mapping_create'
65
+ require 'autosde_openapi_client/models/storage_hosts_mapping_response'
63
66
  require 'autosde_openapi_client/models/storage_resource'
64
67
  require 'autosde_openapi_client/models/storage_resource_create'
65
68
  require 'autosde_openapi_client/models/storage_resource_response'
@@ -87,6 +90,7 @@ require 'autosde_openapi_client/api/authentication_api'
87
90
  require 'autosde_openapi_client/api/auto_sde_project_api'
88
91
  require 'autosde_openapi_client/api/auto_sde_role_api'
89
92
  require 'autosde_openapi_client/api/capability_translation_api'
93
+ require 'autosde_openapi_client/api/celery_config_api'
90
94
  require 'autosde_openapi_client/api/event_api'
91
95
  require 'autosde_openapi_client/api/host_api'
92
96
  require 'autosde_openapi_client/api/host_cluster_api'
@@ -97,12 +101,13 @@ require 'autosde_openapi_client/api/job_api'
97
101
  require 'autosde_openapi_client/api/native_capability_api'
98
102
  require 'autosde_openapi_client/api/profile_api'
99
103
  require 'autosde_openapi_client/api/provisioning_strategy_api'
104
+ require 'autosde_openapi_client/api/refresh_system_api'
100
105
  require 'autosde_openapi_client/api/service_api'
101
106
  require 'autosde_openapi_client/api/service_resource_attachment_api'
102
107
  require 'autosde_openapi_client/api/snapshot_api'
103
108
  require 'autosde_openapi_client/api/storage_host_api'
104
- require 'autosde_openapi_client/api/storage_host_volume_mapping_api'
105
109
  require 'autosde_openapi_client/api/storage_host_wwpn_candidates_api'
110
+ require 'autosde_openapi_client/api/storage_hosts_mapping_api'
106
111
  require 'autosde_openapi_client/api/storage_resource_api'
107
112
  require 'autosde_openapi_client/api/storage_system_api'
108
113
  require 'autosde_openapi_client/api/system_type_api'
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AutosdeOpenapiClient::CeleryConfigApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'CeleryConfigApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AutosdeOpenapiClient::CeleryConfigApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CeleryConfigApi' do
30
+ it 'should create an instance of CeleryConfigApi' do
31
+ expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::CeleryConfigApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for celery_config_get
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<CeleryConfig>]
38
+ describe 'celery_config_get test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for celery_config_post
45
+ # @param celery_config
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [CeleryConfig]
48
+ describe 'celery_config_post test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ end
@@ -34,7 +34,7 @@ describe 'EventApi' do
34
34
 
35
35
  # unit tests for events_get
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<Event>]
37
+ # @return [Array<EventResponse>]
38
38
  describe 'events_get test' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,7 +44,7 @@ describe 'EventApi' do
44
44
  # unit tests for events_pk_delete
45
45
  # @param pk
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<Event>]
47
+ # @return [Array<EventResponse>]
48
48
  describe 'events_pk_delete test' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -54,7 +54,7 @@ describe 'EventApi' do
54
54
  # unit tests for events_pk_get
55
55
  # @param pk
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<Event>]
57
+ # @return [Array<EventResponse>]
58
58
  describe 'events_pk_get test' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -64,7 +64,7 @@ describe 'EventApi' do
64
64
  # unit tests for events_post
65
65
  # @param event
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Event]
67
+ # @return [EventResponse]
68
68
  describe 'events_post test' do
69
69
  it 'should work' do
70
70
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -41,6 +41,26 @@ describe 'JobApi' do
41
41
  end
42
42
  end
43
43
 
44
+ # unit tests for jobs_pk_delete
45
+ # @param pk
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [Array<Job>]
48
+ describe 'jobs_pk_delete test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for jobs_pk_get
55
+ # @param pk
56
+ # @param [Hash] opts the optional parameters
57
+ # @return [Array<Job>]
58
+ describe 'jobs_pk_get test' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
44
64
  # unit tests for jobs_post
45
65
  # @param job_create
46
66
  # @param [Hash] opts the optional parameters