eilam_test 1.1.10 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -15
- data/docs/SystemType.md +1 -1
- data/docs/SystemTypeCreate.md +1 -1
- data/lib/eilam_test/models/system_type.rb +3 -3
- data/lib/eilam_test/models/system_type_create.rb +3 -3
- data/lib/eilam_test/version.rb +2 -2
- data/lib/eilam_test.rb +0 -8
- data/spec/models/system_type_create_spec.rb +1 -1
- data/spec/models/system_type_spec.rb +1 -1
- metadata +62 -94
- data/docs/Event.md +0 -32
- data/docs/EventApi.md +0 -276
- data/docs/User.md +0 -38
- data/docs/UserApi.md +0 -346
- data/docs/UserCreate.md +0 -38
- data/docs/UserUpdate.md +0 -30
- data/docs/ValidateSystem.md +0 -26
- data/docs/ValidateSystemApi.md +0 -75
- data/lib/eilam_test/api/event_api.rb +0 -254
- data/lib/eilam_test/api/user_api.rb +0 -321
- data/lib/eilam_test/api/validate_system_api.rb +0 -83
- data/lib/eilam_test/models/event.rb +0 -289
- data/lib/eilam_test/models/user.rb +0 -395
- data/lib/eilam_test/models/user_create.rb +0 -395
- data/lib/eilam_test/models/user_update.rb +0 -280
- data/lib/eilam_test/models/validate_system.rb +0 -260
- data/spec/api/event_api_spec.rb +0 -74
- data/spec/api/user_api_spec.rb +0 -85
- data/spec/api/validate_system_api_spec.rb +0 -45
- data/spec/models/event_spec.rb +0 -76
- data/spec/models/user_create_spec.rb +0 -94
- data/spec/models/user_spec.rb +0 -94
- data/spec/models/user_update_spec.rb +0 -70
- data/spec/models/validate_system_spec.rb +0 -58
data/docs/EventApi.md
DELETED
@@ -1,276 +0,0 @@
|
|
1
|
-
# EilamTest::EventApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**events_get**](EventApi.md#events_get) | **GET** /events | |
|
8
|
-
| [**events_pk_delete**](EventApi.md#events_pk_delete) | **DELETE** /events/{pk} | |
|
9
|
-
| [**events_pk_get**](EventApi.md#events_pk_get) | **GET** /events/{pk} | |
|
10
|
-
| [**events_post**](EventApi.md#events_post) | **POST** /events | |
|
11
|
-
|
12
|
-
|
13
|
-
## events_get
|
14
|
-
|
15
|
-
> <Array<Event>> events_get
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
### Examples
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
require 'time'
|
23
|
-
require 'eilam_test'
|
24
|
-
# setup authorization
|
25
|
-
EilamTest.configure do |config|
|
26
|
-
# Configure Bearer authorization: bearerAuth
|
27
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
28
|
-
end
|
29
|
-
|
30
|
-
api_instance = EilamTest::EventApi.new
|
31
|
-
|
32
|
-
begin
|
33
|
-
|
34
|
-
result = api_instance.events_get
|
35
|
-
p result
|
36
|
-
rescue EilamTest::ApiError => e
|
37
|
-
puts "Error when calling EventApi->events_get: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
#### Using the events_get_with_http_info variant
|
42
|
-
|
43
|
-
This returns an Array which contains the response data, status code and headers.
|
44
|
-
|
45
|
-
> <Array(<Array<Event>>, Integer, Hash)> events_get_with_http_info
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
begin
|
49
|
-
|
50
|
-
data, status_code, headers = api_instance.events_get_with_http_info
|
51
|
-
p status_code # => 2xx
|
52
|
-
p headers # => { ... }
|
53
|
-
p data # => <Array<Event>>
|
54
|
-
rescue EilamTest::ApiError => e
|
55
|
-
puts "Error when calling EventApi->events_get_with_http_info: #{e}"
|
56
|
-
end
|
57
|
-
```
|
58
|
-
|
59
|
-
### Parameters
|
60
|
-
|
61
|
-
This endpoint does not need any parameter.
|
62
|
-
|
63
|
-
### Return type
|
64
|
-
|
65
|
-
[**Array<Event>**](Event.md)
|
66
|
-
|
67
|
-
### Authorization
|
68
|
-
|
69
|
-
[bearerAuth](../README.md#bearerAuth)
|
70
|
-
|
71
|
-
### HTTP request headers
|
72
|
-
|
73
|
-
- **Content-Type**: Not defined
|
74
|
-
- **Accept**: */*
|
75
|
-
|
76
|
-
|
77
|
-
## events_pk_delete
|
78
|
-
|
79
|
-
> <Array<Event>> events_pk_delete(pk)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
### Examples
|
84
|
-
|
85
|
-
```ruby
|
86
|
-
require 'time'
|
87
|
-
require 'eilam_test'
|
88
|
-
# setup authorization
|
89
|
-
EilamTest.configure do |config|
|
90
|
-
# Configure Bearer authorization: bearerAuth
|
91
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
92
|
-
end
|
93
|
-
|
94
|
-
api_instance = EilamTest::EventApi.new
|
95
|
-
pk = 56 # Integer |
|
96
|
-
|
97
|
-
begin
|
98
|
-
|
99
|
-
result = api_instance.events_pk_delete(pk)
|
100
|
-
p result
|
101
|
-
rescue EilamTest::ApiError => e
|
102
|
-
puts "Error when calling EventApi->events_pk_delete: #{e}"
|
103
|
-
end
|
104
|
-
```
|
105
|
-
|
106
|
-
#### Using the events_pk_delete_with_http_info variant
|
107
|
-
|
108
|
-
This returns an Array which contains the response data, status code and headers.
|
109
|
-
|
110
|
-
> <Array(<Array<Event>>, Integer, Hash)> events_pk_delete_with_http_info(pk)
|
111
|
-
|
112
|
-
```ruby
|
113
|
-
begin
|
114
|
-
|
115
|
-
data, status_code, headers = api_instance.events_pk_delete_with_http_info(pk)
|
116
|
-
p status_code # => 2xx
|
117
|
-
p headers # => { ... }
|
118
|
-
p data # => <Array<Event>>
|
119
|
-
rescue EilamTest::ApiError => e
|
120
|
-
puts "Error when calling EventApi->events_pk_delete_with_http_info: #{e}"
|
121
|
-
end
|
122
|
-
```
|
123
|
-
|
124
|
-
### Parameters
|
125
|
-
|
126
|
-
| Name | Type | Description | Notes |
|
127
|
-
| ---- | ---- | ----------- | ----- |
|
128
|
-
| **pk** | **Integer** | | |
|
129
|
-
|
130
|
-
### Return type
|
131
|
-
|
132
|
-
[**Array<Event>**](Event.md)
|
133
|
-
|
134
|
-
### Authorization
|
135
|
-
|
136
|
-
[bearerAuth](../README.md#bearerAuth)
|
137
|
-
|
138
|
-
### HTTP request headers
|
139
|
-
|
140
|
-
- **Content-Type**: Not defined
|
141
|
-
- **Accept**: */*
|
142
|
-
|
143
|
-
|
144
|
-
## events_pk_get
|
145
|
-
|
146
|
-
> <Array<Event>> events_pk_get(pk)
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
### Examples
|
151
|
-
|
152
|
-
```ruby
|
153
|
-
require 'time'
|
154
|
-
require 'eilam_test'
|
155
|
-
# setup authorization
|
156
|
-
EilamTest.configure do |config|
|
157
|
-
# Configure Bearer authorization: bearerAuth
|
158
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
159
|
-
end
|
160
|
-
|
161
|
-
api_instance = EilamTest::EventApi.new
|
162
|
-
pk = 56 # Integer |
|
163
|
-
|
164
|
-
begin
|
165
|
-
|
166
|
-
result = api_instance.events_pk_get(pk)
|
167
|
-
p result
|
168
|
-
rescue EilamTest::ApiError => e
|
169
|
-
puts "Error when calling EventApi->events_pk_get: #{e}"
|
170
|
-
end
|
171
|
-
```
|
172
|
-
|
173
|
-
#### Using the events_pk_get_with_http_info variant
|
174
|
-
|
175
|
-
This returns an Array which contains the response data, status code and headers.
|
176
|
-
|
177
|
-
> <Array(<Array<Event>>, Integer, Hash)> events_pk_get_with_http_info(pk)
|
178
|
-
|
179
|
-
```ruby
|
180
|
-
begin
|
181
|
-
|
182
|
-
data, status_code, headers = api_instance.events_pk_get_with_http_info(pk)
|
183
|
-
p status_code # => 2xx
|
184
|
-
p headers # => { ... }
|
185
|
-
p data # => <Array<Event>>
|
186
|
-
rescue EilamTest::ApiError => e
|
187
|
-
puts "Error when calling EventApi->events_pk_get_with_http_info: #{e}"
|
188
|
-
end
|
189
|
-
```
|
190
|
-
|
191
|
-
### Parameters
|
192
|
-
|
193
|
-
| Name | Type | Description | Notes |
|
194
|
-
| ---- | ---- | ----------- | ----- |
|
195
|
-
| **pk** | **Integer** | | |
|
196
|
-
|
197
|
-
### Return type
|
198
|
-
|
199
|
-
[**Array<Event>**](Event.md)
|
200
|
-
|
201
|
-
### Authorization
|
202
|
-
|
203
|
-
[bearerAuth](../README.md#bearerAuth)
|
204
|
-
|
205
|
-
### HTTP request headers
|
206
|
-
|
207
|
-
- **Content-Type**: Not defined
|
208
|
-
- **Accept**: */*
|
209
|
-
|
210
|
-
|
211
|
-
## events_post
|
212
|
-
|
213
|
-
> <Event> events_post(event)
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
### Examples
|
218
|
-
|
219
|
-
```ruby
|
220
|
-
require 'time'
|
221
|
-
require 'eilam_test'
|
222
|
-
# setup authorization
|
223
|
-
EilamTest.configure do |config|
|
224
|
-
# Configure Bearer authorization: bearerAuth
|
225
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
226
|
-
end
|
227
|
-
|
228
|
-
api_instance = EilamTest::EventApi.new
|
229
|
-
event = EilamTest::Event.new # Event |
|
230
|
-
|
231
|
-
begin
|
232
|
-
|
233
|
-
result = api_instance.events_post(event)
|
234
|
-
p result
|
235
|
-
rescue EilamTest::ApiError => e
|
236
|
-
puts "Error when calling EventApi->events_post: #{e}"
|
237
|
-
end
|
238
|
-
```
|
239
|
-
|
240
|
-
#### Using the events_post_with_http_info variant
|
241
|
-
|
242
|
-
This returns an Array which contains the response data, status code and headers.
|
243
|
-
|
244
|
-
> <Array(<Event>, Integer, Hash)> events_post_with_http_info(event)
|
245
|
-
|
246
|
-
```ruby
|
247
|
-
begin
|
248
|
-
|
249
|
-
data, status_code, headers = api_instance.events_post_with_http_info(event)
|
250
|
-
p status_code # => 2xx
|
251
|
-
p headers # => { ... }
|
252
|
-
p data # => <Event>
|
253
|
-
rescue EilamTest::ApiError => e
|
254
|
-
puts "Error when calling EventApi->events_post_with_http_info: #{e}"
|
255
|
-
end
|
256
|
-
```
|
257
|
-
|
258
|
-
### Parameters
|
259
|
-
|
260
|
-
| Name | Type | Description | Notes |
|
261
|
-
| ---- | ---- | ----------- | ----- |
|
262
|
-
| **event** | [**Event**](Event.md) | | |
|
263
|
-
|
264
|
-
### Return type
|
265
|
-
|
266
|
-
[**Event**](Event.md)
|
267
|
-
|
268
|
-
### Authorization
|
269
|
-
|
270
|
-
[bearerAuth](../README.md#bearerAuth)
|
271
|
-
|
272
|
-
### HTTP request headers
|
273
|
-
|
274
|
-
- **Content-Type**: application/json
|
275
|
-
- **Accept**: */*
|
276
|
-
|
data/docs/User.md
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# EilamTest::User
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **date_joined** | **Time** | date_joined | [optional] |
|
8
|
-
| **email** | **String** | email | [optional] |
|
9
|
-
| **first_name** | **String** | first_name | [optional] |
|
10
|
-
| **is_active** | **Boolean** | is_active | [optional] |
|
11
|
-
| **is_staff** | **Boolean** | is_staff | [optional] |
|
12
|
-
| **is_superuser** | **Boolean** | is_superuser | [optional] |
|
13
|
-
| **last_login** | **Time** | last_login | [optional] |
|
14
|
-
| **last_name** | **String** | last_name | [optional] |
|
15
|
-
| **password** | **String** | password | [optional] |
|
16
|
-
| **username** | **String** | username | [optional] |
|
17
|
-
| **uuid** | **String** | uuid | [optional] |
|
18
|
-
|
19
|
-
## Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
require 'eilam_test'
|
23
|
-
|
24
|
-
instance = EilamTest::User.new(
|
25
|
-
date_joined: null,
|
26
|
-
email: null,
|
27
|
-
first_name: null,
|
28
|
-
is_active: null,
|
29
|
-
is_staff: null,
|
30
|
-
is_superuser: null,
|
31
|
-
last_login: null,
|
32
|
-
last_name: null,
|
33
|
-
password: null,
|
34
|
-
username: null,
|
35
|
-
uuid: null
|
36
|
-
)
|
37
|
-
```
|
38
|
-
|
data/docs/UserApi.md
DELETED
@@ -1,346 +0,0 @@
|
|
1
|
-
# EilamTest::UserApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**autosde_users_get**](UserApi.md#autosde_users_get) | **GET** /autosde-users | |
|
8
|
-
| [**autosde_users_pk_delete**](UserApi.md#autosde_users_pk_delete) | **DELETE** /autosde-users/{pk} | |
|
9
|
-
| [**autosde_users_pk_get**](UserApi.md#autosde_users_pk_get) | **GET** /autosde-users/{pk} | |
|
10
|
-
| [**autosde_users_pk_put**](UserApi.md#autosde_users_pk_put) | **PUT** /autosde-users/{pk} | |
|
11
|
-
| [**autosde_users_post**](UserApi.md#autosde_users_post) | **POST** /autosde-users | |
|
12
|
-
|
13
|
-
|
14
|
-
## autosde_users_get
|
15
|
-
|
16
|
-
> <Array<UserCreate>> autosde_users_get
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
### Examples
|
21
|
-
|
22
|
-
```ruby
|
23
|
-
require 'time'
|
24
|
-
require 'eilam_test'
|
25
|
-
# setup authorization
|
26
|
-
EilamTest.configure do |config|
|
27
|
-
# Configure Bearer authorization: bearerAuth
|
28
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
|
-
end
|
30
|
-
|
31
|
-
api_instance = EilamTest::UserApi.new
|
32
|
-
|
33
|
-
begin
|
34
|
-
|
35
|
-
result = api_instance.autosde_users_get
|
36
|
-
p result
|
37
|
-
rescue EilamTest::ApiError => e
|
38
|
-
puts "Error when calling UserApi->autosde_users_get: #{e}"
|
39
|
-
end
|
40
|
-
```
|
41
|
-
|
42
|
-
#### Using the autosde_users_get_with_http_info variant
|
43
|
-
|
44
|
-
This returns an Array which contains the response data, status code and headers.
|
45
|
-
|
46
|
-
> <Array(<Array<UserCreate>>, Integer, Hash)> autosde_users_get_with_http_info
|
47
|
-
|
48
|
-
```ruby
|
49
|
-
begin
|
50
|
-
|
51
|
-
data, status_code, headers = api_instance.autosde_users_get_with_http_info
|
52
|
-
p status_code # => 2xx
|
53
|
-
p headers # => { ... }
|
54
|
-
p data # => <Array<UserCreate>>
|
55
|
-
rescue EilamTest::ApiError => e
|
56
|
-
puts "Error when calling UserApi->autosde_users_get_with_http_info: #{e}"
|
57
|
-
end
|
58
|
-
```
|
59
|
-
|
60
|
-
### Parameters
|
61
|
-
|
62
|
-
This endpoint does not need any parameter.
|
63
|
-
|
64
|
-
### Return type
|
65
|
-
|
66
|
-
[**Array<UserCreate>**](UserCreate.md)
|
67
|
-
|
68
|
-
### Authorization
|
69
|
-
|
70
|
-
[bearerAuth](../README.md#bearerAuth)
|
71
|
-
|
72
|
-
### HTTP request headers
|
73
|
-
|
74
|
-
- **Content-Type**: Not defined
|
75
|
-
- **Accept**: */*
|
76
|
-
|
77
|
-
|
78
|
-
## autosde_users_pk_delete
|
79
|
-
|
80
|
-
> <Array<User>> autosde_users_pk_delete(pk)
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
### Examples
|
85
|
-
|
86
|
-
```ruby
|
87
|
-
require 'time'
|
88
|
-
require 'eilam_test'
|
89
|
-
# setup authorization
|
90
|
-
EilamTest.configure do |config|
|
91
|
-
# Configure Bearer authorization: bearerAuth
|
92
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
93
|
-
end
|
94
|
-
|
95
|
-
api_instance = EilamTest::UserApi.new
|
96
|
-
pk = 56 # Integer |
|
97
|
-
|
98
|
-
begin
|
99
|
-
|
100
|
-
result = api_instance.autosde_users_pk_delete(pk)
|
101
|
-
p result
|
102
|
-
rescue EilamTest::ApiError => e
|
103
|
-
puts "Error when calling UserApi->autosde_users_pk_delete: #{e}"
|
104
|
-
end
|
105
|
-
```
|
106
|
-
|
107
|
-
#### Using the autosde_users_pk_delete_with_http_info variant
|
108
|
-
|
109
|
-
This returns an Array which contains the response data, status code and headers.
|
110
|
-
|
111
|
-
> <Array(<Array<User>>, Integer, Hash)> autosde_users_pk_delete_with_http_info(pk)
|
112
|
-
|
113
|
-
```ruby
|
114
|
-
begin
|
115
|
-
|
116
|
-
data, status_code, headers = api_instance.autosde_users_pk_delete_with_http_info(pk)
|
117
|
-
p status_code # => 2xx
|
118
|
-
p headers # => { ... }
|
119
|
-
p data # => <Array<User>>
|
120
|
-
rescue EilamTest::ApiError => e
|
121
|
-
puts "Error when calling UserApi->autosde_users_pk_delete_with_http_info: #{e}"
|
122
|
-
end
|
123
|
-
```
|
124
|
-
|
125
|
-
### Parameters
|
126
|
-
|
127
|
-
| Name | Type | Description | Notes |
|
128
|
-
| ---- | ---- | ----------- | ----- |
|
129
|
-
| **pk** | **Integer** | | |
|
130
|
-
|
131
|
-
### Return type
|
132
|
-
|
133
|
-
[**Array<User>**](User.md)
|
134
|
-
|
135
|
-
### Authorization
|
136
|
-
|
137
|
-
[bearerAuth](../README.md#bearerAuth)
|
138
|
-
|
139
|
-
### HTTP request headers
|
140
|
-
|
141
|
-
- **Content-Type**: Not defined
|
142
|
-
- **Accept**: */*
|
143
|
-
|
144
|
-
|
145
|
-
## autosde_users_pk_get
|
146
|
-
|
147
|
-
> <Array<UserCreate>> autosde_users_pk_get(pk)
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
### Examples
|
152
|
-
|
153
|
-
```ruby
|
154
|
-
require 'time'
|
155
|
-
require 'eilam_test'
|
156
|
-
# setup authorization
|
157
|
-
EilamTest.configure do |config|
|
158
|
-
# Configure Bearer authorization: bearerAuth
|
159
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
160
|
-
end
|
161
|
-
|
162
|
-
api_instance = EilamTest::UserApi.new
|
163
|
-
pk = 56 # Integer |
|
164
|
-
|
165
|
-
begin
|
166
|
-
|
167
|
-
result = api_instance.autosde_users_pk_get(pk)
|
168
|
-
p result
|
169
|
-
rescue EilamTest::ApiError => e
|
170
|
-
puts "Error when calling UserApi->autosde_users_pk_get: #{e}"
|
171
|
-
end
|
172
|
-
```
|
173
|
-
|
174
|
-
#### Using the autosde_users_pk_get_with_http_info variant
|
175
|
-
|
176
|
-
This returns an Array which contains the response data, status code and headers.
|
177
|
-
|
178
|
-
> <Array(<Array<UserCreate>>, Integer, Hash)> autosde_users_pk_get_with_http_info(pk)
|
179
|
-
|
180
|
-
```ruby
|
181
|
-
begin
|
182
|
-
|
183
|
-
data, status_code, headers = api_instance.autosde_users_pk_get_with_http_info(pk)
|
184
|
-
p status_code # => 2xx
|
185
|
-
p headers # => { ... }
|
186
|
-
p data # => <Array<UserCreate>>
|
187
|
-
rescue EilamTest::ApiError => e
|
188
|
-
puts "Error when calling UserApi->autosde_users_pk_get_with_http_info: #{e}"
|
189
|
-
end
|
190
|
-
```
|
191
|
-
|
192
|
-
### Parameters
|
193
|
-
|
194
|
-
| Name | Type | Description | Notes |
|
195
|
-
| ---- | ---- | ----------- | ----- |
|
196
|
-
| **pk** | **Integer** | | |
|
197
|
-
|
198
|
-
### Return type
|
199
|
-
|
200
|
-
[**Array<UserCreate>**](UserCreate.md)
|
201
|
-
|
202
|
-
### Authorization
|
203
|
-
|
204
|
-
[bearerAuth](../README.md#bearerAuth)
|
205
|
-
|
206
|
-
### HTTP request headers
|
207
|
-
|
208
|
-
- **Content-Type**: Not defined
|
209
|
-
- **Accept**: */*
|
210
|
-
|
211
|
-
|
212
|
-
## autosde_users_pk_put
|
213
|
-
|
214
|
-
> <UserCreate> autosde_users_pk_put(pk, user_update)
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
### Examples
|
219
|
-
|
220
|
-
```ruby
|
221
|
-
require 'time'
|
222
|
-
require 'eilam_test'
|
223
|
-
# setup authorization
|
224
|
-
EilamTest.configure do |config|
|
225
|
-
# Configure Bearer authorization: bearerAuth
|
226
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
227
|
-
end
|
228
|
-
|
229
|
-
api_instance = EilamTest::UserApi.new
|
230
|
-
pk = 56 # Integer |
|
231
|
-
user_update = EilamTest::UserUpdate.new # UserUpdate |
|
232
|
-
|
233
|
-
begin
|
234
|
-
|
235
|
-
result = api_instance.autosde_users_pk_put(pk, user_update)
|
236
|
-
p result
|
237
|
-
rescue EilamTest::ApiError => e
|
238
|
-
puts "Error when calling UserApi->autosde_users_pk_put: #{e}"
|
239
|
-
end
|
240
|
-
```
|
241
|
-
|
242
|
-
#### Using the autosde_users_pk_put_with_http_info variant
|
243
|
-
|
244
|
-
This returns an Array which contains the response data, status code and headers.
|
245
|
-
|
246
|
-
> <Array(<UserCreate>, Integer, Hash)> autosde_users_pk_put_with_http_info(pk, user_update)
|
247
|
-
|
248
|
-
```ruby
|
249
|
-
begin
|
250
|
-
|
251
|
-
data, status_code, headers = api_instance.autosde_users_pk_put_with_http_info(pk, user_update)
|
252
|
-
p status_code # => 2xx
|
253
|
-
p headers # => { ... }
|
254
|
-
p data # => <UserCreate>
|
255
|
-
rescue EilamTest::ApiError => e
|
256
|
-
puts "Error when calling UserApi->autosde_users_pk_put_with_http_info: #{e}"
|
257
|
-
end
|
258
|
-
```
|
259
|
-
|
260
|
-
### Parameters
|
261
|
-
|
262
|
-
| Name | Type | Description | Notes |
|
263
|
-
| ---- | ---- | ----------- | ----- |
|
264
|
-
| **pk** | **Integer** | | |
|
265
|
-
| **user_update** | [**UserUpdate**](UserUpdate.md) | | |
|
266
|
-
|
267
|
-
### Return type
|
268
|
-
|
269
|
-
[**UserCreate**](UserCreate.md)
|
270
|
-
|
271
|
-
### Authorization
|
272
|
-
|
273
|
-
[bearerAuth](../README.md#bearerAuth)
|
274
|
-
|
275
|
-
### HTTP request headers
|
276
|
-
|
277
|
-
- **Content-Type**: application/json
|
278
|
-
- **Accept**: */*
|
279
|
-
|
280
|
-
|
281
|
-
## autosde_users_post
|
282
|
-
|
283
|
-
> <UserCreate> autosde_users_post(user_create)
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
### Examples
|
288
|
-
|
289
|
-
```ruby
|
290
|
-
require 'time'
|
291
|
-
require 'eilam_test'
|
292
|
-
# setup authorization
|
293
|
-
EilamTest.configure do |config|
|
294
|
-
# Configure Bearer authorization: bearerAuth
|
295
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
296
|
-
end
|
297
|
-
|
298
|
-
api_instance = EilamTest::UserApi.new
|
299
|
-
user_create = EilamTest::UserCreate.new # UserCreate |
|
300
|
-
|
301
|
-
begin
|
302
|
-
|
303
|
-
result = api_instance.autosde_users_post(user_create)
|
304
|
-
p result
|
305
|
-
rescue EilamTest::ApiError => e
|
306
|
-
puts "Error when calling UserApi->autosde_users_post: #{e}"
|
307
|
-
end
|
308
|
-
```
|
309
|
-
|
310
|
-
#### Using the autosde_users_post_with_http_info variant
|
311
|
-
|
312
|
-
This returns an Array which contains the response data, status code and headers.
|
313
|
-
|
314
|
-
> <Array(<UserCreate>, Integer, Hash)> autosde_users_post_with_http_info(user_create)
|
315
|
-
|
316
|
-
```ruby
|
317
|
-
begin
|
318
|
-
|
319
|
-
data, status_code, headers = api_instance.autosde_users_post_with_http_info(user_create)
|
320
|
-
p status_code # => 2xx
|
321
|
-
p headers # => { ... }
|
322
|
-
p data # => <UserCreate>
|
323
|
-
rescue EilamTest::ApiError => e
|
324
|
-
puts "Error when calling UserApi->autosde_users_post_with_http_info: #{e}"
|
325
|
-
end
|
326
|
-
```
|
327
|
-
|
328
|
-
### Parameters
|
329
|
-
|
330
|
-
| Name | Type | Description | Notes |
|
331
|
-
| ---- | ---- | ----------- | ----- |
|
332
|
-
| **user_create** | [**UserCreate**](UserCreate.md) | | |
|
333
|
-
|
334
|
-
### Return type
|
335
|
-
|
336
|
-
[**UserCreate**](UserCreate.md)
|
337
|
-
|
338
|
-
### Authorization
|
339
|
-
|
340
|
-
[bearerAuth](../README.md#bearerAuth)
|
341
|
-
|
342
|
-
### HTTP request headers
|
343
|
-
|
344
|
-
- **Content-Type**: application/json
|
345
|
-
- **Accept**: */*
|
346
|
-
|
data/docs/UserCreate.md
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# EilamTest::UserCreate
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **date_joined** | **Time** | date_joined | [optional] |
|
8
|
-
| **email** | **String** | email | [optional] |
|
9
|
-
| **first_name** | **String** | first_name | [optional] |
|
10
|
-
| **is_active** | **Boolean** | is_active | [optional] |
|
11
|
-
| **is_staff** | **Boolean** | is_staff | [optional] |
|
12
|
-
| **is_superuser** | **Boolean** | is_superuser | [optional] |
|
13
|
-
| **last_login** | **Time** | last_login | [optional] |
|
14
|
-
| **last_name** | **String** | last_name | [optional] |
|
15
|
-
| **password** | **String** | password | [optional] |
|
16
|
-
| **username** | **String** | username | [optional] |
|
17
|
-
| **uuid** | **String** | uuid | [optional] |
|
18
|
-
|
19
|
-
## Example
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
require 'eilam_test'
|
23
|
-
|
24
|
-
instance = EilamTest::UserCreate.new(
|
25
|
-
date_joined: null,
|
26
|
-
email: null,
|
27
|
-
first_name: null,
|
28
|
-
is_active: null,
|
29
|
-
is_staff: null,
|
30
|
-
is_superuser: null,
|
31
|
-
last_login: null,
|
32
|
-
last_name: null,
|
33
|
-
password: null,
|
34
|
-
username: null,
|
35
|
-
uuid: null
|
36
|
-
)
|
37
|
-
```
|
38
|
-
|
data/docs/UserUpdate.md
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# EilamTest::UserUpdate
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **email** | **String** | email | [optional] |
|
8
|
-
| **first_name** | **String** | first_name | [optional] |
|
9
|
-
| **is_active** | **Boolean** | is_active | [optional] |
|
10
|
-
| **is_staff** | **Boolean** | is_staff | [optional] |
|
11
|
-
| **last_name** | **String** | last_name | [optional] |
|
12
|
-
| **password** | **String** | password | [optional] |
|
13
|
-
| **username** | **String** | username | [optional] |
|
14
|
-
|
15
|
-
## Example
|
16
|
-
|
17
|
-
```ruby
|
18
|
-
require 'eilam_test'
|
19
|
-
|
20
|
-
instance = EilamTest::UserUpdate.new(
|
21
|
-
email: null,
|
22
|
-
first_name: null,
|
23
|
-
is_active: null,
|
24
|
-
is_staff: null,
|
25
|
-
last_name: null,
|
26
|
-
password: null,
|
27
|
-
username: null
|
28
|
-
)
|
29
|
-
```
|
30
|
-
|