pulp_ansible_client 0.21.6 → 0.21.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  4. data/docs/AnsibleCollectionRemoteResponse.md +2 -2
  5. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  6. data/docs/AnsibleCollectionVersion.md +5 -5
  7. data/docs/AnsibleCollectionVersionResponse.md +6 -4
  8. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  9. data/docs/AnsibleCollectionsApi.md +1 -1
  10. data/docs/AnsibleCopyApi.md +1 -1
  11. data/docs/AnsibleGitRemote.md +28 -28
  12. data/docs/AnsibleGitRemoteResponse.md +30 -30
  13. data/docs/AnsibleRole.md +3 -3
  14. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  15. data/docs/AnsibleRoleResponse.md +5 -3
  16. data/docs/ApiCollectionsApi.md +1 -1
  17. data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
  18. data/docs/ApiRolesApi.md +1 -1
  19. data/docs/CollectionImportApi.md +1 -1
  20. data/docs/ContentCollectionDeprecationsApi.md +1 -1
  21. data/docs/ContentCollectionMarksApi.md +1 -1
  22. data/docs/ContentCollectionSignaturesApi.md +1 -1
  23. data/docs/ContentCollectionVersionsApi.md +5 -5
  24. data/docs/ContentNamespacesApi.md +1 -1
  25. data/docs/ContentRolesApi.md +1 -1
  26. data/docs/DistributionsAnsibleApi.md +1 -1
  27. data/docs/GalaxyDetailApi.md +1 -1
  28. data/docs/PaginatedGalaxyCollectionResponseList.md +2 -2
  29. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +2 -2
  30. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  31. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  32. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  33. data/docs/PaginatedTagResponseList.md +2 -2
  34. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  35. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  36. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  37. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  38. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  39. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  40. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  41. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  42. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  43. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  44. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  45. data/docs/PatchedansibleGitRemote.md +28 -28
  46. data/docs/PulpAnsibleApiApi.md +1 -1
  47. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  48. data/docs/PulpAnsibleApiV3Api.md +1 -1
  49. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  50. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  51. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  52. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  53. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  54. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  55. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
  56. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  57. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  58. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  59. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  60. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  61. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  62. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  63. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  64. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  65. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  66. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  67. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  68. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  69. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  70. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  71. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  72. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  73. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  74. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  75. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  76. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  77. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  78. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  79. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  80. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  81. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  82. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  83. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  84. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
  85. data/docs/PulpAnsibleTagsApi.md +1 -1
  86. data/docs/RemotesCollectionApi.md +1 -1
  87. data/docs/RemotesGitApi.md +1 -1
  88. data/docs/RemotesRoleApi.md +1 -1
  89. data/docs/RepositoriesAnsibleApi.md +1 -1
  90. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  91. data/docs/RepositoryResponse.md +2 -0
  92. data/docs/RepositoryVersionResponse.md +2 -0
  93. data/docs/VersionsApi.md +1 -1
  94. data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
  95. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
  97. data/lib/pulp_ansible_client/configuration.rb +2 -2
  98. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  99. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  100. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +31 -31
  101. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  102. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
  103. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +24 -14
  104. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  105. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +247 -247
  106. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +170 -170
  107. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  108. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  109. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +31 -31
  110. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -10
  111. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +10 -0
  112. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +10 -0
  113. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  114. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  115. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  116. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  117. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  118. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  119. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  120. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  121. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  122. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  123. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  124. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  125. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  126. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  127. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  128. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  129. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
  130. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  131. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  132. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  133. data/lib/pulp_ansible_client/version.rb +1 -1
  134. data/lib/pulp_ansible_client.rb +1 -1
  135. data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
  136. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  137. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
  138. data/spec/configuration_spec.rb +3 -3
  139. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  140. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  141. data/spec/models/ansible_collection_version_response_spec.rb +8 -2
  142. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  143. data/spec/models/ansible_collection_version_spec.rb +4 -4
  144. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  145. data/spec/models/ansible_git_remote_spec.rb +19 -19
  146. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  147. data/spec/models/ansible_role_response_spec.rb +9 -3
  148. data/spec/models/ansible_role_spec.rb +2 -2
  149. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  150. data/spec/models/repository_response_spec.rb +6 -0
  151. data/spec/models/repository_version_response_spec.rb +6 -0
  152. metadata +144 -144
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsAllApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3NamespacesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,10 +1,10 @@
1
1
  # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
