pulp_ansible_client 0.18.4 → 0.19.0
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.
- checksums.yaml +4 -4
- data/README.md +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +158 -166
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -91,7 +91,6 @@ module PulpAnsibleClient
|
|
91
91
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
92
92
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
93
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
|
-
# @option opts [String] :q
|
95
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
96
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
97
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -111,7 +110,6 @@ module PulpAnsibleClient
|
|
111
110
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
112
111
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
113
112
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
114
|
-
# @option opts [String] :q
|
115
113
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
116
114
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
117
115
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -136,7 +134,6 @@ module PulpAnsibleClient
|
|
136
134
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
137
135
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
138
136
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
139
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
140
137
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
141
138
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
142
139
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -92,7 +92,6 @@ module PulpAnsibleClient
|
|
92
92
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
93
93
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
94
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
95
|
-
# @option opts [String] :q
|
96
95
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
96
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
97
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -115,7 +114,6 @@ module PulpAnsibleClient
|
|
115
114
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
116
115
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
116
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
118
|
-
# @option opts [String] :q
|
119
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
120
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
121
119
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -143,7 +141,6 @@ module PulpAnsibleClient
|
|
143
141
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
144
142
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
145
143
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
146
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
147
144
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
148
145
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
149
146
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -104,7 +104,6 @@ module PulpAnsibleClient
|
|
104
104
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
105
105
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
106
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
107
|
-
# @option opts [String] :q
|
108
107
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
109
108
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
110
109
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -128,7 +127,6 @@ module PulpAnsibleClient
|
|
128
127
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
129
128
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
130
129
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
131
|
-
# @option opts [String] :q
|
132
130
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
133
131
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
134
132
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -157,7 +155,6 @@ module PulpAnsibleClient
|
|
157
155
|
query_params[:'pubkey_fingerprint__in'] = @api_client.build_collection_param(opts[:'pubkey_fingerprint__in'], :csv) if !opts[:'pubkey_fingerprint__in'].nil?
|
158
156
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
159
157
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
160
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
161
158
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
162
159
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
163
160
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
25
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
28
|
-
# @option opts [
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
31
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -38,10 +38,10 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [
|
41
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
43
|
# @option opts [String] :artifact Artifact file representing the physical content
|
44
|
-
# @option opts [
|
44
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
47
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -89,10 +89,10 @@ module PulpAnsibleClient
|
|
89
89
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
|
-
form_params['
|
92
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
93
93
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
94
94
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
95
|
-
form_params['
|
95
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
98
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -130,7 +130,7 @@ module PulpAnsibleClient
|
|
130
130
|
# @option opts [String] :name
|
131
131
|
# @option opts [String] :namespace
|
132
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
133
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
133
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
134
134
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
135
135
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
136
136
|
# @option opts [String] :q
|
@@ -155,7 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [String] :name
|
156
156
|
# @option opts [String] :namespace
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
158
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
159
159
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
160
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
161
161
|
# @option opts [String] :q
|
@@ -171,7 +171,7 @@ module PulpAnsibleClient
|
|
171
171
|
if @api_client.config.debugging
|
172
172
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
173
173
|
end
|
174
|
-
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", "-timestamp_of_interest", "-upstream_id", "-version", "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", "timestamp_of_interest", "upstream_id", "version"]
|
174
|
+
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", "-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", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
175
175
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
176
176
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
177
177
|
end
|
@@ -91,11 +91,7 @@ module PulpAnsibleClient
|
|
91
91
|
# @option opts [String] :company Filter results where company matches value
|
92
92
|
# @option opts [String] :company__contains Filter results where company contains value
|
93
93
|
# @option opts [String] :company__icontains Filter results where company contains value
|
94
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
95
94
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
96
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
97
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
98
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
99
95
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
100
96
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
97
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -103,17 +99,12 @@ module PulpAnsibleClient
|
|
103
99
|
# @option opts [String] :name Filter results where name matches value
|
104
100
|
# @option opts [String] :name__contains Filter results where name contains value
|
105
101
|
# @option opts [String] :name__icontains Filter results where name contains value
|
106
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
107
102
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
108
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
109
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
110
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
111
103
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
112
104
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
105
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
114
106
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
115
107
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
116
|
-
# @option opts [String] :q
|
117
108
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
118
109
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
119
110
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -131,11 +122,7 @@ module PulpAnsibleClient
|
|
131
122
|
# @option opts [String] :company Filter results where company matches value
|
132
123
|
# @option opts [String] :company__contains Filter results where company contains value
|
133
124
|
# @option opts [String] :company__icontains Filter results where company contains value
|
134
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
135
125
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
136
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
137
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
138
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
139
126
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
140
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
141
128
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -143,17 +130,12 @@ module PulpAnsibleClient
|
|
143
130
|
# @option opts [String] :name Filter results where name matches value
|
144
131
|
# @option opts [String] :name__contains Filter results where name contains value
|
145
132
|
# @option opts [String] :name__icontains Filter results where name contains value
|
146
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
147
133
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
148
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
149
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
150
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
151
134
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
152
135
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
153
136
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
154
137
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
155
138
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
156
|
-
# @option opts [String] :q
|
157
139
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
158
140
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
159
141
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -176,11 +158,7 @@ module PulpAnsibleClient
|
|
176
158
|
query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
|
177
159
|
query_params[:'company__contains'] = opts[:'company__contains'] if !opts[:'company__contains'].nil?
|
178
160
|
query_params[:'company__icontains'] = opts[:'company__icontains'] if !opts[:'company__icontains'].nil?
|
179
|
-
query_params[:'company__iexact'] = opts[:'company__iexact'] if !opts[:'company__iexact'].nil?
|
180
161
|
query_params[:'company__in'] = @api_client.build_collection_param(opts[:'company__in'], :csv) if !opts[:'company__in'].nil?
|
181
|
-
query_params[:'company__iregex'] = opts[:'company__iregex'] if !opts[:'company__iregex'].nil?
|
182
|
-
query_params[:'company__istartswith'] = opts[:'company__istartswith'] if !opts[:'company__istartswith'].nil?
|
183
|
-
query_params[:'company__regex'] = opts[:'company__regex'] if !opts[:'company__regex'].nil?
|
184
162
|
query_params[:'company__startswith'] = opts[:'company__startswith'] if !opts[:'company__startswith'].nil?
|
185
163
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
186
164
|
query_params[:'metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
@@ -188,17 +166,12 @@ module PulpAnsibleClient
|
|
188
166
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
189
167
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
190
168
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
191
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
192
169
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
193
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
194
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
195
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
196
170
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
197
171
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
198
172
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
199
173
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
200
174
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
201
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
202
175
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
203
176
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
204
177
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -93,7 +93,6 @@ module PulpAnsibleClient
|
|
93
93
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
96
|
-
# @option opts [String] :q
|
97
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
98
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
99
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -116,7 +115,6 @@ module PulpAnsibleClient
|
|
116
115
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
116
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
117
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
119
|
-
# @option opts [String] :q
|
120
118
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
121
119
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
122
120
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -144,7 +142,6 @@ module PulpAnsibleClient
|
|
144
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
145
143
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
146
144
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
147
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
148
145
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
149
146
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
150
147
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -19,7 +19,6 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Add a role
|
23
22
|
# Add a role for this object to users/groups.
|
24
23
|
# @param ansible_ansible_distribution_href [String]
|
25
24
|
# @param nested_role [NestedRole]
|
@@ -30,7 +29,6 @@ module PulpAnsibleClient
|
|
30
29
|
data
|
31
30
|
end
|
32
31
|
|
33
|
-
# Add a role
|
34
32
|
# Add a role for this object to users/groups.
|
35
33
|
# @param ansible_ansible_distribution_href [String]
|
36
34
|
# @param nested_role [NestedRole]
|
@@ -226,18 +224,13 @@ module PulpAnsibleClient
|
|
226
224
|
# @option opts [String] :name Filter results where name matches value
|
227
225
|
# @option opts [String] :name__contains Filter results where name contains value
|
228
226
|
# @option opts [String] :name__icontains Filter results where name contains value
|
229
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
230
227
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
231
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
232
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
233
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
234
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
235
229
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
236
230
|
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
237
231
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
238
232
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
239
233
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
240
|
-
# @option opts [String] :q
|
241
234
|
# @option opts [String] :repository Filter results where repository matches value
|
242
235
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
243
236
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -260,18 +253,13 @@ module PulpAnsibleClient
|
|
260
253
|
# @option opts [String] :name Filter results where name matches value
|
261
254
|
# @option opts [String] :name__contains Filter results where name contains value
|
262
255
|
# @option opts [String] :name__icontains Filter results where name contains value
|
263
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
264
256
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
265
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
266
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
267
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
268
257
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
269
258
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
270
259
|
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
260
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
272
261
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
273
262
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
274
|
-
# @option opts [String] :q
|
275
263
|
# @option opts [String] :repository Filter results where repository matches value
|
276
264
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
277
265
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -299,18 +287,13 @@ module PulpAnsibleClient
|
|
299
287
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
300
288
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
301
289
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
302
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
303
290
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
304
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
305
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
306
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
307
291
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
308
292
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
309
293
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
310
294
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
311
295
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
312
296
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
313
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
314
297
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
315
298
|
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
316
299
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
@@ -350,7 +333,6 @@ module PulpAnsibleClient
|
|
350
333
|
return data, status_code, headers
|
351
334
|
end
|
352
335
|
|
353
|
-
# List roles
|
354
336
|
# List roles assigned to this object.
|
355
337
|
# @param ansible_ansible_distribution_href [String]
|
356
338
|
# @param [Hash] opts the optional parameters
|
@@ -362,7 +344,6 @@ module PulpAnsibleClient
|
|
362
344
|
data
|
363
345
|
end
|
364
346
|
|
365
|
-
# List roles
|
366
347
|
# List roles assigned to this object.
|
367
348
|
# @param ansible_ansible_distribution_href [String]
|
368
349
|
# @param [Hash] opts the optional parameters
|
@@ -418,7 +399,6 @@ module PulpAnsibleClient
|
|
418
399
|
return data, status_code, headers
|
419
400
|
end
|
420
401
|
|
421
|
-
# List user permissions
|
422
402
|
# List permissions available to the current user on this object.
|
423
403
|
# @param ansible_ansible_distribution_href [String]
|
424
404
|
# @param [Hash] opts the optional parameters
|
@@ -430,7 +410,6 @@ module PulpAnsibleClient
|
|
430
410
|
data
|
431
411
|
end
|
432
412
|
|
433
|
-
# List user permissions
|
434
413
|
# List permissions available to the current user on this object.
|
435
414
|
# @param ansible_ansible_distribution_href [String]
|
436
415
|
# @param [Hash] opts the optional parameters
|
@@ -624,7 +603,6 @@ module PulpAnsibleClient
|
|
624
603
|
return data, status_code, headers
|
625
604
|
end
|
626
605
|
|
627
|
-
# Remove a role
|
628
606
|
# Remove a role for this object from users/groups.
|
629
607
|
# @param ansible_ansible_distribution_href [String]
|
630
608
|
# @param nested_role [NestedRole]
|
@@ -635,7 +613,6 @@ module PulpAnsibleClient
|
|
635
613
|
data
|
636
614
|
end
|
637
615
|
|
638
|
-
# Remove a role
|
639
616
|
# Remove a role for this object from users/groups.
|
640
617
|
# @param ansible_ansible_distribution_href [String]
|
641
618
|
# @param nested_role [NestedRole]
|
@@ -694,146 +671,6 @@ module PulpAnsibleClient
|
|
694
671
|
return data, status_code, headers
|
695
672
|
end
|
696
673
|
|
697
|
-
# Set a label
|
698
|
-
# Set a single pulp_label on the object to a specific value or null.
|
699
|
-
# @param ansible_ansible_distribution_href [String]
|
700
|
-
# @param set_label [SetLabel]
|
701
|
-
# @param [Hash] opts the optional parameters
|
702
|
-
# @return [SetLabelResponse]
|
703
|
-
def set_label(ansible_ansible_distribution_href, set_label, opts = {})
|
704
|
-
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_distribution_href, set_label, opts)
|
705
|
-
data
|
706
|
-
end
|
707
|
-
|
708
|
-
# Set a label
|
709
|
-
# Set a single pulp_label on the object to a specific value or null.
|
710
|
-
# @param ansible_ansible_distribution_href [String]
|
711
|
-
# @param set_label [SetLabel]
|
712
|
-
# @param [Hash] opts the optional parameters
|
713
|
-
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
714
|
-
def set_label_with_http_info(ansible_ansible_distribution_href, set_label, opts = {})
|
715
|
-
if @api_client.config.debugging
|
716
|
-
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.set_label ...'
|
717
|
-
end
|
718
|
-
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
719
|
-
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
720
|
-
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.set_label"
|
721
|
-
end
|
722
|
-
# verify the required parameter 'set_label' is set
|
723
|
-
if @api_client.config.client_side_validation && set_label.nil?
|
724
|
-
fail ArgumentError, "Missing the required parameter 'set_label' when calling DistributionsAnsibleApi.set_label"
|
725
|
-
end
|
726
|
-
# resource path
|
727
|
-
local_var_path = '{ansible_ansible_distribution_href}set_label/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
728
|
-
|
729
|
-
# query parameters
|
730
|
-
query_params = opts[:query_params] || {}
|
731
|
-
|
732
|
-
# header parameters
|
733
|
-
header_params = opts[:header_params] || {}
|
734
|
-
# HTTP header 'Accept' (if needed)
|
735
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
736
|
-
# HTTP header 'Content-Type'
|
737
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
738
|
-
|
739
|
-
# form parameters
|
740
|
-
form_params = opts[:form_params] || {}
|
741
|
-
|
742
|
-
# http body (model)
|
743
|
-
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
744
|
-
|
745
|
-
# return_type
|
746
|
-
return_type = opts[:return_type] || 'SetLabelResponse'
|
747
|
-
|
748
|
-
# auth_names
|
749
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
750
|
-
|
751
|
-
new_options = opts.merge(
|
752
|
-
:header_params => header_params,
|
753
|
-
:query_params => query_params,
|
754
|
-
:form_params => form_params,
|
755
|
-
:body => post_body,
|
756
|
-
:auth_names => auth_names,
|
757
|
-
:return_type => return_type
|
758
|
-
)
|
759
|
-
|
760
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
761
|
-
if @api_client.config.debugging
|
762
|
-
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
763
|
-
end
|
764
|
-
return data, status_code, headers
|
765
|
-
end
|
766
|
-
|
767
|
-
# Unset a label
|
768
|
-
# Unset a single pulp_label on the object.
|
769
|
-
# @param ansible_ansible_distribution_href [String]
|
770
|
-
# @param unset_label [UnsetLabel]
|
771
|
-
# @param [Hash] opts the optional parameters
|
772
|
-
# @return [UnsetLabelResponse]
|
773
|
-
def unset_label(ansible_ansible_distribution_href, unset_label, opts = {})
|
774
|
-
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_distribution_href, unset_label, opts)
|
775
|
-
data
|
776
|
-
end
|
777
|
-
|
778
|
-
# Unset a label
|
779
|
-
# Unset a single pulp_label on the object.
|
780
|
-
# @param ansible_ansible_distribution_href [String]
|
781
|
-
# @param unset_label [UnsetLabel]
|
782
|
-
# @param [Hash] opts the optional parameters
|
783
|
-
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
784
|
-
def unset_label_with_http_info(ansible_ansible_distribution_href, unset_label, opts = {})
|
785
|
-
if @api_client.config.debugging
|
786
|
-
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.unset_label ...'
|
787
|
-
end
|
788
|
-
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
789
|
-
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
790
|
-
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.unset_label"
|
791
|
-
end
|
792
|
-
# verify the required parameter 'unset_label' is set
|
793
|
-
if @api_client.config.client_side_validation && unset_label.nil?
|
794
|
-
fail ArgumentError, "Missing the required parameter 'unset_label' when calling DistributionsAnsibleApi.unset_label"
|
795
|
-
end
|
796
|
-
# resource path
|
797
|
-
local_var_path = '{ansible_ansible_distribution_href}unset_label/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
798
|
-
|
799
|
-
# query parameters
|
800
|
-
query_params = opts[:query_params] || {}
|
801
|
-
|
802
|
-
# header parameters
|
803
|
-
header_params = opts[:header_params] || {}
|
804
|
-
# HTTP header 'Accept' (if needed)
|
805
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
806
|
-
# HTTP header 'Content-Type'
|
807
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
808
|
-
|
809
|
-
# form parameters
|
810
|
-
form_params = opts[:form_params] || {}
|
811
|
-
|
812
|
-
# http body (model)
|
813
|
-
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
814
|
-
|
815
|
-
# return_type
|
816
|
-
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
817
|
-
|
818
|
-
# auth_names
|
819
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
820
|
-
|
821
|
-
new_options = opts.merge(
|
822
|
-
:header_params => header_params,
|
823
|
-
:query_params => query_params,
|
824
|
-
:form_params => form_params,
|
825
|
-
:body => post_body,
|
826
|
-
:auth_names => auth_names,
|
827
|
-
:return_type => return_type
|
828
|
-
)
|
829
|
-
|
830
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
831
|
-
if @api_client.config.debugging
|
832
|
-
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
833
|
-
end
|
834
|
-
return data, status_code, headers
|
835
|
-
end
|
836
|
-
|
837
674
|
# Update an ansible distribution
|
838
675
|
# Trigger an asynchronous update task
|
839
676
|
# @param ansible_ansible_distribution_href [String]
|
@@ -28,7 +28,6 @@ module PulpAnsibleClient
|
|
28
28
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
31
|
-
# @option opts [String] :q
|
32
31
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
33
32
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
34
33
|
# @return [Array<CollectionResponse>]
|
@@ -46,7 +45,6 @@ module PulpAnsibleClient
|
|
46
45
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
46
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
49
|
-
# @option opts [String] :q
|
50
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
50
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -73,7 +71,6 @@ module PulpAnsibleClient
|
|
73
71
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
74
72
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
75
73
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
76
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
77
74
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
78
75
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
79
76
|
|