pulp_ansible_client 0.2.0b5 → 0.2.0b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -23
  3. data/docs/{AnsibleDistribution.md → AnsibleAnsibleDistribution.md} +6 -6
  4. data/docs/AnsibleAnsibleRemote.md +39 -0
  5. data/docs/AnsibleAnsibleRepository.md +27 -0
  6. data/docs/AnsibleCollection.md +19 -0
  7. data/docs/AnsibleCollectionRemote.md +41 -0
  8. data/docs/AnsibleCollectionVersion.md +67 -0
  9. data/docs/AnsibleCollectionsApi.md +80 -18
  10. data/docs/AnsibleRole.md +27 -0
  11. data/docs/AnsibleTag.md +17 -0
  12. data/docs/Collection.md +31 -0
  13. data/docs/CollectionImportDetail.md +2 -2
  14. data/docs/CollectionMetadata.md +9 -9
  15. data/docs/{TagNested.md → CollectionNamespace.md} +3 -3
  16. data/docs/CollectionRef.md +21 -0
  17. data/docs/CollectionVersion.md +19 -59
  18. data/docs/ContentCollectionVersionsApi.md +25 -27
  19. data/docs/ContentRolesApi.md +17 -25
  20. data/docs/ContentSummary.md +21 -0
  21. data/docs/DistributionsAnsibleApi.md +16 -12
  22. data/docs/GalaxyCollection.md +2 -2
  23. data/docs/GalaxyCollectionVersion.md +4 -4
  24. data/docs/GalaxyRole.md +1 -1
  25. data/docs/GalaxyRoleVersion.md +1 -1
  26. data/docs/InlineResponse200.md +1 -1
  27. data/docs/InlineResponse2001.md +1 -1
  28. data/docs/InlineResponse20010.md +23 -0
  29. data/docs/InlineResponse20011.md +23 -0
  30. data/docs/InlineResponse20012.md +23 -0
  31. data/docs/InlineResponse20013.md +23 -0
  32. data/docs/InlineResponse2002.md +1 -1
  33. data/docs/InlineResponse2003.md +1 -1
  34. data/docs/InlineResponse2004.md +1 -1
  35. data/docs/InlineResponse2005.md +1 -1
  36. data/docs/InlineResponse2006.md +1 -1
  37. data/docs/InlineResponse2007.md +1 -1
  38. data/docs/InlineResponse2008.md +1 -1
  39. data/docs/InlineResponse2009.md +1 -1
  40. data/docs/PulpAnsibleApiApi.md +3 -1
  41. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +16 -9
  42. data/docs/PulpAnsibleGalaxyApiRolesApi.md +5 -3
  43. data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +5 -3
  44. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +5 -3
  45. data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +28 -10
  46. data/docs/PulpAnsibleTagsApi.md +5 -3
  47. data/docs/RemotesAnsibleApi.md +30 -81
  48. data/docs/RemotesCollectionApi.md +30 -81
  49. data/docs/RepositoriesAnsibleApi.md +409 -0
  50. data/docs/RepositoriesAnsibleVersionsApi.md +214 -0
  51. data/docs/RepositorySyncURL.md +2 -2
  52. data/docs/RepositoryVersion.md +25 -0
  53. data/docs/Tag.md +1 -1
  54. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +103 -35
  55. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +40 -57
  56. data/lib/pulp_ansible_client/api/content_roles_api.rb +28 -58
  57. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -13
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
  59. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +20 -9
  60. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +7 -4
  61. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +7 -4
  62. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +7 -4
  63. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +59 -12
  64. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +7 -4
  65. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +40 -102
  66. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +40 -102
  67. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +498 -0
  68. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +268 -0
  69. data/lib/pulp_ansible_client/api_client.rb +1 -1
  70. data/lib/pulp_ansible_client/api_error.rb +1 -1
  71. data/lib/pulp_ansible_client/configuration.rb +1 -1
  72. data/lib/pulp_ansible_client/models/{ansible_distribution.rb → ansible_ansible_distribution.rb} +31 -36
  73. data/lib/pulp_ansible_client/models/{ansible_remote.rb → ansible_ansible_remote.rb} +87 -147
  74. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +294 -0
  75. data/lib/pulp_ansible_client/models/ansible_collection.rb +265 -0
  76. data/lib/pulp_ansible_client/models/{collection_remote.rb → ansible_collection_remote.rb} +88 -147
  77. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +816 -0
  78. data/lib/pulp_ansible_client/models/{role.rb → ansible_role.rb} +31 -60
  79. data/lib/pulp_ansible_client/models/{tag_nested.rb → ansible_tag.rb} +15 -5
  80. data/lib/pulp_ansible_client/models/async_operation_response.rb +12 -2
  81. data/lib/pulp_ansible_client/models/collection.rb +314 -0
  82. data/lib/pulp_ansible_client/models/collection_import_detail.rb +14 -4
  83. data/lib/pulp_ansible_client/models/collection_metadata.rb +14 -4
  84. data/lib/pulp_ansible_client/models/collection_namespace.rb +230 -0
  85. data/lib/pulp_ansible_client/models/collection_ref.rb +272 -0
  86. data/lib/pulp_ansible_client/models/collection_version.rb +109 -536
  87. data/lib/pulp_ansible_client/models/content_summary.rb +246 -0
  88. data/lib/pulp_ansible_client/models/galaxy_collection.rb +12 -2
  89. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +12 -2
  90. data/lib/pulp_ansible_client/models/galaxy_role.rb +12 -2
  91. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +12 -2
  92. data/lib/pulp_ansible_client/models/inline_response200.rb +15 -3
  93. data/lib/pulp_ansible_client/models/inline_response2001.rb +15 -3
  94. data/lib/pulp_ansible_client/models/inline_response20010.rb +247 -0
  95. data/lib/pulp_ansible_client/models/inline_response20011.rb +247 -0
  96. data/lib/pulp_ansible_client/models/inline_response20012.rb +247 -0
  97. data/lib/pulp_ansible_client/models/inline_response20013.rb +247 -0
  98. data/lib/pulp_ansible_client/models/inline_response2002.rb +15 -3
  99. data/lib/pulp_ansible_client/models/inline_response2003.rb +15 -3
  100. data/lib/pulp_ansible_client/models/inline_response2004.rb +15 -3
  101. data/lib/pulp_ansible_client/models/inline_response2005.rb +15 -3
  102. data/lib/pulp_ansible_client/models/inline_response2006.rb +15 -3
  103. data/lib/pulp_ansible_client/models/inline_response2007.rb +15 -3
  104. data/lib/pulp_ansible_client/models/inline_response2008.rb +15 -3
  105. data/lib/pulp_ansible_client/models/inline_response2009.rb +15 -3
  106. data/lib/pulp_ansible_client/models/repository_sync_url.rb +22 -12
  107. data/lib/pulp_ansible_client/models/repository_version.rb +244 -0
  108. data/lib/pulp_ansible_client/models/tag.rb +12 -2
  109. data/lib/pulp_ansible_client/version.rb +2 -2
  110. data/lib/pulp_ansible_client.rb +20 -6
  111. data/pulp_ansible_client.gemspec +1 -1
  112. data/spec/api/ansible_collections_api_spec.rb +25 -10
  113. data/spec/api/content_collection_versions_api_spec.rb +12 -12
  114. data/spec/api/content_roles_api_spec.rb +8 -11
  115. data/spec/api/distributions_ansible_api_spec.rb +5 -3
  116. data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
  117. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +6 -3
  118. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +3 -2
  119. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +3 -2
  120. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -2
  121. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +12 -4
  122. data/spec/api/pulp_ansible_tags_api_spec.rb +3 -2
  123. data/spec/api/remotes_ansible_api_spec.rb +12 -22
  124. data/spec/api/remotes_collection_api_spec.rb +12 -22
  125. data/spec/api/repositories_ansible_api_spec.rb +128 -0
  126. data/spec/api/repositories_ansible_versions_api_spec.rb +91 -0
  127. data/spec/api_client_spec.rb +2 -2
  128. data/spec/configuration_spec.rb +1 -1
  129. data/spec/models/{ansible_distribution_spec.rb → ansible_ansible_distribution_spec.rb} +9 -9
  130. data/spec/models/{collection_remote_spec.rb → ansible_ansible_remote_spec.rb} +14 -38
  131. data/spec/models/ansible_ansible_repository_spec.rb +71 -0
  132. data/spec/models/{ansible_remote_spec.rb → ansible_collection_remote_spec.rb} +20 -32
  133. data/spec/models/ansible_collection_spec.rb +47 -0
  134. data/spec/models/ansible_collection_version_spec.rb +191 -0
  135. data/spec/models/ansible_role_spec.rb +71 -0
  136. data/spec/models/{tag_nested_spec.rb → ansible_tag_spec.rb} +7 -7
  137. data/spec/models/async_operation_response_spec.rb +1 -1
  138. data/spec/models/collection_import_detail_spec.rb +1 -1
  139. data/spec/models/collection_metadata_spec.rb +1 -1
  140. data/spec/models/collection_namespace_spec.rb +41 -0
  141. data/spec/models/collection_ref_spec.rb +53 -0
  142. data/spec/models/{role_spec.rb → collection_spec.rb} +15 -21
  143. data/spec/models/collection_version_spec.rb +14 -130
  144. data/spec/models/content_summary_spec.rb +53 -0
  145. data/spec/models/galaxy_collection_spec.rb +1 -1
  146. data/spec/models/galaxy_collection_version_spec.rb +1 -1
  147. data/spec/models/galaxy_role_spec.rb +1 -1
  148. data/spec/models/galaxy_role_version_spec.rb +1 -1
  149. data/spec/models/inline_response20010_spec.rb +59 -0
  150. data/spec/models/inline_response20011_spec.rb +59 -0
  151. data/spec/models/inline_response20012_spec.rb +59 -0
  152. data/spec/models/inline_response20013_spec.rb +59 -0
  153. data/spec/models/inline_response2001_spec.rb +1 -1
  154. data/spec/models/inline_response2002_spec.rb +1 -1
  155. data/spec/models/inline_response2003_spec.rb +1 -1
  156. data/spec/models/inline_response2004_spec.rb +1 -1
  157. data/spec/models/inline_response2005_spec.rb +1 -1
  158. data/spec/models/inline_response2006_spec.rb +1 -1
  159. data/spec/models/inline_response2007_spec.rb +1 -1
  160. data/spec/models/inline_response2008_spec.rb +1 -1
  161. data/spec/models/inline_response2009_spec.rb +1 -1
  162. data/spec/models/inline_response200_spec.rb +1 -1
  163. data/spec/models/repository_sync_url_spec.rb +2 -2
  164. data/spec/models/repository_version_spec.rb +65 -0
  165. data/spec/models/tag_spec.rb +1 -1
  166. data/spec/spec_helper.rb +1 -1
  167. metadata +78 -22
  168. data/docs/AnsibleRemote.md +0 -45
  169. data/docs/CollectionRemote.md +0 -47
  170. data/docs/Role.md +0 -33
