pulp_ansible_client 0.16.2 → 0.16.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -8
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +3 -7
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- 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 +3 -7
- data/docs/ContentCollectionSignaturesApi.md +3 -7
- data/docs/ContentCollectionVersionsApi.md +5 -9
- data/docs/ContentRolesApi.md +3 -7
- data/docs/DistributionsAnsibleApi.md +3 -11
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PatchedansibleRoleRemote.md +1 -1
- 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 +3 -7
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- 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 +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +3 -7
- data/docs/RemotesGitApi.md +3 -7
- data/docs/RemotesRoleApi.md +3 -7
- data/docs/RepositoriesAnsibleApi.md +3 -23
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -5
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -11
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -14
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -32
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +236 -236
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +159 -159
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- 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_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +227 -227
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +21 -21
- 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/spec/api/ansible_collections_api_spec.rb +1 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +2 -4
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +1 -5
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/remotes_collection_api_spec.rb +1 -3
- data/spec/api/remotes_git_api_spec.rb +1 -3
- data/spec/api/remotes_role_api_spec.rb +1 -3
- data/spec/api/repositories_ansible_api_spec.rb +1 -11
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- 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/patchedansible_git_remote_spec.rb +19 -19
- metadata +116 -116
@@ -25,9 +25,7 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Boolean] :deprecated
|
26
26
|
# @option opts [String] :name
|
27
27
|
# @option opts [String] :namespace
|
28
|
-
# @option opts [Array<String>] :ordering Ordering
|
29
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
31
29
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
30
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
31
|
# @return [Array<CollectionResponse>]
|
@@ -42,9 +40,7 @@ module PulpAnsibleClient
|
|
42
40
|
# @option opts [Boolean] :deprecated
|
43
41
|
# @option opts [String] :name
|
44
42
|
# @option opts [String] :namespace
|
45
|
-
# @option opts [Array<String>] :ordering Ordering
|
46
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
48
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
46
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -69,8 +65,6 @@ module PulpAnsibleClient
|
|
69
65
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
70
66
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
71
67
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
72
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
73
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
74
68
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
75
69
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
76
70
|
|
@@ -99,9 +99,7 @@ module PulpAnsibleClient
|
|
99
99
|
# @option opts [String] :name
|
100
100
|
# @option opts [String] :namespace
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
-
# @option opts [Array<String>] :ordering Ordering
|
103
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
104
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
105
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
105
|
# @return [PaginatedCollectionResponseList]
|
@@ -118,9 +116,7 @@ module PulpAnsibleClient
|
|
118
116
|
# @option opts [String] :name
|
119
117
|
# @option opts [String] :namespace
|
120
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
121
|
-
# @option opts [Array<String>] :ordering Ordering
|
122
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
123
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
119
|
+
# @option opts [Array<String>] :ordering Ordering
|
124
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
126
122
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -147,8 +143,6 @@ module PulpAnsibleClient
|
|
147
143
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
148
144
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
149
145
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
150
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
146
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
153
147
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
154
148
|
|
@@ -107,9 +107,7 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
111
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
110
|
+
# @option opts [Array<String>] :ordering Ordering
|
113
111
|
# @option opts [String] :q
|
114
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -134,9 +132,7 @@ module PulpAnsibleClient
|
|
134
132
|
# @option opts [String] :name2
|
135
133
|
# @option opts [String] :namespace2
|
136
134
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @option opts [Array<String>] :ordering Ordering
|
138
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
135
|
+
# @option opts [Array<String>] :ordering Ordering
|
140
136
|
# @option opts [String] :q
|
141
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
142
138
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -177,8 +173,6 @@ module PulpAnsibleClient
|
|
177
173
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
178
174
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
179
175
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
180
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
181
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
182
176
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
183
177
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
184
178
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -155,9 +155,7 @@ module PulpAnsibleClient
|
|
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 [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
163
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -183,9 +181,7 @@ module PulpAnsibleClient
|
|
183
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :ordering Ordering
|
187
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
189
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
190
186
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
191
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -217,8 +213,6 @@ module PulpAnsibleClient
|
|
217
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
215
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
222
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
224
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -155,9 +155,7 @@ module PulpAnsibleClient
|
|
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 [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
163
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -183,9 +181,7 @@ module PulpAnsibleClient
|
|
183
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :ordering Ordering
|
187
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
189
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
190
186
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
191
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -217,8 +213,6 @@ module PulpAnsibleClient
|
|
217
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
215
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
222
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
224
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -155,9 +155,7 @@ module PulpAnsibleClient
|
|
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 [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
163
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -183,9 +181,7 @@ module PulpAnsibleClient
|
|
183
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :ordering Ordering
|
187
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
189
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
190
186
|
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
191
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -217,8 +213,6 @@ module PulpAnsibleClient
|
|
217
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
215
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
222
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
224
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -155,19 +155,9 @@ module PulpAnsibleClient
|
|
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 [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
164
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
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
161
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
172
162
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
173
163
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
@@ -186,19 +176,9 @@ module PulpAnsibleClient
|
|
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 [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
195
|
-
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
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
182
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
203
183
|
# @option opts [Array<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
|
@@ -223,18 +203,8 @@ 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[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
231
|
-
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
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
208
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
239
209
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
240
210
|
|
@@ -95,14 +95,13 @@ module PulpAnsibleClient
|
|
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
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
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 [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -125,14 +124,13 @@ module PulpAnsibleClient
|
|
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
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
129
128
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
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 [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
135
|
# @option opts [Array<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
|
@@ -170,7 +168,6 @@ 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[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
171
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
172
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
173
|
|
@@ -127,8 +127,8 @@ module PulpAnsibleClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
131
|
-
@host = '
|
130
|
+
@scheme = 'http'
|
131
|
+
@host = 'localhost'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpAnsibleClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "http://localhost:24817/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -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.
|
@@ -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.
|
@@ -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.
|
@@ -364,20 +364,20 @@ module PulpAnsibleClient
|
|
364
364
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
365
365
|
end
|
366
366
|
|
367
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
367
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
369
369
|
end
|
370
370
|
|
371
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
371
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
373
373
|
end
|
374
374
|
|
375
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
375
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
377
377
|
end
|
378
378
|
|
379
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
379
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
381
381
|
end
|
382
382
|
|
383
383
|
if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
@@ -419,10 +419,10 @@ module PulpAnsibleClient
|
|
419
419
|
return false if !@username.nil? && @username.to_s.length < 1
|
420
420
|
return false if !@password.nil? && @password.to_s.length < 1
|
421
421
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
422
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
422
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
426
426
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
427
427
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
428
428
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
@@ -552,8 +552,8 @@ module PulpAnsibleClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] total_timeout Value to be assigned
|
554
554
|
def total_timeout=(total_timeout)
|
555
|
-
if !total_timeout.nil? && total_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
555
|
+
if !total_timeout.nil? && total_timeout < 0
|
556
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@total_timeout = total_timeout
|
@@ -562,8 +562,8 @@ module PulpAnsibleClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] connect_timeout Value to be assigned
|
564
564
|
def connect_timeout=(connect_timeout)
|
565
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
565
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@connect_timeout = connect_timeout
|
@@ -572,8 +572,8 @@ module PulpAnsibleClient
|
|
572
572
|
# Custom attribute writer method with validation
|
573
573
|
# @param [Object] sock_connect_timeout Value to be assigned
|
574
574
|
def sock_connect_timeout=(sock_connect_timeout)
|
575
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
575
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
577
577
|
end
|
578
578
|
|
579
579
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -582,8 +582,8 @@ module PulpAnsibleClient
|
|
582
582
|
# Custom attribute writer method with validation
|
583
583
|
# @param [Object] sock_read_timeout Value to be assigned
|
584
584
|
def sock_read_timeout=(sock_read_timeout)
|
585
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
585
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
587
587
|
end
|
588
588
|
|
589
589
|
@sock_read_timeout = sock_read_timeout
|
@@ -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.
|
@@ -301,20 +301,20 @@ module PulpAnsibleClient
|
|
301
301
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
302
302
|
end
|
303
303
|
|
304
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
305
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
304
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
305
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
306
306
|
end
|
307
307
|
|
308
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
309
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
308
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
309
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
310
310
|
end
|
311
311
|
|
312
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
313
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
312
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
313
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
314
314
|
end
|
315
315
|
|
316
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
317
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
316
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
317
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
318
318
|
end
|
319
319
|
|
320
320
|
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
@@ -330,10 +330,10 @@ module PulpAnsibleClient
|
|
330
330
|
return false if @name.nil?
|
331
331
|
return false if @url.nil?
|
332
332
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
333
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
334
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
335
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
336
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
333
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
334
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
335
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
336
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
337
337
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
338
338
|
true
|
339
339
|
end
|
@@ -351,8 +351,8 @@ module PulpAnsibleClient
|
|
351
351
|
# Custom attribute writer method with validation
|
352
352
|
# @param [Object] total_timeout Value to be assigned
|
353
353
|
def total_timeout=(total_timeout)
|
354
|
-
if !total_timeout.nil? && total_timeout < 0
|
355
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
354
|
+
if !total_timeout.nil? && total_timeout < 0
|
355
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
356
356
|
end
|
357
357
|
|
358
358
|
@total_timeout = total_timeout
|
@@ -361,8 +361,8 @@ module PulpAnsibleClient
|
|
361
361
|
# Custom attribute writer method with validation
|
362
362
|
# @param [Object] connect_timeout Value to be assigned
|
363
363
|
def connect_timeout=(connect_timeout)
|
364
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
365
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
364
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
365
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
366
366
|
end
|
367
367
|
|
368
368
|
@connect_timeout = connect_timeout
|
@@ -371,8 +371,8 @@ module PulpAnsibleClient
|
|
371
371
|
# Custom attribute writer method with validation
|
372
372
|
# @param [Object] sock_connect_timeout Value to be assigned
|
373
373
|
def sock_connect_timeout=(sock_connect_timeout)
|
374
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
375
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
374
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
375
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
376
376
|
end
|
377
377
|
|
378
378
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -381,8 +381,8 @@ module PulpAnsibleClient
|
|
381
381
|
# Custom attribute writer method with validation
|
382
382
|
# @param [Object] sock_read_timeout Value to be assigned
|
383
383
|
def sock_read_timeout=(sock_read_timeout)
|
384
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
385
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
384
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
385
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
386
386
|
end
|
387
387
|
|
388
388
|
@sock_read_timeout = sock_read_timeout
|
@@ -68,12 +68,22 @@ module PulpAnsibleClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @is_set.nil?
|
76
|
+
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @is_set.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|