pulp_ansible_client 0.21.6 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -15
  3. data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
  4. data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
  5. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  6. data/docs/AnsibleCollectionRemoteResponse.md +2 -2
  7. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  8. data/docs/AnsibleCollectionVersion.md +4 -4
  9. data/docs/AnsibleCollectionVersionResponse.md +10 -8
  10. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  11. data/docs/AnsibleCollectionsApi.md +60 -0
  12. data/docs/AnsibleGitRemote.md +26 -26
  13. data/docs/AnsibleGitRemoteResponse.md +26 -26
  14. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  15. data/docs/AnsibleRoleResponse.md +4 -2
  16. data/docs/CollectionImportDetailResponse.md +2 -2
  17. data/docs/CollectionMetadataResponse.md +2 -2
  18. data/docs/CollectionSummaryResponse.md +2 -2
  19. data/docs/CollectionVersionDocsResponse.md +1 -1
  20. data/docs/CollectionVersionResponse.md +2 -2
  21. data/docs/ContentCollectionDeprecationsApi.md +10 -10
  22. data/docs/ContentCollectionVersionsApi.md +4 -4
  23. data/docs/Copy.md +1 -1
  24. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  25. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  26. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  27. data/docs/PaginatedTagResponseList.md +2 -2
  28. data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
  29. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  30. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  31. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  32. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  33. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  34. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  35. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  36. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  37. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  38. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  39. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  40. data/docs/PatchedansibleGitRemote.md +26 -26
  41. data/docs/RepositoryResponse.md +2 -0
  42. data/docs/RepositoryVersionResponse.md +2 -0
  43. data/docs/VersionsApi.md +0 -55
  44. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
  45. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
  46. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  47. data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
  48. data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
  49. data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
  50. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  51. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
  52. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  53. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  54. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -15
  55. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  56. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +233 -233
  57. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -141
  58. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
  59. data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -8
  60. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  61. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
  62. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  63. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  64. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  65. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  66. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  67. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  68. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  69. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  70. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
  71. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  72. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  73. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  74. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  75. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  76. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  77. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  78. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  79. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  80. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  81. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  82. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
  83. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  84. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  85. data/lib/pulp_ansible_client/version.rb +1 -1
  86. data/lib/pulp_ansible_client.rb +3 -9
  87. data/spec/api/ansible_collections_api_spec.rb +14 -0
  88. data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
  89. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  90. data/spec/api/versions_api_spec.rb +0 -14
  91. data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
  92. data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
  93. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  94. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  95. data/spec/models/ansible_collection_version_response_spec.rb +8 -2
  96. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  97. data/spec/models/ansible_collection_version_spec.rb +3 -3
  98. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  99. data/spec/models/ansible_git_remote_spec.rb +18 -18
  100. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  101. data/spec/models/ansible_role_response_spec.rb +7 -1
  102. data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
  103. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  104. data/spec/models/repository_response_spec.rb +6 -0
  105. data/spec/models/repository_version_response_spec.rb +6 -0
  106. metadata +140 -164
  107. data/docs/ApiCollectionsApi.md +0 -112
  108. data/docs/GalaxyCollection.md +0 -23
  109. data/docs/GalaxyCollectionResponse.md +0 -31
  110. data/docs/GalaxyCollectionVersionResponse.md +0 -27
  111. data/docs/GalaxyDetailApi.md +0 -61
  112. data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
  113. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
  114. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
  115. data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
  116. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
  117. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
  118. data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
  119. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
  120. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -237
  121. data/spec/api/api_collections_api_spec.rb +0 -61
  122. data/spec/api/galaxy_detail_api_spec.rb +0 -48
  123. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
  124. data/spec/models/galaxy_collection_response_spec.rb +0 -83
  125. data/spec/models/galaxy_collection_spec.rb +0 -59
  126. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
10
10
  **version** | **String** | The version of the collection. | [optional] [readonly]
11
11
  **requires_ansible** | **String** | The version of Ansible required to use the collection. Multiple versions can be separated with a comma. | [optional] [readonly]
