sources-api-client 1.0.0 → 3.0.0
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/CHANGELOG.md +18 -0
- data/Gemfile.lock +11 -10
- data/bundler.d/.gitkeep +0 -0
- data/bundler.d/Gemfile.dev.rb +0 -0
- data/docs/Application.md +4 -2
- data/docs/ApplicationAuthentication.md +25 -0
- data/docs/ApplicationAuthenticationsCollection.md +21 -0
- data/docs/Authentication.md +4 -2
- data/docs/DefaultApi.md +333 -45
- data/docs/Endpoint.md +4 -2
- data/docs/ErrorNotFoundErrors.md +1 -1
- data/docs/Source.md +4 -2
- data/lib/sources-api-client.rb +3 -2
- data/lib/sources-api-client/api/default_api.rb +440 -60
- data/lib/sources-api-client/api_client.rb +1 -1
- data/lib/sources-api-client/api_error.rb +1 -1
- data/lib/sources-api-client/configuration.rb +4 -4
- data/lib/sources-api-client/models/application.rb +20 -11
- data/lib/sources-api-client/models/application_authentication.rb +296 -0
- data/lib/sources-api-client/models/{tenant.rb → application_authentications_collection.rb} +25 -23
- data/lib/sources-api-client/models/application_type.rb +1 -1
- data/lib/sources-api-client/models/application_types_collection.rb +1 -1
- data/lib/sources-api-client/models/applications_collection.rb +1 -1
- data/lib/sources-api-client/models/authentication.rb +20 -11
- data/lib/sources-api-client/models/authentication_extra.rb +1 -1
- data/lib/sources-api-client/models/authentication_extra_azure.rb +1 -1
- data/lib/sources-api-client/models/authentications_collection.rb +1 -1
- data/lib/sources-api-client/models/collection_links.rb +1 -1
- data/lib/sources-api-client/models/collection_metadata.rb +1 -1
- data/lib/sources-api-client/models/endpoint.rb +20 -11
- data/lib/sources-api-client/models/endpoints_collection.rb +1 -1
- data/lib/sources-api-client/models/error_not_found.rb +1 -1
- data/lib/sources-api-client/models/error_not_found_errors.rb +2 -2
- data/lib/sources-api-client/models/graph_ql_request.rb +1 -1
- data/lib/sources-api-client/models/graph_ql_response.rb +1 -1
- data/lib/sources-api-client/models/source.rb +20 -11
- data/lib/sources-api-client/models/source_type.rb +1 -1
- data/lib/sources-api-client/models/source_types_collection.rb +1 -1
- data/lib/sources-api-client/models/sources_collection.rb +1 -1
- data/lib/sources-api-client/version.rb +2 -2
- data/sources-api-client.gemspec +1 -1
- data/spec/api/default_api_spec.rb +91 -23
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/application_authentication_spec.rb +65 -0
- data/spec/models/{tenant_spec.rb → application_authentications_collection_spec.rb} +10 -10
- data/spec/models/application_spec.rb +9 -3
- data/spec/models/application_type_spec.rb +1 -1
- data/spec/models/application_types_collection_spec.rb +1 -1
- data/spec/models/applications_collection_spec.rb +1 -1
- data/spec/models/authentication_extra_azure_spec.rb +1 -1
- data/spec/models/authentication_extra_spec.rb +1 -1
- data/spec/models/authentication_spec.rb +13 -7
- data/spec/models/authentications_collection_spec.rb +1 -1
- data/spec/models/collection_links_spec.rb +1 -1
- data/spec/models/collection_metadata_spec.rb +1 -1
- data/spec/models/endpoint_spec.rb +13 -7
- data/spec/models/endpoints_collection_spec.rb +1 -1
- data/spec/models/error_not_found_errors_spec.rb +1 -1
- data/spec/models/error_not_found_spec.rb +1 -1
- data/spec/models/graph_ql_request_spec.rb +1 -1
- data/spec/models/graph_ql_response_spec.rb +1 -1
- data/spec/models/source_spec.rb +11 -5
- data/spec/models/source_type_spec.rb +1 -1
- data/spec/models/source_types_collection_spec.rb +1 -1
- data/spec/models/sources_collection_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +39 -33
- data/docs/Tenant.md +0 -21
- data/pkg/sources-api-client-1.0.0.gem +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -25,6 +25,10 @@ module SourcesApiClient
|
|
25
25
|
# ID of the resource
|
26
26
|
attr_accessor :id
|
27
27
|
|
28
|
+
attr_accessor :last_available_at
|
29
|
+
|
30
|
+
attr_accessor :last_checked_at
|
31
|
+
|
28
32
|
attr_accessor :name
|
29
33
|
|
30
34
|
attr_accessor :password
|
@@ -38,8 +42,6 @@ module SourcesApiClient
|
|
38
42
|
|
39
43
|
attr_accessor :status_details
|
40
44
|
|
41
|
-
attr_accessor :tenant
|
42
|
-
|
43
45
|
attr_accessor :username
|
44
46
|
|
45
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -50,13 +52,14 @@ module SourcesApiClient
|
|
50
52
|
:'availability_status_error' => :'availability_status_error',
|
51
53
|
:'extra' => :'extra',
|
52
54
|
:'id' => :'id',
|
55
|
+
:'last_available_at' => :'last_available_at',
|
56
|
+
:'last_checked_at' => :'last_checked_at',
|
53
57
|
:'name' => :'name',
|
54
58
|
:'password' => :'password',
|
55
59
|
:'resource_id' => :'resource_id',
|
56
60
|
:'resource_type' => :'resource_type',
|
57
61
|
:'status' => :'status',
|
58
62
|
:'status_details' => :'status_details',
|
59
|
-
:'tenant' => :'tenant',
|
60
63
|
:'username' => :'username'
|
61
64
|
}
|
62
65
|
end
|
@@ -69,13 +72,14 @@ module SourcesApiClient
|
|
69
72
|
:'availability_status_error' => :'String',
|
70
73
|
:'extra' => :'AuthenticationExtra',
|
71
74
|
:'id' => :'String',
|
75
|
+
:'last_available_at' => :'DateTime',
|
76
|
+
:'last_checked_at' => :'DateTime',
|
72
77
|
:'name' => :'String',
|
73
78
|
:'password' => :'String',
|
74
79
|
:'resource_id' => :'String',
|
75
80
|
:'resource_type' => :'String',
|
76
81
|
:'status' => :'String',
|
77
82
|
:'status_details' => :'String',
|
78
|
-
:'tenant' => :'String',
|
79
83
|
:'username' => :'String'
|
80
84
|
}
|
81
85
|
end
|
@@ -121,6 +125,14 @@ module SourcesApiClient
|
|
121
125
|
self.id = attributes[:'id']
|
122
126
|
end
|
123
127
|
|
128
|
+
if attributes.key?(:'last_available_at')
|
129
|
+
self.last_available_at = attributes[:'last_available_at']
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.key?(:'last_checked_at')
|
133
|
+
self.last_checked_at = attributes[:'last_checked_at']
|
134
|
+
end
|
135
|
+
|
124
136
|
if attributes.key?(:'name')
|
125
137
|
self.name = attributes[:'name']
|
126
138
|
end
|
@@ -145,10 +157,6 @@ module SourcesApiClient
|
|
145
157
|
self.status_details = attributes[:'status_details']
|
146
158
|
end
|
147
159
|
|
148
|
-
if attributes.key?(:'tenant')
|
149
|
-
self.tenant = attributes[:'tenant']
|
150
|
-
end
|
151
|
-
|
152
160
|
if attributes.key?(:'username')
|
153
161
|
self.username = attributes[:'username']
|
154
162
|
end
|
@@ -211,13 +219,14 @@ module SourcesApiClient
|
|
211
219
|
availability_status_error == o.availability_status_error &&
|
212
220
|
extra == o.extra &&
|
213
221
|
id == o.id &&
|
222
|
+
last_available_at == o.last_available_at &&
|
223
|
+
last_checked_at == o.last_checked_at &&
|
214
224
|
name == o.name &&
|
215
225
|
password == o.password &&
|
216
226
|
resource_id == o.resource_id &&
|
217
227
|
resource_type == o.resource_type &&
|
218
228
|
status == o.status &&
|
219
229
|
status_details == o.status_details &&
|
220
|
-
tenant == o.tenant &&
|
221
230
|
username == o.username
|
222
231
|
end
|
223
232
|
|
@@ -230,7 +239,7 @@ module SourcesApiClient
|
|
230
239
|
# Calculates hash code according to all attributes.
|
231
240
|
# @return [Integer] Hash code
|
232
241
|
def hash
|
233
|
-
[authtype, availability_status, availability_status_error, extra, id, name, password, resource_id, resource_type, status, status_details,
|
242
|
+
[authtype, availability_status, availability_status_error, extra, id, last_available_at, last_checked_at, name, password, resource_id, resource_type, status, status_details, username].hash
|
234
243
|
end
|
235
244
|
|
236
245
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -31,6 +31,10 @@ module SourcesApiClient
|
|
31
31
|
# ID of the resource
|
32
32
|
attr_accessor :id
|
33
33
|
|
34
|
+
attr_accessor :last_available_at
|
35
|
+
|
36
|
+
attr_accessor :last_checked_at
|
37
|
+
|
34
38
|
# URI path component
|
35
39
|
attr_accessor :path
|
36
40
|
|
@@ -48,8 +52,6 @@ module SourcesApiClient
|
|
48
52
|
# ID of the resource
|
49
53
|
attr_accessor :source_id
|
50
54
|
|
51
|
-
attr_accessor :tenant
|
52
|
-
|
53
55
|
attr_accessor :updated_at
|
54
56
|
|
55
57
|
# Should SSL be verified
|
@@ -65,13 +67,14 @@ module SourcesApiClient
|
|
65
67
|
:'default' => :'default',
|
66
68
|
:'host' => :'host',
|
67
69
|
:'id' => :'id',
|
70
|
+
:'last_available_at' => :'last_available_at',
|
71
|
+
:'last_checked_at' => :'last_checked_at',
|
68
72
|
:'path' => :'path',
|
69
73
|
:'port' => :'port',
|
70
74
|
:'receptor_node' => :'receptor_node',
|
71
75
|
:'role' => :'role',
|
72
76
|
:'scheme' => :'scheme',
|
73
77
|
:'source_id' => :'source_id',
|
74
|
-
:'tenant' => :'tenant',
|
75
78
|
:'updated_at' => :'updated_at',
|
76
79
|
:'verify_ssl' => :'verify_ssl'
|
77
80
|
}
|
@@ -87,13 +90,14 @@ module SourcesApiClient
|
|
87
90
|
:'default' => :'Boolean',
|
88
91
|
:'host' => :'String',
|
89
92
|
:'id' => :'String',
|
93
|
+
:'last_available_at' => :'DateTime',
|
94
|
+
:'last_checked_at' => :'DateTime',
|
90
95
|
:'path' => :'String',
|
91
96
|
:'port' => :'Integer',
|
92
97
|
:'receptor_node' => :'String',
|
93
98
|
:'role' => :'String',
|
94
99
|
:'scheme' => :'String',
|
95
100
|
:'source_id' => :'String',
|
96
|
-
:'tenant' => :'String',
|
97
101
|
:'updated_at' => :'DateTime',
|
98
102
|
:'verify_ssl' => :'Boolean'
|
99
103
|
}
|
@@ -148,6 +152,14 @@ module SourcesApiClient
|
|
148
152
|
self.id = attributes[:'id']
|
149
153
|
end
|
150
154
|
|
155
|
+
if attributes.key?(:'last_available_at')
|
156
|
+
self.last_available_at = attributes[:'last_available_at']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.key?(:'last_checked_at')
|
160
|
+
self.last_checked_at = attributes[:'last_checked_at']
|
161
|
+
end
|
162
|
+
|
151
163
|
if attributes.key?(:'path')
|
152
164
|
self.path = attributes[:'path']
|
153
165
|
end
|
@@ -172,10 +184,6 @@ module SourcesApiClient
|
|
172
184
|
self.source_id = attributes[:'source_id']
|
173
185
|
end
|
174
186
|
|
175
|
-
if attributes.key?(:'tenant')
|
176
|
-
self.tenant = attributes[:'tenant']
|
177
|
-
end
|
178
|
-
|
179
187
|
if attributes.key?(:'updated_at')
|
180
188
|
self.updated_at = attributes[:'updated_at']
|
181
189
|
end
|
@@ -244,13 +252,14 @@ module SourcesApiClient
|
|
244
252
|
default == o.default &&
|
245
253
|
host == o.host &&
|
246
254
|
id == o.id &&
|
255
|
+
last_available_at == o.last_available_at &&
|
256
|
+
last_checked_at == o.last_checked_at &&
|
247
257
|
path == o.path &&
|
248
258
|
port == o.port &&
|
249
259
|
receptor_node == o.receptor_node &&
|
250
260
|
role == o.role &&
|
251
261
|
scheme == o.scheme &&
|
252
262
|
source_id == o.source_id &&
|
253
|
-
tenant == o.tenant &&
|
254
263
|
updated_at == o.updated_at &&
|
255
264
|
verify_ssl == o.verify_ssl
|
256
265
|
end
|
@@ -264,7 +273,7 @@ module SourcesApiClient
|
|
264
273
|
# Calculates hash code according to all attributes.
|
265
274
|
# @return [Integer] Hash code
|
266
275
|
def hash
|
267
|
-
[availability_status, availability_status_error, certificate_authority, created_at, default, host, id, path, port, receptor_node, role, scheme, source_id,
|
276
|
+
[availability_status, availability_status_error, certificate_authority, created_at, default, host, id, last_available_at, last_checked_at, path, port, receptor_node, role, scheme, source_id, updated_at, verify_ssl].hash
|
268
277
|
end
|
269
278
|
|
270
279
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -29,7 +29,7 @@ module SourcesApiClient
|
|
29
29
|
# Attribute type mapping.
|
30
30
|
def self.openapi_types
|
31
31
|
{
|
32
|
-
:'status' => :'
|
32
|
+
:'status' => :'String',
|
33
33
|
:'detail' => :'String'
|
34
34
|
}
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -23,6 +23,10 @@ module SourcesApiClient
|
|
23
23
|
|
24
24
|
attr_accessor :imported
|
25
25
|
|
26
|
+
attr_accessor :last_available_at
|
27
|
+
|
28
|
+
attr_accessor :last_checked_at
|
29
|
+
|
26
30
|
attr_accessor :name
|
27
31
|
|
28
32
|
attr_accessor :source_ref
|
@@ -30,8 +34,6 @@ module SourcesApiClient
|
|
30
34
|
# ID of the resource
|
31
35
|
attr_accessor :source_type_id
|
32
36
|
|
33
|
-
attr_accessor :tenant
|
34
|
-
|
35
37
|
attr_accessor :uid
|
36
38
|
|
37
39
|
attr_accessor :updated_at
|
@@ -45,10 +47,11 @@ module SourcesApiClient
|
|
45
47
|
:'created_at' => :'created_at',
|
46
48
|
:'id' => :'id',
|
47
49
|
:'imported' => :'imported',
|
50
|
+
:'last_available_at' => :'last_available_at',
|
51
|
+
:'last_checked_at' => :'last_checked_at',
|
48
52
|
:'name' => :'name',
|
49
53
|
:'source_ref' => :'source_ref',
|
50
54
|
:'source_type_id' => :'source_type_id',
|
51
|
-
:'tenant' => :'tenant',
|
52
55
|
:'uid' => :'uid',
|
53
56
|
:'updated_at' => :'updated_at',
|
54
57
|
:'version' => :'version'
|
@@ -62,10 +65,11 @@ module SourcesApiClient
|
|
62
65
|
:'created_at' => :'DateTime',
|
63
66
|
:'id' => :'String',
|
64
67
|
:'imported' => :'String',
|
68
|
+
:'last_available_at' => :'DateTime',
|
69
|
+
:'last_checked_at' => :'DateTime',
|
65
70
|
:'name' => :'String',
|
66
71
|
:'source_ref' => :'String',
|
67
72
|
:'source_type_id' => :'String',
|
68
|
-
:'tenant' => :'String',
|
69
73
|
:'uid' => :'String',
|
70
74
|
:'updated_at' => :'DateTime',
|
71
75
|
:'version' => :'String'
|
@@ -109,6 +113,14 @@ module SourcesApiClient
|
|
109
113
|
self.imported = attributes[:'imported']
|
110
114
|
end
|
111
115
|
|
116
|
+
if attributes.key?(:'last_available_at')
|
117
|
+
self.last_available_at = attributes[:'last_available_at']
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'last_checked_at')
|
121
|
+
self.last_checked_at = attributes[:'last_checked_at']
|
122
|
+
end
|
123
|
+
|
112
124
|
if attributes.key?(:'name')
|
113
125
|
self.name = attributes[:'name']
|
114
126
|
end
|
@@ -121,10 +133,6 @@ module SourcesApiClient
|
|
121
133
|
self.source_type_id = attributes[:'source_type_id']
|
122
134
|
end
|
123
135
|
|
124
|
-
if attributes.key?(:'tenant')
|
125
|
-
self.tenant = attributes[:'tenant']
|
126
|
-
end
|
127
|
-
|
128
136
|
if attributes.key?(:'uid')
|
129
137
|
self.uid = attributes[:'uid']
|
130
138
|
end
|
@@ -194,10 +202,11 @@ module SourcesApiClient
|
|
194
202
|
created_at == o.created_at &&
|
195
203
|
id == o.id &&
|
196
204
|
imported == o.imported &&
|
205
|
+
last_available_at == o.last_available_at &&
|
206
|
+
last_checked_at == o.last_checked_at &&
|
197
207
|
name == o.name &&
|
198
208
|
source_ref == o.source_ref &&
|
199
209
|
source_type_id == o.source_type_id &&
|
200
|
-
tenant == o.tenant &&
|
201
210
|
uid == o.uid &&
|
202
211
|
updated_at == o.updated_at &&
|
203
212
|
version == o.version
|
@@ -212,7 +221,7 @@ module SourcesApiClient
|
|
212
221
|
# Calculates hash code according to all attributes.
|
213
222
|
# @return [Integer] Hash code
|
214
223
|
def hash
|
215
|
-
[availability_status, created_at, id, imported, name, source_ref, source_type_id,
|
224
|
+
[availability_status, created_at, id, imported, last_available_at, last_checked_at, name, source_ref, source_type_id, uid, updated_at, version].hash
|
216
225
|
end
|
217
226
|
|
218
227
|
# Builds the object from hash
|