pulp_ansible_client 0.24.1 → 0.24.2

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -4
  3. data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
  4. data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
  5. data/docs/AnsibleCollectionVersionResponse.md +8 -6
  6. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  7. data/docs/AnsibleGitRemote.md +26 -26
  8. data/docs/AnsibleGitRemoteResponse.md +28 -28
  9. data/docs/AnsibleRole.md +2 -0
  10. data/docs/AnsibleRoleResponse.md +8 -6
  11. data/docs/ContentCollectionDeprecationsApi.md +148 -0
  12. data/docs/ContentCollectionMarksApi.md +150 -2
  13. data/docs/ContentCollectionSignaturesApi.md +152 -2
  14. data/docs/ContentCollectionVersionsApi.md +156 -6
  15. data/docs/ContentNamespacesApi.md +4 -2
  16. data/docs/ContentRolesApi.md +150 -2
  17. data/docs/PatchedansibleGitRemote.md +26 -26
  18. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -2
  19. data/docs/PulpAnsibleApiV3NamespacesApi.md +2 -2
  20. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
  21. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +2 -2
  22. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -2
  23. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +2 -2
  24. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
  25. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +2 -2
  26. data/docs/RemotesGitApi.md +2 -2
  27. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +151 -0
  28. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +154 -3
  29. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +157 -3
  30. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +163 -9
  31. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -3
  32. data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
  33. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -3
  34. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +3 -3
  35. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
  36. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
  37. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -3
  38. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +3 -3
  39. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
  40. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
  41. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +13 -1
  42. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +13 -1
  43. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -24
  44. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
  45. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +219 -219
  46. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
  47. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
  48. data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -27
  49. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +209 -209
  50. data/lib/pulp_ansible_client/version.rb +1 -1
  51. data/spec/api/content_collection_deprecations_api_spec.rb +27 -0
  52. data/spec/api/content_collection_marks_api_spec.rb +28 -1
  53. data/spec/api/content_collection_signatures_api_spec.rb +29 -1
  54. data/spec/api/content_collection_versions_api_spec.rb +31 -3
  55. data/spec/api/content_namespaces_api_spec.rb +2 -1
  56. data/spec/api/content_roles_api_spec.rb +28 -1
  57. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -1
  58. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +1 -1
  59. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
  60. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
  61. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -1
  62. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +1 -1
  63. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
  64. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
  65. data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
  66. data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
  67. data/spec/models/ansible_collection_version_response_spec.rb +10 -4
  68. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  69. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  70. data/spec/models/ansible_git_remote_spec.rb +17 -17
  71. data/spec/models/ansible_role_response_spec.rb +11 -5
  72. data/spec/models/ansible_role_spec.rb +6 -0
  73. data/spec/models/patchedansible_git_remote_spec.rb +17 -17
  74. metadata +123 -123
@@ -107,11 +107,12 @@ module PulpAnsibleClient
107
107
  # @option opts [String] :name2
108
108
  # @option opts [String] :namespace2
109
109
  # @option opts [Integer] :offset The initial index from which to return the results.
110
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
110
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
111
111
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
112
112
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
113
113
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
114
114
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
115
+ # @option opts [String] :pulp_label_select Filter labels by search string
115
116
  # @option opts [String] :q
116
117
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
117
118
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -135,11 +136,12 @@ module PulpAnsibleClient
135
136
  # @option opts [String] :name2
136
137
  # @option opts [String] :namespace2
137
138
  # @option opts [Integer] :offset The initial index from which to return the results.
138
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
139
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;version_major&#x60; - Version major * &#x60;-version_major&#x60; - Version major (descending) * &#x60;version_minor&#x60; - Version minor * &#x60;-version_minor&#x60; - Version minor (descending) * &#x60;version_patch&#x60; - Version patch * &#x60;-version_patch&#x60; - Version patch (descending) * &#x60;version_prerelease&#x60; - Version prerelease * &#x60;-version_prerelease&#x60; - Version prerelease (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
139
140
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
140
141
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
141
142
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
142
143
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
144
+ # @option opts [String] :pulp_label_select Filter labels by search string
143
145
  # @option opts [String] :q
144
146
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
145
147
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -165,7 +167,7 @@ module PulpAnsibleClient
165
167
  if @api_client.config.client_side_validation && namespace.nil?
166
168
  fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
167
169
  end
168
- allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
170
+ allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
169
171
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
170
172
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
171
173
  end
@@ -183,6 +185,7 @@ module PulpAnsibleClient
183
185
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
184
186
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
185
187
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
188
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
186
189
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
187
190
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
188
191
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -227,7 +227,7 @@ module PulpAnsibleClient
227
227
  # @option opts [String] :name__regex Filter results where name matches regex value
228
228
  # @option opts [String] :name__startswith Filter results where name starts with value
