pulp_cookbook_client 0.1.0b10.dev1668310365 → 0.1.0b10.dev1668482712
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_cookbook_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/docs/ContentCookbooksApi.md +12 -12
- data/docs/CookbookCookbookPackageContent.md +5 -5
- data/docs/CookbookCookbookPackageContentResponse.md +3 -3
- data/docs/DistributionsCookbookApi.md +8 -8
- data/docs/PublicationsCookbookApi.md +8 -8
- data/docs/RemotesCookbookApi.md +8 -8
- data/docs/RepositoriesCookbookApi.md +8 -8
- data/docs/RepositoriesCookbookVersionsApi.md +8 -8
- data/lib/pulp_cookbook_client/api/content_cookbooks_api.rb +18 -18
- data/lib/pulp_cookbook_client/api/distributions_cookbook_api.rb +12 -12
- data/lib/pulp_cookbook_client/api/publications_cookbook_api.rb +12 -12
- data/lib/pulp_cookbook_client/api/remotes_cookbook_api.rb +12 -12
- data/lib/pulp_cookbook_client/api/repositories_cookbook_api.rb +12 -12
- data/lib/pulp_cookbook_client/api/repositories_cookbook_versions_api.rb +12 -12
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content.rb +18 -18
- data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content_response.rb +10 -10
- data/lib/pulp_cookbook_client/version.rb +1 -1
- data/spec/api/content_cookbooks_api_spec.rb +6 -6
- data/spec/api/distributions_cookbook_api_spec.rb +4 -4
- data/spec/api/publications_cookbook_api_spec.rb +4 -4
- data/spec/api/remotes_cookbook_api_spec.rb +4 -4
- data/spec/api/repositories_cookbook_api_spec.rb +4 -4
- data/spec/api/repositories_cookbook_versions_api_spec.rb +4 -4
- data/spec/models/cookbook_cookbook_package_content_response_spec.rb +2 -2
- data/spec/models/cookbook_cookbook_package_content_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b60b56b233c431fa802c8ce57bc90eabc8b39026a7dfd2aa66ba3a0de53b0403
|
4
|
+
data.tar.gz: 2bb2f2eb70373bfd15d9536f851c6a3c20fda32606acd1a6ef157ac52bea9113
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be2d46f3e1a6ae9c2db7a80015098ef1c32bbbfe42455cf94e295daaa1392cda19cdebf8420f02d9b149b679068f120a41049d312c762ef5b93e7ed7ef42b574
|
7
|
+
data.tar.gz: 82f51227c68501c8f49d810ab6456c32af17c939b2d6e9953dbb1c625c3353387fab51c323fb3422d44b6820e3a67e8dc3647443cb93389871759b036a71ee61
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.1.0b10.
|
10
|
+
- Package version: 0.1.0b10.dev1668482712
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_cookbook_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_cookbook_client-0.1.0b10.
|
27
|
+
gem install ./pulp_cookbook_client-0.1.0b10.dev1668482712.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_cookbook_client-0.1.0b10.
|
30
|
+
(for development, run `gem install --dev ./pulp_cookbook_client-0.1.0b10.dev1668482712.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_cookbook_client', '~> 0.1.0b10.
|
36
|
+
gem 'pulp_cookbook_client', '~> 0.1.0b10.dev1668482712'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -67,10 +67,10 @@ end
|
|
67
67
|
api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
68
68
|
name = 'name_example' # String | name of the cookbook
|
69
69
|
opts = {
|
70
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
70
71
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
71
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
72
72
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
73
|
-
|
73
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
74
74
|
version: 'version_example' # String | version of the cookbook
|
75
75
|
}
|
76
76
|
|
data/docs/ContentCookbooksApi.md
CHANGED
@@ -33,10 +33,10 @@ end
|
|
33
33
|
api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
34
34
|
name = 'name_example' # String | name of the cookbook
|
35
35
|
opts = {
|
36
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
37
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
|
-
|
39
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
40
40
|
version: 'version_example' # String | version of the cookbook
|
41
41
|
}
|
42
42
|
|
@@ -55,10 +55,10 @@ end
|
|
55
55
|
Name | Type | Description | Notes
|
56
56
|
------------- | ------------- | ------------- | -------------
|
57
57
|
**name** | **String**| name of the cookbook |
|
58
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
58
59
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
59
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
60
60
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
61
|
-
**
|
61
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
62
62
|
**version** | **String**| version of the cookbook | [optional]
|
63
63
|
|
64
64
|
### Return type
|
@@ -106,8 +106,8 @@ opts = {
|
|
106
106
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
107
107
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
108
108
|
version: 'version_example', # String | Filter results where version matches value
|
109
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
110
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
109
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
110
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
111
111
|
}
|
112
112
|
|
113
113
|
begin
|
@@ -133,8 +133,8 @@ Name | Type | Description | Notes
|
|
133
133
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
134
134
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
135
135
|
**version** | **String**| Filter results where version matches value | [optional]
|
136
|
-
**fields** | **String
|
137
|
-
**exclude_fields** | **String
|
136
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
137
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
138
138
|
|
139
139
|
### Return type
|
140
140
|
|
@@ -173,8 +173,8 @@ end
|
|
173
173
|
api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
174
174
|
cookbook_cookbook_package_content_href = 'cookbook_cookbook_package_content_href_example' # String |
|
175
175
|
opts = {
|
176
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
177
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
176
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
177
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
178
178
|
}
|
179
179
|
|
180
180
|
begin
|
@@ -192,8 +192,8 @@ end
|
|
192
192
|
Name | Type | Description | Notes
|
193
193
|
------------- | ------------- | ------------- | -------------
|
194
194
|
**cookbook_cookbook_package_content_href** | **String**| |
|
195
|
-
**fields** | **String
|
196
|
-
**exclude_fields** | **String
|
195
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
196
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
197
197
|
|
198
198
|
### Return type
|
199
199
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
8
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
10
|
-
**
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
11
11
|
**name** | **String** | name of the cookbook |
|
12
12
|
**version** | **String** | version of the cookbook | [optional]
|
13
13
|
|
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpCookbookClient'
|
18
18
|
|
19
|
-
instance = PulpCookbookClient::CookbookCookbookPackageContent.new(
|
20
|
-
|
19
|
+
instance = PulpCookbookClient::CookbookCookbookPackageContent.new(repository: null,
|
20
|
+
file: null,
|
21
21
|
upload: null,
|
22
|
-
|
22
|
+
artifact: null,
|
23
23
|
name: null,
|
24
24
|
version: null)
|
25
25
|
```
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
10
|
**name** | **String** | name of the cookbook |
|
11
11
|
**version** | **String** | version of the cookbook | [optional]
|
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpCookbookClient'
|
19
19
|
|
20
|
-
instance = PulpCookbookClient::CookbookCookbookPackageContentResponse.new(
|
21
|
-
|
20
|
+
instance = PulpCookbookClient::CookbookCookbookPackageContentResponse.new(pulp_href: null,
|
21
|
+
pulp_created: null,
|
22
22
|
artifact: null,
|
23
23
|
name: null,
|
24
24
|
version: null,
|
@@ -155,8 +155,8 @@ 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
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
158
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
159
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
158
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
159
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
160
160
|
}
|
161
161
|
|
162
162
|
begin
|
@@ -187,8 +187,8 @@ Name | Type | Description | Notes
|
|
187
187
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
188
188
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
189
189
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
190
|
-
**fields** | **String
|
191
|
-
**exclude_fields** | **String
|
190
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
191
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
192
192
|
|
193
193
|
### Return type
|
194
194
|
|
@@ -282,8 +282,8 @@ end
|
|
282
282
|
api_instance = PulpCookbookClient::DistributionsCookbookApi.new
|
283
283
|
cookbook_cookbook_distribution_href = 'cookbook_cookbook_distribution_href_example' # String |
|
284
284
|
opts = {
|
285
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
286
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
285
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
286
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
287
287
|
}
|
288
288
|
|
289
289
|
begin
|
@@ -301,8 +301,8 @@ end
|
|
301
301
|
Name | Type | Description | Notes
|
302
302
|
------------- | ------------- | ------------- | -------------
|
303
303
|
**cookbook_cookbook_distribution_href** | **String**| |
|
304
|
-
**fields** | **String
|
305
|
-
**exclude_fields** | **String
|
304
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
305
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
306
306
|
|
307
307
|
### Return type
|
308
308
|
|
@@ -151,8 +151,8 @@ opts = {
|
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
152
|
repository: 'repository_example', # String | Repository referenced by HREF
|
153
153
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
154
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
155
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
154
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
155
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
156
156
|
}
|
157
157
|
|
158
158
|
begin
|
@@ -182,8 +182,8 @@ Name | Type | Description | Notes
|
|
182
182
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
183
183
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
184
184
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
185
|
-
**fields** | **String
|
186
|
-
**exclude_fields** | **String
|
185
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
186
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
187
187
|
|
188
188
|
### Return type
|
189
189
|
|
@@ -222,8 +222,8 @@ end
|
|
222
222
|
api_instance = PulpCookbookClient::PublicationsCookbookApi.new
|
223
223
|
cookbook_cookbook_publication_href = 'cookbook_cookbook_publication_href_example' # String |
|
224
224
|
opts = {
|
225
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
226
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
225
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
226
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
227
227
|
}
|
228
228
|
|
229
229
|
begin
|
@@ -241,8 +241,8 @@ end
|
|
241
241
|
Name | Type | Description | Notes
|
242
242
|
------------- | ------------- | ------------- | -------------
|
243
243
|
**cookbook_cookbook_publication_href** | **String**| |
|
244
|
-
**fields** | **String
|
245
|
-
**exclude_fields** | **String
|
244
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
245
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
246
246
|
|
247
247
|
### Return type
|
248
248
|
|
data/docs/RemotesCookbookApi.md
CHANGED
@@ -156,8 +156,8 @@ 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
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
160
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
159
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
160
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
161
161
|
}
|
162
162
|
|
163
163
|
begin
|
@@ -189,8 +189,8 @@ Name | Type | Description | Notes
|
|
189
189
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
190
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
191
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
192
|
-
**fields** | **String
|
193
|
-
**exclude_fields** | **String
|
192
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
193
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
194
194
|
|
195
195
|
### Return type
|
196
196
|
|
@@ -284,8 +284,8 @@ end
|
|
284
284
|
api_instance = PulpCookbookClient::RemotesCookbookApi.new
|
285
285
|
cookbook_cookbook_remote_href = 'cookbook_cookbook_remote_href_example' # String |
|
286
286
|
opts = {
|
287
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
288
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
287
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
288
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
289
289
|
}
|
290
290
|
|
291
291
|
begin
|
@@ -303,8 +303,8 @@ end
|
|
303
303
|
Name | Type | Description | Notes
|
304
304
|
------------- | ------------- | ------------- | -------------
|
305
305
|
**cookbook_cookbook_remote_href** | **String**| |
|
306
|
-
**fields** | **String
|
307
|
-
**exclude_fields** | **String
|
306
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
307
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
308
308
|
|
309
309
|
### Return type
|
310
310
|
|
@@ -153,8 +153,8 @@ opts = {
|
|
153
153
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
154
154
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
155
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
156
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
157
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
156
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
157
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
158
158
|
}
|
159
159
|
|
160
160
|
begin
|
@@ -181,8 +181,8 @@ Name | Type | Description | Notes
|
|
181
181
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
182
182
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
183
183
|
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
184
|
-
**fields** | **String
|
185
|
-
**exclude_fields** | **String
|
184
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
185
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
186
186
|
|
187
187
|
### Return type
|
188
188
|
|
@@ -331,8 +331,8 @@ end
|
|
331
331
|
api_instance = PulpCookbookClient::RepositoriesCookbookApi.new
|
332
332
|
cookbook_cookbook_repository_href = 'cookbook_cookbook_repository_href_example' # String |
|
333
333
|
opts = {
|
334
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
335
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
334
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
335
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
336
336
|
}
|
337
337
|
|
338
338
|
begin
|
@@ -350,8 +350,8 @@ end
|
|
350
350
|
Name | Type | Description | Notes
|
351
351
|
------------- | ------------- | ------------- | -------------
|
352
352
|
**cookbook_cookbook_repository_href** | **String**| |
|
353
|
-
**fields** | **String
|
354
|
-
**exclude_fields** | **String
|
353
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
354
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
355
355
|
|
356
356
|
### Return type
|
357
357
|
|
@@ -104,8 +104,8 @@ opts = {
|
|
104
104
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
105
105
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
106
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
108
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
107
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
108
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
109
109
|
}
|
110
110
|
|
111
111
|
begin
|
@@ -140,8 +140,8 @@ Name | Type | Description | Notes
|
|
140
140
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
141
141
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
142
142
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
143
|
-
**fields** | **String
|
144
|
-
**exclude_fields** | **String
|
143
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
144
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
145
145
|
|
146
146
|
### Return type
|
147
147
|
|
@@ -180,8 +180,8 @@ end
|
|
180
180
|
api_instance = PulpCookbookClient::RepositoriesCookbookVersionsApi.new
|
181
181
|
cookbook_cookbook_repository_version_href = 'cookbook_cookbook_repository_version_href_example' # String |
|
182
182
|
opts = {
|
183
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
184
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
183
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
184
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
185
185
|
}
|
186
186
|
|
187
187
|
begin
|
@@ -199,8 +199,8 @@ end
|
|
199
199
|
Name | Type | Description | Notes
|
200
200
|
------------- | ------------- | ------------- | -------------
|
201
201
|
**cookbook_cookbook_repository_version_href** | **String**| |
|
202
|
-
**fields** | **String
|
203
|
-
**exclude_fields** | **String
|
202
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
203
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
204
204
|
|
205
205
|
### Return type
|
206
206
|
|
@@ -23,10 +23,10 @@ module PulpCookbookClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param name [String] name of the cookbook
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
27
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
27
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
28
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
29
|
-
# @option opts [String] :
|
29
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
30
30
|
# @option opts [String] :version version of the cookbook
|
31
31
|
# @return [AsyncOperationResponse]
|
32
32
|
def create(name, opts = {})
|
@@ -38,10 +38,10 @@ module PulpCookbookClient
|
|
38
38
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
39
39
|
# @param name [String] name of the cookbook
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
42
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
44
|
-
# @option opts [String] :
|
44
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
45
45
|
# @option opts [String] :version version of the cookbook
|
46
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
47
47
|
def create_with_http_info(name, opts = {})
|
@@ -76,10 +76,10 @@ module PulpCookbookClient
|
|
76
76
|
# form parameters
|
77
77
|
form_params = opts[:form_params] || {}
|
78
78
|
form_params['name'] = name
|
79
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
79
80
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
80
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
81
81
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
82
|
-
form_params['
|
82
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
83
83
|
form_params['version'] = opts[:'version'] if !opts[:'version'].nil?
|
84
84
|
|
85
85
|
# http body (model)
|
@@ -119,8 +119,8 @@ module PulpCookbookClient
|
|
119
119
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
120
120
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
121
121
|
# @option opts [String] :version Filter results where version matches value
|
122
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
123
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
124
|
# @return [PaginatedcookbookCookbookPackageContentResponseList]
|
125
125
|
def list(opts = {})
|
126
126
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -139,8 +139,8 @@ module PulpCookbookClient
|
|
139
139
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
140
140
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
141
141
|
# @option opts [String] :version Filter results where version matches value
|
142
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
143
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
142
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
143
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
144
144
|
# @return [Array<(PaginatedcookbookCookbookPackageContentResponseList, Integer, Hash)>] PaginatedcookbookCookbookPackageContentResponseList data, response status code and response headers
|
145
145
|
def list_with_http_info(opts = {})
|
146
146
|
if @api_client.config.debugging
|
@@ -164,8 +164,8 @@ module PulpCookbookClient
|
|
164
164
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
165
165
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
166
166
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
167
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
168
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
167
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
168
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
169
169
|
|
170
170
|
# header parameters
|
171
171
|
header_params = opts[:header_params] || {}
|
@@ -204,8 +204,8 @@ module PulpCookbookClient
|
|
204
204
|
# Cookbook Content Endpoint. CookbookContent represents a single cookbook, which can be added and removed from repositories.
|
205
205
|
# @param cookbook_cookbook_package_content_href [String]
|
206
206
|
# @param [Hash] opts the optional parameters
|
207
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
208
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
207
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
208
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
209
209
|
# @return [CookbookCookbookPackageContentResponse]
|
210
210
|
def read(cookbook_cookbook_package_content_href, opts = {})
|
211
211
|
data, _status_code, _headers = read_with_http_info(cookbook_cookbook_package_content_href, opts)
|
@@ -216,8 +216,8 @@ module PulpCookbookClient
|
|
216
216
|
# Cookbook Content Endpoint. CookbookContent represents a single cookbook, which can be added and removed from repositories.
|
217
217
|
# @param cookbook_cookbook_package_content_href [String]
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
220
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
219
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
220
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
221
221
|
# @return [Array<(CookbookCookbookPackageContentResponse, Integer, Hash)>] CookbookCookbookPackageContentResponse data, response status code and response headers
|
222
222
|
def read_with_http_info(cookbook_cookbook_package_content_href, opts = {})
|
223
223
|
if @api_client.config.debugging
|
@@ -232,8 +232,8 @@ module PulpCookbookClient
|
|
232
232
|
|
233
233
|
# query parameters
|
234
234
|
query_params = opts[:query_params] || {}
|
235
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
236
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
235
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
236
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
237
237
|
|
238
238
|
# header parameters
|
239
239
|
header_params = opts[:header_params] || {}
|
@@ -162,8 +162,8 @@ module PulpCookbookClient
|
|
162
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] :with_content Filter distributions based on the content served by them
|
165
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
166
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
167
|
# @return [PaginatedcookbookCookbookDistributionResponseList]
|
168
168
|
def list(opts = {})
|
169
169
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -187,8 +187,8 @@ module PulpCookbookClient
|
|
187
187
|
# @option opts [Array<String>] :ordering Ordering
|
188
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
189
189
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
190
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
191
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
190
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
192
|
# @return [Array<(PaginatedcookbookCookbookDistributionResponseList, Integer, Hash)>] PaginatedcookbookCookbookDistributionResponseList data, response status code and response headers
|
193
193
|
def list_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
@@ -217,8 +217,8 @@ module PulpCookbookClient
|
|
217
217
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
218
218
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
219
219
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
221
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
220
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
222
222
|
|
223
223
|
# header parameters
|
224
224
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +327,8 @@ module PulpCookbookClient
|
|
327
327
|
# Cookbook Distreibution Endpoint. CookbookDistributions host Cookbook Publications which makes the metadata and the referenced Cookbook Content available to clients like berkshelf. Additionally, a CookbookDistribution with an associated CookbookPublication can be the target url of a Cookbook Remote , allowing another instance of Pulp to sync the content.
|
328
328
|
# @param cookbook_cookbook_distribution_href [String]
|
329
329
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
330
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
332
|
# @return [CookbookCookbookDistributionResponse]
|
333
333
|
def read(cookbook_cookbook_distribution_href, opts = {})
|
334
334
|
data, _status_code, _headers = read_with_http_info(cookbook_cookbook_distribution_href, opts)
|
@@ -339,8 +339,8 @@ module PulpCookbookClient
|
|
339
339
|
# Cookbook Distreibution Endpoint. CookbookDistributions host Cookbook Publications which makes the metadata and the referenced Cookbook Content available to clients like berkshelf. Additionally, a CookbookDistribution with an associated CookbookPublication can be the target url of a Cookbook Remote , allowing another instance of Pulp to sync the content.
|
340
340
|
# @param cookbook_cookbook_distribution_href [String]
|
341
341
|
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
343
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
342
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
343
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
344
344
|
# @return [Array<(CookbookCookbookDistributionResponse, Integer, Hash)>] CookbookCookbookDistributionResponse data, response status code and response headers
|
345
345
|
def read_with_http_info(cookbook_cookbook_distribution_href, opts = {})
|
346
346
|
if @api_client.config.debugging
|
@@ -355,8 +355,8 @@ module PulpCookbookClient
|
|
355
355
|
|
356
356
|
# query parameters
|
357
357
|
query_params = opts[:query_params] || {}
|
358
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
359
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
358
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
359
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
360
360
|
|
361
361
|
# header parameters
|
362
362
|
header_params = opts[:header_params] || {}
|