pulp_ansible_client 0.13.6 → 0.14.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 +5 -5
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +2 -2
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionDeprecationsApi.md +2 -2
- data/docs/ContentCollectionSignaturesApi.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +4 -2
- data/docs/ContentRolesApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/docs/RemotesRoleApi.md +2 -2
- data/docs/RepositoriesAnsibleApi.md +2 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/git_push.sh +58 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +10 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +7 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +7 -3
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +208 -208
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +199 -199
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -1
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/api/remotes_git_api_spec.rb +1 -1
- data/spec/api/remotes_role_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +101 -100
@@ -98,6 +98,7 @@ opts = {
|
|
98
98
|
name: 'name_example', # String |
|
99
99
|
namespace: 'namespace_example', # String |
|
100
100
|
offset: 56, # Integer | The initial index from which to return the results.
|
101
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
102
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
102
103
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
103
104
|
}
|
@@ -122,6 +123,7 @@ Name | Type | Description | Notes
|
|
122
123
|
**name** | **String**| | [optional]
|
123
124
|
**namespace** | **String**| | [optional]
|
124
125
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
126
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
125
127
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
126
128
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
127
129
|
|
@@ -101,6 +101,7 @@ opts = {
|
|
101
101
|
name2: 'name_example', # String |
|
102
102
|
namespace2: 'namespace_example', # String |
|
103
103
|
offset: 56, # Integer | The initial index from which to return the results.
|
104
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
104
105
|
q: 'q_example', # String |
|
105
106
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
106
107
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -133,6 +134,7 @@ Name | Type | Description | Notes
|
|
133
134
|
**name2** | **String**| | [optional]
|
134
135
|
**namespace2** | **String**| | [optional]
|
135
136
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
137
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
136
138
|
**q** | **String**| | [optional]
|
137
139
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
138
140
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -33,6 +33,7 @@ opts = {
|
|
33
33
|
deprecated: true, # Boolean |
|
34
34
|
name: 'name_example', # String |
|
35
35
|
namespace: 'namespace_example', # String |
|
36
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
36
37
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
37
38
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
38
39
|
}
|
@@ -53,6 +54,7 @@ Name | Type | Description | Notes
|
|
53
54
|
**deprecated** | **Boolean**| | [optional]
|
54
55
|
**name** | **String**| | [optional]
|
55
56
|
**namespace** | **String**| | [optional]
|
57
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
56
58
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
57
59
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
58
60
|
|
@@ -92,6 +92,7 @@ opts = {
|
|
92
92
|
name: 'name_example', # String |
|
93
93
|
namespace: 'namespace_example', # String |
|
94
94
|
offset: 56, # Integer | The initial index from which to return the results.
|
95
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
95
96
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
96
97
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
97
98
|
}
|
@@ -114,6 +115,7 @@ Name | Type | Description | Notes
|
|
114
115
|
**name** | **String**| | [optional]
|
115
116
|
**namespace** | **String**| | [optional]
|
116
117
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
118
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
117
119
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
118
120
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
119
121
|
|
@@ -95,6 +95,7 @@ opts = {
|
|
95
95
|
name2: 'name_example', # String |
|
96
96
|
namespace2: 'namespace_example', # String |
|
97
97
|
offset: 56, # Integer | The initial index from which to return the results.
|
98
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
98
99
|
q: 'q_example', # String |
|
99
100
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
100
101
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -125,6 +126,7 @@ Name | Type | Description | Notes
|
|
125
126
|
**name2** | **String**| | [optional]
|
126
127
|
**namespace2** | **String**| | [optional]
|
127
128
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
129
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
128
130
|
**q** | **String**| | [optional]
|
129
131
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
130
132
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -34,6 +34,7 @@ opts = {
|
|
34
34
|
deprecated: true, # Boolean |
|
35
35
|
name: 'name_example', # String |
|
36
36
|
namespace: 'namespace_example', # String |
|
37
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
37
38
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
38
39
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
39
40
|
}
|
@@ -55,6 +56,7 @@ Name | Type | Description | Notes
|
|
55
56
|
**deprecated** | **Boolean**| | [optional]
|
56
57
|
**name** | **String**| | [optional]
|
57
58
|
**namespace** | **String**| | [optional]
|
59
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
58
60
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
59
61
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
60
62
|
|
@@ -95,6 +95,7 @@ opts = {
|
|
95
95
|
name: 'name_example', # String |
|
96
96
|
namespace: 'namespace_example', # String |
|
97
97
|
offset: 56, # Integer | The initial index from which to return the results.
|
98
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
98
99
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
99
100
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
100
101
|
}
|
@@ -118,6 +119,7 @@ Name | Type | Description | Notes
|
|
118
119
|
**name** | **String**| | [optional]
|
119
120
|
**namespace** | **String**| | [optional]
|
120
121
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
122
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
121
123
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
122
124
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
123
125
|
|
@@ -98,6 +98,7 @@ opts = {
|
|
98
98
|
name2: 'name_example', # String |
|
99
99
|
namespace2: 'namespace_example', # String |
|
100
100
|
offset: 56, # Integer | The initial index from which to return the results.
|
101
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
102
|
q: 'q_example', # String |
|
102
103
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
103
104
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -129,6 +130,7 @@ Name | Type | Description | Notes
|
|
129
130
|
**name2** | **String**| | [optional]
|
130
131
|
**namespace2** | **String**| | [optional]
|
131
132
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
133
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
132
134
|
**q** | **String**| | [optional]
|
133
135
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
134
136
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
@@ -32,7 +32,6 @@ api_instance = PulpAnsibleClient::PulpAnsibleTagsApi.new
|
|
32
32
|
opts = {
|
33
33
|
limit: 56, # Integer | Number of results to return per page.
|
34
34
|
offset: 56, # Integer | The initial index from which to return the results.
|
35
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
36
35
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
37
36
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
38
37
|
}
|
@@ -53,7 +52,6 @@ Name | Type | Description | Notes
|
|
53
52
|
------------- | ------------- | ------------- | -------------
|
54
53
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
55
54
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
56
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
57
55
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
58
56
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
59
57
|
|
@@ -148,7 +148,7 @@ opts = {
|
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
153
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
186
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
data/docs/RemotesGitApi.md
CHANGED
@@ -148,7 +148,7 @@ opts = {
|
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
153
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
186
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
data/docs/RemotesRoleApi.md
CHANGED
@@ -148,7 +148,7 @@ opts = {
|
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
153
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
186
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
@@ -151,7 +151,7 @@ opts = {
|
|
151
151
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
152
152
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
153
153
|
offset: 56, # Integer | The initial index from which to return the results.
|
154
|
-
ordering: 'ordering_example', # String |
|
154
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
155
155
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
156
156
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
157
157
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -178,7 +178,7 @@ Name | Type | Description | Notes
|
|
178
178
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
179
179
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
180
180
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
181
|
-
**ordering** | **String
|
181
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
182
182
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
183
183
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
184
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -97,7 +97,7 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
134
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | **String
|
136
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
137
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
138
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
139
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
data/git_push.sh
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
+
#
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
+
|
6
|
+
git_user_id=$1
|
7
|
+
git_repo_id=$2
|
8
|
+
release_note=$3
|
9
|
+
git_host=$4
|
10
|
+
|
11
|
+
if [ "$git_host" = "" ]; then
|
12
|
+
git_host="github.com"
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
+
fi
|
15
|
+
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
17
|
+
git_user_id="GIT_USER_ID"
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
+
fi
|
20
|
+
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
22
|
+
git_repo_id="GIT_REPO_ID"
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
+
fi
|
25
|
+
|
26
|
+
if [ "$release_note" = "" ]; then
|
27
|
+
release_note="Minor update"
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
+
fi
|
30
|
+
|
31
|
+
# Initialize the local directory as a Git repository
|
32
|
+
git init
|
33
|
+
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
35
|
+
git add .
|
36
|
+
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
+
git commit -m "$release_note"
|
39
|
+
|
40
|
+
# Sets the new remote
|
41
|
+
git_remote=`git remote`
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
+
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
+
else
|
48
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
+
fi
|
50
|
+
|
51
|
+
fi
|
52
|
+
|
53
|
+
git pull origin master
|
54
|
+
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
58
|
+
|
@@ -26,7 +26,7 @@ module PulpAnsibleClient
|
|
26
26
|
# @option opts [String] :name
|
27
27
|
# @option opts [String] :namespace
|
28
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
29
|
-
# @option opts [String] :ordering
|
29
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
30
|
# @option opts [String] :fields A list of fields to include in the response.
|
31
31
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
32
32
|
# @return [PaginatedansibleCollectionResponseList]
|
@@ -42,7 +42,7 @@ module PulpAnsibleClient
|
|
42
42
|
# @option opts [String] :name
|
43
43
|
# @option opts [String] :namespace
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
|
-
# @option opts [String] :ordering
|
45
|
+
# @option opts [Array<String>] :ordering Ordering
|
46
46
|
# @option opts [String] :fields A list of fields to include in the response.
|
47
47
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
48
48
|
# @return [Array<(PaginatedansibleCollectionResponseList, Integer, Hash)>] PaginatedansibleCollectionResponseList data, response status code and response headers
|
@@ -50,6 +50,10 @@ module PulpAnsibleClient
|
|
50
50
|
if @api_client.config.debugging
|
51
51
|
@api_client.config.logger.debug 'Calling API: AnsibleCollectionsApi.list ...'
|
52
52
|
end
|
53
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
54
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
55
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
56
|
+
end
|
53
57
|
# resource path
|
54
58
|
local_var_path = '/pulp/api/v3/ansible/collections/'
|
55
59
|
|
@@ -59,7 +63,7 @@ module PulpAnsibleClient
|
|
59
63
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
60
64
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
61
65
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
62
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
66
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
63
67
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
64
68
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
65
69
|
|
@@ -88,7 +88,7 @@ module PulpAnsibleClient
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @option opts [String] :ordering
|
91
|
+
# @option opts [Array<String>] :ordering Ordering
|
92
92
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
93
93
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
94
94
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -105,7 +105,7 @@ module PulpAnsibleClient
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
107
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
108
|
-
# @option opts [String] :ordering
|
108
|
+
# @option opts [Array<String>] :ordering Ordering
|
109
109
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
110
110
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
111
111
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -116,6 +116,10 @@ module PulpAnsibleClient
|
|
116
116
|
if @api_client.config.debugging
|
117
117
|
@api_client.config.logger.debug 'Calling API: ContentCollectionDeprecationsApi.list ...'
|
118
118
|
end
|
119
|
+
allowable_values = ["-pk", "pk"]
|
120
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
121
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
122
|
+
end
|
119
123
|
# resource path
|
120
124
|
local_var_path = '/pulp/api/v3/content/ansible/collection_deprecations/'
|
121
125
|
|
@@ -123,7 +127,7 @@ module PulpAnsibleClient
|
|
123
127
|
query_params = opts[:query_params] || {}
|
124
128
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
125
129
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
126
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
130
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
127
131
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
128
132
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
129
133
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -99,7 +99,7 @@ module PulpAnsibleClient
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
-
# @option opts [String] :ordering
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
103
103
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
104
104
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
105
105
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
@@ -120,7 +120,7 @@ module PulpAnsibleClient
|
|
120
120
|
# @param [Hash] opts the optional parameters
|
121
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
122
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
123
|
-
# @option opts [String] :ordering
|
123
|
+
# @option opts [Array<String>] :ordering Ordering
|
124
124
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
125
125
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
126
126
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
@@ -135,6 +135,10 @@ module PulpAnsibleClient
|
|
135
135
|
if @api_client.config.debugging
|
136
136
|
@api_client.config.logger.debug 'Calling API: ContentCollectionSignaturesApi.list ...'
|
137
137
|
end
|
138
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-data", "-digest", "-group_roles", "-pk", "-pubkey_fingerprint", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-signed_collection", "-signing_service", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "data", "digest", "group_roles", "pk", "pubkey_fingerprint", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "signed_collection", "signing_service", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
139
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
140
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
141
|
+
end
|
138
142
|
# resource path
|
139
143
|
local_var_path = '/pulp/api/v3/content/ansible/collection_signatures/'
|
140
144
|
|
@@ -142,7 +146,7 @@ module PulpAnsibleClient
|
|
142
146
|
query_params = opts[:query_params] || {}
|
143
147
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
144
148
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
145
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
149
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
146
150
|
query_params[:'pubkey_fingerprint'] = opts[:'pubkey_fingerprint'] if !opts[:'pubkey_fingerprint'].nil?
|
147
151
|
query_params[:'pubkey_fingerprint__in'] = @api_client.build_collection_param(opts[:'pubkey_fingerprint__in'], :csv) if !opts[:'pubkey_fingerprint__in'].nil?
|
148
152
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
@@ -26,6 +26,7 @@ module PulpAnsibleClient
|
|
26
26
|
# @param version [String] The version of the collection.
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
29
30
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
30
31
|
# @return [AsyncOperationResponse]
|
31
32
|
def create(name, namespace, version, opts = {})
|
@@ -40,6 +41,7 @@ module PulpAnsibleClient
|
|
40
41
|
# @param version [String] The version of the collection.
|
41
42
|
# @param [Hash] opts the optional parameters
|
42
43
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
43
45
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
47
|
def create_with_http_info(name, namespace, version, opts = {})
|
@@ -101,6 +103,7 @@ module PulpAnsibleClient
|
|
101
103
|
form_params['namespace'] = namespace
|
102
104
|
form_params['version'] = version
|
103
105
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
106
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
104
107
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
105
108
|
|
106
109
|
# http body (model)
|
@@ -136,7 +139,7 @@ module PulpAnsibleClient
|
|
136
139
|
# @option opts [String] :name
|
137
140
|
# @option opts [String] :namespace
|
138
141
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
139
|
-
# @option opts [String] :ordering
|
142
|
+
# @option opts [Array<String>] :ordering Ordering
|
140
143
|
# @option opts [String] :q
|
141
144
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
142
145
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -159,7 +162,7 @@ module PulpAnsibleClient
|
|
159
162
|
# @option opts [String] :name
|
160
163
|
# @option opts [String] :namespace
|
161
164
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @option opts [String] :ordering
|
165
|
+
# @option opts [Array<String>] :ordering Ordering
|
163
166
|
# @option opts [String] :q
|
164
167
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
165
168
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -173,6 +176,10 @@ module PulpAnsibleClient
|
|
173
176
|
if @api_client.config.debugging
|
174
177
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
175
178
|
end
|
179
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
180
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
181
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
182
|
+
end
|
176
183
|
# resource path
|
177
184
|
local_var_path = '/pulp/api/v3/content/ansible/collection_versions/'
|
178
185
|
|
@@ -183,7 +190,7 @@ module PulpAnsibleClient
|
|
183
190
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
184
191
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
185
192
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
186
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
193
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
187
194
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
188
195
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
189
196
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -90,7 +90,7 @@ module PulpAnsibleClient
|
|
90
90
|
# @option opts [String] :name Filter results where name matches value
|
91
91
|
# @option opts [String] :namespace Filter results where namespace matches value
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [String] :ordering
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
94
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -110,7 +110,7 @@ module PulpAnsibleClient
|
|
110
110
|
# @option opts [String] :name Filter results where name matches value
|
111
111
|
# @option opts [String] :namespace Filter results where namespace matches value
|
112
112
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
|
-
# @option opts [String] :ordering
|
113
|
+
# @option opts [Array<String>] :ordering Ordering
|
114
114
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
115
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
116
116
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -122,6 +122,10 @@ module PulpAnsibleClient
|
|
122
122
|
if @api_client.config.debugging
|
123
123
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.list ...'
|
124
124
|
end
|
125
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
126
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
127
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
128
|
+
end
|
125
129
|
# resource path
|
126
130
|
local_var_path = '/pulp/api/v3/content/ansible/roles/'
|
127
131
|
|
@@ -131,7 +135,7 @@ module PulpAnsibleClient
|
|
131
135
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
132
136
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
133
137
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
134
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
138
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
135
139
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
136
140
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
137
141
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -159,7 +159,7 @@ module PulpAnsibleClient
|
|
159
159
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
160
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @option opts [String] :ordering
|
162
|
+
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
164
|
# @option opts [String] :fields A list of fields to include in the response.
|
165
165
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -183,7 +183,7 @@ module PulpAnsibleClient
|
|
183
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
184
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [String] :ordering
|
186
|
+
# @option opts [Array<String>] :ordering Ordering
|
187
187
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
188
188
|
# @option opts [String] :fields A list of fields to include in the response.
|
189
189
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -192,6 +192,10 @@ module PulpAnsibleClient
|
|
192
192
|
if @api_client.config.debugging
|
193
193
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list ...'
|
194
194
|
end
|
195
|
+
allowable_values = ["-ansible_ansibledistribution", "-base_path", "-content_guard", "-group_roles", "-name", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "ansible_ansibledistribution", "base_path", "content_guard", "group_roles", "name", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
|
196
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
197
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
198
|
+
end
|
195
199
|
# resource path
|
196
200
|
local_var_path = '/pulp/api/v3/distributions/ansible/ansible/'
|
197
201
|
|
@@ -208,7 +212,7 @@ module PulpAnsibleClient
|
|
208
212
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
212
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
213
217
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
214
218
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
@@ -25,6 +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
|
28
29
|
# @option opts [String] :fields A list of fields to include in the response.
|
29
30
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
30
31
|
# @return [Array<CollectionResponse>]
|
@@ -39,6 +40,7 @@ module PulpAnsibleClient
|
|
39
40
|
# @option opts [Boolean] :deprecated
|
40
41
|
# @option opts [String] :name
|
41
42
|
# @option opts [String] :namespace
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
42
44
|
# @option opts [String] :fields A list of fields to include in the response.
|
43
45
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
44
46
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -50,6 +52,10 @@ module PulpAnsibleClient
|
|
50
52
|
if @api_client.config.client_side_validation && path.nil?
|
51
53
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsAllApi.list"
|
52
54
|
end
|
55
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
56
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
57
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
58
|
+
end
|
53
59
|
# resource path
|
54
60
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/collections/all/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
55
61
|
|
@@ -58,6 +64,7 @@ module PulpAnsibleClient
|
|
58
64
|
query_params[:'deprecated'] = opts[:'deprecated'] if !opts[:'deprecated'].nil?
|
59
65
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
60
66
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
67
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
61
68
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
62
69
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
63
70
|
|