229
229
  # @option opts [Integer] :offset The initial index from which to return the results.
230
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;company&#x60; - Company * &#x60;-company&#x60; - Company (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;resources&#x60; - Resources * &#x60;-resources&#x60; - Resources (descending) * &#x60;links&#x60; - Links * &#x60;-links&#x60; - Links (descending) * &#x60;avatar_sha256&#x60; - Avatar sha256 * &#x60;-avatar_sha256&#x60; - Avatar sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
230
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;company&#x60; - Company * &#x60;-company&#x60; - Company (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;resources&#x60; - Resources * &#x60;-resources&#x60; - Resources (descending) * &#x60;links&#x60; - Links * &#x60;-links&#x60; - Links (descending) * &#x60;avatar_sha256&#x60; - Avatar sha256 * &#x60;-avatar_sha256&#x60; - Avatar sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
231
231
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
232
232
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
233
233
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -265,7 +265,7 @@ module PulpAnsibleClient
265
265
  # @option opts [String] :name__regex Filter results where name matches regex value
266
266
  # @option opts [String] :name__startswith Filter results where name starts with value
267
267
  # @option opts [Integer] :offset The initial index from which to return the results.
268
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;company&#x60; - Company * &#x60;-company&#x60; - Company (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;resources&#x60; - Resources * &#x60;-resources&#x60; - Resources (descending) * &#x60;links&#x60; - Links * &#x60;-links&#x60; - Links (descending) * &#x60;avatar_sha256&#x60; - Avatar sha256 * &#x60;-avatar_sha256&#x60; - Avatar sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
268
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;company&#x60; - Company * &#x60;-company&#x60; - Company (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;resources&#x60; - Resources * &#x60;-resources&#x60; - Resources (descending) * &#x60;links&#x60; - Links * &#x60;-links&#x60; - Links (descending) * &#x60;avatar_sha256&#x60; - Avatar sha256 * &#x60;-avatar_sha256&#x60; - Avatar sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
269
269
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
270
270
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
271
271
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -281,7 +281,7 @@ module PulpAnsibleClient
281
281
  if @api_client.config.client_side_validation && distro_base_path.nil?
282
282
  fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.list"
283
283
  end
284
- allowable_values = ["-avatar_sha256", "-company", "-description", "-email", "-links", "-metadata_sha256", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-resources", "-timestamp_of_interest", "-upstream_id", "avatar_sha256", "company", "description", "email", "links", "metadata_sha256", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "resources", "timestamp_of_interest", "upstream_id"]
284
+ allowable_values = ["-avatar_sha256", "-company", "-description", "-email", "-links", "-metadata_sha256", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-resources", "-timestamp_of_interest", "-upstream_id", "avatar_sha256", "company", "description", "email", "links", "metadata_sha256", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "resources", "timestamp_of_interest", "upstream_id"]
285
285
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
286
286
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
287
287
  end
@@ -19,6 +19,9 @@ module PulpAnsibleClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  # The name of the Collection.
23
26
  attr_accessor :name
24
27
 
@@ -29,6 +32,7 @@ module PulpAnsibleClient
29
32
  def self.attribute_map
30
33
  {
31
34
  :'repository' => :'repository',
35
+ :'pulp_labels' => :'pulp_labels',
32
36
  :'name' => :'name',
33
37
  :'namespace' => :'namespace'
34
38
  }
@@ -43,6 +47,7 @@ module PulpAnsibleClient
43
47
  def self.openapi_types
44
48
  {
45
49
  :'repository' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>',
46
51
  :'name' => :'String',
47
52
  :'namespace' => :'String'
48
53
  }
@@ -73,6 +78,12 @@ module PulpAnsibleClient
73
78
  self.repository = attributes[:'repository']
74
79
  end
75
80
 
81
+ if attributes.key?(:'pulp_labels')
82
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
83
+ self.pulp_labels = value
84
+ end
85
+ end
86
+
76
87
  if attributes.key?(:'name')
77
88
  self.name = attributes[:'name']
78
89
  else
@@ -155,6 +166,7 @@ module PulpAnsibleClient
155
166
  return true if self.equal?(o)
156
167
  self.class == o.class &&
157
168
  repository == o.repository &&
169
+ pulp_labels == o.pulp_labels &&
158
170
  name == o.name &&
159
171
  namespace == o.namespace
160
172
  end
@@ -168,7 +180,7 @@ module PulpAnsibleClient
168
180
  # Calculates hash code according to all attributes.
169
181
  # @return [Integer] Hash code
170
182
  def hash
171
- [repository, name, namespace].hash
183
+ [repository, pulp_labels, name, namespace].hash
172
184
  end
173
185
 
174
186
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpAnsibleClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # The name of the Collection.
31
34
  attr_accessor :name
32
35
 
@@ -40,6 +43,7 @@ module PulpAnsibleClient
40
43
  :'prn' => :'prn',
41
44
  :'pulp_created' => :'pulp_created',
42
45
  :'pulp_last_updated' => :'pulp_last_updated',
46
+ :'pulp_labels' => :'pulp_labels',
43
47
  :'name' => :'name',
44
48
  :'namespace' => :'namespace'
45
49
  }
@@ -57,6 +61,7 @@ module PulpAnsibleClient
57
61
  :'prn' => :'String',
58
62
  :'pulp_created' => :'Time',
59
63
  :'pulp_last_updated' => :'Time',
64
+ :'pulp_labels' => :'Hash<String, String>',
60
65
  :'name' => :'String',
61
66
  :'namespace' => :'String'
62
67
  }
