eilam_test 10 → 11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -0
  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/StorageSystemCreate.md +2 -0
  14. data/lib/eilam_test/api/celery_config_api.rb +136 -0
  15. data/lib/eilam_test/api/event_api.rb +12 -12
  16. data/lib/eilam_test/api/job_api.rb +118 -0
  17. data/lib/eilam_test/api/refresh_system_api.rb +83 -0
  18. data/lib/eilam_test/models/celery_config.rb +230 -0
  19. data/lib/eilam_test/models/event.rb +22 -2
  20. data/lib/eilam_test/models/event_response.rb +310 -0
  21. data/lib/eilam_test/models/job.rb +11 -1
  22. data/lib/eilam_test/models/job_create.rb +8 -8
  23. data/lib/eilam_test/models/refresh_system.rb +220 -0
  24. data/lib/eilam_test/models/storage_system_create.rb +13 -1
  25. data/lib/eilam_test/version.rb +2 -2
  26. data/lib/eilam_test.rb +5 -0
  27. data/spec/api/celery_config_api_spec.rb +54 -0
  28. data/spec/api/event_api_spec.rb +4 -4
  29. data/spec/api/job_api_spec.rb +20 -0
  30. data/spec/api/refresh_system_api_spec.rb +45 -0
  31. data/spec/models/celery_config_spec.rb +40 -0
  32. data/spec/models/event_response_spec.rb +88 -0
  33. data/spec/models/event_spec.rb +12 -0
  34. data/spec/models/job_create_spec.rb +1 -1
  35. data/spec/models/job_spec.rb +6 -0
  36. data/spec/models/refresh_system_spec.rb +34 -0
  37. data/spec/models/storage_system_create_spec.rb +6 -0
  38. metadata +94 -74
@@ -16,8 +16,8 @@ require 'time'
16
16
  module EilamTest
17
17
  # JobCreate
18
18
  class JobCreate
19
- # task_args
20
- attr_accessor :task_args
19
+ # task_kwargs
20
+ attr_accessor :task_kwargs
21
21
 
22
22
  # task_name
23
23
  attr_accessor :task_name
@@ -25,7 +25,7 @@ module EilamTest
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
- :'task_args' => :'task_args',
28
+ :'task_kwargs' => :'task_kwargs',
29
29
  :'task_name' => :'task_name'
30
30
  }
31
31
  end
@@ -38,7 +38,7 @@ module EilamTest
38
38
  # Attribute type mapping.
39
39
  def self.openapi_types
40
40
  {
41
- :'task_args' => :'String',
41
+ :'task_kwargs' => :'String',
42
42
  :'task_name' => :'String'
43
43
  }
44
44
  end
@@ -64,8 +64,8 @@ module EilamTest
64
64
  h[k.to_sym] = v
65
65
  }
66
66
 
67
- if attributes.key?(:'task_args')
68
- self.task_args = attributes[:'task_args']
67
+ if attributes.key?(:'task_kwargs')
68
+ self.task_kwargs = attributes[:'task_kwargs']
69
69
  end
70
70
 
71
71
  if attributes.key?(:'task_name')
@@ -91,7 +91,7 @@ module EilamTest
91
91
  def ==(o)
92
92
  return true if self.equal?(o)
93
93
  self.class == o.class &&
94
- task_args == o.task_args &&
94
+ task_kwargs == o.task_kwargs &&
95
95
  task_name == o.task_name
96
96
  end
97
97
 
@@ -104,7 +104,7 @@ module EilamTest
104
104
  # Calculates hash code according to all attributes.
105
105
  # @return [Integer] Hash code
106
106
  def hash
107
- [task_args, task_name].hash
107
+ [task_kwargs, task_name].hash
108
108
  end
109
109
 
110
110
  # Builds the object from hash
@@ -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 EilamTest
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 `EilamTest::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 `EilamTest::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 = EilamTest.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
@@ -31,6 +31,9 @@ module EilamTest
31
31
  # component_state
32
32
  attr_accessor :component_state
33
33
 
34
+ # initial_refresh
35
+ attr_accessor :initial_refresh
36
+
34
37
  attr_accessor :iqn
35
38
 
36
39
  # management_ip
@@ -98,6 +101,7 @@ module EilamTest
98
101
  :'chap_name' => :'chap_name',
99
102
  :'chap_secret' => :'chap_secret',
100
103
  :'component_state' => :'component_state',
104
+ :'initial_refresh' => :'initial_refresh',
101
105
  :'iqn' => :'iqn',
102
106
  :'management_ip' => :'management_ip',
103
107
  :'name' => :'name',
@@ -127,6 +131,7 @@ module EilamTest
127
131
  :'chap_name' => :'String',
128
132
  :'chap_secret' => :'String',
129
133
  :'component_state' => :'String',
134
+ :'initial_refresh' => :'Boolean',
130
135
  :'iqn' => :'String',
131
136
  :'management_ip' => :'String',
132
137
  :'name' => :'String',
@@ -188,6 +193,12 @@ module EilamTest
188
193
  self.component_state = attributes[:'component_state']
