pulp_ansible_client 0.21.5 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) 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/AnsibleCollectionVersionResponse.md +11 -9
  9. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  10. data/docs/AnsibleCollectionsApi.md +60 -0
  11. data/docs/AnsibleGitRemote.md +28 -28
  12. data/docs/AnsibleGitRemoteResponse.md +26 -26
  13. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  14. data/docs/AnsibleRoleResponse.md +6 -4
  15. data/docs/CollectionImportDetailResponse.md +2 -2
  16. data/docs/CollectionMetadataResponse.md +2 -2
  17. data/docs/CollectionSummaryResponse.md +2 -2
  18. data/docs/CollectionVersionDocsResponse.md +1 -1
  19. data/docs/CollectionVersionResponse.md +2 -2
  20. data/docs/ContentCollectionDeprecationsApi.md +10 -10
  21. data/docs/Copy.md +1 -1
  22. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  23. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedTagResponseList.md +2 -2
  26. data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
  27. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  28. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  29. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  30. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  31. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  32. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  33. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  34. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  35. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  36. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  37. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  38. data/docs/PatchedansibleGitRemote.md +28 -28
  39. data/docs/RepositoryResponse.md +2 -0
  40. data/docs/RepositoryVersionResponse.md +2 -0
  41. data/docs/VersionsApi.md +0 -55
  42. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
  43. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
  44. data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
  45. data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
  46. data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
  47. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  48. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
  49. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  50. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -20
  51. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  52. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
  53. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -153
  54. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
  55. data/lib/pulp_ansible_client/models/ansible_role_response.rb +25 -15
  56. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  57. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
  58. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  59. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  60. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  61. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  62. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  63. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  64. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  65. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  66. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
  67. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  68. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  69. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  70. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  71. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  72. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  73. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  74. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  75. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  76. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  77. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  78. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
  79. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  80. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  81. data/lib/pulp_ansible_client/version.rb +1 -1
  82. data/lib/pulp_ansible_client.rb +3 -9
  83. data/spec/api/ansible_collections_api_spec.rb +14 -0
  84. data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
  85. data/spec/api/versions_api_spec.rb +0 -14
  86. data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
  87. data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
  88. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  89. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  90. data/spec/models/ansible_collection_version_response_spec.rb +8 -2
  91. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  92. data/spec/models/ansible_git_remote_response_spec.rb +17 -17
  93. data/spec/models/ansible_git_remote_spec.rb +20 -20
  94. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  95. data/spec/models/ansible_role_response_spec.rb +8 -2
  96. data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
  97. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  98. data/spec/models/repository_response_spec.rb +6 -0
  99. data/spec/models/repository_version_response_spec.rb +6 -0
  100. metadata +135 -159
  101. data/docs/ApiCollectionsApi.md +0 -112
  102. data/docs/GalaxyCollection.md +0 -23
  103. data/docs/GalaxyCollectionResponse.md +0 -31
  104. data/docs/GalaxyCollectionVersionResponse.md +0 -27
  105. data/docs/GalaxyDetailApi.md +0 -61
  106. data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
  107. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
  108. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
  109. data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
  110. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
  111. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
  112. data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
  113. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
  114. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -237
  115. data/spec/api/api_collections_api_spec.rb +0 -61
  116. data/spec/api/galaxy_detail_api_spec.rb +0 -48
  117. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
  118. data/spec/models/galaxy_collection_response_spec.rb +0 -83
  119. data/spec/models/galaxy_collection_spec.rb +0 -59
  120. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
@@ -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
 
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
- **name** | **String** | A unique name for this remote. | [optional]
7
+ **url** | **String** | The URL of an external content source. | [optional]
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]
9
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
8
10
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
9
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
10
11
  **client_key** | **String** | A PEM encoded private key used for authentication. | [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]
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]
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]
11
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]
12
21
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
13
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
14
- **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]
15
- **url** | **String** | The URL of an external content source. | [optional]
16
- **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]
22
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
17
23
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
19
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [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]
20
25
  **pulp_labels** | **Hash<String, String>** | | [optional]
21
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
22
- **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
23
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
24
- **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]
25
- **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]
26
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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(name: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(url: null,
36
+ max_retries: null,
37
+ client_cert: null,
36
38
  tls_validation: null,
37
- proxy_username: null,
38
39
  client_key: null,
40
+ proxy_username: null,
41
+ total_timeout: null,
42
+ connect_timeout: null,
43
+ proxy_password: null,
44
+ rate_limit: null,
45
+ password: null,
46
+ sock_read_timeout: null,
39
47
  download_concurrency: null,
48
+ headers: null,
40
49
  proxy_url: null,
41
- max_retries: null,
42
- sock_connect_timeout: null,
43
- url: null,
44
- sock_read_timeout: null,
50
+ ca_cert: null,
45
51
  username: null,
46
- headers: null,
47
- proxy_password: null,
52
+ sock_connect_timeout: null,
48
53
  pulp_labels: null,
49
- ca_cert: null,
50
- password: null,
51
- rate_limit: null,
52
- total_timeout: null,
53
- connect_timeout: null,
54
- client_cert: 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]