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.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/Gemfile.lock +11 -10
  4. data/bundler.d/.gitkeep +0 -0
  5. data/bundler.d/Gemfile.dev.rb +0 -0
  6. data/docs/Application.md +4 -2
  7. data/docs/ApplicationAuthentication.md +25 -0
  8. data/docs/ApplicationAuthenticationsCollection.md +21 -0
  9. data/docs/Authentication.md +4 -2
  10. data/docs/DefaultApi.md +333 -45
  11. data/docs/Endpoint.md +4 -2
  12. data/docs/ErrorNotFoundErrors.md +1 -1
  13. data/docs/Source.md +4 -2
  14. data/lib/sources-api-client.rb +3 -2
  15. data/lib/sources-api-client/api/default_api.rb +440 -60
  16. data/lib/sources-api-client/api_client.rb +1 -1
  17. data/lib/sources-api-client/api_error.rb +1 -1
  18. data/lib/sources-api-client/configuration.rb +4 -4
  19. data/lib/sources-api-client/models/application.rb +20 -11
  20. data/lib/sources-api-client/models/application_authentication.rb +296 -0
  21. data/lib/sources-api-client/models/{tenant.rb → application_authentications_collection.rb} +25 -23
  22. data/lib/sources-api-client/models/application_type.rb +1 -1
  23. data/lib/sources-api-client/models/application_types_collection.rb +1 -1
  24. data/lib/sources-api-client/models/applications_collection.rb +1 -1
  25. data/lib/sources-api-client/models/authentication.rb +20 -11
  26. data/lib/sources-api-client/models/authentication_extra.rb +1 -1
  27. data/lib/sources-api-client/models/authentication_extra_azure.rb +1 -1
  28. data/lib/sources-api-client/models/authentications_collection.rb +1 -1
  29. data/lib/sources-api-client/models/collection_links.rb +1 -1
  30. data/lib/sources-api-client/models/collection_metadata.rb +1 -1
  31. data/lib/sources-api-client/models/endpoint.rb +20 -11
  32. data/lib/sources-api-client/models/endpoints_collection.rb +1 -1
  33. data/lib/sources-api-client/models/error_not_found.rb +1 -1
  34. data/lib/sources-api-client/models/error_not_found_errors.rb +2 -2
  35. data/lib/sources-api-client/models/graph_ql_request.rb +1 -1
  36. data/lib/sources-api-client/models/graph_ql_response.rb +1 -1
  37. data/lib/sources-api-client/models/source.rb +20 -11
  38. data/lib/sources-api-client/models/source_type.rb +1 -1
  39. data/lib/sources-api-client/models/source_types_collection.rb +1 -1
  40. data/lib/sources-api-client/models/sources_collection.rb +1 -1
  41. data/lib/sources-api-client/version.rb +2 -2
  42. data/sources-api-client.gemspec +1 -1
  43. data/spec/api/default_api_spec.rb +91 -23
  44. data/spec/api_client_spec.rb +1 -1
  45. data/spec/configuration_spec.rb +4 -4
  46. data/spec/models/application_authentication_spec.rb +65 -0
  47. data/spec/models/{tenant_spec.rb → application_authentications_collection_spec.rb} +10 -10
  48. data/spec/models/application_spec.rb +9 -3
  49. data/spec/models/application_type_spec.rb +1 -1
  50. data/spec/models/application_types_collection_spec.rb +1 -1
  51. data/spec/models/applications_collection_spec.rb +1 -1
  52. data/spec/models/authentication_extra_azure_spec.rb +1 -1
  53. data/spec/models/authentication_extra_spec.rb +1 -1
  54. data/spec/models/authentication_spec.rb +13 -7
  55. data/spec/models/authentications_collection_spec.rb +1 -1
  56. data/spec/models/collection_links_spec.rb +1 -1
  57. data/spec/models/collection_metadata_spec.rb +1 -1
  58. data/spec/models/endpoint_spec.rb +13 -7
  59. data/spec/models/endpoints_collection_spec.rb +1 -1
  60. data/spec/models/error_not_found_errors_spec.rb +1 -1
  61. data/spec/models/error_not_found_spec.rb +1 -1
  62. data/spec/models/graph_ql_request_spec.rb +1 -1
  63. data/spec/models/graph_ql_response_spec.rb +1 -1
  64. data/spec/models/source_spec.rb +11 -5
  65. data/spec/models/source_type_spec.rb +1 -1
  66. data/spec/models/source_types_collection_spec.rb +1 -1
  67. data/spec/models/sources_collection_spec.rb +1 -1
  68. data/spec/spec_helper.rb +1 -1
  69. metadata +39 -33
  70. data/docs/Tenant.md +0 -21
  71. data/pkg/sources-api-client-1.0.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a0dc17d33e283621d99725684ef9a4a4ce0eb3c3e5550b20315634509bbc4c2