@@ -99,6 +104,12 @@ module PulpAnsibleClient
99
104
  self.pulp_last_updated = attributes[:'pulp_last_updated']
100
105
  end
101
106
 
107
+ if attributes.key?(:'pulp_labels')
108
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
109
+ self.pulp_labels = value
110
+ end
111
+ end
112
+
102
113
  if attributes.key?(:'name')
103
114
  self.name = attributes[:'name']
104
115
  else
@@ -146,6 +157,7 @@ module PulpAnsibleClient
146
157
  prn == o.prn &&
147
158
  pulp_created == o.pulp_created &&
148
159
  pulp_last_updated == o.pulp_last_updated &&
160
+ pulp_labels == o.pulp_labels &&
149
161
  name == o.name &&
150
162
  namespace == o.namespace
151
163
  end
@@ -159,7 +171,7 @@ module PulpAnsibleClient
159
171
  # Calculates hash code according to all attributes.
160
172
  # @return [Integer] Hash code
161
173
  def hash
162
- [pulp_href, prn, pulp_created, pulp_last_updated, name, namespace].hash
174
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, name, namespace].hash
163
175
  end
164
176
 
165
177
  # Builds the object from hash
@@ -16,20 +16,23 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for CollectionVersion Content.
18
18
  class AnsibleCollectionVersionResponse
19
- # 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.
20
- attr_accessor :pulp_last_updated
21
-
22
- # Artifact file representing the physical content
23
- attr_accessor :artifact
19
+ attr_accessor :pulp_href
24
20
 
25
21
  # Timestamp of creation.
26
22
  attr_accessor :pulp_created
27
23
 
28
- attr_accessor :pulp_href
24
+ # Artifact file representing the physical content
25
+ attr_accessor :artifact
29
26
 
30
27
  # The Pulp Resource Name (PRN).
31
28
  attr_accessor :prn
32
29
 
30
+ # 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.
31
+ attr_accessor :pulp_last_updated
32
+
33
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
34
+ attr_accessor :pulp_labels
35
+
33
36
  # The SHA-256 checksum if available.
34
37
  attr_accessor :sha256
35
38
 
@@ -104,11 +107,12 @@ module PulpAnsibleClient
104
107
  # Attribute mapping from ruby-style variable name to JSON key.
105
108
  def self.attribute_map
