pulp_ansible_client 0.2.0b7 → 0.2.0b8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -5
  3. data/docs/AnsibleCollectionVersion.md +2 -2
  4. data/docs/AnsibleRole.md +2 -2
  5. data/docs/PulpAnsibleGalaxyApiCollectionImportsApi.md +72 -0
  6. data/docs/RepositoriesAnsibleApi.md +3 -2
  7. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +1 -1
  8. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +1 -1
  9. data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
  10. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +1 -1
  11. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
  12. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collection_imports_api.rb +99 -0
  13. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +1 -1
  14. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +1 -1
  15. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +1 -1
  16. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
  17. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
  18. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +1 -1
  19. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +1 -1
  20. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +1 -1
  21. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +3 -1
  22. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  23. data/lib/pulp_ansible_client/api_client.rb +1 -1
  24. data/lib/pulp_ansible_client/api_error.rb +1 -1
  25. data/lib/pulp_ansible_client/configuration.rb +1 -1
  26. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
  27. data/lib/pulp_ansible_client/models/ansible_ansible_remote.rb +1 -1
  28. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  29. data/lib/pulp_ansible_client/models/ansible_collection.rb +1 -1
  30. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  31. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +12 -12
  32. data/lib/pulp_ansible_client/models/ansible_role.rb +12 -12
  33. data/lib/pulp_ansible_client/models/ansible_tag.rb +1 -1
  34. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  35. data/lib/pulp_ansible_client/models/collection.rb +1 -1
  36. data/lib/pulp_ansible_client/models/collection_import_detail.rb +1 -1
  37. data/lib/pulp_ansible_client/models/collection_metadata.rb +1 -1
  38. data/lib/pulp_ansible_client/models/collection_namespace.rb +1 -1
  39. data/lib/pulp_ansible_client/models/collection_ref.rb +1 -1
  40. data/lib/pulp_ansible_client/models/collection_version.rb +1 -1
  41. data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
  42. data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
  43. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +1 -1
  44. data/lib/pulp_ansible_client/models/galaxy_role.rb +1 -1
  45. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +1 -1
  46. data/lib/pulp_ansible_client/models/inline_response200.rb +1 -1
  47. data/lib/pulp_ansible_client/models/inline_response2001.rb +1 -1
  48. data/lib/pulp_ansible_client/models/inline_response20010.rb +1 -1
  49. data/lib/pulp_ansible_client/models/inline_response20011.rb +1 -1
  50. data/lib/pulp_ansible_client/models/inline_response20012.rb +1 -1
  51. data/lib/pulp_ansible_client/models/inline_response20013.rb +1 -1
  52. data/lib/pulp_ansible_client/models/inline_response2002.rb +1 -1
  53. data/lib/pulp_ansible_client/models/inline_response2003.rb +1 -1
  54. data/lib/pulp_ansible_client/models/inline_response2004.rb +1 -1
  55. data/lib/pulp_ansible_client/models/inline_response2005.rb +1 -1
  56. data/lib/pulp_ansible_client/models/inline_response2006.rb +1 -1
  57. data/lib/pulp_ansible_client/models/inline_response2007.rb +1 -1
  58. data/lib/pulp_ansible_client/models/inline_response2008.rb +1 -1
  59. data/lib/pulp_ansible_client/models/inline_response2009.rb +1 -1
  60. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
  61. data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
  62. data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
  63. data/lib/pulp_ansible_client/models/tag.rb +1 -1
  64. data/lib/pulp_ansible_client/version.rb +2 -2
  65. data/lib/pulp_ansible_client.rb +2 -1
  66. data/pulp_ansible_client.gemspec +1 -1
  67. data/spec/api/ansible_collections_api_spec.rb +1 -1
  68. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  69. data/spec/api/content_roles_api_spec.rb +1 -1
  70. data/spec/api/distributions_ansible_api_spec.rb +1 -1
  71. data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
  72. data/spec/api/pulp_ansible_galaxy_api_collection_imports_api_spec.rb +51 -0
  73. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
  74. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +1 -1
  75. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +1 -1
  76. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
  77. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
  78. data/spec/api/pulp_ansible_tags_api_spec.rb +1 -1
  79. data/spec/api/remotes_ansible_api_spec.rb +1 -1
  80. data/spec/api/remotes_collection_api_spec.rb +1 -1
  81. data/spec/api/repositories_ansible_api_spec.rb +2 -1
  82. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
  83. data/spec/api_client_spec.rb +1 -1
  84. data/spec/configuration_spec.rb +1 -1
  85. data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
  86. data/spec/models/ansible_ansible_remote_spec.rb +1 -1
  87. data/spec/models/ansible_ansible_repository_spec.rb +1 -1
  88. data/spec/models/ansible_collection_remote_spec.rb +1 -1
  89. data/spec/models/ansible_collection_spec.rb +1 -1
  90. data/spec/models/ansible_collection_version_spec.rb +3 -3
  91. data/spec/models/ansible_role_spec.rb +3 -3
  92. data/spec/models/ansible_tag_spec.rb +1 -1
  93. data/spec/models/async_operation_response_spec.rb +1 -1
  94. data/spec/models/collection_import_detail_spec.rb +1 -1
  95. data/spec/models/collection_metadata_spec.rb +1 -1
  96. data/spec/models/collection_namespace_spec.rb +1 -1
  97. data/spec/models/collection_ref_spec.rb +1 -1
  98. data/spec/models/collection_spec.rb +1 -1
  99. data/spec/models/collection_version_spec.rb +1 -1
  100. data/spec/models/content_summary_spec.rb +1 -1
  101. data/spec/models/galaxy_collection_spec.rb +1 -1
  102. data/spec/models/galaxy_collection_version_spec.rb +1 -1
  103. data/spec/models/galaxy_role_spec.rb +1 -1
  104. data/spec/models/galaxy_role_version_spec.rb +1 -1
  105. data/spec/models/inline_response20010_spec.rb +1 -1
  106. data/spec/models/inline_response20011_spec.rb +1 -1
  107. data/spec/models/inline_response20012_spec.rb +1 -1
  108. data/spec/models/inline_response20013_spec.rb +1 -1
  109. data/spec/models/inline_response2001_spec.rb +1 -1
  110. data/spec/models/inline_response2002_spec.rb +1 -1
  111. data/spec/models/inline_response2003_spec.rb +1 -1
  112. data/spec/models/inline_response2004_spec.rb +1 -1
  113. data/spec/models/inline_response2005_spec.rb +1 -1
  114. data/spec/models/inline_response2006_spec.rb +1 -1
  115. data/spec/models/inline_response2007_spec.rb +1 -1
  116. data/spec/models/inline_response2008_spec.rb +1 -1
  117. data/spec/models/inline_response2009_spec.rb +1 -1
  118. data/spec/models/inline_response200_spec.rb +1 -1
  119. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  120. data/spec/models/repository_sync_url_spec.rb +1 -1
  121. data/spec/models/repository_version_spec.rb +1 -1
  122. data/spec/models/tag_spec.rb +1 -1
  123. data/spec/spec_helper.rb +1 -1
  124. metadata +56 -53
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0f2f83f04e2b06daf01b7ceaf19b83154babece375f7f7695702cbaeb6f5fee
4
- data.tar.gz: b0ac0af2c11cbed3c827aea6d33ab89ff2e403e0c81e61e5aaa4a6c8d6841d22
3
+ metadata.gz: 0bdaff2e6963ec8e1be6e4c556824ee56eb415c63e1f7f819f488b7de2048b89
4
+ data.tar.gz: 07d4d219d09b099738f52fff90f272512c8d1f24364ba58507883feeecaac09c
5
5
  SHA512:
6
- metadata.gz: ee467985fc49dc0e03712bd89985a9387f4b9a6e143846519648c6a5a4e91f900bbc38dbc234b0439e2fc91e65223a087511a75900ee206dd8a521d6b5eade72
7
- data.tar.gz: 38e625ac1c47a6986e788eef803eb15f0c1415503b6ea1263adbd125338a18711c98a47d72cb45098d1ebc6755a772a564d4d9ec8d7ced53efd730b4ca51a9fb
6
+ metadata.gz: fdb65124f5a9febe3d2266c6ebac49a5911098ac39b90714ec62a6de4d233ff8dc9ccb89e7a9a71d2d7dfad08c2de1d5698619b8f70b42101f3eafb9c537db78
7
+ data.tar.gz: b47e76bdaaa6275bc2a46e9af529445627bced35e30990a256e2eb00e4bb12eb5cdbf5385aac460d062658cd0b50b15b557a40b19addaf2663e8239fa32ae9fd
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.2.0b7
10
+ - Package version: 0.2.0b8
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_ansible_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_ansible_client-0.2.0b7.gem
26
+ gem install ./pulp_ansible_client-0.2.0b8.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b7.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b8.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_ansible_client', '~> 0.2.0b7'
35
+ gem 'pulp_ansible_client', '~> 0.2.0b8'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -104,6 +104,7 @@ Class | Method | HTTP request | Description
104
104
  *PulpAnsibleClient::DistributionsAnsibleApi* | [**read**](docs/DistributionsAnsibleApi.md#read) | **GET** {ansible_distribution_href} | Inspect an ansible distribution
105
105
  *PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_distribution_href} | Update an ansible distribution