4
- data.tar.gz: af79c0ed7ab0d2a0e355fdb58c8e748c71ebb4c219ccc0b285e417a8f62f4794
3
+ metadata.gz: c8e72d5e9fa147e37e0fda8994d154b1154b73c26350e2057615c0084da7f888
4
+ data.tar.gz: b5f04588489980971ddb3bfe3b54131996d4e1b1d63c9a8c1751159cc5974502
5
5
  SHA512:
6
- metadata.gz: b13c8a9e6a14b55339e68ea7631c79fed707f704b3111b75c47ed892ed9f2fa51b8043b39af51e87079a79a6a84b81fd400ae5ca0a625f4d11f2146b5b7793ff
7
- data.tar.gz: 4a81a110c590478d2bdb022ae2cf7f9abe71b035b3864bb6521c35eb707819be885975a0861a201714b70ca3dfbbf43c68de4b79c12953df37b27456c2d664ca
6
+ metadata.gz: d5584c6f92151ffba1500bd807071a92167c312190fc17ba29453dc2e57b1fb2c7d02bc6b321b74ca05d4503fea06b9de51b7fa54a39a3989db50231718ecec2
7
+ data.tar.gz: 0e595486f37ab4f3c905148ea70efc1a8cd6c7448f573e5da4b7f6b4f12ef9ba5e4d3540620199c42851cc081aea500955e5a22a9c65ad611915c0b3cdc35b42
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [3.0.0] - 2020-05-29
8
+ ### Changed
9
+
10
+ Add application-authentication #18
11
+ Add last_available_at, last_checked_at to Source/Endpoint/Authentication/Application #19
12
+
13
+ ## [1.0.0] - 2020-02-10
14
+ ### Initial release to rubygems.org
15
+
16
+ [Unreleased]: https://github.com/RedHatInsights/sources-api-client-ruby/compare/v3.0.0...HEAD
17
+ [3.0.0]: https://github.com/RedHatInsights/sources-api-client-ruby/compare/v1.0.0...3.0.0
18
+ [1.0.0]: https://github.com/RedHatInsights/sources-api-client-ruby/releases/v1.0.0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sources-api-client (1.0.0)
4
+ sources-api-client (3.0.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -17,16 +17,16 @@ GEM
17
17
  ffi (1.12.2)
18
18
  jaro_winkler (1.5.4)
19
19
  json (2.3.0)
20
- method_source (0.9.2)
20
+ method_source (1.0.0)
21
21
  parallel (1.19.1)
22
- parser (2.7.0.2)
22
+ parser (2.7.1.0)
23
23
  ast (~> 2.4.0)
24
- pry (0.12.2)
25
- coderay (~> 1.1.0)
26
- method_source (~> 0.9.0)
27
- pry-byebug (3.8.0)
24
+ pry (0.13.1)
25
+ coderay (~> 1.1)
26
+ method_source (~> 1.0)
27
+ pry-byebug (3.9.0)
28
28
  byebug (~> 11.0)
29
- pry (~> 0.10)
29
+ pry (~> 0.13.0)
30
30
  psych (3.1.0)
31
31
  rainbow (3.0.0)
32
32
  rake (12.0.0)
@@ -36,7 +36,7 @@ GEM
36
36
  rspec-mocks (~> 3.9.0)
37
37
  rspec-core (3.9.1)
38
38
  rspec-support (~> 3.9.1)
39
- rspec-expectations (3.9.0)
39
+ rspec-expectations (3.9.1)
40
40
  diff-lcs (>= 1.2.0, < 2.0)
41
41
  rspec-support (~> 3.9.0)
42
42
  rspec-mocks (3.9.1)
@@ -58,6 +58,7 @@ GEM
58
58
 
59
59
  PLATFORMS
60
60
  ruby
61
+ x86_64-darwin-18
61
62
 
62
63
  DEPENDENCIES
63
64
  pry-byebug
@@ -67,4 +68,4 @@ DEPENDENCIES
67
68
  sources-api-client!
68
69
 
69
70
  BUNDLED WITH
70
- 2.0.1
71
+ 2.1.4
File without changes
File without changes
@@ -9,8 +9,9 @@ Name | Type | Description | Notes
9
9
  **availability_status_error** | **String** | | [optional]
10
10
  **created_at** | **DateTime** | | [optional] [readonly]
11
11
  **id** | **String** | ID of the resource | [optional] [readonly]
12
+ **last_available_at** | **DateTime** | | [optional]
13
+ **last_checked_at** | **DateTime** | | [optional]
12
14
  **source_id** | **String** | ID of the resource | [optional] [readonly]
13
- **tenant** | **String** | | [optional] [readonly]
14
15
  **updated_at** | **DateTime** | | [optional] [readonly]
15
16
 
16
17
  ## Code Sample
@@ -23,8 +24,9 @@ instance = SourcesApiClient::Application.new(application_type_id: null,
23
24
  availability_status_error: null,
24
25
  created_at: null,
25
26
  id: null,
27
+ last_available_at: null,
28
+ last_checked_at: null,
26
29
  source_id: null,
27
- tenant: null,
28
30
  updated_at: null)
29
31
  ```
30
32
 
@@ -0,0 +1,25 @@
1
+ # SourcesApiClient::ApplicationAuthentication
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **application_id** | **String** | ID of the resource | [optional] [readonly]
8
+ **authentication_id** | **String** | ID of the resource | [optional] [readonly]
9
+ **created_at** | **DateTime** | | [optional] [readonly]
10
+ **id** | **String** | ID of the resource | [optional] [readonly]
11
+ **updated_at** | **DateTime** | | [optional] [readonly]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'SourcesApiClient'
17
+
18
+ instance = SourcesApiClient::ApplicationAuthentication.new(application_id: null,
19
+ authentication_id: null,
20
+ created_at: null,
21
+ id: null,
22
+ updated_at: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,21 @@
1
+ # SourcesApiClient::ApplicationAuthenticationsCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array&lt;ApplicationAuthentication&gt;**](ApplicationAuthentication.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'SourcesApiClient'
15
+
16
+ instance = SourcesApiClient::ApplicationAuthenticationsCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
@@ -9,13 +9,14 @@ Name | Type | Description | Notes
9
9
  **availability_status_error** | **String** | | [optional]
10
10
  **extra** | [**AuthenticationExtra**](AuthenticationExtra.md) | | [optional]
11
11
  **id** | **String** | ID of the resource | [optional] [readonly]
12
+ **last_available_at** | **DateTime** | | [optional]
13
+ **last_checked_at** | **DateTime** | | [optional]
12
14
  **name** | **String** | | [optional]
13
15
  **password** | **String** | | [optional]
14
16
  **resource_id** | **String** | ID of the resource | [optional] [readonly]
15
17
  **resource_type** | **String** | | [optional]
16
18
  **status** | **String** | | [optional]
17
19
  **status_details** | **String** | | [optional]
18
- **tenant** | **String** | | [optional] [readonly]
19
20
  **username** | **String** | | [optional]
20
21
 
21
22
  ## Code Sample
@@ -28,13 +29,14 @@ instance = SourcesApiClient::Authentication.new(authtype: openshift_default,
28
29
  availability_status_error: null,
29
30
  extra: null,
30
31
  id: null,
32
+ last_available_at: null,
33
+ last_checked_at: null,
31
34
  name: OpenShift default,
32
35
  password: null,
33
36
  resource_id: null,
34
37
  resource_type: Endpoint,
35
38
  status: valid,
36
39
  status_details: null,
37
- tenant: null,
38
40
  username: user@example.com)
39
41
  ```
40
42
 
@@ -1,20 +1,23 @@
1
1
  # SourcesApiClient::DefaultApi
2
2
 
3
- All URIs are relative to *https://cloud.redhat.com//api/sources/v1.0*
3
+ All URIs are relative to *https://cloud.redhat.com//api/sources/v3.0*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**check_availability_source**](DefaultApi.md#check_availability_source) | **POST** /sources/{id}/check_availability | Checks Availability of a Source
8
8
  [**create_application**](DefaultApi.md#create_application) | **POST** /applications | Create a new Application
9
+ [**create_application_authentication**](DefaultApi.md#create_application_authentication) | **POST** /application_authentications | Create a new ApplicationAuthentication
9
10
  [**create_authentication**](DefaultApi.md#create_authentication) | **POST** /authentications | Create a new Authentication
10
11
  [**create_endpoint**](DefaultApi.md#create_endpoint) | **POST** /endpoints | Create a new Endpoint
11
12
  [**create_source**](DefaultApi.md#create_source) | **POST** /sources | Create a new Source
12
- [**create_source_type**](DefaultApi.md#create_source_type) | **POST** /source_types | Create a new SourceType
13
13
  [**delete_application**](DefaultApi.md#delete_application) | **DELETE** /applications/{id} | Delete an existing Application
14
+ [**delete_application_authentication**](DefaultApi.md#delete_application_authentication) | **DELETE** /application_authentications/{id} | Delete an existing ApplicationAuthentication
14
15
  [**delete_authentication**](DefaultApi.md#delete_authentication) | **DELETE** /authentications/{id} | Delete an existing Authentication
15
16
  [**delete_endpoint**](DefaultApi.md#delete_endpoint) | **DELETE** /endpoints/{id} | Delete an existing Endpoint
16
17
  [**delete_source**](DefaultApi.md#delete_source) | **DELETE** /sources/{id} | Delete an existing Source
17
18
  [**get_documentation**](DefaultApi.md#get_documentation) | **GET** /openapi.json | Return this API document in JSON format
19
+ [**list_all_application_authentications**](DefaultApi.md#list_all_application_authentications) | **GET** /application_authentications | List ApplicationAuthentications
20
+ [**list_application_authentications**](DefaultApi.md#list_application_authentications) | **GET** /applications/{id}/authentications | List Authentications for Application
18
21
  [**list_application_type_sources**](DefaultApi.md#list_application_type_sources) | **GET** /application_types/{id}/sources | List Sources for ApplicationType
19
22
  [**list_application_types**](DefaultApi.md#list_application_types) | **GET** /application_types | List ApplicationTypes
20
23
  [**list_applications**](DefaultApi.md#list_applications) | **GET** /applications | List Applications
@@ -29,12 +32,14 @@ Method | HTTP request | Description
29
32
  [**list_sources**](DefaultApi.md#list_sources) | **GET** /sources | List Sources
30
33
  [**post_graph_ql**](DefaultApi.md#post_graph_ql) | **POST** /graphql | Perform a GraphQL Query
31
34
  [**show_application**](DefaultApi.md#show_application) | **GET** /applications/{id} | Show an existing Application
35
+ [**show_application_authentication**](DefaultApi.md#show_application_authentication) | **GET** /application_authentications/{id} | Show an existing ApplicationAuthentication
32
36
  [**show_application_type**](DefaultApi.md#show_application_type) | **GET** /application_types/{id} | Show an existing ApplicationType
33
37
  [**show_authentication**](DefaultApi.md#show_authentication) | **GET** /authentications/{id} | Show an existing Authentication
34
38
  [**show_endpoint**](DefaultApi.md#show_endpoint) | **GET** /endpoints/{id} | Show an existing Endpoint
35
39
  [**show_source**](DefaultApi.md#show_source) | **GET** /sources/{id} | Show an existing Source
36
40
  [**show_source_type**](DefaultApi.md#show_source_type) | **GET** /source_types/{id} | Show an existing SourceType
37
41
  [**update_application**](DefaultApi.md#update_application) | **PATCH** /applications/{id} | Update an existing Application
42
+ [**update_application_authentication**](DefaultApi.md#update_application_authentication) | **PATCH** /application_authentications/{id} | Update an existing ApplicationAuthentication
38
43
  [**update_authentication**](DefaultApi.md#update_authentication) | **PATCH** /authentications/{id} | Update an existing Authentication
39
44
  [**update_endpoint**](DefaultApi.md#update_endpoint) | **PATCH** /endpoints/{id} | Update an existing Endpoint
40
45
  [**update_source**](DefaultApi.md#update_source) | **PATCH** /sources/{id} | Update an existing Source
@@ -146,6 +151,59 @@ Name | Type | Description | Notes
146
151
  - **Accept**: application/json
147
152
 
148
153
 
154
+ ## create_application_authentication
155
+
156
+ > ApplicationAuthentication create_application_authentication(application_authentication)
157
+
158
+ Create a new ApplicationAuthentication
159
+
160
+ Creates a ApplicationAuthentication object
161
+
162
+ ### Example
163
+
164
+ ```ruby
165
+ # load the gem
166
+ require 'sources-api-client'
167
+ # setup authorization
168
+ SourcesApiClient.configure do |config|
169
+ # Configure HTTP basic authorization: UserSecurity
170
+ config.username = 'YOUR USERNAME'
171
+ config.password = 'YOUR PASSWORD'
172
+ end
173
+
174
+ api_instance = SourcesApiClient::DefaultApi.new
175
+ application_authentication = SourcesApiClient::ApplicationAuthentication.new # ApplicationAuthentication | ApplicationAuthentication attributes to create
176
+
177
+ begin
178
+ #Create a new ApplicationAuthentication
179
+ result = api_instance.create_application_authentication(application_authentication)
180
+ p result
181
+ rescue SourcesApiClient::ApiError => e
182
+ puts "Exception when calling DefaultApi->create_application_authentication: #{e}"
183
+ end
184
+ ```
185
+
186
+ ### Parameters
187
+
188
+
189
+ Name | Type | Description | Notes
190
+ ------------- | ------------- | ------------- | -------------
191
+ **application_authentication** | [**ApplicationAuthentication**](ApplicationAuthentication.md)| ApplicationAuthentication attributes to create |
192
+
193
+ ### Return type
194
+
195
+ [**ApplicationAuthentication**](ApplicationAuthentication.md)
196
+
197
+ ### Authorization
198
+
199
+ [UserSecurity](../README.md#UserSecurity)
200
+
201
+ ### HTTP request headers
202
+
203
+ - **Content-Type**: application/json
204
+ - **Accept**: application/json
205
+
206
+
149
207
  ## create_authentication
150
208
 
151
209
  > Authentication create_authentication(authentication)
@@ -305,13 +363,13 @@ Name | Type | Description | Notes
305
363
  - **Accept**: application/json
306
364
 
307
365
 
308
- ## create_source_type
366
+ ## delete_application
309
367
 
310
- > SourceType create_source_type(source_type)
368
+ > delete_application(id)
311
369
 
312
- Create a new SourceType
370
+ Delete an existing Application
313
371
 
314
- Creates a SourceType object
372
+ Deletes a Application object
315
373
 
316
374
  ### Example
317
375
 
@@ -326,14 +384,13 @@ SourcesApiClient.configure do |config|
326
384
  end
327
385
 
328
386
  api_instance = SourcesApiClient::DefaultApi.new
329
- source_type = SourcesApiClient::SourceType.new # SourceType | SourceType attributes to create
387
+ id = 'id_example' # String | ID of the resource
330
388
 
331
389
  begin
332
- #Create a new SourceType
333
- result = api_instance.create_source_type(source_type)
334
- p result
390
+ #Delete an existing Application
391
+ api_instance.delete_application(id)
335
392
  rescue SourcesApiClient::ApiError => e
336
- puts "Exception when calling DefaultApi->create_source_type: #{e}"
393
+ puts "Exception when calling DefaultApi->delete_application: #{e}"
337
394
  end
338
395
  ```
339
396
 
@@ -342,11 +399,11 @@ end
342
399
 
343
400
  Name | Type | Description | Notes
344
401
  ------------- | ------------- | ------------- | -------------
345
- **source_type** | [**SourceType**](SourceType.md)| SourceType attributes to create |
402
+ **id** | **String**| ID of the resource |
346
403
 
347
404
  ### Return type
348
405
 
349
- [**SourceType**](SourceType.md)
406
+ nil (empty response body)
350
407
 
351
408
  ### Authorization
352
409
 
@@ -354,17 +411,17 @@ Name | Type | Description | Notes
354
411
 
355
412
  ### HTTP request headers
356
413
 
357
- - **Content-Type**: application/json
414
+ - **Content-Type**: Not defined
358
415
  - **Accept**: application/json
359
416
 
360
417
 
361
- ## delete_application
418
+ ## delete_application_authentication
362
419
 
363
- > delete_application(id)
420
+ > delete_application_authentication(id)
364
421
 
365
- Delete an existing Application
422
+ Delete an existing ApplicationAuthentication
366
423
 
367
- Deletes a Application object
424
+ Deletes a ApplicationAuthentication object
368
425
 
369
426
  ### Example
370
427
 
@@ -382,10 +439,10 @@ api_instance = SourcesApiClient::DefaultApi.new
382
439
  id = 'id_example' # String | ID of the resource
383
440
 
384
441
  begin
385
- #Delete an existing Application
386
- api_instance.delete_application(id)
442
+ #Delete an existing ApplicationAuthentication
443
+ api_instance.delete_application_authentication(id)
387
444
  rescue SourcesApiClient::ApiError => e
388
- puts "Exception when calling DefaultApi->delete_application: #{e}"
445
+ puts "Exception when calling DefaultApi->delete_application_authentication: #{e}"
389
446
  end
390
447
  ```
391
448
 
@@ -613,6 +670,130 @@ This endpoint does not need any parameter.
613
670
  - **Accept**: application/json
614
671
 
615
672
 
673
+ ## list_all_application_authentications
674
+
675
+ > ApplicationAuthenticationsCollection list_all_application_authentications(opts)
676
+
677
+ List ApplicationAuthentications
678
+
679
+ Returns an array of ApplicationAuthentication objects
680
+
681
+ ### Example
682
+
683
+ ```ruby
684
+ # load the gem
685
+ require 'sources-api-client'
686
+ # setup authorization
687
+ SourcesApiClient.configure do |config|
688
+ # Configure HTTP basic authorization: UserSecurity
689
+ config.username = 'YOUR USERNAME'
690
+ config.password = 'YOUR PASSWORD'
691
+ end
692
+
693
+ api_instance = SourcesApiClient::DefaultApi.new
694
+ opts = {
695
+ limit: 100, # Integer | The numbers of items to return per page.
696
+ offset: 0, # Integer | The number of items to skip before starting to collect the result set.
697
+ filter: nil, # Object | Filter for querying collections.
698
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
699
+ }
700
+
701
+ begin
702
+ #List ApplicationAuthentications
703
+ result = api_instance.list_all_application_authentications(opts)
704
+ p result
705
+ rescue SourcesApiClient::ApiError => e
706
+ puts "Exception when calling DefaultApi->list_all_application_authentications: #{e}"
707
+ end
708
+ ```
709
+
710
+ ### Parameters
711
+
712
+
713
+ Name | Type | Description | Notes
714
+ ------------- | ------------- | ------------- | -------------
715
+ **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
716
+ **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
717
+ **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
718
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
719
+
720
+ ### Return type
721
+
722
+ [**ApplicationAuthenticationsCollection**](ApplicationAuthenticationsCollection.md)
723
+
724
+ ### Authorization
725
+
726
+ [UserSecurity](../README.md#UserSecurity)
727
+
728
+ ### HTTP request headers
729
+
730
+ - **Content-Type**: Not defined
731
+ - **Accept**: application/json
732
+
733
+
734
+ ## list_application_authentications
735
+
736
+ > AuthenticationsCollection list_application_authentications(id, opts)
737
+
738
+ List Authentications for Application
739
+
740
+ Returns an array of Authentication objects
741
+
742
+ ### Example
743
+
744
+ ```ruby
745
+ # load the gem
746
+ require 'sources-api-client'
747
+ # setup authorization
748
+ SourcesApiClient.configure do |config|
749
+ # Configure HTTP basic authorization: UserSecurity
750
+ config.username = 'YOUR USERNAME'
751
+ config.password = 'YOUR PASSWORD'
752
+ end
753
+
754
+ api_instance = SourcesApiClient::DefaultApi.new
755
+ id = 'id_example' # String | ID of the resource
756
+ opts = {
757
+ limit: 100, # Integer | The numbers of items to return per page.
758
+ offset: 0, # Integer | The number of items to skip before starting to collect the result set.
759
+ filter: nil, # Object | Filter for querying collections.
760
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
761
+ }
762
+
763
+ begin
764
+ #List Authentications for Application
765
+ result = api_instance.list_application_authentications(id, opts)
766
+ p result
767
+ rescue SourcesApiClient::ApiError => e
768
+ puts "Exception when calling DefaultApi->list_application_authentications: #{e}"
769
+ end
770
+ ```
771
+
772
+ ### Parameters
773
+
774
+
775
+ Name | Type | Description | Notes
776
+ ------------- | ------------- | ------------- | -------------
777
+ **id** | **String**| ID of the resource |
778
+ **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
779
+ **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
780
+ **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
781
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
782
+
783
+ ### Return type
784
+
785
+ [**AuthenticationsCollection**](AuthenticationsCollection.md)
786
+
787
+ ### Authorization
788
+
789
+ [UserSecurity](../README.md#UserSecurity)
790
+
791
+ ### HTTP request headers
792
+
793
+ - **Content-Type**: Not defined
794
+ - **Accept**: application/json
795
+
796
+
616
797
  ## list_application_type_sources
617
798
 
618
799
  > SourcesCollection list_application_type_sources(id, opts)
@@ -639,7 +820,7 @@ opts = {
639
820
  limit: 100, # Integer | The numbers of items to return per page.
640
821
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
641
822
  filter: nil, # Object | Filter for querying collections.
642
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
823
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
643
824
  }
644
825
 
645
826
  begin
@@ -660,7 +841,7 @@ Name | Type | Description | Notes
660
841
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
661
842
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
662
843
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
663
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
844
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
664
845
 
665
846
  ### Return type
666
847
 
@@ -701,7 +882,7 @@ opts = {
701
882
  limit: 100, # Integer | The numbers of items to return per page.
702
883
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
703
884
  filter: nil, # Object | Filter for querying collections.
704
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
885
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
705
886
  }
706
887
 
707
888
  begin
@@ -721,7 +902,7 @@ Name | Type | Description | Notes
721
902
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
722
903
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
723
904
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
724
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
905
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
725
906
 
726
907
  ### Return type
727
908
 
@@ -762,7 +943,7 @@ opts = {
762
943
  limit: 100, # Integer | The numbers of items to return per page.
763
944
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
764
945
  filter: nil, # Object | Filter for querying collections.
765
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
946
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
766
947
  }
767
948
 
768
949
  begin
@@ -782,7 +963,7 @@ Name | Type | Description | Notes
782
963
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
783
964
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
784
965
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
785
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
966
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
786
967
 
787
968
  ### Return type
788
969
 
@@ -823,7 +1004,7 @@ opts = {
823
1004
  limit: 100, # Integer | The numbers of items to return per page.
824
1005
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
825
1006
  filter: nil, # Object | Filter for querying collections.
826
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1007
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
827
1008
  }
828
1009
 
829
1010
  begin
@@ -843,7 +1024,7 @@ Name | Type | Description | Notes
843
1024
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
844
1025
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
845
1026
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
846
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1027
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
847
1028
 
848
1029
  ### Return type
849
1030
 
@@ -885,7 +1066,7 @@ opts = {
885
1066
  limit: 100, # Integer | The numbers of items to return per page.
886
1067
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
887
1068
  filter: nil, # Object | Filter for querying collections.
888
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1069
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
889
1070
  }
890
1071
 
891
1072
  begin
@@ -906,7 +1087,7 @@ Name | Type | Description | Notes
906
1087
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
907
1088
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
908
1089
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
909
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1090
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
910
1091
 
911
1092
  ### Return type
912
1093
 
@@ -947,7 +1128,7 @@ opts = {
947
1128
  limit: 100, # Integer | The numbers of items to return per page.
948
1129
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
949
1130
  filter: nil, # Object | Filter for querying collections.
950
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1131
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
951
1132
  }
952
1133
 
953
1134
  begin
@@ -967,7 +1148,7 @@ Name | Type | Description | Notes
967
1148
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
968
1149
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
969
1150
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
970
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1151
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
971
1152
 
972
1153
  ### Return type
973
1154
 
@@ -1009,7 +1190,7 @@ opts = {
1009
1190
  limit: 100, # Integer | The numbers of items to return per page.
1010
1191
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
1011
1192
  filter: nil, # Object | Filter for querying collections.
1012
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1193
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
1013
1194
  }
1014
1195
 
1015
1196
  begin
@@ -1030,7 +1211,7 @@ Name | Type | Description | Notes
1030
1211
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
1031
1212
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
1032
1213
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
1033
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1214
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
1034
1215
 
1035
1216
  ### Return type
1036
1217
 
@@ -1072,7 +1253,7 @@ opts = {
1072
1253
  limit: 100, # Integer | The numbers of items to return per page.
1073
1254
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
1074
1255
  filter: nil, # Object | Filter for querying collections.
1075
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1256
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
1076
1257
  }
1077
1258
 
1078
1259
  begin
@@ -1093,7 +1274,7 @@ Name | Type | Description | Notes
1093
1274
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
1094
1275
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
1095
1276
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
1096
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1277
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
1097
1278
 
1098
1279
  ### Return type
1099
1280
 
@@ -1135,7 +1316,7 @@ opts = {
1135
1316
  limit: 100, # Integer | The numbers of items to return per page.
1136
1317
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
1137
1318
  filter: nil, # Object | Filter for querying collections.
1138
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1319
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
1139
1320
  }
1140
1321
 
1141
1322
  begin
@@ -1156,7 +1337,7 @@ Name | Type | Description | Notes
1156
1337
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
1157
1338
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
1158
1339
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
1159
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1340
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
1160
1341
 
1161
1342
  ### Return type
1162
1343
 
@@ -1198,7 +1379,7 @@ opts = {
1198
1379
  limit: 100, # Integer | The numbers of items to return per page.
1199
1380
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
1200
1381
  filter: nil, # Object | Filter for querying collections.
1201
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1382
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
1202
1383
  }
1203
1384
 
1204
1385
  begin
@@ -1219,7 +1400,7 @@ Name | Type | Description | Notes
1219
1400
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
1220
1401
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
1221
1402
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
1222
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1403
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
1223
1404
 
1224
1405
  ### Return type
1225
1406
 
@@ -1260,7 +1441,7 @@ opts = {
1260
1441
  limit: 100, # Integer | The numbers of items to return per page.
1261
1442
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
1262
1443
  filter: nil, # Object | Filter for querying collections.
1263
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1444
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
1264
1445
  }
1265
1446
 
1266
1447
  begin
@@ -1280,7 +1461,7 @@ Name | Type | Description | Notes
1280
1461
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
1281
1462
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
1282
1463
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
1283
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1464
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
1284
1465
 
1285
1466
  ### Return type
1286
1467
 
@@ -1321,7 +1502,7 @@ opts = {
1321
1502
  limit: 100, # Integer | The numbers of items to return per page.
1322
1503
  offset: 0, # Integer | The number of items to skip before starting to collect the result set.
1323
1504
  filter: nil, # Object | Filter for querying collections.
1324
- sort_by: SourcesApiClient::OneOfstringarray.new # OneOfstringarray | The list of attribute and order to sort the result set by.
1505
+ sort_by: nil # Object | The list of attribute and order to sort the result set by.
1325
1506
  }
1326
1507
 
1327
1508
  begin
@@ -1341,7 +1522,7 @@ Name | Type | Description | Notes
1341
1522
  **limit** | **Integer**| The numbers of items to return per page. | [optional] [default to 100]
1342
1523
  **offset** | **Integer**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
1343
1524
  **filter** | [**Object**](.md)| Filter for querying collections. | [optional]
1344
- **sort_by** | [**OneOfstringarray**](.md)| The list of attribute and order to sort the result set by. | [optional]
1525
+ **sort_by** | [**Object**](.md)| The list of attribute and order to sort the result set by. | [optional]
1345
1526
 
1346
1527
  ### Return type
1347
1528
 
@@ -1463,6 +1644,59 @@ Name | Type | Description | Notes
1463
1644
  - **Accept**: application/json
1464
1645
 
1465
1646
 
1647
+ ## show_application_authentication
1648
+
1649
+ > ApplicationAuthentication show_application_authentication(id)
1650
+
1651
+ Show an existing ApplicationAuthentication
1652
+
1653
+ Returns a ApplicationAuthentication object
1654
+
1655
+ ### Example
1656
+
1657
+ ```ruby
1658
+ # load the gem
1659
+ require 'sources-api-client'
1660
+ # setup authorization
1661
+ SourcesApiClient.configure do |config|
1662
+ # Configure HTTP basic authorization: UserSecurity
1663
+ config.username = 'YOUR USERNAME'
1664
+ config.password = 'YOUR PASSWORD'
1665
+ end
1666
+
1667
+ api_instance = SourcesApiClient::DefaultApi.new
1668
+ id = 'id_example' # String | ID of the resource
1669
+
1670
+ begin
1671
+ #Show an existing ApplicationAuthentication
1672
+ result = api_instance.show_application_authentication(id)
1673
+ p result
1674
+ rescue SourcesApiClient::ApiError => e
1675
+ puts "Exception when calling DefaultApi->show_application_authentication: #{e}"
1676
+ end
1677
+ ```
1678
+
1679
+ ### Parameters
1680
+
1681
+
1682
+ Name | Type | Description | Notes
1683
+ ------------- | ------------- | ------------- | -------------
1684
+ **id** | **String**| ID of the resource |
1685
+
1686
+ ### Return type
1687
+
1688
+ [**ApplicationAuthentication**](ApplicationAuthentication.md)
1689
+
1690
+ ### Authorization
1691
+
1692
+ [UserSecurity](../README.md#UserSecurity)
1693
+
1694
+ ### HTTP request headers
1695
+
1696
+ - **Content-Type**: Not defined
1697
+ - **Accept**: application/json
1698
+
1699
+
1466
1700
  ## show_application_type
1467
1701
 
1468
1702
  > ApplicationType show_application_type(id)
@@ -1782,6 +2016,60 @@ nil (empty response body)
1782
2016
  - **Accept**: application/json
1783
2017
 
1784
2018
 
2019
+ ## update_application_authentication
2020
+
2021
+ > update_application_authentication(id, application_authentication)
2022
+
2023
+ Update an existing ApplicationAuthentication
2024
+
2025
+ Updates a ApplicationAuthentication object
2026
+
2027
+ ### Example
2028
+
2029
+ ```ruby
2030
+ # load the gem
2031
+ require 'sources-api-client'
2032
+ # setup authorization
2033
+ SourcesApiClient.configure do |config|
2034
+ # Configure HTTP basic authorization: UserSecurity
2035
+ config.username = 'YOUR USERNAME'
2036
+ config.password = 'YOUR PASSWORD'
2037
+ end
2038
+
2039
+ api_instance = SourcesApiClient::DefaultApi.new
2040
+ id = 'id_example' # String | ID of the resource
2041
+ application_authentication = SourcesApiClient::ApplicationAuthentication.new # ApplicationAuthentication | ApplicationAuthentication attributes to update
2042
+
2043
+ begin
2044
+ #Update an existing ApplicationAuthentication
2045
+ api_instance.update_application_authentication(id, application_authentication)
2046
+ rescue SourcesApiClient::ApiError => e
2047
+ puts "Exception when calling DefaultApi->update_application_authentication: #{e}"
2048
+ end
2049
+ ```
2050
+
2051
+ ### Parameters
2052
+
2053
+
2054
+ Name | Type | Description | Notes
2055
+ ------------- | ------------- | ------------- | -------------
2056
+ **id** | **String**| ID of the resource |
2057
+ **application_authentication** | [**ApplicationAuthentication**](ApplicationAuthentication.md)| ApplicationAuthentication attributes to update |
2058
+
2059
+ ### Return type
2060
+
2061
+ nil (empty response body)
2062
+
2063
+ ### Authorization
2064
+
2065
+ [UserSecurity](../README.md#UserSecurity)
2066
+
2067
+ ### HTTP request headers
2068
+
2069
+ - **Content-Type**: application/json
2070
+ - **Accept**: application/json
2071
+
2072
+
1785
2073
  ## update_authentication
1786
2074
 
1787
2075
  > update_authentication(id, authentication)