pulp_ansible_client 0.22.1 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +7 -5
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignature.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +4 -2
- data/docs/AnsibleGitRemote.md +22 -22
- data/docs/AnsibleGitRemoteResponse.md +28 -26
- data/docs/AnsibleRoleRemoteResponse.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +10 -8
- data/docs/ContentCollectionMarksApi.md +10 -8
- data/docs/ContentCollectionSignaturesApi.md +13 -9
- data/docs/ContentCollectionVersionsApi.md +14 -10
- data/docs/ContentNamespacesApi.md +10 -8
- data/docs/ContentRolesApi.md +10 -8
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +22 -22
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/RemotesCollectionApi.md +4 -2
- data/docs/RemotesGitApi.md +4 -2
- data/docs/RemotesRoleApi.md +4 -2
- data/docs/RepositoriesAnsibleApi.md +8 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +8 -6
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +22 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +40 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +29 -19
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +209 -209
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +158 -148
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -14
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +208 -208
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
- data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
- data/spec/api/content_collection_marks_api_spec.rb +5 -4
- data/spec/api/content_collection_signatures_api_spec.rb +6 -4
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -4
- data/spec/api/content_roles_api_spec.rb +5 -4
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +2 -1
- data/spec/api/remotes_git_api_spec.rb +2 -1
- data/spec/api/remotes_role_api_spec.rb +2 -1
- data/spec/api/repositories_ansible_api_spec.rb +4 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +8 -2
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +8 -2
- data/spec/models/ansible_git_remote_response_spec.rb +25 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +8 -2
- data/spec/models/collection_version_search_list_spec.rb +0 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +127 -127
@@ -230,6 +230,7 @@ module PulpAnsibleClient
|
|
230
230
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
232
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
233
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
233
234
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
234
235
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
235
236
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -239,7 +240,7 @@ module PulpAnsibleClient
|
|
239
240
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
240
241
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
241
242
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
242
|
-
# @option opts [String] :q
|
243
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
243
244
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
245
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
246
|
# @return [PaginatedansibleGitRemoteResponseList]
|
@@ -263,6 +264,7 @@ module PulpAnsibleClient
|
|
263
264
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
264
265
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
265
266
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
267
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
266
268
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
267
269
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
268
270
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -272,7 +274,7 @@ module PulpAnsibleClient
|
|
272
274
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
273
275
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
274
276
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
275
|
-
# @option opts [String] :q
|
277
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
276
278
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
277
279
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
278
280
|
# @return [Array<(PaginatedansibleGitRemoteResponseList, Integer, Hash)>] PaginatedansibleGitRemoteResponseList data, response status code and response headers
|
@@ -301,6 +303,7 @@ module PulpAnsibleClient
|
|
301
303
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
302
304
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
303
305
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
306
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
304
307
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
305
308
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
306
309
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -230,6 +230,7 @@ module PulpAnsibleClient
|
|
230
230
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
232
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
233
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
233
234
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
234
235
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
235
236
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -239,7 +240,7 @@ module PulpAnsibleClient
|
|
239
240
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
240
241
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
241
242
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
242
|
-
# @option opts [String] :q
|
243
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
243
244
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
245
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
246
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
@@ -263,6 +264,7 @@ module PulpAnsibleClient
|
|
263
264
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
264
265
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
265
266
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
267
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
266
268
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
267
269
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
268
270
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -272,7 +274,7 @@ module PulpAnsibleClient
|
|
272
274
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
273
275
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
274
276
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
275
|
-
# @option opts [String] :q
|
277
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
276
278
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
277
279
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
278
280
|
# @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
|
@@ -301,6 +303,7 @@ module PulpAnsibleClient
|
|
301
303
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
302
304
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
303
305
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
306
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
304
307
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
305
308
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
306
309
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -286,7 +286,7 @@ module PulpAnsibleClient
|
|
286
286
|
# List ansible repositorys
|
287
287
|
# ViewSet for Ansible Repositories.
|
288
288
|
# @param [Hash] opts the optional parameters
|
289
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
289
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
290
290
|
# @option opts [Integer] :limit Number of results to return per page.
|
291
291
|
# @option opts [String] :name Filter results where name matches value
|
292
292
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -299,10 +299,11 @@ module PulpAnsibleClient
|
|
299
299
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
300
300
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
301
301
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
302
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
302
303
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
303
304
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
304
305
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
305
|
-
# @option opts [String] :q
|
306
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
306
307
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
307
308
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
308
309
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -312,7 +313,7 @@ module PulpAnsibleClient
|
|
312
313
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
313
314
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
314
315
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
315
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
316
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
316
317
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
317
318
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
318
319
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
@@ -324,7 +325,7 @@ module PulpAnsibleClient
|
|
324
325
|
# List ansible repositorys
|
325
326
|
# ViewSet for Ansible Repositories.
|
326
327
|
# @param [Hash] opts the optional parameters
|
327
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
328
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
328
329
|
# @option opts [Integer] :limit Number of results to return per page.
|
329
330
|
# @option opts [String] :name Filter results where name matches value
|
330
331
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -337,10 +338,11 @@ module PulpAnsibleClient
|
|
337
338
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
338
339
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
339
340
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
341
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
340
342
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
341
343
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
342
344
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
343
|
-
# @option opts [String] :q
|
345
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
344
346
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
345
347
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
346
348
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -350,7 +352,7 @@ module PulpAnsibleClient
|
|
350
352
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
351
353
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
352
354
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
353
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
355
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
354
356
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
355
357
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
356
358
|
# @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
|
@@ -380,6 +382,7 @@ module PulpAnsibleClient
|
|
380
382
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
381
383
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
382
384
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
385
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
383
386
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
384
387
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
385
388
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -85,8 +85,8 @@ module PulpAnsibleClient
|
|
85
85
|
# AnsibleRepositoryVersion represents a single file repository version.
|
86
86
|
# @param ansible_ansible_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
89
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :number Filter results where number matches value
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -96,6 +96,7 @@ module PulpAnsibleClient
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
99
100
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
101
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
102
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -103,7 +104,7 @@ module PulpAnsibleClient
|
|
103
104
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
105
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
106
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
-
# @option opts [String] :q
|
107
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
107
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
110
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -116,8 +117,8 @@ module PulpAnsibleClient
|
|
116
117
|
# AnsibleRepositoryVersion represents a single file repository version.
|
117
118
|
# @param ansible_ansible_repository_href [String]
|
118
119
|
# @param [Hash] opts the optional parameters
|
119
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
120
|
-
# @option opts [String] :content__in
|
120
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
121
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
121
122
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
123
|
# @option opts [Integer] :number Filter results where number matches value
|
123
124
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -127,6 +128,7 @@ module PulpAnsibleClient
|
|
127
128
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
128
129
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
130
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
131
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
130
132
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
131
133
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
132
134
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -134,7 +136,7 @@ module PulpAnsibleClient
|
|
134
136
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
135
137
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
136
138
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
137
|
-
# @option opts [String] :q
|
139
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
138
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
139
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
142
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -156,7 +158,7 @@ module PulpAnsibleClient
|
|
156
158
|
# query parameters
|
157
159
|
query_params = opts[:query_params] || {}
|
158
160
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
159
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
161
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
160
162
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
161
163
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
162
164
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
@@ -166,6 +168,7 @@ module PulpAnsibleClient
|
|
166
168
|
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
167
169
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
168
170
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
171
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
169
172
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
170
173
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
171
174
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleAnsibleCollectionDeprecatedResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -33,6 +36,7 @@ module PulpAnsibleClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
39
|
+
:'prn' => :'prn',
|
36
40
|
:'pulp_created' => :'pulp_created',
|
37
41
|
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'name' => :'name',
|
@@ -44,6 +48,7 @@ module PulpAnsibleClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
51
|
+
:'prn' => :'String',
|
47
52
|
:'pulp_created' => :'DateTime',
|
48
53
|
:'pulp_last_updated' => :'DateTime',
|
49
54
|
:'name' => :'String',
|
@@ -76,6 +81,10 @@ module PulpAnsibleClient
|
|
76
81
|
self.pulp_href = attributes[:'pulp_href']
|
77
82
|
end
|
78
83
|
|
84
|
+
if attributes.key?(:'prn')
|
85
|
+
self.prn = attributes[:'prn']
|
86
|
+
end
|
87
|
+
|
79
88
|
if attributes.key?(:'pulp_created')
|
80
89
|
self.pulp_created = attributes[:'pulp_created']
|
81
90
|
end
|
@@ -122,6 +131,7 @@ module PulpAnsibleClient
|
|
122
131
|
return true if self.equal?(o)
|
123
132
|
self.class == o.class &&
|
124
133
|
pulp_href == o.pulp_href &&
|
134
|
+
prn == o.prn &&
|
125
135
|
pulp_created == o.pulp_created &&
|
126
136
|
pulp_last_updated == o.pulp_last_updated &&
|
127
137
|
name == o.name &&
|
@@ -137,7 +147,7 @@ module PulpAnsibleClient
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[pulp_href, pulp_created, pulp_last_updated, name, namespace].hash
|
150
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, namespace].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleAnsibleRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -55,6 +58,7 @@ module PulpAnsibleClient
|
|
55
58
|
def self.attribute_map
|
56
59
|
{
|
57
60
|
:'pulp_href' => :'pulp_href',
|
61
|
+
:'prn' => :'prn',
|
58
62
|
:'pulp_created' => :'pulp_created',
|
59
63
|
:'pulp_last_updated' => :'pulp_last_updated',
|
60
64
|
:'versions_href' => :'versions_href',
|
@@ -75,6 +79,7 @@ module PulpAnsibleClient
|
|
75
79
|
def self.openapi_types
|
76
80
|
{
|
77
81
|
:'pulp_href' => :'String',
|
82
|
+
:'prn' => :'String',
|
78
83
|
:'pulp_created' => :'DateTime',
|
79
84
|
:'pulp_last_updated' => :'DateTime',
|
80
85
|
:'versions_href' => :'String',
|
@@ -121,6 +126,10 @@ module PulpAnsibleClient
|
|
121
126
|
self.pulp_href = attributes[:'pulp_href']
|
122
127
|
end
|
123
128
|
|
129
|
+
if attributes.key?(:'prn')
|
130
|
+
self.prn = attributes[:'prn']
|
131
|
+
end
|
132
|
+
|
124
133
|
if attributes.key?(:'pulp_created')
|
125
134
|
self.pulp_created = attributes[:'pulp_created']
|
126
135
|
end
|
@@ -215,6 +224,7 @@ module PulpAnsibleClient
|
|
215
224
|
return true if self.equal?(o)
|
216
225
|
self.class == o.class &&
|
217
226
|
pulp_href == o.pulp_href &&
|
227
|
+
prn == o.prn &&
|
218
228
|
pulp_created == o.pulp_created &&
|
219
229
|
pulp_last_updated == o.pulp_last_updated &&
|
220
230
|
versions_href == o.versions_href &&
|
@@ -239,7 +249,7 @@ module PulpAnsibleClient
|
|
239
249
|
# Calculates hash code according to all attributes.
|
240
250
|
# @return [Integer] Hash code
|
241
251
|
def 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
|
252
|
+
[pulp_href, prn, 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
|
243
253
|
end
|
244
254
|
|
245
255
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleCollectionRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -91,6 +94,7 @@ module PulpAnsibleClient
|
|
91
94
|
def self.attribute_map
|
92
95
|
{
|
93
96
|
:'pulp_href' => :'pulp_href',
|
97
|
+
:'prn' => :'prn',
|
94
98
|
:'pulp_created' => :'pulp_created',
|
95
99
|
:'pulp_last_updated' => :'pulp_last_updated',
|
96
100
|
:'name' => :'name',
|
@@ -122,6 +126,7 @@ module PulpAnsibleClient
|
|
122
126
|
def self.openapi_types
|
123
127
|
{
|
124
128
|
:'pulp_href' => :'String',
|
129
|
+
:'prn' => :'String',
|
125
130
|
:'pulp_created' => :'DateTime',
|
126
131
|
:'pulp_last_updated' => :'DateTime',
|
127
132
|
:'name' => :'String',
|
@@ -186,6 +191,10 @@ module PulpAnsibleClient
|
|
186
191
|
self.pulp_href = attributes[:'pulp_href']
|
187
192
|
end
|
188
193
|
|
194
|
+
if attributes.key?(:'prn')
|
195
|
+
self.prn = attributes[:'prn']
|
196
|
+
end
|
197
|
+
|
189
198
|
if attributes.key?(:'pulp_created')
|
190
199
|
self.pulp_created = attributes[:'pulp_created']
|
191
200
|
end
|
@@ -412,6 +421,7 @@ module PulpAnsibleClient
|
|
412
421
|
return true if self.equal?(o)
|
413
422
|
self.class == o.class &&
|
414
423
|
pulp_href == o.pulp_href &&
|
424
|
+
prn == o.prn &&
|
415
425
|
pulp_created == o.pulp_created &&
|
416
426
|
pulp_last_updated == o.pulp_last_updated &&
|
417
427
|
name == o.name &&
|
@@ -447,7 +457,7 @@ module PulpAnsibleClient
|
|
447
457
|
# Calculates hash code according to all attributes.
|
448
458
|
# @return [Integer] Hash code
|
449
459
|
def hash
|
450
|
-
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, requirements_file, auth_url, sync_dependencies, signed_only, last_sync_task].hash
|
460
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, requirements_file, auth_url, sync_dependencies, signed_only, last_sync_task].hash
|
451
461
|
end
|
452
462
|
|
453
463
|
# Builds the object from hash
|
@@ -15,17 +15,20 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
+
# An uploaded file that may be turned into the content unit.
|
19
|
+
attr_accessor :file
|
20
|
+
|
18
21
|
# A URI of a repository the new content unit should be associated with.
|
19
22
|
attr_accessor :repository
|
20
23
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
24
|
+
# Artifact file representing the physical content
|
25
|
+
attr_accessor :artifact
|
23
26
|
|
24
27
|
# An uncommitted upload that may be turned into the content unit.
|
25
28
|
attr_accessor :upload
|
26
29
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
30
|
+
# A url that Pulp can download and turn into the content unit.
|
31
|
+
attr_accessor :file_url
|
29
32
|
|
30
33
|
# The name of the collection.
|
31
34
|
attr_accessor :expected_name
|
@@ -39,10 +42,11 @@ module PulpAnsibleClient
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
43
|
def self.attribute_map
|
41
44
|
{
|
42
|
-
:'repository' => :'repository',
|
43
45
|
:'file' => :'file',
|
44
|
-
:'
|
46
|
+
:'repository' => :'repository',
|
45
47
|
:'artifact' => :'artifact',
|
48
|
+
:'upload' => :'upload',
|
49
|
+
:'file_url' => :'file_url',
|
46
50
|
:'expected_name' => :'expected_name',
|
47
51
|
:'expected_namespace' => :'expected_namespace',
|
48
52
|
:'expected_version' => :'expected_version'
|
@@ -52,10 +56,11 @@ module PulpAnsibleClient
|
|
52
56
|
# Attribute type mapping.
|
53
57
|
def self.openapi_types
|
54
58
|
{
|
55
|
-
:'repository' => :'String',
|
56
59
|
:'file' => :'File',
|
57
|
-
:'
|
60
|
+
:'repository' => :'String',
|
58
61
|
:'artifact' => :'String',
|
62
|
+
:'upload' => :'String',
|
63
|
+
:'file_url' => :'String',
|
59
64
|
:'expected_name' => :'String',
|
60
65
|
:'expected_namespace' => :'String',
|
61
66
|
:'expected_version' => :'String'
|
@@ -83,20 +88,24 @@ module PulpAnsibleClient
|
|
83
88
|
h[k.to_sym] = v
|
84
89
|
}
|
85
90
|
|
91
|
+
if attributes.key?(:'file')
|
92
|
+
self.file = attributes[:'file']
|
93
|
+
end
|
94
|
+
|
86
95
|
if attributes.key?(:'repository')
|
87
96
|
self.repository = attributes[:'repository']
|
88
97
|
end
|
89
98
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
99
|
+
if attributes.key?(:'artifact')
|
100
|
+
self.artifact = attributes[:'artifact']
|
92
101
|
end
|
93
102
|
|
94
103
|
if attributes.key?(:'upload')
|
95
104
|
self.upload = attributes[:'upload']
|
96
105
|
end
|
97
106
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
107
|
+
if attributes.key?(:'file_url')
|
108
|
+
self.file_url = attributes[:'file_url']
|
100
109
|
end
|
101
110
|
|
102
111
|
if attributes.key?(:'expected_name')
|
@@ -116,6 +125,10 @@ module PulpAnsibleClient
|
|
116
125
|
# @return Array for valid properties with the reasons
|
117
126
|
def list_invalid_properties
|
118
127
|
invalid_properties = Array.new
|
128
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
129
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
130
|
+
end
|
131
|
+
|
119
132
|
if !@expected_name.nil? && @expected_name.to_s.length > 64
|
120
133
|
invalid_properties.push('invalid value for "expected_name", the character length must be smaller than or equal to 64.')
|
121
134
|
end
|
@@ -146,6 +159,7 @@ module PulpAnsibleClient
|
|
146
159
|
# Check to see if the all the properties in the model are valid
|
147
160
|
# @return true if the model is valid
|
148
161
|
def valid?
|
162
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
149
163
|
return false if !@expected_name.nil? && @expected_name.to_s.length > 64
|
150
164
|
return false if !@expected_name.nil? && @expected_name.to_s.length < 1
|
151
165
|
return false if !@expected_namespace.nil? && @expected_namespace.to_s.length > 64
|
@@ -155,6 +169,16 @@ module PulpAnsibleClient
|
|
155
169
|
true
|
156
170
|
end
|
157
171
|
|
172
|
+
# Custom attribute writer method with validation
|
173
|
+
# @param [Object] file_url Value to be assigned
|
174
|
+
def file_url=(file_url)
|
175
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
176
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
177
|
+
end
|
178
|
+
|
179
|
+
@file_url = file_url
|
180
|
+
end
|
181
|
+
|
158
182
|
# Custom attribute writer method with validation
|
159
183
|
# @param [Object] expected_name Value to be assigned
|
160
184
|
def expected_name=(expected_name)
|
@@ -202,10 +226,11 @@ module PulpAnsibleClient
|
|
202
226
|
def ==(o)
|
203
227
|
return true if self.equal?(o)
|
204
228
|
self.class == o.class &&
|
205
|
-
repository == o.repository &&
|
206
229
|
file == o.file &&
|
207
|
-
|
230
|
+
repository == o.repository &&
|
208
231
|
artifact == o.artifact &&
|
232
|
+
upload == o.upload &&
|
233
|
+
file_url == o.file_url &&
|
209
234
|
expected_name == o.expected_name &&
|
210
235
|
expected_namespace == o.expected_namespace &&
|
211
236
|
expected_version == o.expected_version
|
@@ -220,7 +245,7 @@ module PulpAnsibleClient
|
|
220
245
|
# Calculates hash code according to all attributes.
|
221
246
|
# @return [Integer] Hash code
|
222
247
|
def hash
|
223
|
-
[repository,
|
248
|
+
[file, repository, artifact, upload, file_url, expected_name, expected_namespace, expected_version].hash
|
224
249
|
end
|
225
250
|
|
226
251
|
# Builds the object from hash
|