189
194
  end
190
195
 
196
+ if attributes.key?(:'initial_refresh')
197
+ self.initial_refresh = attributes[:'initial_refresh']
198
+ else
199
+ self.initial_refresh = true
200
+ end
201
+
191
202
  if attributes.key?(:'iqn')
192
203
  self.iqn = attributes[:'iqn']
193
204
  end
@@ -305,6 +316,7 @@ module EilamTest
305
316
  chap_name == o.chap_name &&
306
317
  chap_secret == o.chap_secret &&
307
318
  component_state == o.component_state &&
319
+ initial_refresh == o.initial_refresh &&
308
320
  iqn == o.iqn &&
309
321
  management_ip == o.management_ip &&
310
322
  name == o.name &&
@@ -329,7 +341,7 @@ module EilamTest
329
341
  # Calculates hash code according to all attributes.
330
342
  # @return [Integer] Hash code
331
343
  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
344
+ [auto_add_pools, auto_setup, 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
345
  end
334
346
 
335
347
  # 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: 10
6
+ The version of the OpenAPI document: 11.1
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 EilamTest
14
- VERSION = '10'
14
+ VERSION = '11.1'
15
15
  end
data/lib/eilam_test.rb CHANGED
@@ -29,7 +29,9 @@ require 'eilam_test/models/auto_sde_project'
29
29
  require 'eilam_test/models/auto_sde_role'
30
30
  require 'eilam_test/models/capability_translation'
31
31
  require 'eilam_test/models/capability_translation_create'
32
+ require 'eilam_test/models/celery_config'
32
33
  require 'eilam_test/models/event'
34
+ require 'eilam_test/models/event_response'
33
35
  require 'eilam_test/models/host'
34
36
  require 'eilam_test/models/host_cluster'
35
37
  require 'eilam_test/models/host_cluster_create'
@@ -46,6 +48,7 @@ require 'eilam_test/models/job_create'
46
48
  require 'eilam_test/models/native_capability'
47
49
  require 'eilam_test/models/profile'
48
50
  require 'eilam_test/models/provisioning_strategy'
51
+ require 'eilam_test/models/refresh_system'
49
52
  require 'eilam_test/models/service'
50
53
  require 'eilam_test/models/service_abstract_capability_value'
51
54
  require 'eilam_test/models/service_create'
@@ -87,6 +90,7 @@ require 'eilam_test/api/authentication_api'
87
90
  require 'eilam_test/api/auto_sde_project_api'
88
91
  require 'eilam_test/api/auto_sde_role_api'
89
92
  require 'eilam_test/api/capability_translation_api'
93
+ require 'eilam_test/api/celery_config_api'
90
94
  require 'eilam_test/api/event_api'
91
95
  require 'eilam_test/api/host_api'
92
96
  require 'eilam_test/api/host_cluster_api'
@@ -97,6 +101,7 @@ require 'eilam_test/api/job_api'
97
101
  require 'eilam_test/api/native_capability_api'
98
102
  require 'eilam_test/api/profile_api'
99
103
  require 'eilam_test/api/provisioning_strategy_api'
104
+ require 'eilam_test/api/refresh_system_api'
100
105
  require 'eilam_test/api/service_api'
101
106
  require 'eilam_test/api/service_resource_attachment_api'
102
107
  require 'eilam_test/api/snapshot_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 EilamTest::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 = EilamTest::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(EilamTest::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
@@ -0,0 +1,45 @@
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 EilamTest::RefreshSystemApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RefreshSystemApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = EilamTest::RefreshSystemApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RefreshSystemApi' do
30
+ it 'should create an instance of RefreshSystemApi' do
31
+ expect(@api_instance).to be_instance_of(EilamTest::RefreshSystemApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for refresh_system_post
36
+ # @param refresh_system
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [RefreshSystem]
39
+ describe 'refresh_system_post test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ end
@@ -0,0 +1,40 @@
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
+ require 'date'
16
+
17
+ # Unit tests for EilamTest::CeleryConfig
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EilamTest::CeleryConfig do
21
+ let(:instance) { EilamTest::CeleryConfig.new }
22
+
23
+ describe 'test an instance of CeleryConfig' do
24
+ it 'should create an instance of CeleryConfig' do
25
+ expect(instance).to be_instance_of(EilamTest::CeleryConfig)
26
+ end
27
+ end
28
+ describe 'test attribute "celery_beat_enabled"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "interval_sec"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,88 @@
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
+ require 'date'
16
+
17
+ # Unit tests for EilamTest::EventResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EilamTest::EventResponse do
21
+ let(:instance) { EilamTest::EventResponse.new }
22
+
23
+ describe 'test an instance of EventResponse' do
24
+ it 'should create an instance of EventResponse' do
25
+ expect(instance).to be_instance_of(EilamTest::EventResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "created_at"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "description"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "error_code"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "event_id"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "event_type"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "fixed"' 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
+
64
+ describe 'test attribute "last_timestamp"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "refresh_interval"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "storage_system"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "uuid"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end