7
+ [**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ | List cross repository collection version indexs
8
8
  [**rebuild**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
9
9
 
10
10
 
@@ -13,7 +13,7 @@ Method | HTTP request | Description
13
13
 
14
14
  > PaginatedCollectionVersionSearchListResponseList list(opts)
15
15
 
16
-
16
+ List cross repository collection version indexs
17
17
 
18
18
  A viewset for cross-repo searches.
19
19
 
@@ -59,6 +59,7 @@ opts = {
59
59
  }
60
60
 
61
61
  begin
62
+ #List cross repository collection version indexs
62
63
  result = api_instance.list(opts)
63
64
  p result
64
65
  rescue PulpAnsibleClient::ApiError => e
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::PulpAnsibleTagsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::RemotesCollectionApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::RemotesGitApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::RemotesRoleApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::RepositoriesAnsibleApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::RepositoriesAnsibleVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -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
@@ -1,6 +1,6 @@
1
1
  # PulpAnsibleClient::VersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -13,14 +13,15 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'cgi'
14
14
 
15
15
  module PulpAnsibleClient
16
- class PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi
16
+ class ApiPluginAnsibleSearchCollectionVersionsApi
17
17
  attr_accessor :api_client
18
18
 
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # List cross repository collection version indexs
22
23
  # A viewset for cross-repo searches.
23
- # @param path [String]
24
+ # @param ansible_cross_repository_collection_version_index_href [String]
24
25
  # @param [Hash] opts the optional parameters
25
26
  # @option opts [String] :dependency
26
27
  # @option opts [Boolean] :deprecated
@@ -48,13 +49,14 @@ module PulpAnsibleClient
48
49
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
50
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
51
  # @return [PaginatedCollectionVersionSearchListResponseList]
51
- def list(path, opts = {})
52
- data, _status_code, _headers = list_with_http_info(path, opts)
52
+ def list(ansible_cross_repository_collection_version_index_href, opts = {})
53
+ data, _status_code, _headers = list_with_http_info(ansible_cross_repository_collection_version_index_href, opts)
53
54
  data
54
55
  end
55
56
 
57
+ # List cross repository collection version indexs
56
58
  # A viewset for cross-repo searches.
57
- # @param path [String]
59
+ # @param ansible_cross_repository_collection_version_index_href [String]
58
60
  # @param [Hash] opts the optional parameters
59
61
  # @option opts [String] :dependency
60
62
  # @option opts [Boolean] :deprecated
@@ -82,20 +84,20 @@ module PulpAnsibleClient
82
84
  # @option opts [Array<String>] :fields A list of fields to include in the response.
83
85
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
84
86
  # @return [Array<(PaginatedCollectionVersionSearchListResponseList, Integer, Hash)>] PaginatedCollectionVersionSearchListResponseList data, response status code and response headers
85
- def list_with_http_info(path, opts = {})
87
+ def list_with_http_info(ansible_cross_repository_collection_version_index_href, opts = {})
86
88
  if @api_client.config.debugging
87
- @api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.list ...'
89
+ @api_client.config.logger.debug 'Calling API: ApiPluginAnsibleSearchCollectionVersionsApi.list ...'
88
90
  end
89
- # verify the required parameter 'path' is set
90
- if @api_client.config.client_side_validation && path.nil?
91
- fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.list"
91
+ # verify the required parameter 'ansible_cross_repository_collection_version_index_href' is set
92
+ if @api_client.config.client_side_validation && ansible_cross_repository_collection_version_index_href.nil?
93
+ fail ArgumentError, "Missing the required parameter 'ansible_cross_repository_collection_version_index_href' when calling ApiPluginAnsibleSearchCollectionVersionsApi.list"
92
94
  end
93
95
  allowable_values = ["-name", "-namespace", "-pulp_created", "-version", "name", "namespace", "pulp_created", "version"]
94
96
  if @api_client.config.client_side_validation && opts[:'order_by'] && !opts[:'order_by'].all? { |item| allowable_values.include?(item) }
95
97
  fail ArgumentError, "invalid value for \"order_by\", must include one of #{allowable_values}"
96
98
  end
97
99
  # resource path
98
- local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
100
+ local_var_path = '{ansible_cross_repository_collection_version_index_href}api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'ansible_cross_repository_collection_version_index_href' + '}', CGI.escape(ansible_cross_repository_collection_version_index_href.to_s).gsub('%2F', '/'))
99
101
 
100
102
  # query parameters
101
103
  query_params = opts[:query_params] || {}
@@ -153,40 +155,40 @@ module PulpAnsibleClient
153
155
 
154
156
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
155
157
  if @api_client.config.debugging
156
- @api_client.config.logger.debug "API called: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
158
+ @api_client.config.logger.debug "API called: ApiPluginAnsibleSearchCollectionVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
157
159
  end
158
160
  return data, status_code, headers
159
161
  end
160
162
 
161
163
  # A viewset for cross-repo searches.
162
- # @param path [String]
164
+ # @param ansible_cross_repository_collection_version_index_href [String]
163
165
  # @param collection_version_search_list [CollectionVersionSearchList]
164
166
  # @param [Hash] opts the optional parameters
165
167
  # @return [CollectionVersionSearchListResponse]
166
- def rebuild(path, collection_version_search_list, opts = {})
167
- data, _status_code, _headers = rebuild_with_http_info(path, collection_version_search_list, opts)
168
+ def rebuild(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts = {})
169
+ data, _status_code, _headers = rebuild_with_http_info(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts)
168
170
  data
169
171
  end
170
172
 
171
173
  # A viewset for cross-repo searches.
172
- # @param path [String]
174
+ # @param ansible_cross_repository_collection_version_index_href [String]
173
175
  # @param collection_version_search_list [CollectionVersionSearchList]
174
176
  # @param [Hash] opts the optional parameters
175
177
  # @return [Array<(CollectionVersionSearchListResponse, Integer, Hash)>] CollectionVersionSearchListResponse data, response status code and response headers
176
- def rebuild_with_http_info(path, collection_version_search_list, opts = {})
178
+ def rebuild_with_http_info(ansible_cross_repository_collection_version_index_href, collection_version_search_list, opts = {})
177
179
  if @api_client.config.debugging
178
- @api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild ...'
180
+ @api_client.config.logger.debug 'Calling API: ApiPluginAnsibleSearchCollectionVersionsApi.rebuild ...'
179
181
  end
180
- # verify the required parameter 'path' is set
181
- if @api_client.config.client_side_validation && path.nil?
182
- fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild"
182
+ # verify the required parameter 'ansible_cross_repository_collection_version_index_href' is set
183
+ if @api_client.config.client_side_validation && ansible_cross_repository_collection_version_index_href.nil?
184
+ fail ArgumentError, "Missing the required parameter 'ansible_cross_repository_collection_version_index_href' when calling ApiPluginAnsibleSearchCollectionVersionsApi.rebuild"
183
185
  end
184
186
  # verify the required parameter 'collection_version_search_list' is set
185
187
  if @api_client.config.client_side_validation && collection_version_search_list.nil?
186
- fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild"
188
+ fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling ApiPluginAnsibleSearchCollectionVersionsApi.rebuild"
187
189
  end
188
190
  # resource path
189
- local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
191
+ local_var_path = '{ansible_cross_repository_collection_version_index_href}api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'ansible_cross_repository_collection_version_index_href' + '}', CGI.escape(ansible_cross_repository_collection_version_index_href.to_s).gsub('%2F', '/'))
190
192
 