@@ -1,17 +1,17 @@
1
- # PulpAnsibleClient::TagNested
1
+ # PulpAnsibleClient::CollectionNamespace
2
2
 
3
3
  ## Properties
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | The name of the Tag. | [optional]
7
+ **name** | **String** | |
8
8
 
9
9
  ## Code Sample
10
10
 
11
11
  ```ruby
12
12
  require 'PulpAnsibleClient'
13
13
 
14
- instance = PulpAnsibleClient::TagNested.new(name: null)
14
+ instance = PulpAnsibleClient::CollectionNamespace.new(name: null)
15
15
  ```
16
16
 
17
17
 
@@ -0,0 +1,21 @@
1
+ # PulpAnsibleClient::CollectionRef
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | |
8
+ **name** | **String** | |
9
+ **href** | **String** | | [optional] [readonly]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpAnsibleClient'
15
+
16
+ instance = PulpAnsibleClient::CollectionRef.new(id: null,
17
+ name: null,
18
+ href: null)
19
+ ```
20
+
21
+
@@ -4,74 +4,34 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
10
- **artifact** | **String** | Artifact file representing the physical content | [optional]
11
- **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
12
- **file** | **String** | An uploaded file that should be turned into the artifact of the content unit. | [optional]
13
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
14
- **md5** | **String** | The MD5 checksum if available. | [optional]
15
- **sha1** | **String** | The SHA-1 checksum if available. | [optional]
16
- **sha224** | **String** | The SHA-224 checksum if available. | [optional]
17
- **sha256** | **String** | The SHA-256 checksum if available. | [optional]
18
- **sha384** | **String** | The SHA-384 checksum if available. | [optional]
19
- **sha512** | **String** | The SHA-512 checksum if available. | [optional]
20
- **id** | **String** | A collection identifier. | [optional]
21
- **authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional]
22
- **contents** | **Array<Hash<String, String>>** | A JSON field with data about the contents. | [optional]
23
- **dependencies** | **Hash<String, String>** | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional]
24
- **description** | **String** | A short summary description of the collection. | [optional]
25
- **docs_blob** | **Hash<String, String>** | A JSON field holding the various documentation blobs in the collection. | [optional]
26
- **documentation** | **String** | The URL to any online docs. | [optional]
27
- **homepage** | **String** | The URL to the homepage of the collection/project. | [optional]
28
- **issues** | **String** | The URL to the collection issue tracker. | [optional]
29
- **is_certified** | **Boolean** | Indicates that the version is certified | [optional]
30
- **license** | **Array<String>** | A list of licenses for content inside of a collection. | [optional]
31
- **name** | **String** | The name of the collection. | [optional]
32
- **namespace** | **String** | The namespace of the collection. | [optional]
33
- **tags** | [**Array<TagNested>**](TagNested.md) | | [optional]
34
- **version** | **String** | The version of the collection. | [optional]
35
- **expected_name** | **String** | The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
36
- **expected_namespace** | **String** | The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
37
- **expected_version** | **String** | The expected version of the Collection to be verified against the metadata during import. | [optional]
7
+ **version** | **String** | | [optional] [readonly]
8
+ **certification** | **String** | | [optional]
9
+ **href** | **String** | | [optional] [readonly]
10
+ **created_at** | **DateTime** | |
11
+ **updated_at** | **DateTime** | |
12
+ **artifact** | **String** | | [optional] [readonly]
13
+ **collection** | [**CollectionRef**](CollectionRef.md) | | [optional]
14
+ **download_url** | **String** | | [optional] [readonly]
15
+ **name** | **String** | | [optional] [readonly]
16
+ **namespace** | [**CollectionNamespace**](CollectionNamespace.md) | | [optional]
17
+ **metadata** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
38
18
 
39
19
  ## Code Sample
40
20
 
41
21
  ```ruby
