autosde_openapi_client 1.1.8 → 1.1.9
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.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/docs/UserChangePassword.md +18 -0
- data/docs/UserChangePasswordApi.md +75 -0
- data/lib/autosde_openapi_client/api/user_change_password_api.rb +83 -0
- data/lib/autosde_openapi_client/models/user_change_password.rb +220 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +2 -0
- data/spec/api/user_change_password_api_spec.rb +45 -0
- data/spec/models/user_change_password_spec.rb +34 -0
- metadata +77 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f2061252d2594bf0e52820fb581a3118f66785269cbc14b7713abcd3e8eae99
|
4
|
+
data.tar.gz: fc28265e4dbf66f670509dcb667ac5023d910e5a3d2f8bc24185ff46f169d9a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd6ef2aadf37e9b3bdcce6bdeaa17608f8694a5857abfa0aff95ba89e9e03bf1c96bc347f12cb344d4cd4a681ce1c0fe177954d18e45d46c04434bdcef5b4b1e
|
7
|
+
data.tar.gz: 71fa78991be37f64b365b3b84d074ed6e5c38c2e137d46e871c5bd3a9cdca07f4686f52e9a927cf0abeb2ad23542c416d8d77e006125a22e9fd38b2d00ce15e3
|
data/README.md
CHANGED
@@ -176,6 +176,7 @@ Class | Method | HTTP request | Description
|
|
176
176
|
*AutosdeOpenapiClient::SystemTypeApi* | [**system_types_pk_delete**](docs/SystemTypeApi.md#system_types_pk_delete) | **DELETE** /system-types/{pk} |
|
177
177
|
*AutosdeOpenapiClient::SystemTypeApi* | [**system_types_pk_get**](docs/SystemTypeApi.md#system_types_pk_get) | **GET** /system-types/{pk} |
|
178
178
|
*AutosdeOpenapiClient::SystemTypeApi* | [**system_types_post**](docs/SystemTypeApi.md#system_types_post) | **POST** /system-types |
|
179
|
+
*AutosdeOpenapiClient::UserChangePasswordApi* | [**change_user_password_post**](docs/UserChangePasswordApi.md#change_user_password_post) | **POST** /change-user-password |
|
179
180
|
*AutosdeOpenapiClient::VolumeApi* | [**volumes_get**](docs/VolumeApi.md#volumes_get) | **GET** /volumes |
|
180
181
|
*AutosdeOpenapiClient::VolumeApi* | [**volumes_pk_delete**](docs/VolumeApi.md#volumes_pk_delete) | **DELETE** /volumes/{pk} |
|
181
182
|
*AutosdeOpenapiClient::VolumeApi* | [**volumes_pk_get**](docs/VolumeApi.md#volumes_pk_get) | **GET** /volumes/{pk} |
|
@@ -239,6 +240,7 @@ Class | Method | HTTP request | Description
|
|
239
240
|
- [AutosdeOpenapiClient::StorageSystemUpdate](docs/StorageSystemUpdate.md)
|
240
241
|
- [AutosdeOpenapiClient::SystemType](docs/SystemType.md)
|
241
242
|
- [AutosdeOpenapiClient::SystemTypeCreate](docs/SystemTypeCreate.md)
|
243
|
+
- [AutosdeOpenapiClient::UserChangePassword](docs/UserChangePassword.md)
|
242
244
|
- [AutosdeOpenapiClient::Volume](docs/Volume.md)
|
243
245
|
- [AutosdeOpenapiClient::VolumeCreate](docs/VolumeCreate.md)
|
244
246
|
- [AutosdeOpenapiClient::VolumeResponse](docs/VolumeResponse.md)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# AutosdeOpenapiClient::UserChangePassword
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **new_password** | **String** | new_password | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'autosde_openapi_client'
|
13
|
+
|
14
|
+
instance = AutosdeOpenapiClient::UserChangePassword.new(
|
15
|
+
new_password: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# AutosdeOpenapiClient::UserChangePasswordApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**change_user_password_post**](UserChangePasswordApi.md#change_user_password_post) | **POST** /change-user-password | |
|
8
|
+
|
9
|
+
|
10
|
+
## change_user_password_post
|
11
|
+
|
12
|
+
> <UserChangePassword> change_user_password_post(user_change_password)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
### Examples
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'time'
|
20
|
+
require 'autosde_openapi_client'
|
21
|
+
# setup authorization
|
22
|
+
AutosdeOpenapiClient.configure do |config|
|
23
|
+
# Configure Bearer authorization: bearerAuth
|
24
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
25
|
+
end
|
26
|
+
|
27
|
+
api_instance = AutosdeOpenapiClient::UserChangePasswordApi.new
|
28
|
+
user_change_password = AutosdeOpenapiClient::UserChangePassword.new # UserChangePassword |
|
29
|
+
|
30
|
+
begin
|
31
|
+
|
32
|
+
result = api_instance.change_user_password_post(user_change_password)
|
33
|
+
p result
|
34
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
35
|
+
puts "Error when calling UserChangePasswordApi->change_user_password_post: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Using the change_user_password_post_with_http_info variant
|
40
|
+
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
42
|
+
|
43
|
+
> <Array(<UserChangePassword>, Integer, Hash)> change_user_password_post_with_http_info(user_change_password)
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
begin
|
47
|
+
|
48
|
+
data, status_code, headers = api_instance.change_user_password_post_with_http_info(user_change_password)
|
49
|
+
p status_code # => 2xx
|
50
|
+
p headers # => { ... }
|
51
|
+
p data # => <UserChangePassword>
|
52
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
53
|
+
puts "Error when calling UserChangePasswordApi->change_user_password_post_with_http_info: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
| Name | Type | Description | Notes |
|
60
|
+
| ---- | ---- | ----------- | ----- |
|
61
|
+
| **user_change_password** | [**UserChangePassword**](UserChangePassword.md) | | |
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
[**UserChangePassword**](UserChangePassword.md)
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[bearerAuth](../README.md#bearerAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: application/json
|
74
|
+
- **Accept**: */*
|
75
|
+
|
@@ -0,0 +1,83 @@
|
|
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 'cgi'
|
14
|
+
|
15
|
+
module AutosdeOpenapiClient
|
16
|
+
class UserChangePasswordApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# @param user_change_password [UserChangePassword]
|
23
|
+
# @param [Hash] opts the optional parameters
|
24
|
+
# @return [UserChangePassword]
|
25
|
+
def change_user_password_post(user_change_password, opts = {})
|
26
|
+
data, _status_code, _headers = change_user_password_post_with_http_info(user_change_password, opts)
|
27
|
+
data
|
28
|
+
end
|
29
|
+
|
30
|
+
# @param user_change_password [UserChangePassword]
|
31
|
+
# @param [Hash] opts the optional parameters
|
32
|
+
# @return [Array<(UserChangePassword, Integer, Hash)>] UserChangePassword data, response status code and response headers
|
33
|
+
def change_user_password_post_with_http_info(user_change_password, opts = {})
|
34
|
+
if @api_client.config.debugging
|
35
|
+
@api_client.config.logger.debug 'Calling API: UserChangePasswordApi.change_user_password_post ...'
|
36
|
+
end
|
37
|
+
# verify the required parameter 'user_change_password' is set
|
38
|
+
if @api_client.config.client_side_validation && user_change_password.nil?
|
39
|
+
fail ArgumentError, "Missing the required parameter 'user_change_password' when calling UserChangePasswordApi.change_user_password_post"
|
40
|
+
end
|
41
|
+
# resource path
|
42
|
+
local_var_path = '/change-user-password'
|
43
|
+
|
44
|
+
# query parameters
|
45
|
+
query_params = opts[:query_params] || {}
|
46
|
+
|
47
|
+
# header parameters
|
48
|
+
header_params = opts[:header_params] || {}
|
49
|
+
# HTTP header 'Accept' (if needed)
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
51
|
+
# HTTP header 'Content-Type'
|
52
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
# form parameters
|
55
|
+
form_params = opts[:form_params] || {}
|
56
|
+
|
57
|
+
# http body (model)
|
58
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(user_change_password)
|
59
|
+
|
60
|
+
# return_type
|
61
|
+
return_type = opts[:debug_return_type] || 'UserChangePassword'
|
62
|
+
|
63
|
+
# auth_names
|
64
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
65
|
+
|
66
|
+
new_options = opts.merge(
|
67
|
+
:operation => :"UserChangePasswordApi.change_user_password_post",
|
68
|
+
:header_params => header_params,
|
69
|
+
:query_params => query_params,
|
70
|
+
:form_params => form_params,
|
71
|
+
:body => post_body,
|
72
|
+
:auth_names => auth_names,
|
73
|
+
:return_type => return_type
|
74
|
+
)
|
75
|
+
|
76
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
77
|
+
if @api_client.config.debugging
|
78
|
+
@api_client.config.logger.debug "API called: UserChangePasswordApi#change_user_password_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
79
|
+
end
|
80
|
+
return data, status_code, headers
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -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
|
+
# UserChangePassword
|
18
|
+
class UserChangePassword
|
19
|
+
# new_password
|
20
|
+
attr_accessor :new_password
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'new_password' => :'new_password'
|
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
|
+
:'new_password' => :'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::UserChangePassword` 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::UserChangePassword`. 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?(:'new_password')
|
63
|
+
self.new_password = attributes[:'new_password']
|
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
|
+
new_password == o.new_password
|
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
|
+
[new_password].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
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.1.
|
6
|
+
The version of the OpenAPI document: 1.1.9
|
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.
|
14
|
+
VERSION = '1.1.9'
|
15
15
|
end
|
@@ -67,6 +67,7 @@ require 'autosde_openapi_client/models/storage_system_create'
|
|
67
67
|
require 'autosde_openapi_client/models/storage_system_update'
|
68
68
|
require 'autosde_openapi_client/models/system_type'
|
69
69
|
require 'autosde_openapi_client/models/system_type_create'
|
70
|
+
require 'autosde_openapi_client/models/user_change_password'
|
70
71
|
require 'autosde_openapi_client/models/volume'
|
71
72
|
require 'autosde_openapi_client/models/volume_create'
|
72
73
|
require 'autosde_openapi_client/models/volume_response'
|
@@ -100,6 +101,7 @@ require 'autosde_openapi_client/api/storage_host_wwpn_candidates_api'
|
|
100
101
|
require 'autosde_openapi_client/api/storage_resource_api'
|
101
102
|
require 'autosde_openapi_client/api/storage_system_api'
|
102
103
|
require 'autosde_openapi_client/api/system_type_api'
|
104
|
+
require 'autosde_openapi_client/api/user_change_password_api'
|
103
105
|
require 'autosde_openapi_client/api/volume_api'
|
104
106
|
require 'autosde_openapi_client/api/volume_safe_delete_api'
|
105
107
|
|
@@ -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 AutosdeOpenapiClient::UserChangePasswordApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UserChangePasswordApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = AutosdeOpenapiClient::UserChangePasswordApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UserChangePasswordApi' do
|
30
|
+
it 'should create an instance of UserChangePasswordApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::UserChangePasswordApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for change_user_password_post
|
36
|
+
# @param user_change_password
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [UserChangePassword]
|
39
|
+
describe 'change_user_password_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,34 @@
|
|
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 AutosdeOpenapiClient::UserChangePassword
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::UserChangePassword do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::UserChangePassword.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UserChangePassword' do
|
24
|
+
it 'should create an instance of UserChangePassword' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::UserChangePassword)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "new_password"' 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
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -137,6 +137,8 @@ files:
|
|
137
137
|
- docs/SystemType.md
|
138
138
|
- docs/SystemTypeApi.md
|
139
139
|
- docs/SystemTypeCreate.md
|
140
|
+
- docs/UserChangePassword.md
|
141
|
+
- docs/UserChangePasswordApi.md
|
140
142
|
- docs/Volume.md
|
141
143
|
- docs/VolumeApi.md
|
142
144
|
- docs/VolumeCreate.md
|
@@ -172,6 +174,7 @@ files:
|
|
172
174
|
- lib/autosde_openapi_client/api/storage_resource_api.rb
|
173
175
|
- lib/autosde_openapi_client/api/storage_system_api.rb
|
174
176
|
- lib/autosde_openapi_client/api/system_type_api.rb
|
177
|
+
- lib/autosde_openapi_client/api/user_change_password_api.rb
|
175
178
|
- lib/autosde_openapi_client/api/volume_api.rb
|
176
179
|
- lib/autosde_openapi_client/api/volume_safe_delete_api.rb
|
177
180
|
- lib/autosde_openapi_client/api_client.rb
|
@@ -227,6 +230,7 @@ files:
|
|
227
230
|
- lib/autosde_openapi_client/models/storage_system_update.rb
|
228
231
|
- lib/autosde_openapi_client/models/system_type.rb
|
229
232
|
- lib/autosde_openapi_client/models/system_type_create.rb
|
233
|
+
- lib/autosde_openapi_client/models/user_change_password.rb
|
230
234
|
- lib/autosde_openapi_client/models/volume.rb
|
231
235
|
- lib/autosde_openapi_client/models/volume_create.rb
|
232
236
|
- lib/autosde_openapi_client/models/volume_response.rb
|
@@ -259,6 +263,7 @@ files:
|
|
259
263
|
- spec/api/storage_resource_api_spec.rb
|
260
264
|
- spec/api/storage_system_api_spec.rb
|
261
265
|
- spec/api/system_type_api_spec.rb
|
266
|
+
- spec/api/user_change_password_api_spec.rb
|
262
267
|
- spec/api/volume_api_spec.rb
|
263
268
|
- spec/api/volume_safe_delete_api_spec.rb
|
264
269
|
- spec/api_client_spec.rb
|
@@ -313,6 +318,7 @@ files:
|
|
313
318
|
- spec/models/storage_system_update_spec.rb
|
314
319
|
- spec/models/system_type_create_spec.rb
|
315
320
|
- spec/models/system_type_spec.rb
|
321
|
+
- spec/models/user_change_password_spec.rb
|
316
322
|
- spec/models/volume_create_spec.rb
|
317
323
|
- spec/models/volume_response_spec.rb
|
318
324
|
- spec/models/volume_safe_delete_create_spec.rb
|
@@ -344,89 +350,91 @@ signing_key:
|
|
344
350
|
specification_version: 4
|
345
351
|
summary: Site Manager API Ruby Gem
|
346
352
|
test_files:
|
347
|
-
- spec/api/storage_system_api_spec.rb
|
348
|
-
- spec/api/host_volume_connection_api_spec.rb
|
349
|
-
- spec/api/service_resource_attachment_api_spec.rb
|
350
353
|
- spec/api/native_capability_api_spec.rb
|
351
|
-
- spec/api/storage_host_volume_mapping_api_spec.rb
|
352
|
-
- spec/api/snapshot_api_spec.rb
|
353
|
-
- spec/api/authentication_api_spec.rb
|
354
|
-
- spec/api/profile_api_spec.rb
|
355
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
356
|
-
- spec/api/storage_resource_api_spec.rb
|
357
354
|
- spec/api/host_cluster_api_spec.rb
|
355
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
356
|
+
- spec/api/host_api_spec.rb
|
357
|
+
- spec/api/address_api_spec.rb
|
358
|
+
- spec/api/host_volume_connection_api_spec.rb
|
358
359
|
- spec/api/capability_translation_api_spec.rb
|
359
|
-
- spec/api/
|
360
|
+
- spec/api/user_change_password_api_spec.rb
|
361
|
+
- spec/api/profile_api_spec.rb
|
362
|
+
- spec/api/auto_sde_project_api_spec.rb
|
360
363
|
- spec/api/volume_safe_delete_api_spec.rb
|
361
|
-
- spec/api/
|
362
|
-
- spec/api/auto_sde_role_api_spec.rb
|
363
|
-
- spec/api/host_api_spec.rb
|
364
|
-
- spec/api/account_api_spec.rb
|
365
|
-
- spec/api/system_type_api_spec.rb
|
366
|
-
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
364
|
+
- spec/api/service_api_spec.rb
|
367
365
|
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
366
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
368
367
|
- spec/api/provisioning_strategy_api_spec.rb
|
369
|
-
- spec/api/
|
370
|
-
- spec/api/
|
371
|
-
- spec/api/
|
372
|
-
- spec/api/
|
368
|
+
- spec/api/storage_host_api_spec.rb
|
369
|
+
- spec/api/storage_system_api_spec.rb
|
370
|
+
- spec/api/system_type_api_spec.rb
|
371
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
372
|
+
- spec/api/auto_sde_role_api_spec.rb
|
373
|
+
- spec/api/authentication_api_spec.rb
|
373
374
|
- spec/api/abstract_capability_api_spec.rb
|
375
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
376
|
+
- spec/api/volume_api_spec.rb
|
377
|
+
- spec/api/snapshot_api_spec.rb
|
378
|
+
- spec/api/account_api_spec.rb
|
379
|
+
- spec/api/storage_resource_api_spec.rb
|
380
|
+
- spec/api/job_api_spec.rb
|
374
381
|
- spec/api_client_spec.rb
|
375
382
|
- spec/configuration_spec.rb
|
376
|
-
- spec/models/host_cluster_response_spec.rb
|
377
|
-
- spec/models/authentication_spec.rb
|
378
|
-
- spec/models/storage_host_response_spec.rb
|
379
|
-
- spec/models/service_create_spec.rb
|
380
|
-
- spec/models/abstract_capability_spec.rb
|
381
|
-
- spec/models/storage_resource_create_spec.rb
|
382
|
-
- spec/models/snapshot_create_spec.rb
|
383
|
-
- spec/models/job_spec.rb
|
384
|
-
- spec/models/host_create_spec.rb
|
385
|
-
- spec/models/volume_update_spec.rb
|
386
|
-
- spec/models/volume_spec.rb
|
387
|
-
- spec/models/volume_safe_delete_spec.rb
|
388
|
-
- spec/models/storage_resource_response_spec.rb
|
389
|
-
- spec/models/volume_response_spec.rb
|
390
|
-
- spec/models/system_type_create_spec.rb
|
391
|
-
- spec/models/profile_spec.rb
|
392
|
-
- spec/models/capability_translation_create_spec.rb
|
393
|
-
- spec/models/snapshot_spec.rb
|
394
|
-
- spec/models/provisioning_strategy_spec.rb
|
395
383
|
- spec/models/service_spec.rb
|
396
|
-
- spec/models/
|
397
|
-
- spec/models/
|
398
|
-
- spec/models/host_spec.rb
|
384
|
+
- spec/models/host_cluster_spec.rb
|
385
|
+
- spec/models/user_change_password_spec.rb
|
399
386
|
- spec/models/host_volume_connection_create_spec.rb
|
400
|
-
- spec/models/
|
401
|
-
- spec/models/
|
402
|
-
- spec/models/
|
387
|
+
- spec/models/profile_spec.rb
|
388
|
+
- spec/models/address_create_spec.rb
|
389
|
+
- spec/models/host_cluster_response_spec.rb
|
390
|
+
- spec/models/address_spec.rb
|
403
391
|
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
404
|
-
- spec/models/
|
405
|
-
- spec/models/
|
392
|
+
- spec/models/volume_update_spec.rb
|
393
|
+
- spec/models/provisioning_strategy_spec.rb
|
394
|
+
- spec/models/storage_host_volume_mapping_spec.rb
|
395
|
+
- spec/models/system_type_create_spec.rb
|
406
396
|
- spec/models/storage_host_volume_mapping_create_spec.rb
|
407
|
-
- spec/models/
|
408
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
397
|
+
- spec/models/capability_translation_create_spec.rb
|
409
398
|
- spec/models/storage_resource_spec.rb
|
410
|
-
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
411
|
-
- spec/models/storage_host_spec.rb
|
412
|
-
- spec/models/storage_host_volume_mapping_response_spec.rb
|
413
|
-
- spec/models/volume_safe_delete_create_spec.rb
|
414
399
|
- spec/models/native_capability_spec.rb
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/storage_system_update_spec.rb
|
417
|
-
- spec/models/storage_host_update_spec.rb
|
418
|
-
- spec/models/address_create_spec.rb
|
419
|
-
- spec/models/system_type_spec.rb
|
420
|
-
- spec/models/host_cluster_volume_mapping_spec.rb
|
421
|
-
- spec/models/account_post_response_spec.rb
|
422
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
423
|
-
- spec/models/address_spec.rb
|
424
|
-
- spec/models/storage_system_spec.rb
|
425
|
-
- spec/models/storage_host_volume_mapping_spec.rb
|
426
|
-
- spec/models/auth_response_spec.rb
|
400
|
+
- spec/models/volume_response_spec.rb
|
427
401
|
- spec/models/storage_host_create_spec.rb
|
402
|
+
- spec/models/host_cluster_create_spec.rb
|
428
403
|
- spec/models/volume_create_spec.rb
|
429
|
-
- spec/models/
|
404
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
405
|
+
- spec/models/auto_sde_role_spec.rb
|
406
|
+
- spec/models/host_volume_connection_spec.rb
|
407
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
430
408
|
- spec/models/account_spec.rb
|
431
|
-
- spec/models/
|
409
|
+
- spec/models/storage_host_update_spec.rb
|
410
|
+
- spec/models/storage_system_spec.rb
|
411
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
412
|
+
- spec/models/account_post_response_spec.rb
|
413
|
+
- spec/models/storage_resource_create_spec.rb
|
414
|
+
- spec/models/volume_spec.rb
|
415
|
+
- spec/models/host_create_spec.rb
|
416
|
+
- spec/models/capability_translation_spec.rb
|
417
|
+
- spec/models/snapshot_create_spec.rb
|
418
|
+
- spec/models/abstract_capability_spec.rb
|
419
|
+
- spec/models/auth_response_spec.rb
|
420
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
421
|
+
- spec/models/job_create_spec.rb
|
422
|
+
- spec/models/storage_resource_response_spec.rb
|
423
|
+
- spec/models/job_spec.rb
|
424
|
+
- spec/models/snapshot_spec.rb
|
425
|
+
- spec/models/storage_host_spec.rb
|
426
|
+
- spec/models/service_create_spec.rb
|
427
|
+
- spec/models/service_resource_attachment_spec.rb
|
428
|
+
- spec/models/authentication_spec.rb
|
429
|
+
- spec/models/storage_host_response_spec.rb
|
430
|
+
- spec/models/host_cluster_membership_spec.rb
|
431
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
432
|
+
- spec/models/auto_sde_project_spec.rb
|
433
|
+
- spec/models/account_post_request_spec.rb
|
434
|
+
- spec/models/storage_system_create_spec.rb
|
435
|
+
- spec/models/volume_safe_delete_spec.rb
|
436
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
437
|
+
- spec/models/host_spec.rb
|
438
|
+
- spec/models/system_type_spec.rb
|
439
|
+
- spec/models/storage_system_update_spec.rb
|
432
440
|
- spec/spec_helper.rb
|