191
193
  # query parameters
192
194
  query_params = opts[:query_params] || {}
@@ -221,7 +223,7 @@ module PulpAnsibleClient
221
223
 
222
224
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
223
225
  if @api_client.config.debugging
224
- @api_client.config.logger.debug "API called: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi#rebuild\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
226
+ @api_client.config.logger.debug "API called: ApiPluginAnsibleSearchCollectionVersionsApi#rebuild\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
227
  end
226
228
  return data, status_code, headers
227
229
  end
@@ -22,10 +22,10 @@ module PulpAnsibleClient
22
22
  # Create a collection version
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
26
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
25
27
  # @option opts [String] :artifact Artifact file representing the physical content
26
28
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
27
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
29
29
  # @option opts [String] :expected_name The name of the collection.
30
30
  # @option opts [String] :expected_namespace The namespace of the collection.
31
31
  # @option opts [String] :expected_version The version of the collection.
@@ -38,10 +38,10 @@ module PulpAnsibleClient
38
38
  # Create a collection version
39
39
  # Trigger an asynchronous task to create content,optionally create new repository version.
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
42
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
43
  # @option opts [String] :artifact Artifact file representing the physical content
42
44
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
45
  # @option opts [String] :expected_name The name of the collection.
46
46
  # @option opts [String] :expected_namespace The namespace of the collection.