12
12
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
- **contents** | [**Object**](.md) | A JSON field with data about the contents. | [optional] [readonly]
14
- **dependencies** | [**Object**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional] [readonly]
13
+ **contents** | [**AnyType**](.md) | A JSON field with data about the contents. | [optional] [readonly]
14
+ **dependencies** | [**AnyType**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional] [readonly]
15
15
  **description** | **String** | A short summary description of the collection. | [optional] [readonly]
16
16
  **tags** | [**Array<AnsibleTagResponse>**](AnsibleTagResponse.md) | | [optional] [readonly]
17
17
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **docs_blob** | [**Object**](.md) | |
7
+ **docs_blob** | [**AnyType**](.md) | |
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -19,8 +19,8 @@ Name | Type | Description | Notes
19
19
  **metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
20
20
  **git_url** | **String** | Get the git URL. | [optional] [readonly]
21
21
  **git_commit_sha** | **String** | Get the git commit sha. | [optional] [readonly]
22
- **manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. | [optional] [readonly]
23
- **files** | [**Object**](.md) | A JSON field holding FILES.json data. | [optional] [readonly]
22
+ **manifest** | [**AnyType**](.md) | A JSON field holding MANIFEST.json data. | [optional] [readonly]
23
+ **files** | [**AnyType**](.md) | A JSON field holding FILES.json data. | [optional] [readonly]
24
24
 
25
25
  ## Code Sample
26
26
 
@@ -12,11 +12,11 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AnsibleCollectionResponse create(ansible_collection)
15
+ > AsyncOperationResponse create(ansible_ansible_collection_deprecated)
16
16
 
17
17
  Create an ansible collection deprecated
18
18
 
19
- ViewSet for AnsibleCollectionDeprecated.
19
+ Trigger an asynchronous task to create content,optionally create new repository version.
20
20
 
21
21
  ### Example
22
22
 
@@ -31,11 +31,11 @@ PulpAnsibleClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpAnsibleClient::ContentCollectionDeprecationsApi.new
34
- ansible_collection = PulpAnsibleClient::AnsibleCollection.new # AnsibleCollection |
34
+ ansible_ansible_collection_deprecated = PulpAnsibleClient::AnsibleAnsibleCollectionDeprecated.new # AnsibleAnsibleCollectionDeprecated |
35
35
 
36
36
  begin
37
37
  #Create an ansible collection deprecated
38
- result = api_instance.create(ansible_collection)
38
+ result = api_instance.create(ansible_ansible_collection_deprecated)
39
39
  p result
40
40
  rescue PulpAnsibleClient::ApiError => e
41
41
  puts "Exception when calling ContentCollectionDeprecationsApi->create: #{e}"
@@ -47,11 +47,11 @@ end
47
47
 
48
48
  Name | Type | Description | Notes
49
49
  ------------- | ------------- | ------------- | -------------
50
- **ansible_collection** | [**AnsibleCollection**](AnsibleCollection.md)| |
50
+ **ansible_ansible_collection_deprecated** | [**AnsibleAnsibleCollectionDeprecated**](AnsibleAnsibleCollectionDeprecated.md)| |
51
51
 
52
52
  ### Return type
53
53
 
54
- [**AnsibleCollectionResponse**](AnsibleCollectionResponse.md)
54
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
55
55
 
56
56
  ### Authorization
57
57
 
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
65
65
 
66
66
  ## list
67
67
 
68
- > PaginatedansibleCollectionResponseList list(opts)
68
+ > PaginatedansibleAnsibleCollectionDeprecatedResponseList list(opts)
69
69
 
70
70
  List ansible collection deprecateds
71
71
 
@@ -128,7 +128,7 @@ Name | Type | Description | Notes
128
128
 
129
129
  ### Return type
130
130
 
131
- [**PaginatedansibleCollectionResponseList**](PaginatedansibleCollectionResponseList.md)
131
+ [**PaginatedansibleAnsibleCollectionDeprecatedResponseList**](PaginatedansibleAnsibleCollectionDeprecatedResponseList.md)
132
132
 
133
133
  ### Authorization
134
134
 
@@ -142,7 +142,7 @@ Name | Type | Description | Notes
142
142
 
143
143
  ## read
144
144
 