106
109
  {
107
- :'pulp_last_updated' => :'pulp_last_updated',
108
- :'artifact' => :'artifact',
109
- :'pulp_created' => :'pulp_created',
110
110
  :'pulp_href' => :'pulp_href',
111
+ :'pulp_created' => :'pulp_created',
112
+ :'artifact' => :'artifact',
111
113
  :'prn' => :'prn',
114
+ :'pulp_last_updated' => :'pulp_last_updated',
115
+ :'pulp_labels' => :'pulp_labels',
112
116
  :'sha256' => :'sha256',
113
117
  :'md5' => :'md5',
114
118
  :'sha1' => :'sha1',
@@ -144,11 +148,12 @@ module PulpAnsibleClient
144
148
  # Attribute type mapping.
145
149
  def self.openapi_types
146
150
  {
147
- :'pulp_last_updated' => :'Time',
148
- :'artifact' => :'String',
149
- :'pulp_created' => :'Time',
150
151
  :'pulp_href' => :'String',
152
+ :'pulp_created' => :'Time',
153
+ :'artifact' => :'String',
151
154
  :'prn' => :'String',
155
+ :'pulp_last_updated' => :'Time',
156
+ :'pulp_labels' => :'Hash<String, String>',
152
157
  :'sha256' => :'String',
153
158
  :'md5' => :'String',
154
159
  :'sha1' => :'String',
@@ -198,26 +203,32 @@ module PulpAnsibleClient
198
203
  h[k.to_sym] = v
199
204
  }
200
205
 
201
- if attributes.key?(:'pulp_last_updated')
202
- self.pulp_last_updated = attributes[:'pulp_last_updated']
203
- end
204
-
205
- if attributes.key?(:'artifact')
206
- self.artifact = attributes[:'artifact']
206
+ if attributes.key?(:'pulp_href')
207
+ self.pulp_href = attributes[:'pulp_href']
207
208
  end
208
209
 
209
210
  if attributes.key?(:'pulp_created')
210
211
  self.pulp_created = attributes[:'pulp_created']
211
212
  end
212
213
 
213
- if attributes.key?(:'pulp_href')
214
- self.pulp_href = attributes[:'pulp_href']
214
+ if attributes.key?(:'artifact')
215
+ self.artifact = attributes[:'artifact']
215
216
  end
216
217
 
217
218
  if attributes.key?(:'prn')
218
219
  self.prn = attributes[:'prn']
219
220
  end
220
221
 
222
+ if attributes.key?(:'pulp_last_updated')
223
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
224
+ end
225
+
226
+ if attributes.key?(:'pulp_labels')
227
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
228
+ self.pulp_labels = value
229
+ end
230
+ end
231
+
221
232
  if attributes.key?(:'sha256')
222
233
  self.sha256 = attributes[:'sha256']
223
234
  end
@@ -491,11 +502,12 @@ module PulpAnsibleClient
491
502
  def ==(o)
492
503
  return true if self.equal?(o)
493
504
  self.class == o.class &&
494
- pulp_last_updated == o.pulp_last_updated &&
495
- artifact == o.artifact &&
496
- pulp_created == o.pulp_created &&
497
505
  pulp_href == o.pulp_href &&
506
+ pulp_created == o.pulp_created &&
507
+ artifact == o.artifact &&
498
508
  prn == o.prn &&
509
+ pulp_last_updated == o.pulp_last_updated &&
510
+ pulp_labels == o.pulp_labels &&
499
511
  sha256 == o.sha256 &&
500
512
  md5 == o.md5 &&
501
513
  sha1 == o.sha1 &&
@@ -531,7 +543,7 @@ module PulpAnsibleClient
531
543
  # Calculates hash code according to all attributes.
532
544
  # @return [Integer] Hash code
533
545
  def hash
534
- [pulp_last_updated, artifact, pulp_created, pulp_href, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
546
+ [pulp_href, pulp_created, artifact, prn, pulp_last_updated, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
535
547
  end
536
548
 
537
549
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpAnsibleClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # The content this signature is pointing to.
31
34
  attr_accessor :signed_collection
32
35
 
@@ -43,6 +46,7 @@ module PulpAnsibleClient
43
46
  :'prn' => :'prn',
44
47
  :'pulp_created' => :'pulp_created',
45
48
  :'pulp_last_updated' => :'pulp_last_updated',
49
+ :'pulp_labels' => :'pulp_labels',
46
50
  :'signed_collection' => :'signed_collection',
47
51
  :'pubkey_fingerprint' => :'pubkey_fingerprint',
48
52
  :'signing_service' => :'signing_service'
@@ -61,6 +65,7 @@ module PulpAnsibleClient
61
65
  :'prn' => :'String',
62
66
  :'pulp_created' => :'Time',
63
67
  :'pulp_last_updated' => :'Time',
68
+ :'pulp_labels' => :'Hash<String, String>',
64
69
  :'signed_collection' => :'String',
65
70
  :'pubkey_fingerprint' => :'String',
66
71
  :'signing_service' => :'String'
@@ -105,6 +110,12 @@ module PulpAnsibleClient
105
110
  self.pulp_last_updated = attributes[:'pulp_last_updated']
106
111
  end
107
112
 
113
+ if attributes.key?(:'pulp_labels')
114
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
+ self.pulp_labels = value
116
+ end
117
+ end
118
+
108
119
  if attributes.key?(:'signed_collection')
109
120
  self.signed_collection = attributes[:'signed_collection']
110
121
  else
@@ -149,6 +160,7 @@ module PulpAnsibleClient
149
160
  prn == o.prn &&
150
161
  pulp_created == o.pulp_created &&
151
162
  pulp_last_updated == o.pulp_last_updated &&
163
+ pulp_labels == o.pulp_labels &&
152
164
  signed_collection == o.signed_collection &&
153
165
  pubkey_fingerprint == o.pubkey_fingerprint &&
154
166
  signing_service == o.signing_service
@@ -163,7 +175,7 @@ module PulpAnsibleClient
163
175
  # Calculates hash code according to all attributes.
164
176
  # @return [Integer] Hash code
165
177
  def hash
166
- [pulp_href, prn, pulp_created, pulp_last_updated, signed_collection, pubkey_fingerprint, signing_service].hash
178
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, signed_collection, pubkey_fingerprint, signing_service].hash
167
179
  end
168
180
 
169
181
  # Builds the object from hash