47
47
  # @option opts [String] :expected_version The version of the collection.
@@ -89,10 +89,10 @@ module PulpAnsibleClient
89
89
 
90
90
  # form parameters
91
91
  form_params = opts[:form_params] || {}
92
+ form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
93
+ form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
92
94
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
93
95
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
94
- form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
95
- form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
96
96
  form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
97
97
  form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
98
98
  form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
@@ -19,6 +19,7 @@ module PulpAnsibleClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # List cross repository collection version indexs
22
23
  # A viewset for cross-repo searches.
23
24
  # @param [Hash] opts the optional parameters
24
25
  # @option opts [String] :dependency
@@ -52,6 +53,7 @@ module PulpAnsibleClient
52
53
  data
53
54
  end
54
55
 
56
+ # List cross repository collection version indexs
55
57
  # A viewset for cross-repo searches.
56
58
  # @param [Hash] opts the optional parameters
57
59
  # @option opts [String] :dependency
@@ -128,7 +128,7 @@ module PulpAnsibleClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'pulp'
131
+ @host = 'localhost'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpAnsibleClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://pulp/",
213
+ url: "http://localhost:24817/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -20,6 +20,9 @@ module PulpAnsibleClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  attr_accessor :versions_href
24
27
 
25
28
  attr_accessor :pulp_labels