145
- > AnsibleCollectionResponse read(ansible_ansible_collection_deprecated_href, opts)
145
+ > AnsibleAnsibleCollectionDeprecatedResponse read(ansible_ansible_collection_deprecated_href, opts)
146
146
 
147
147
  Inspect an ansible collection deprecated
148
148
 
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
187
187
 
188
188
  ### Return type
189
189
 
190
- [**AnsibleCollectionResponse**](AnsibleCollectionResponse.md)
190
+ [**AnsibleAnsibleCollectionDeprecatedResponse**](AnsibleAnsibleCollectionDeprecatedResponse.md)
191
191
 
192
192
  ### Authorization
193
193
 
@@ -32,10 +32,10 @@ end
32
32
 
33
33
  api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
34
34
  opts = {
35
- artifact: 'artifact_example', # String | Artifact file representing the physical content
35
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
36
36
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
37
+ artifact: 'artifact_example', # String | Artifact file representing the physical content
37
38
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
38
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
39
39
  expected_name: 'expected_name_example', # String | The name of the collection.
40
40
  expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
41
41
  expected_version: 'expected_version_example' # String | The version of the collection.
@@ -55,10 +55,10 @@ end
55
55
 
56
56
  Name | Type | Description | Notes
57
57
  ------------- | ------------- | ------------- | -------------
58
- **artifact** | **String**| Artifact file representing the physical content | [optional]
58
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
59
59
  **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
60
+ **artifact** | **String**| Artifact file representing the physical content | [optional]
60
61
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
61
- **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
62
62
  **expected_name** | **String**| The name of the collection. | [optional]
63
63
  **expected_namespace** | **String**| The namespace of the collection. | [optional]
64
64
  **expected_version** | **String**| The version of the collection. | [optional]
data/docs/Copy.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **config** | [**Object**](.md) | A JSON document describing sources, destinations, and content to be copied |
7
+ **config** | [**AnyType**](.md) | A JSON document describing sources, destinations, and content to be copied |
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<GalaxyRoleResponse>**](GalaxyRoleResponse.md) | | [optional]
10
+ **results** | [**Array<GalaxyRoleResponse>**](GalaxyRoleResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<GalaxyRoleVersionResponse>**](GalaxyRoleVersionResponse.md) | | [optional]
10
+ **results** | [**Array<GalaxyRoleVersionResponse>**](GalaxyRoleVersionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
10
+ **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<TagResponse>**](TagResponse.md) | | [optional]
10
+ **results** | [**Array<TagResponse>**](TagResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::PaginatedansibleAnsibleCollectionDeprecatedResponseList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<AnsibleAnsibleCollectionDeprecatedResponse>**](AnsibleAnsibleCollectionDeprecatedResponse.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::PaginatedansibleAnsibleCollectionDeprecatedResponseList.new(count: 123,
18
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
19
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleAnsibleDistributionResponse>**](AnsibleAnsibleDistributionResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleAnsibleDistributionResponse>**](AnsibleAnsibleDistributionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleAnsibleNamespaceMetadataResponse>**](AnsibleAnsibleNamespaceMetadataResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleAnsibleNamespaceMetadataResponse>**](AnsibleAnsibleNamespaceMetadataResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleAnsibleRepositoryResponse>**](AnsibleAnsibleRepositoryResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleAnsibleRepositoryResponse>**](AnsibleAnsibleRepositoryResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleCollectionRemoteResponse>**](AnsibleCollectionRemoteResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleCollectionRemoteResponse>**](AnsibleCollectionRemoteResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleCollectionResponse>**](AnsibleCollectionResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleCollectionResponse>**](AnsibleCollectionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleCollectionVersionMarkResponse>**](AnsibleCollectionVersionMarkResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleCollectionVersionMarkResponse>**](AnsibleCollectionVersionMarkResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleCollectionVersionResponse>**](AnsibleCollectionVersionResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleCollectionVersionResponse>**](AnsibleCollectionVersionResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleCollectionVersionSignatureResponse>**](AnsibleCollectionVersionSignatureResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleCollectionVersionSignatureResponse>**](AnsibleCollectionVersionSignatureResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleGitRemoteResponse>**](AnsibleGitRemoteResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleGitRemoteResponse>**](AnsibleGitRemoteResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleRoleRemoteResponse>**](AnsibleRoleRemoteResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleRoleRemoteResponse>**](AnsibleRoleRemoteResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleRoleResponse>**](AnsibleRoleResponse.md) | | [optional]
10
+ **results** | [**Array<AnsibleRoleResponse>**](AnsibleRoleResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **name** | **String** | A unique name for this remote. | [optional]
9
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
- **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
7
+ **url** | **String** | The URL of an external content source. | [optional]
11
8
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
12
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
13
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
9
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
15
10
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
17
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
18
- **url** | **String** | The URL of an external content source. | [optional]
19
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
20
11
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
21
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
12
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
13
+ **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
14
+ **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
15
+ **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
22
16
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
23
18
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
25
21
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
26
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
22
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
23
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
24
+ **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
+ **pulp_labels** | **Hash<String, String>** | | [optional]
26
+ **name** | **String** | A unique name for this remote. | [optional]
27
27
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
28
28
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
29
29
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(pulp_labels: null,
36
- name: null,
37
- client_cert: null,
38
- password: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(url: null,
39
36
  max_retries: null,
40
- proxy_password: null,
41
- ca_cert: null,
42
- connect_timeout: null,
37
+ client_cert: null,
43
38
  tls_validation: null,
44
- headers: null,
45
- sock_connect_timeout: null,
46
- url: null,
47
- proxy_username: null,
48
39
  client_key: null,
49
- username: null,
40
+ proxy_username: null,
41
+ total_timeout: null,
42
+ connect_timeout: null,
43
+ proxy_password: null,
50
44
  rate_limit: null,
45
+ password: null,
51
46
  sock_read_timeout: null,
52
47
  download_concurrency: null,
48
+ headers: null,
53
49
  proxy_url: null,
54
- total_timeout: null,
50
+ ca_cert: null,
51
+ username: null,
52
+ sock_connect_timeout: null,
53
+ pulp_labels: null,
54
+ name: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **versions_href** | **String** | | [optional] [readonly]
10
11
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
12
  **latest_version_href** | **String** | | [optional] [readonly]
@@ -21,6 +22,7 @@ require 'PulpAnsibleClient'
21
22
 
22
23
  instance = PulpAnsibleClient::RepositoryResponse.new(pulp_href: null,
23
24
  pulp_created: null,
25
+ pulp_last_updated: null,
24
26
  versions_href: null,
25
27
  pulp_labels: null,
26
28
  latest_version_href: null,
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **number** | **Integer** | | [optional] [readonly]
10
11
  **repository** | **String** | | [optional] [readonly]
11
12
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
@@ -18,6 +19,7 @@ require 'PulpAnsibleClient'
18
19
 
19
20
  instance = PulpAnsibleClient::RepositoryVersionResponse.new(pulp_href: null,
20
21
  pulp_created: null,
22
+ pulp_last_updated: null,
21
23
  number: null,
22
24
  repository: null,
23
25
  base_version: null,
data/docs/VersionsApi.md CHANGED
@@ -5,7 +5,6 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**api_v1_roles_versions_list**](VersionsApi.md#api_v1_roles_versions_list) | **GET** {ansible_role_href}versions/ |
8
- [**api_v2_collection_versions_list**](VersionsApi.md#api_v2_collection_versions_list) | **GET** {ansible_collection_version_href}versions/ |
9
8
 
10
9
 
11
10
 
@@ -64,57 +63,3 @@ No authorization required
64
63
  - **Content-Type**: Not defined
65
64
  - **Accept**: application/json
66
65
 
67
-
68
- ## api_v2_collection_versions_list
69
-
70
- > PaginatedGalaxyCollectionVersionResponseList api_v2_collection_versions_list(ansible_collection_version_href, opts)
71
-
72
-
73
-
74
- APIView for Collections by namespace/name.
75
-
76
- ### Example
77
-
78
- ```ruby
79
- # load the gem
80
- require 'pulp_ansible_client'
81
-
82
- api_instance = PulpAnsibleClient::VersionsApi.new
83
- ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
84
- opts = {
85
- page: 56, # Integer | A page number within the paginated result set.
86
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
87
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
88
- }
89
-
90
- begin
91
- result = api_instance.api_v2_collection_versions_list(ansible_collection_version_href, opts)
92
- p result
93
- rescue PulpAnsibleClient::ApiError => e
94
- puts "Exception when calling VersionsApi->api_v2_collection_versions_list: #{e}"
95
- end
96
- ```
97
-
98
- ### Parameters
99
-
100
-
101
- Name | Type | Description | Notes
102
- ------------- | ------------- | ------------- | -------------
103
- **ansible_collection_version_href** | **String**| |
104
- **page** | **Integer**| A page number within the paginated result set. | [optional]
105
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
106
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
107
-
108
- ### Return type
109
-
110
- [**PaginatedGalaxyCollectionVersionResponseList**](PaginatedGalaxyCollectionVersionResponseList.md)
111
-
112
- ### Authorization
113
-
114
- No authorization required
115
-
116
- ### HTTP request headers
117
-
118
- - **Content-Type**: Not defined
119
- - **Accept**: application/json
120
-
@@ -315,6 +315,74 @@ module PulpAnsibleClient
315
315
  return data, status_code, headers
316
316
  end
317
317
 
318
+ # Inspect a collection
319
+ # Viewset for Ansible Collections.
320
+ # @param ansible_collection_href [String]
321
+ # @param [Hash] opts the optional parameters
322
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
323
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
324
+ # @return [AnsibleCollectionResponse]
325
+ def read(ansible_collection_href, opts = {})
326
+ data, _status_code, _headers = read_with_http_info(ansible_collection_href, opts)
327
+ data
328
+ end
329
+
330
+ # Inspect a collection
331
+ # Viewset for Ansible Collections.
332
+ # @param ansible_collection_href [String]
333
+ # @param [Hash] opts the optional parameters
334
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
335
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
336
+ # @return [Array<(AnsibleCollectionResponse, Integer, Hash)>] AnsibleCollectionResponse data, response status code and response headers
337
+ def read_with_http_info(ansible_collection_href, opts = {})
338
+ if @api_client.config.debugging
339
+ @api_client.config.logger.debug 'Calling API: AnsibleCollectionsApi.read ...'
340
+ end
341
+ # verify the required parameter 'ansible_collection_href' is set
342
+ if @api_client.config.client_side_validation && ansible_collection_href.nil?
343
+ fail ArgumentError, "Missing the required parameter 'ansible_collection_href' when calling AnsibleCollectionsApi.read"
344
+ end
345
+ # resource path
346
+ local_var_path = '{ansible_collection_href}'.sub('{' + 'ansible_collection_href' + '}', CGI.escape(ansible_collection_href.to_s).gsub('%2F', '/'))
347
+
348
+ # query parameters
349
+ query_params = opts[:query_params] || {}
350
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
351
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
352
+
353
+ # header parameters
354
+ header_params = opts[:header_params] || {}
355
+ # HTTP header 'Accept' (if needed)
356
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
357
+
358
+ # form parameters
359
+ form_params = opts[:form_params] || {}
360
+
361
+ # http body (model)
362
+ post_body = opts[:body]
363
+
364
+ # return_type
365
+ return_type = opts[:return_type] || 'AnsibleCollectionResponse'
366
+
367
+ # auth_names
368
+ auth_names = opts[:auth_names] || ['basicAuth']
369
+
370
+ new_options = opts.merge(
371
+ :header_params => header_params,
372
+ :query_params => query_params,
373
+ :form_params => form_params,
374
+ :body => post_body,
375
+ :auth_names => auth_names,
376
+ :return_type => return_type
377
+ )
378
+
379
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
380
+ if @api_client.config.debugging
381
+ @api_client.config.logger.debug "API called: AnsibleCollectionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
382
+ end
383
+ return data, status_code, headers
384
+ end
385
+
318
386
  # Remove a role
319
387
  # Remove a role for this object from users/groups.
320
388
  # @param ansible_collection_href [String]