42
22
  require 'PulpAnsibleClient'
43
23
 
44
- instance = PulpAnsibleClient::CollectionVersion.new(_href: null,
45
- _created: null,
46
- _type: null,
24
+ instance = PulpAnsibleClient::CollectionVersion.new(version: null,
25
+ certification: null,
26
+ href: null,
27
+ created_at: null,
28
+ updated_at: null,
47
29
  artifact: null,
48
- relative_path: null,
49
- file: null,
50
- repository: null,
51
- md5: null,
52
- sha1: null,
53
- sha224: null,
54
- sha256: null,
55
- sha384: null,
56
- sha512: null,
57
- id: null,
58
- authors: null,
59
- contents: null,
60
- dependencies: null,
61
- description: null,
62
- docs_blob: null,
63
- documentation: null,
64
- homepage: null,
65
- issues: null,
66
- is_certified: null,
67
- license: null,
30
+ collection: null,
31
+ download_url: null,
68
32
  name: null,
69
33
  namespace: null,
70
- tags: null,
71
- version: null,
72
- expected_name: null,
73
- expected_namespace: null,
74
- expected_version: null)
34
+ metadata: null)
75
35
  ```
76
36
 
77
37
 
@@ -12,11 +12,11 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(relative_path, opts)
15
+ > AnsibleCollectionVersion create(data)
16
16
 
17
17
  Create a collection version
18
18
 
19
- Trigger an asynchronous task to create content,optionally create new repository version.
19
+ ViewSet for Ansible Collection.
20
20
 
21
21
  ### Example
22
22
 
@@ -31,19 +31,11 @@ PulpAnsibleClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
34
- relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
- opts = {
36
- artifact: 'artifact_example', # String | Artifact file representing the physical content
37
- file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
38
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
- expected_name: 'expected_name_example', # String | The expected 'name' of the Collection to be verified against the metadata during import.
40
- expected_namespace: 'expected_namespace_example', # String | The expected 'namespace' of the Collection to be verified against the metadata during import.
41
- expected_version: 'expected_version_example' # String | The expected version of the Collection to be verified against the metadata during import.
42
- }
34
+ data = PulpAnsibleClient::AnsibleCollectionVersion.new # AnsibleCollectionVersion |
43
35
 
44
36
  begin
45
37
  #Create a collection version
46
- result = api_instance.create(relative_path, opts)
38
+ result = api_instance.create(data)
47
39
  p result
48
40
  rescue PulpAnsibleClient::ApiError => e
49
41
  puts "Exception when calling ContentCollectionVersionsApi->create: #{e}"
@@ -55,17 +47,11 @@ end
55
47
 
56
48
  Name | Type | Description | Notes
57
49
  ------------- | ------------- | ------------- | -------------
58
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
59
- **artifact** | **String**| Artifact file representing the physical content | [optional]
60
- **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
61
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
62
- **expected_name** | **String**| The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
63
- **expected_namespace** | **String**| The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
64
- **expected_version** | **String**| The expected version of the Collection to be verified against the metadata during import. | [optional]
50
+ **data** | [**AnsibleCollectionVersion**](AnsibleCollectionVersion.md)| |
65
51
 
66
52
  ### Return type
67
53
 
68
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
54
+ [**AnsibleCollectionVersion**](AnsibleCollectionVersion.md)
69
55
 
70
56
  ### Authorization
71
57
 
@@ -73,13 +59,13 @@ Name | Type | Description | Notes
73
59
 
74
60
  ### HTTP request headers
75
61
 
76
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
62
+ - **Content-Type**: application/json
77
63
  - **Accept**: application/json
78
64
 
79
65
 
80
66
  ## list
81
67
 
82
- > InlineResponse200 list(opts)
68
+ > InlineResponse2001 list(opts)
83
69
 
84
70
  List collection versions
85
71
 
@@ -99,17 +85,22 @@ end
99
85
 
100
86
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
101
87
  opts = {
88
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
102
89
  namespace: 'namespace_example', # String |
103
90
  name: 'name_example', # String |
104
91
  version: 'version_example', # String | Filter results where version matches value
105
92
  q: 'q_example', # String |
106
93
  is_highest: 'is_highest_example', # String |
94
+ certification: 'certification_example', # String |
95
+ tags: 'tags_example', # String | Filter by comma separate list of tags that must all be matched
107
96
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
108
97
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
109
98
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
99
+ deprecated: 'deprecated_example', # String |
110
100
  limit: 56, # Integer | Number of results to return per page.
111
101
  offset: 56, # Integer | The initial index from which to return the results.
112
- fields: 'fields_example' # String | A list of fields to include in the response.
102
+ fields: 'fields_example', # String | A list of fields to include in the response.
103
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
113
104
  }
114
105
 
115
106
  begin
@@ -126,21 +117,26 @@ end
126
117
 
127
118
  Name | Type | Description | Notes
128
119
  ------------- | ------------- | ------------- | -------------
120
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
129
121
  **namespace** | **String**| | [optional]
130
122
  **name** | **String**| | [optional]
131
123
  **version** | **String**| Filter results where version matches value | [optional]
132
124
  **q** | **String**| | [optional]
133
125
  **is_highest** | **String**| | [optional]
126
+ **certification** | **String**| | [optional]
127
+ **tags** | **String**| Filter by comma separate list of tags that must all be matched | [optional]
134
128
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
135
129
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
136
130
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
131
+ **deprecated** | **String**| | [optional]
137
132
  **limit** | **Integer**| Number of results to return per page. | [optional]
138
133
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
139
134
  **fields** | **String**| A list of fields to include in the response. | [optional]
135
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
140
136
 
141
137
  ### Return type
142
138
 
143
- [**InlineResponse200**](InlineResponse200.md)
139
+ [**InlineResponse2001**](InlineResponse2001.md)
144
140
 
145
141
  ### Authorization
146
142
 
@@ -154,7 +150,7 @@ Name | Type | Description | Notes
154
150
 
155
151
  ## read
156
152
 
157
- > CollectionVersion read(collection_version_href, opts)
153
+ > AnsibleCollectionVersion read(collection_version_href, opts)
158
154
 
159
155
  Inspect a collection version
160
156
 
@@ -175,7 +171,8 @@ end
175
171
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
176
172
  collection_version_href = 'collection_version_href_example' # String | URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/
177
173
  opts = {
178
- fields: 'fields_example' # String | A list of fields to include in the response.
174
+ fields: 'fields_example', # String | A list of fields to include in the response.
175
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
179
176
  }
180
177
 
181
178
  begin
@@ -194,10 +191,11 @@ Name | Type | Description | Notes
194
191
  ------------- | ------------- | ------------- | -------------
195
192
  **collection_version_href** | **String**| URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/ |
196
193
  **fields** | **String**| A list of fields to include in the response. | [optional]
194
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
197
195
 
198
196
  ### Return type
199
197
 
200
- [**CollectionVersion**](CollectionVersion.md)
198
+ [**AnsibleCollectionVersion**](AnsibleCollectionVersion.md)
201
199
 
202
200
  ### Authorization
203
201
 
@@ -12,11 +12,11 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(version, name, namespace, opts)
15
+ > AnsibleRole create(data)
16
16
 
17
17
  Create a role
18
18
 
19
- Trigger an asynchronous task to create content,optionally create new repository version.
19
+ ViewSet for Role.
20
20
 
21
21
  ### Example
22
22
 
@@ -31,18 +31,11 @@ PulpAnsibleClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpAnsibleClient::ContentRolesApi.new
34
- version = 'version_example' # String |
35
- name = 'name_example' # String |
36
- namespace = 'namespace_example' # String |
37
- opts = {
38
- file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
39
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
40
- artifact: 'artifact_example' # String | Artifact file representing the physical content
41
- }
34
+ data = PulpAnsibleClient::AnsibleRole.new # AnsibleRole |
42
35
 
43
36
  begin
44
37
  #Create a role
45
- result = api_instance.create(version, name, namespace, opts)
38
+ result = api_instance.create(data)
46
39
  p result
47
40
  rescue PulpAnsibleClient::ApiError => e
48
41
  puts "Exception when calling ContentRolesApi->create: #{e}"
@@ -54,16 +47,11 @@ end
54
47
 
55
48
  Name | Type | Description | Notes
56
49
  ------------- | ------------- | ------------- | -------------
57
- **version** | **String**| |
58
- **name** | **String**| |
59
- **namespace** | **String**| |
60
- **file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
61
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
62
- **artifact** | **String**| Artifact file representing the physical content | [optional]
50
+ **data** | [**AnsibleRole**](AnsibleRole.md)| |
63
51
 
64
52
  ### Return type
65
53
 
66
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
54
+ [**AnsibleRole**](AnsibleRole.md)
67
55
 
68
56
  ### Authorization
69
57
 
@@ -71,13 +59,13 @@ Name | Type | Description | Notes
71
59
 
72
60
  ### HTTP request headers
73
61
 
74
- - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
62
+ - **Content-Type**: application/json
75
63
  - **Accept**: application/json
76
64
 
77
65
 
78
66
  ## list
79
67
 
80
- > InlineResponse2001 list(opts)
68
+ > InlineResponse2002 list(opts)
81
69
 
82
70
  List roles
83
71
 
@@ -105,7 +93,8 @@ opts = {
105
93
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
106
94
  limit: 56, # Integer | Number of results to return per page.
107
95
  offset: 56, # Integer | The initial index from which to return the results.
108
- fields: 'fields_example' # String | A list of fields to include in the response.
96
+ fields: 'fields_example', # String | A list of fields to include in the response.
97
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
109
98
  }
110
99
 
111
100
  begin
@@ -131,10 +120,11 @@ Name | Type | Description | Notes
131
120
  **limit** | **Integer**| Number of results to return per page. | [optional]
132
121
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
133
122
  **fields** | **String**| A list of fields to include in the response. | [optional]
123
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
134
124
 
135
125
  ### Return type
136
126
 
137
- [**InlineResponse2001**](InlineResponse2001.md)
127
+ [**InlineResponse2002**](InlineResponse2002.md)
138
128
 
139
129
  ### Authorization
140
130
 
@@ -148,7 +138,7 @@ Name | Type | Description | Notes
148
138
 
149
139
  ## read
150
140
 
151
- > Role read(role_href, opts)
141
+ > AnsibleRole read(role_href, opts)
152
142
 
153
143
  Inspect a role
154
144
 
@@ -169,7 +159,8 @@ end
169
159
  api_instance = PulpAnsibleClient::ContentRolesApi.new
170
160
  role_href = 'role_href_example' # String | URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/
171
161
  opts = {
172
- fields: 'fields_example' # String | A list of fields to include in the response.
162
+ fields: 'fields_example', # String | A list of fields to include in the response.
163
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
173
164
  }
174
165
 
175
166
  begin
@@ -188,10 +179,11 @@ Name | Type | Description | Notes
188
179
  ------------- | ------------- | ------------- | -------------
189
180
  **role_href** | **String**| URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/ |
190
181
  **fields** | **String**| A list of fields to include in the response. | [optional]
182
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
191
183
 
192
184
  ### Return type
193
185
 
194
- [**Role**](Role.md)
186
+ [**AnsibleRole**](AnsibleRole.md)
195
187
 
196
188
  ### Authorization
197
189
 
@@ -0,0 +1,21 @@
1
+ # PulpAnsibleClient::ContentSummary
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **added** | **Hash<String, Hash<String, String>>** | |
8
+ **removed** | **Hash<String, Hash<String, String>>** | |
9
+ **present** | **Hash<String, Hash<String, String>>** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpAnsibleClient'
15
+
16
+ instance = PulpAnsibleClient::ContentSummary.new(added: null,
17
+ removed: null,
18
+ present: null)
19
+ ```
20
+
21
+
@@ -34,7 +34,7 @@ PulpAnsibleClient.configure do |config|
34
34
  end