@@ -53,6 +56,7 @@ module PulpAnsibleClient
53
56
  {
54
57
  :'pulp_href' => :'pulp_href',
55
58
  :'pulp_created' => :'pulp_created',
59
+ :'pulp_last_updated' => :'pulp_last_updated',
56
60
  :'versions_href' => :'versions_href',
57
61
  :'pulp_labels' => :'pulp_labels',
58
62
  :'latest_version_href' => :'latest_version_href',
@@ -72,6 +76,7 @@ module PulpAnsibleClient
72
76
  {
73
77
  :'pulp_href' => :'String',
74
78
  :'pulp_created' => :'DateTime',
79
+ :'pulp_last_updated' => :'DateTime',
75
80
  :'versions_href' => :'String',
76
81
  :'pulp_labels' => :'Hash<String, String>',
77
82
  :'latest_version_href' => :'String',
@@ -120,6 +125,10 @@ module PulpAnsibleClient
120
125
  self.pulp_created = attributes[:'pulp_created']
121
126
  end
122
127
 
128
+ if attributes.key?(:'pulp_last_updated')
129
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
130
+ end
131
+
123
132
  if attributes.key?(:'versions_href')
124
133
  self.versions_href = attributes[:'versions_href']
125
134
  end
@@ -207,6 +216,7 @@ module PulpAnsibleClient
207
216
  self.class == o.class &&
208
217
  pulp_href == o.pulp_href &&
209
218
  pulp_created == o.pulp_created &&
219
+ pulp_last_updated == o.pulp_last_updated &&
210
220
  versions_href == o.versions_href &&
211
221
  pulp_labels == o.pulp_labels &&
212
222
  latest_version_href == o.latest_version_href &&
@@ -229,7 +239,7 @@ module PulpAnsibleClient
229
239
  # Calculates hash code according to all attributes.
230
240
  # @return [Integer] Hash code
231
241
  def hash
232
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task, private].hash
242
+ [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task, private].hash
233
243
  end
234
244
 
235
245
  # Builds the object from hash
@@ -364,20 +364,20 @@ module PulpAnsibleClient
364
364
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
365
365
  end
366
366
 
367
- if !@total_timeout.nil? && @total_timeout < 0.0
368
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
367
+ if !@total_timeout.nil? && @total_timeout < 0
368
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
369
369
  end
370
370
 
371
- if !@connect_timeout.nil? && @connect_timeout < 0.0
372
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
371
+ if !@connect_timeout.nil? && @connect_timeout < 0
372
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
373
373
  end
374
374
 
375
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
376
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
375
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
376
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
377
377
  end
378
378
 
379
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
380
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
379
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
380
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
381
381
  end
382
382
 
383
383
  if !@requirements_file.nil? && @requirements_file.to_s.length < 1
@@ -419,10 +419,10 @@ module PulpAnsibleClient
419
419
  return false if !@username.nil? && @username.to_s.length < 1
420
420
  return false if !@password.nil? && @password.to_s.length < 1
421
421
  return false if !@download_concurrency.nil? && @download_concurrency < 1
422
- return false if !@total_timeout.nil? && @total_timeout < 0.0
423
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
424
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
425
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
422
+ return false if !@total_timeout.nil? && @total_timeout < 0
423
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
424
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
425
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
426
426
  return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
427
427
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
428
428
  return false if !@auth_url.nil? && @auth_url.to_s.length < 1
@@ -552,8 +552,8 @@ module PulpAnsibleClient
552
552
  # Custom attribute writer method with validation
553
553
  # @param [Object] total_timeout Value to be assigned
554
554
  def total_timeout=(total_timeout)
555
- if !total_timeout.nil? && total_timeout < 0.0
556
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
555
+ if !total_timeout.nil? && total_timeout < 0
556
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
557
557
  end
558
558
 
559
559
  @total_timeout = total_timeout
@@ -562,8 +562,8 @@ module PulpAnsibleClient
562
562
  # Custom attribute writer method with validation
563
563
  # @param [Object] connect_timeout Value to be assigned
564
564
  def connect_timeout=(connect_timeout)
565
- if !connect_timeout.nil? && connect_timeout < 0.0
566
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
565
+ if !connect_timeout.nil? && connect_timeout < 0
566
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
567
567
  end
568
568
 
569
569
  @connect_timeout = connect_timeout
@@ -572,8 +572,8 @@ module PulpAnsibleClient
572
572
  # Custom attribute writer method with validation
573
573
  # @param [Object] sock_connect_timeout Value to be assigned
574
574
  def sock_connect_timeout=(sock_connect_timeout)
575
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
576
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
575
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
576
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
577
577
  end
578
578
 
579
579
  @sock_connect_timeout = sock_connect_timeout
@@ -582,8 +582,8 @@ module PulpAnsibleClient
582
582
  # Custom attribute writer method with validation
583
583
  # @param [Object] sock_read_timeout Value to be assigned
584
584
  def sock_read_timeout=(sock_read_timeout)
585
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
586
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
585
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
586
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
587
587
  end
588
588
 
589
589
  @sock_read_timeout = sock_read_timeout