pulp_ansible_client 0.15.5 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -4
- data/docs/AnsibleCollectionVersion.md +11 -9
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +6 -10
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +26 -28
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +3 -5
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +10 -14
- data/docs/ContentCollectionSignaturesApi.md +12 -16
- data/docs/ContentCollectionVersionsApi.md +22 -24
- data/docs/ContentRolesApi.md +10 -14
- data/docs/DistributionsAnsibleApi.md +14 -22
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +14 -18
- data/docs/RemotesGitApi.md +14 -18
- data/docs/RemotesRoleApi.md +14 -18
- data/docs/RepositoriesAnsibleApi.md +13 -33
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +0 -1
- data/spec/api/ansible_collections_api_spec.rb +3 -5
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
- data/spec/api/content_collection_signatures_api_spec.rb +5 -7
- data/spec/api/content_collection_versions_api_spec.rb +10 -11
- data/spec/api/content_roles_api_spec.rb +5 -7
- data/spec/api/distributions_ansible_api_spec.rb +7 -11
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +7 -9
- data/spec/api/remotes_git_api_spec.rb +7 -9
- data/spec/api/remotes_role_api_spec.rb +7 -9
- data/spec/api/repositories_ansible_api_spec.rb +6 -16
- data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_collection_version_spec.rb +12 -6
- data/spec/models/ansible_git_remote_response_spec.rb +16 -22
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +102 -106
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -149,27 +149,17 @@ module PulpAnsibleClient
|
|
149
149
|
# ViewSet for Ansible Repositories.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
161
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
162
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
163
|
-
# @option opts [
|
164
|
-
# @option opts [
|
165
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
166
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
167
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
168
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
169
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
170
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
171
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
172
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
161
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
162
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
173
163
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
174
164
|
def list(opts = {})
|
175
165
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -180,33 +170,23 @@ module PulpAnsibleClient
|
|
180
170
|
# ViewSet for Ansible Repositories.
|
181
171
|
# @param [Hash] opts the optional parameters
|
182
172
|
# @option opts [Integer] :limit Number of results to return per page.
|
183
|
-
# @option opts [String] :name
|
173
|
+
# @option opts [String] :name
|
184
174
|
# @option opts [String] :name__contains Filter results where name contains value
|
185
175
|
# @option opts [String] :name__icontains Filter results where name contains value
|
186
176
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
187
177
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
188
178
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
189
|
-
# @option opts [Array<String>] :ordering Ordering
|
190
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
191
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
179
|
+
# @option opts [Array<String>] :ordering Ordering
|
192
180
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
193
181
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
194
|
-
# @option opts [
|
195
|
-
# @option opts [
|
196
|
-
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
197
|
-
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
198
|
-
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
199
|
-
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
200
|
-
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
201
|
-
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
202
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
203
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
183
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
204
184
|
# @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
|
205
185
|
def list_with_http_info(opts = {})
|
206
186
|
if @api_client.config.debugging
|
207
187
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
|
208
188
|
end
|
209
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
189
|
+
allowable_values = ["-alternatecontentsourcepath", "-ansible_ansiblerepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-download_logs", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "ansible_ansiblerepository", "content", "core_pulp_exporter", "description", "distributions", "download_logs", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
|
210
190
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
211
191
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
212
192
|
end
|
@@ -223,20 +203,10 @@ module PulpAnsibleClient
|
|
223
203
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
224
204
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
225
205
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
228
206
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
229
207
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
230
|
-
query_params[:'
|
231
|
-
query_params[:'
|
232
|
-
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
233
|
-
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
234
|
-
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
235
|
-
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
236
|
-
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
237
|
-
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
238
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
239
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
208
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
209
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
240
210
|
|
241
211
|
# header parameters
|
242
212
|
header_params = opts[:header_params] || {}
|
@@ -415,8 +385,8 @@ module PulpAnsibleClient
|
|
415
385
|
# ViewSet for Ansible Repositories.
|
416
386
|
# @param ansible_ansible_repository_href [String]
|
417
387
|
# @param [Hash] opts the optional parameters
|
418
|
-
# @option opts [
|
419
|
-
# @option opts [
|
388
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
389
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
420
390
|
# @return [AnsibleAnsibleRepositoryResponse]
|
421
391
|
def read(ansible_ansible_repository_href, opts = {})
|
422
392
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_href, opts)
|
@@ -427,8 +397,8 @@ module PulpAnsibleClient
|
|
427
397
|
# ViewSet for Ansible Repositories.
|
428
398
|
# @param ansible_ansible_repository_href [String]
|
429
399
|
# @param [Hash] opts the optional parameters
|
430
|
-
# @option opts [
|
431
|
-
# @option opts [
|
400
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
401
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
432
402
|
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
433
403
|
def read_with_http_info(ansible_ansible_repository_href, opts = {})
|
434
404
|
if @api_client.config.debugging
|
@@ -443,8 +413,8 @@ module PulpAnsibleClient
|
|
443
413
|
|
444
414
|
# query parameters
|
445
415
|
query_params = opts[:query_params] || {}
|
446
|
-
query_params[:'fields'] =
|
447
|
-
query_params[:'exclude_fields'] =
|
416
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
417
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
448
418
|
|
449
419
|
# header parameters
|
450
420
|
header_params = opts[:header_params] || {}
|
@@ -88,23 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @option opts [String] :content Content Unit referenced by HREF
|
89
89
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
|
-
# @option opts [Integer] :number
|
91
|
+
# @option opts [Integer] :number
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
93
93
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
94
94
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
99
|
-
# @option opts [DateTime] :pulp_created
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [
|
106
|
-
# @option opts [
|
107
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
109
108
|
def list(ansible_ansible_repository_href, opts = {})
|
110
109
|
data, _status_code, _headers = list_with_http_info(ansible_ansible_repository_href, opts)
|
@@ -118,23 +117,22 @@ module PulpAnsibleClient
|
|
118
117
|
# @option opts [String] :content Content Unit referenced by HREF
|
119
118
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
120
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
121
|
-
# @option opts [Integer] :number
|
120
|
+
# @option opts [Integer] :number
|
122
121
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
123
122
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
124
123
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
125
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
126
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
127
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering
|
129
|
-
# @option opts [DateTime] :pulp_created
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
128
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
130
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
131
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
132
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
133
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
-
# @option opts [
|
136
|
-
# @option opts [
|
137
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
134
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
138
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
139
137
|
def list_with_http_info(ansible_ansible_repository_href, opts = {})
|
140
138
|
if @api_client.config.debugging
|
@@ -144,7 +142,7 @@ module PulpAnsibleClient
|
|
144
142
|
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
145
143
|
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
|
146
144
|
end
|
147
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
145
|
+
allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-download_logs", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "download_logs", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
|
148
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
149
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
150
148
|
end
|
@@ -170,9 +168,8 @@ module PulpAnsibleClient
|
|
170
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
171
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
-
query_params[:'
|
174
|
-
query_params[:'
|
175
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
171
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
172
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
176
173
|
|
177
174
|
# header parameters
|
178
175
|
header_params = opts[:header_params] || {}
|
@@ -211,8 +208,8 @@ module PulpAnsibleClient
|
|
211
208
|
# AnsibleRepositoryVersion represents a single file repository version.
|
212
209
|
# @param ansible_ansible_repository_version_href [String]
|
213
210
|
# @param [Hash] opts the optional parameters
|
214
|
-
# @option opts [
|
215
|
-
# @option opts [
|
211
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
212
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
216
213
|
# @return [RepositoryVersionResponse]
|
217
214
|
def read(ansible_ansible_repository_version_href, opts = {})
|
218
215
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_version_href, opts)
|
@@ -223,8 +220,8 @@ module PulpAnsibleClient
|
|
223
220
|
# AnsibleRepositoryVersion represents a single file repository version.
|
224
221
|
# @param ansible_ansible_repository_version_href [String]
|
225
222
|
# @param [Hash] opts the optional parameters
|
226
|
-
# @option opts [
|
227
|
-
# @option opts [
|
223
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
224
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
228
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
229
226
|
def read_with_http_info(ansible_ansible_repository_version_href, opts = {})
|
230
227
|
if @api_client.config.debugging
|
@@ -239,8 +236,8 @@ module PulpAnsibleClient
|
|
239
236
|
|
240
237
|
# query parameters
|
241
238
|
query_params = opts[:query_params] || {}
|
242
|
-
query_params[:'fields'] =
|
243
|
-
query_params[:'exclude_fields'] =
|
239
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
240
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
244
241
|
|
245
242
|
# header parameters
|
246
243
|
header_params = opts[:header_params] || {}
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [
|
28
|
-
# @option opts [
|
27
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [PaginatedGalaxyRoleVersionResponseList]
|
30
30
|
def get(ansible_role_href, opts = {})
|
31
31
|
data, _status_code, _headers = get_with_http_info(ansible_role_href, opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
39
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
|
-
# @option opts [
|
41
|
-
# @option opts [
|
40
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(PaginatedGalaxyRoleVersionResponseList, Integer, Hash)>] PaginatedGalaxyRoleVersionResponseList data, response status code and response headers
|
43
43
|
def get_with_http_info(ansible_role_href, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
query_params = opts[:query_params] || {}
|
56
56
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
57
57
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
58
|
-
query_params[:'fields'] =
|
59
|
-
query_params[:'exclude_fields'] =
|
58
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
@@ -95,8 +95,8 @@ module PulpAnsibleClient
|
|
95
95
|
# @param ansible_collection_version_href [String]
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @option opts [Integer] :page A page number within the paginated result set.
|
98
|
-
# @option opts [
|
99
|
-
# @option opts [
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
100
|
# @return [PaginatedGalaxyCollectionVersionResponseList]
|
101
101
|
def get_0(ansible_collection_version_href, opts = {})
|
102
102
|
data, _status_code, _headers = get_0_with_http_info(ansible_collection_version_href, opts)
|
@@ -107,8 +107,8 @@ module PulpAnsibleClient
|
|
107
107
|
# @param ansible_collection_version_href [String]
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
109
|
# @option opts [Integer] :page A page number within the paginated result set.
|
110
|
-
# @option opts [
|
111
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [Array<(PaginatedGalaxyCollectionVersionResponseList, Integer, Hash)>] PaginatedGalaxyCollectionVersionResponseList data, response status code and response headers
|
113
113
|
def get_0_with_http_info(ansible_collection_version_href, opts = {})
|
114
114
|
if @api_client.config.debugging
|
@@ -124,8 +124,8 @@ module PulpAnsibleClient
|
|
124
124
|
# query parameters
|
125
125
|
query_params = opts[:query_params] || {}
|
126
126
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
127
|
-
query_params[:'fields'] =
|
128
|
-
query_params[:'exclude_fields'] =
|
127
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
128
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
129
129
|
|
130
130
|
# header parameters
|
131
131
|
header_params = opts[:header_params] || {}
|
@@ -52,7 +52,7 @@ module PulpAnsibleClient
|
|
52
52
|
:'name' => :'String',
|
53
53
|
:'repository' => :'String',
|
54
54
|
:'repository_version' => :'String',
|
55
|
-
:'pulp_labels' => :'
|
55
|
+
:'pulp_labels' => :'Object'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -101,9 +101,7 @@ module PulpAnsibleClient
|
|
101
101
|
end
|
102
102
|
|
103
103
|
if attributes.key?(:'pulp_labels')
|
104
|
-
|
105
|
-
self.pulp_labels = value
|
106
|
-
end
|
104
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
107
105
|
end
|
108
106
|
end
|
109
107
|
|
@@ -66,7 +66,7 @@ module PulpAnsibleClient
|
|
66
66
|
:'repository' => :'String',
|
67
67
|
:'repository_version' => :'String',
|
68
68
|
:'client_url' => :'String',
|
69
|
-
:'pulp_labels' => :'
|
69
|
+
:'pulp_labels' => :'Object'
|
70
70
|
}
|
71
71
|
end
|
72
72
|
|
@@ -127,9 +127,7 @@ module PulpAnsibleClient
|
|
127
127
|
end
|
128
128
|
|
129
129
|
if attributes.key?(:'pulp_labels')
|
130
|
-
|
131
|
-
self.pulp_labels = value
|
132
|
-
end
|
130
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
133
131
|
end
|
134
132
|
end
|
135
133
|
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -51,7 +51,7 @@ module PulpAnsibleClient
|
|
51
51
|
# Attribute type mapping.
|
52
52
|
def self.openapi_types
|
53
53
|
{
|
54
|
-
:'pulp_labels' => :'
|
54
|
+
:'pulp_labels' => :'Object',
|
55
55
|
:'name' => :'String',
|
56
56
|
:'description' => :'String',
|
57
57
|
:'retain_repo_versions' => :'Integer',
|
@@ -88,9 +88,7 @@ module PulpAnsibleClient
|
|
88
88
|
}
|
89
89
|
|
90
90
|
if attributes.key?(:'pulp_labels')
|
91
|
-
|
92
|
-
self.pulp_labels = value
|
93
|
-
end
|
91
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
94
92
|
end
|
95
93
|
|
96
94
|
if attributes.key?(:'name')
|
@@ -32,7 +32,7 @@ module PulpAnsibleClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -67,7 +67,7 @@ module PulpAnsibleClient
|
|
67
67
|
:'pulp_href' => :'String',
|
68
68
|
:'pulp_created' => :'DateTime',
|
69
69
|
:'versions_href' => :'String',
|
70
|
-
:'pulp_labels' => :'
|
70
|
+
:'pulp_labels' => :'Object',
|
71
71
|
:'latest_version_href' => :'String',
|
72
72
|
:'name' => :'String',
|
73
73
|
:'description' => :'String',
|
@@ -117,9 +117,7 @@ module PulpAnsibleClient
|
|
117
117
|
end
|
118
118
|
|
119
119
|
if attributes.key?(:'pulp_labels')
|
120
|
-
|
121
|
-
self.pulp_labels = value
|
122
|
-
end
|
120
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
123
121
|
end
|
124
122
|
|
125
123
|
if attributes.key?(:'latest_version_href')
|
@@ -56,7 +56,7 @@ module PulpAnsibleClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content.
|
59
|
+
# The policy to use when downloading content.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -138,7 +138,7 @@ module PulpAnsibleClient
|
|
138
138
|
:'proxy_password' => :'String',
|
139
139
|
:'username' => :'String',
|
140
140
|
:'password' => :'String',
|
141
|
-
:'pulp_labels' => :'
|
141
|
+
:'pulp_labels' => :'Object',
|
142
142
|
:'download_concurrency' => :'Integer',
|
143
143
|
:'max_retries' => :'Integer',
|
144
144
|
:'policy' => :'PolicyEnum',
|
@@ -240,9 +240,7 @@ module PulpAnsibleClient
|
|
240
240
|
end
|
241
241
|
|
242
242
|
if attributes.key?(:'pulp_labels')
|
243
|
-
|
244
|
-
self.pulp_labels = value
|
245
|
-
end
|
243
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
246
244
|
end
|
247
245
|
|
248
246
|
if attributes.key?(:'download_concurrency')
|
@@ -49,7 +49,7 @@ module PulpAnsibleClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content.
|
52
|
+
# The policy to use when downloading content.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -70,9 +70,6 @@ module PulpAnsibleClient
|
|
70
70
|
# Limits requests per second for each concurrent downloader
|
71
71
|
attr_accessor :rate_limit
|
72
72
|
|
73
|
-
# List of hidden (write only) fields
|
74
|
-
attr_accessor :hidden_fields
|
75
|
-
|
76
73
|
# The string version of Collection requirements yaml.
|
77
74
|
attr_accessor :requirements_file
|
78
75
|
|
@@ -107,7 +104,6 @@ module PulpAnsibleClient
|
|
107
104
|
:'sock_read_timeout' => :'sock_read_timeout',
|
108
105
|
:'headers' => :'headers',
|
109
106
|
:'rate_limit' => :'rate_limit',
|
110
|
-
:'hidden_fields' => :'hidden_fields',
|
111
107
|
:'requirements_file' => :'requirements_file',
|
112
108
|
:'auth_url' => :'auth_url',
|
113
109
|
:'sync_dependencies' => :'sync_dependencies',
|
@@ -126,7 +122,7 @@ module PulpAnsibleClient
|
|
126
122
|
:'client_cert' => :'String',
|
127
123
|
:'tls_validation' => :'Boolean',
|
128
124
|
:'proxy_url' => :'String',
|
129
|
-
:'pulp_labels' => :'
|
125
|
+
:'pulp_labels' => :'Object',
|
130
126
|
:'pulp_last_updated' => :'DateTime',
|
131
127
|
:'download_concurrency' => :'Integer',
|
132
128
|
:'max_retries' => :'Integer',
|
@@ -137,7 +133,6 @@ module PulpAnsibleClient
|
|
137
133
|
:'sock_read_timeout' => :'Float',
|
138
134
|
:'headers' => :'Array<Object>',
|
139
135
|
:'rate_limit' => :'Integer',
|
140
|
-
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
141
136
|
:'requirements_file' => :'String',
|
142
137
|
:'auth_url' => :'String',
|
143
138
|
:'sync_dependencies' => :'Boolean',
|
@@ -211,9 +206,7 @@ module PulpAnsibleClient
|
|
211
206
|
end
|
212
207
|
|
213
208
|
if attributes.key?(:'pulp_labels')
|
214
|
-
|
215
|
-
self.pulp_labels = value
|
216
|
-
end
|
209
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
217
210
|
end
|
218
211
|
|
219
212
|
if attributes.key?(:'pulp_last_updated')
|
@@ -258,12 +251,6 @@ module PulpAnsibleClient
|
|
258
251
|
self.rate_limit = attributes[:'rate_limit']
|
259
252
|
end
|
260
253
|
|
261
|
-
if attributes.key?(:'hidden_fields')
|
262
|
-
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
263
|
-
self.hidden_fields = value
|
264
|
-
end
|
265
|
-
end
|
266
|
-
|
267
254
|
if attributes.key?(:'requirements_file')
|
268
255
|
self.requirements_file = attributes[:'requirements_file']
|
269
256
|
end
|
@@ -422,7 +409,6 @@ module PulpAnsibleClient
|
|
422
409
|
sock_read_timeout == o.sock_read_timeout &&
|
423
410
|
headers == o.headers &&
|
424
411
|
rate_limit == o.rate_limit &&
|
425
|
-
hidden_fields == o.hidden_fields &&
|
426
412
|
requirements_file == o.requirements_file &&
|
427
413
|
auth_url == o.auth_url &&
|
428
414
|
sync_dependencies == o.sync_dependencies &&
|
@@ -438,7 +424,7 @@ module PulpAnsibleClient
|
|
438
424
|
# Calculates hash code according to all attributes.
|
439
425
|
# @return [Integer] Hash code
|
440
426
|
def hash
|
441
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit,
|
427
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only].hash
|
442
428
|
end
|
443
429
|
|
444
430
|
# Builds the object from hash
|