35
35
 
36
36
  api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
37
- data = PulpAnsibleClient::AnsibleDistribution.new # AnsibleDistribution |
37
+ data = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
38
38
 
39
39
  begin
40
40
  #Create an ansible distribution
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**AnsibleDistribution**](AnsibleDistribution.md)| |
53
+ **data** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
121
121
 
122
122
  ## list
123
123
 
124
- > InlineResponse2002 list(opts)
124
+ > InlineResponse2003 list(opts)
125
125
 
126
126
  List ansible distributions
127
127
 
@@ -149,7 +149,8 @@ opts = {
149
149
  base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
150
  limit: 56, # Integer | Number of results to return per page.
151
151
  offset: 56, # Integer | The initial index from which to return the results.
152
- fields: 'fields_example' # String | A list of fields to include in the response.
152
+ fields: 'fields_example', # String | A list of fields to include in the response.
153
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
154
  }
154
155
 
155
156
  begin
@@ -175,10 +176,11 @@ Name | Type | Description | Notes
175
176
  **limit** | **Integer**| Number of results to return per page. | [optional]
176
177
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
178
  **fields** | **String**| A list of fields to include in the response. | [optional]
179
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
178
180
 
179
181
  ### Return type
180
182
 
181
- [**InlineResponse2002**](InlineResponse2002.md)
183
+ [**InlineResponse2003**](InlineResponse2003.md)
182
184
 
