pulp_ansible_client 0.16.7 → 0.17.0.dev1676430674
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulp_ansible_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +25 -25
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +1 -1
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +5 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- 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 +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +17 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +13 -1
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +24 -0
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +13 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +136 -136
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -0
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/distributions_ansible_api_spec.rb +2 -0
- data/spec/api/remotes_collection_api_spec.rb +4 -0
- data/spec/api/repositories_ansible_api_spec.rb +8 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- metadata +130 -118
data/docs/PulpAnsibleApiV3Api.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::RemotesCollectionApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -156,6 +156,10 @@ opts = {
|
|
156
156
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
157
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
158
158
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
159
|
+
url: 'url_example', # String | Filter results where url matches value
|
160
|
+
url__contains: 'url__contains_example', # String | Filter results where url contains value
|
161
|
+
url__icontains: 'url__icontains_example', # String | Filter results where url contains value
|
162
|
+
url__in: ['url__in_example'], # Array<String> | Filter results where url is in a comma-separated list of values
|
159
163
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
160
164
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
161
165
|
}
|
@@ -189,6 +193,10 @@ Name | Type | Description | Notes
|
|
189
193
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
194
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
195
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
196
|
+
**url** | **String**| Filter results where url matches value | [optional]
|
197
|
+
**url__contains** | **String**| Filter results where url contains value | [optional]
|
198
|
+
**url__icontains** | **String**| Filter results where url contains value | [optional]
|
199
|
+
**url__in** | [**Array<String>**](String.md)| Filter results where url is in a comma-separated list of values | [optional]
|
192
200
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
193
201
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
194
202
|
|
data/docs/RemotesGitApi.md
CHANGED
data/docs/RemotesRoleApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::RepositoriesAnsibleApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -155,6 +155,14 @@ opts = {
|
|
155
155
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
157
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
158
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
159
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
160
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
161
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
162
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
163
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
164
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
165
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
158
166
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
159
167
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
160
168
|
}
|
@@ -183,6 +191,14 @@ Name | Type | Description | Notes
|
|
183
191
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
184
192
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
185
193
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
194
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
195
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
196
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
197
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
198
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
199
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
200
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
201
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
186
202
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
187
203
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
188
204
|
|
data/docs/Task.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::Task
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of task. |
|
8
|
+
**logging_cid** | **String** | The logging correlation id associated with this task |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::Task.new(name: null,
|
16
|
+
logging_cid: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# PulpAnsibleClient::TaskResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'. | [optional] [readonly]
|
10
|
+
**name** | **String** | The name of task. |
|
11
|
+
**logging_cid** | **String** | The logging correlation id associated with this task |
|
12
|
+
**started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional] [readonly]
|
13
|
+
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
|
14
|
+
**error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
|
15
|
+
**worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
|
16
|
+
**parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
|
17
|
+
**child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
|
18
|
+
**task_group** | **String** | The task group that this task is a member of. | [optional] [readonly]
|
19
|
+
**progress_reports** | [**Array<ProgressReportResponse>**](ProgressReportResponse.md) | | [optional] [readonly]
|
20
|
+
**created_resources** | **Array<String>** | Resources created by this task. | [optional] [readonly]
|
21
|
+
**reserved_resources_record** | **Array<String>** | A list of resources required by that task. | [optional] [readonly]
|
22
|
+
|
23
|
+
## Code Sample
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'PulpAnsibleClient'
|
27
|
+
|
28
|
+
instance = PulpAnsibleClient::TaskResponse.new(pulp_href: null,
|
29
|
+
pulp_created: null,
|
30
|
+
state: null,
|
31
|
+
name: null,
|
32
|
+
logging_cid: null,
|
33
|
+
started_at: null,
|
34
|
+
finished_at: null,
|
35
|
+
error: null,
|
36
|
+
worker: null,
|
37
|
+
parent_task: null,
|
38
|
+
child_tasks: null,
|
39
|
+
task_group: null,
|
40
|
+
progress_reports: null,
|
41
|
+
created_resources: null,
|
42
|
+
reserved_resources_record: null)
|
43
|
+
```
|
44
|
+
|
45
|
+
|
data/docs/VersionsApi.md
CHANGED
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
25
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
28
|
-
# @option opts [
|
28
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
31
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -38,10 +38,10 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [
|
41
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
44
|
-
# @option opts [
|
44
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
47
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -89,10 +89,10 @@ module PulpAnsibleClient
|
|
89
89
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
|
-
form_params['
|
92
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
93
93
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
94
94
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
95
|
-
form_params['
|
95
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
98
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -161,6 +161,8 @@ module PulpAnsibleClient
|
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
|
+
# @option opts [String] :repository Filter results where repository matches value
|
165
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
164
166
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
165
167
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
168
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -186,6 +188,8 @@ module PulpAnsibleClient
|
|
186
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
187
189
|
# @option opts [Array<String>] :ordering Ordering
|
188
190
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
191
|
+
# @option opts [String] :repository Filter results where repository matches value
|
192
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
189
193
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
190
194
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
195
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -216,6 +220,8 @@ module PulpAnsibleClient
|
|
216
220
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
217
221
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
218
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
224
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
219
225
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
226
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
227
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -163,6 +163,10 @@ module PulpAnsibleClient
|
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
|
+
# @option opts [String] :url Filter results where url matches value
|
167
|
+
# @option opts [String] :url__contains Filter results where url contains value
|
168
|
+
# @option opts [String] :url__icontains Filter results where url contains value
|
169
|
+
# @option opts [Array<String>] :url__in Filter results where url is in a comma-separated list of values
|
166
170
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
167
171
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
172
|
# @return [PaginatedansibleCollectionRemoteResponseList]
|
@@ -189,6 +193,10 @@ module PulpAnsibleClient
|
|
189
193
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
194
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
195
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
196
|
+
# @option opts [String] :url Filter results where url matches value
|
197
|
+
# @option opts [String] :url__contains Filter results where url contains value
|
198
|
+
# @option opts [String] :url__icontains Filter results where url contains value
|
199
|
+
# @option opts [Array<String>] :url__in Filter results where url is in a comma-separated list of values
|
192
200
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
201
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
202
|
# @return [Array<(PaginatedansibleCollectionRemoteResponseList, Integer, Hash)>] PaginatedansibleCollectionRemoteResponseList data, response status code and response headers
|
@@ -196,7 +204,7 @@ module PulpAnsibleClient
|
|
196
204
|
if @api_client.config.debugging
|
197
205
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
198
206
|
end
|
199
|
-
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
207
|
+
allowable_values = ["-auth_url", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-requirements_file", "-signed_only", "-sock_connect_timeout", "-sock_read_timeout", "-sync_dependencies", "-tls_validation", "-token", "-total_timeout", "-url", "-username", "auth_url", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "requirements_file", "signed_only", "sock_connect_timeout", "sock_read_timeout", "sync_dependencies", "tls_validation", "token", "total_timeout", "url", "username"]
|
200
208
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
209
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
210
|
end
|
@@ -220,6 +228,10 @@ module PulpAnsibleClient
|
|
220
228
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
229
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
230
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
231
|
+
query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
|
232
|
+
query_params[:'url__contains'] = opts[:'url__contains'] if !opts[:'url__contains'].nil?
|
233
|
+
query_params[:'url__icontains'] = opts[:'url__icontains'] if !opts[:'url__icontains'].nil?
|
234
|
+
query_params[:'url__in'] = @api_client.build_collection_param(opts[:'url__in'], :csv) if !opts[:'url__in'].nil?
|
223
235
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
224
236
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
237
|
|