106
106
  *PulpAnsibleClient::PulpAnsibleApiApi* | [**list**](docs/PulpAnsibleApiApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/ |
107
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionImportsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task} | Inspect a collection import
107
108
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
108
109
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
109
110
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list_0**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list_0) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
@@ -129,7 +130,7 @@ Class | Method | HTTP request | Description
129
130
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**create**](docs/RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
130
131
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**delete**](docs/RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_repository_href} | Delete an ansible repository
131
132
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**list**](docs/RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
132
- *PulpAnsibleClient::RepositoriesAnsibleApi* | [**modify**](docs/RepositoriesAnsibleApi.md#modify) | **POST** {ansible_repository_href}modify/ |
133
+ *PulpAnsibleClient::RepositoriesAnsibleApi* | [**modify**](docs/RepositoriesAnsibleApi.md#modify) | **POST** {ansible_repository_href}modify/ | Modify Repository Content
133
134
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**partial_update**](docs/RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_repository_href} | Partially update an ansible repository
134
135
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**read**](docs/RepositoriesAnsibleApi.md#read) | **GET** {ansible_repository_href} | Inspect an ansible repository
135
136
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**sync**](docs/RepositoriesAnsibleApi.md#sync) | **POST** {ansible_repository_href}sync/ |
@@ -5,8 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
8
  **artifact** | **String** | Artifact file representing the physical content |
9
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
11
11
  **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
12
12
  **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
@@ -37,8 +37,8 @@ Name | Type | Description | Notes
37
37
  require 'PulpAnsibleClient'
38
38
 
39
39
  instance = PulpAnsibleClient::AnsibleCollectionVersion.new(pulp_href: null,
40
- pulp_created: null,
41
40
  artifact: null,
41
+ pulp_created: null,
42
42
  md5: null,
43
43
  sha1: null,
44
44
  sha224: null,
data/docs/AnsibleRole.md CHANGED
@@ -5,8 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
8
  **artifact** | **String** | Artifact file representing the physical content |
9
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **version** | **String** | |
11
11
  **name** | **String** | |
12
12
  **namespace** | **String** | |
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  require 'PulpAnsibleClient'
18
18
 
19
19
  instance = PulpAnsibleClient::AnsibleRole.new(pulp_href: null,
20
- pulp_created: null,
21
20
  artifact: null,
21
+ pulp_created: null,
22
22
  version: null,
23
23
  name: null,
24
24
  namespace: null)
@@ -0,0 +1,72 @@
1
+ # PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**read**](PulpAnsibleGalaxyApiCollectionImportsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task} | Inspect a collection import
8
+
9
+
10
+
11
+ ## read
12
+
13
+ > CollectionImportDetail read(path, task, opts)
14
+
15
+ Inspect a collection import
16
+
17
+ Returns a CollectionImport object.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_ansible_client'
24
+ # setup authorization
25
+ PulpAnsibleClient.configure do |config|
26
+ # Configure HTTP basic authorization: Basic
27
+ config.username = 'YOUR USERNAME'
28
+ config.password = 'YOUR PASSWORD'
29
+ end
30
+
31
+ api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionImportsApi.new
32
+ path = 'path_example' # String |
33
+ task = 'task_example' # String | A unique value identifying this collection import.
34
+ opts = {
35
+ fields: 'fields_example', # String | A list of fields to include in the response.
36
+ exclude_fields: 'exclude_fields_example', # String | A list of fields to exclude from the response.
37
+ since: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Filter messages since a given timestamp
38
+ }
39
+
40
+ begin
41
+ #Inspect a collection import
42
+ result = api_instance.read(path, task, opts)
43
+ p result
44
+ rescue PulpAnsibleClient::ApiError => e
45
+ puts "Exception when calling PulpAnsibleGalaxyApiCollectionImportsApi->read: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+
52
+ Name | Type | Description | Notes
53
+ ------------- | ------------- | ------------- | -------------
54
+ **path** | **String**| |
55
+ **task** | **String**| A unique value identifying this collection import. |
56
+ **fields** | **String**| A list of fields to include in the response. | [optional]
57
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
58
+ **since** | **DateTime**| Filter messages since a given timestamp | [optional]
59
+
60
+ ### Return type
61
+
62
+ [**CollectionImportDetail**](CollectionImportDetail.md)
63
+
64
+ ### Authorization
65
+
66
+ [Basic](../README.md#Basic)
67
+
68
+ ### HTTP request headers
69
+
70
+ - **Content-Type**: Not defined
71
+ - **Accept**: application/json
72
+
@@ -7,7 +7,7 @@ Method | HTTP request | Description
7
7
  [**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
8
8
  [**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_repository_href} | Delete an ansible repository
9
9
  [**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
10
- [**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_repository_href}modify/ |
10
+ [**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_repository_href}modify/ | Modify Repository Content
11
11
  [**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_repository_href} | Partially update an ansible repository
12
12
  [**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_repository_href} | Inspect an ansible repository
13
13
  [**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_repository_href}sync/ |
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
190
190
 
191
191
  > AsyncOperationResponse modify(ansible_repository_href, data)
192
192
 
193
-
193
+ Modify Repository Content
194
194
 
195
195
  Trigger an asynchronous task to create a new repository version.
196
196
 
@@ -211,6 +211,7 @@ ansible_repository_href = 'ansible_repository_href_example' # String | URI of An
211
211
  data = PulpAnsibleClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
212
212
 
213
213
  begin
214
+ #Modify Repository Content
214
215
  result = api_instance.modify(ansible_repository_href, data)
215
216
  p result
216
217
  rescue PulpAnsibleClient::ApiError => e
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,99 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.2
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpAnsibleClient
16
+ class PulpAnsibleGalaxyApiCollectionImportsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Inspect a collection import
23
+ # Returns a CollectionImport object.
24
+ # @param path [String]
25
+ # @param task [String] A unique value identifying this collection import.
26
+ # @param [Hash] opts the optional parameters
27
+ # @option opts [String] :fields A list of fields to include in the response.
28
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
29
+ # @option opts [DateTime] :since Filter messages since a given timestamp
30
+ # @return [CollectionImportDetail]
31
+ def read(path, task, opts = {})
32
+ data, _status_code, _headers = read_with_http_info(path, task, opts)
33
+ data
34
+ end
35
+
36
+ # Inspect a collection import
37
+ # Returns a CollectionImport object.
38
+ # @param path [String]
39
+ # @param task [String] A unique value identifying this collection import.
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :fields A list of fields to include in the response.
42
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
43
+ # @option opts [DateTime] :since Filter messages since a given timestamp
44
+ # @return [Array<(CollectionImportDetail, Integer, Hash)>] CollectionImportDetail data, response status code and response headers
45
+ def read_with_http_info(path, task, opts = {})
46
+ if @api_client.config.debugging
47
+ @api_client.config.logger.debug 'Calling API: PulpAnsibleGalaxyApiCollectionImportsApi.read ...'
48
+ end
49
+ # verify the required parameter 'path' is set
50
+ if @api_client.config.client_side_validation && path.nil?
51
+ fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleGalaxyApiCollectionImportsApi.read"
52
+ end
53
+ # verify the required parameter 'task' is set
54
+ if @api_client.config.client_side_validation && task.nil?
55
+ fail ArgumentError, "Missing the required parameter 'task' when calling PulpAnsibleGalaxyApiCollectionImportsApi.read"
56
+ end
57
+ # resource path
58
+ local_var_path = '/pulp_ansible/galaxy/{path}/api/v2/collection-imports/{task}'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/')).sub('{' + 'task' + '}', CGI.escape(task.to_s).gsub('%2F', '/'))
59
+
60
+ # query parameters
61
+ query_params = opts[:query_params] || {}
62
+ query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
63
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
64
+ query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
65
+
66
+ # header parameters
67
+ header_params = opts[:header_params] || {}
68
+ # HTTP header 'Accept' (if needed)
69
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
70
+
71
+ # form parameters
72
+ form_params = opts[:form_params] || {}
73
+
74
+ # http body (model)
75
+ post_body = opts[:body]
76
+
77
+ # return_type
78
+ return_type = opts[:return_type] || 'CollectionImportDetail'
79
+
80
+ # auth_names
81
+ auth_names = opts[:auth_names] || ['Basic']
82
+
83
+ new_options = opts.merge(
84
+ :header_params => header_params,
85
+ :query_params => query_params,
86
+ :form_params => form_params,
87
+ :body => post_body,
88
+ :auth_names => auth_names,
89
+ :return_type => return_type
90
+ )
91
+
92
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
93
+ if @api_client.config.debugging
94
+ @api_client.config.logger.debug "API called: PulpAnsibleGalaxyApiCollectionImportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
95
+ end
96
+ return data, status_code, headers
97
+ end
98
+ end
99
+ end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -219,6 +219,7 @@ module PulpAnsibleClient
219
219
  return data, status_code, headers
220
220
  end
221
221
 
222
+ # Modify Repository Content
222
223
  # Trigger an asynchronous task to create a new repository version.
223
224
  # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
224
225
  # @param data [RepositoryAddRemoveContent]
@@ -229,6 +230,7 @@ module PulpAnsibleClient
229
230
  data
230
231
  end
231
232
 
233
+ # Modify Repository Content
232
234
  # Trigger an asynchronous task to create a new repository version.
233
235
  # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
234
236
  # @param data [RepositoryAddRemoveContent]
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -16,12 +16,12 @@ module PulpAnsibleClient
16
16
  class AnsibleCollectionVersion
17
17
  attr_accessor :pulp_href
18
18
 
19
- # Timestamp of creation.
20
- attr_accessor :pulp_created
21
-
22
19
  # Artifact file representing the physical content
23
20
  attr_accessor :artifact
24
21
 
22
+ # Timestamp of creation.
23
+ attr_accessor :pulp_created
24
+
25
25
  # The MD5 checksum if available.
26
26
  attr_accessor :md5
27
27
 
@@ -94,8 +94,8 @@ module PulpAnsibleClient
94
94
  def self.attribute_map
95
95
  {
96
96
  :'pulp_href' => :'pulp_href',
97
- :'pulp_created' => :'pulp_created',
98
97
  :'artifact' => :'artifact',
98
+ :'pulp_created' => :'pulp_created',
99
99
  :'md5' => :'md5',
100
100
  :'sha1' => :'sha1',
101
101
  :'sha224' => :'sha224',
@@ -126,8 +126,8 @@ module PulpAnsibleClient
126
126
  def self.openapi_types
127
127
  {
128
128
  :'pulp_href' => :'String',
129
- :'pulp_created' => :'DateTime',
130
129
  :'artifact' => :'String',
130
+ :'pulp_created' => :'DateTime',
131
131
  :'md5' => :'String',
132
132
  :'sha1' => :'String',
133
133
  :'sha224' => :'String',
@@ -179,14 +179,14 @@ module PulpAnsibleClient
179
179
  self.pulp_href = attributes[:'pulp_href']
180
180
  end
181
181
 
182
- if attributes.key?(:'pulp_created')
183
- self.pulp_created = attributes[:'pulp_created']
184
- end
185
-
186
182
  if attributes.key?(:'artifact')
187
183
  self.artifact = attributes[:'artifact']
188
184
  end
189
185
 
186
+ if attributes.key?(:'pulp_created')
187
+ self.pulp_created = attributes[:'pulp_created']
188
+ end
189
+
190
190
  if attributes.key?(:'md5')
191
191
  self.md5 = attributes[:'md5']
192
192
  end
@@ -660,8 +660,8 @@ module PulpAnsibleClient
660
660
  return true if self.equal?(o)
661
661
  self.class == o.class &&
662
662
  pulp_href == o.pulp_href &&
663
- pulp_created == o.pulp_created &&
664
663
  artifact == o.artifact &&
664
+ pulp_created == o.pulp_created &&
665
665
  md5 == o.md5 &&
666
666
  sha1 == o.sha1 &&
667
667
  sha224 == o.sha224 &&
@@ -696,7 +696,7 @@ module PulpAnsibleClient
696
696
  # Calculates hash code according to all attributes.
697
697
  # @return [Integer] Hash code
698
698
  def hash
699
- [pulp_href, pulp_created, artifact, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, certification, license, name, namespace, repository, tags, version, deprecated].hash
699
+ [pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, documentation, homepage, issues, certification, license, name, namespace, repository, tags, version, deprecated].hash
700
700
  end
701
701
 
702
702
  # Builds the object from hash