183
185
  ### Authorization
184
186
 
@@ -212,7 +214,7 @@ end
212
214
 
213
215
  api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
214
216
  ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
215
- data = PulpAnsibleClient::AnsibleDistribution.new # AnsibleDistribution |
217
+ data = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
216
218
 
217
219
  begin
218
220
  #Partially update an ansible distribution
@@ -229,7 +231,7 @@ end
229
231
  Name | Type | Description | Notes
230
232
  ------------- | ------------- | ------------- | -------------
231
233
  **ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
232
- **data** | [**AnsibleDistribution**](AnsibleDistribution.md)| |
234
+ **data** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
233
235
 
234
236
  ### Return type
235
237
 
@@ -247,7 +249,7 @@ Name | Type | Description | Notes
247
249
 
248
250
  ## read
249
251
 
250
- > AnsibleDistribution read(ansible_distribution_href, opts)
252
+ > AnsibleAnsibleDistribution read(ansible_distribution_href, opts)
251
253
 
252
254
  Inspect an ansible distribution
253
255
 
@@ -268,7 +270,8 @@ end
268
270
  api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
269
271
  ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
270
272
  opts = {
271
- fields: 'fields_example' # String | A list of fields to include in the response.
273
+ fields: 'fields_example', # String | A list of fields to include in the response.
274
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
272
275
  }
273
276
 
274
277
  begin
@@ -287,10 +290,11 @@ Name | Type | Description | Notes
287
290
  ------------- | ------------- | ------------- | -------------
288
291
  **ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
289
292
  **fields** | **String**| A list of fields to include in the response. | [optional]
293
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
290
294
 
291
295
  ### Return type
292
296
 
293
- [**AnsibleDistribution**](AnsibleDistribution.md)
297
+ [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)
294
298
 
295
299
  ### Authorization
296
300
 
@@ -324,7 +328,7 @@ end
324
328
 
325
329
  api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
326
330
  ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
327
- data = PulpAnsibleClient::AnsibleDistribution.new # AnsibleDistribution |
331
+ data = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
328
332
 
329
333
  begin
330
334
  #Update an ansible distribution
@@ -341,7 +345,7 @@ end
341
345
  Name | Type | Description | Notes
342
346
  ------------- | ------------- | ------------- | -------------
343
347
  **ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
344
- **data** | [**AnsibleDistribution**](AnsibleDistribution.md)| |
348
+ **data** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
345
349
 
346
350
  ### Return type
347
351
 
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | |
8
8
  **namespace** | **String** | |
9
- **href** | **String** | | [optional]
10
- **versions_url** | **String** | | [optional]
9
+ **href** | **String** | | [optional] [readonly]
10
+ **versions_url** | **String** | | [optional] [readonly]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -5,10 +5,10 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **version** | **String** | |
8
- **href** | **String** | | [optional]
9
- **namespace** | **String** | | [optional]
10
- **collection** | **String** | | [optional]
11
- **artifact** | **String** | | [optional]
8
+ **href** | **String** | | [optional] [readonly]
9
+ **namespace** | **String** | | [optional] [readonly]
10
+ **collection** | **String** | | [optional] [readonly]
11
+ **artifact** | **String** | | [optional] [readonly]
12
12
  **metadata** | [**CollectionMetadata**](CollectionMetadata.md) | |
13
13
 
14
14
  ## Code Sample
data/docs/GalaxyRole.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | | [optional]
7
+ **id** | **String** | | [optional] [readonly]
8
8
  **name** | **String** | |
9
9
  **namespace** | **String** | |
10
10
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | |
8
- **source** | **String** | | [optional]
8
+ **source** | **String** | | [optional] [readonly]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<CollectionVersion>**](CollectionVersion.md) | |
10
+ **results** | [**Array<AnsibleCollection>**](AnsibleCollection.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Role>**](Role.md) | |
10
+ **results** | [**Array<AnsibleCollectionVersion>**](AnsibleCollectionVersion.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::InlineResponse20010
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<GalaxyRoleVersion>**](GalaxyRoleVersion.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::InlineResponse20010.new(count: null,
18
+ _next: null,
19
+ previous: null,
20
+ results: null)
21
+ ```
22
+
23
+