pulp_cookbook_client 0.1.0b10.dev1668396731 → 0.1.0b10.dev1668482712
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulp_cookbook_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentCookbooksApi.md +10 -10
- data/docs/CookbookCookbookPackageContent.md +2 -2
- 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 +15 -15
- 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 +11 -11
- 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 +5 -5
- 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
|
|
@@ -68,9 +68,9 @@ api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
|
68
68
|
name = 'name_example' # String | name of the cookbook
|
69
69
|
opts = {
|
70
70
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
71
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
71
72
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
72
73
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
73
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
74
74
|
version: 'version_example' # String | version of the cookbook
|
75
75
|
}
|
76
76
|
|
data/docs/ContentCookbooksApi.md
CHANGED
@@ -34,9 +34,9 @@ api_instance = PulpCookbookClient::ContentCookbooksApi.new
|
|
34
34
|
name = 'name_example' # String | name of the cookbook
|
35
35
|
opts = {
|
36
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
37
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
38
39
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
39
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
40
40
|
version: 'version_example' # String | version of the cookbook
|
41
41
|
}
|
42
42
|
|
@@ -56,9 +56,9 @@ Name | Type | Description | Notes
|
|
56
56
|
------------- | ------------- | ------------- | -------------
|
57
57
|
**name** | **String**| name of the cookbook |
|
58
58
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
59
|
+
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
59
60
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
60
61
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
61
|
-
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [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
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
8
9
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
9
10
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
11
11
|
**name** | **String** | name of the cookbook |
|
12
12
|
**version** | **String** | version of the cookbook | [optional]
|
13
13
|
|
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
|
|
17
17
|
require 'PulpCookbookClient'
|
18
18
|
|
19
19
|
instance = PulpCookbookClient::CookbookCookbookPackageContent.new(repository: null,
|
20
|
+
file: null,
|
20
21
|
upload: null,
|
21
22
|
artifact: null,
|
22
|
-
file: 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
|
|
@@ -24,9 +24,9 @@ module PulpCookbookClient
|
|
24
24
|
# @param name [String] name of the cookbook
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
27
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
28
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
29
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
30
30
|
# @option opts [String] :version version of the cookbook
|
31
31
|
# @return [AsyncOperationResponse]
|
32
32
|
def create(name, opts = {})
|
@@ -39,9 +39,9 @@ module PulpCookbookClient
|
|
39
39
|
# @param name [String] name of the cookbook
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
43
44
|
# @option opts [String] :artifact Artifact file representing the physical content
|
44
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
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 = {})
|
@@ -77,9 +77,9 @@ module PulpCookbookClient
|
|
77
77
|
form_params = opts[:form_params] || {}
|
78
78
|
form_params['name'] = name
|
79
79
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
80
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
80
81
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
81
82
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
82
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].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] || {}
|
@@ -159,8 +159,8 @@ module PulpCookbookClient
|
|
159
159
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
160
160
|
# @option opts [String] :repository Repository referenced by HREF
|
161
161
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
162
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
163
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
163
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
164
164
|
# @return [PaginatedcookbookCookbookPublicationResponseList]
|
165
165
|
def list(opts = {})
|
166
166
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -183,8 +183,8 @@ module PulpCookbookClient
|
|
183
183
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
184
184
|
# @option opts [String] :repository Repository referenced by HREF
|
185
185
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
188
|
# @return [Array<(PaginatedcookbookCookbookPublicationResponseList, Integer, Hash)>] PaginatedcookbookCookbookPublicationResponseList data, response status code and response headers
|
189
189
|
def list_with_http_info(opts = {})
|
190
190
|
if @api_client.config.debugging
|
@@ -212,8 +212,8 @@ module PulpCookbookClient
|
|
212
212
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
213
213
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
214
214
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
215
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
216
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
215
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
216
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
217
217
|
|
218
218
|
# header parameters
|
219
219
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +252,8 @@ module PulpCookbookClient
|
|
252
252
|
# File Publication Endpoint. A CookbookPublication contains metadata about all the Cookbook Content in a particular Cookbook Repository Version. Once a CookbookPublication has been created, it can be hosted using the Cookbook Distribution API.
|
253
253
|
# @param cookbook_cookbook_publication_href [String]
|
254
254
|
# @param [Hash] opts the optional parameters
|
255
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
256
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
255
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
256
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
257
257
|
# @return [CookbookCookbookPublicationResponse]
|
258
258
|
def read(cookbook_cookbook_publication_href, opts = {})
|
259
259
|
data, _status_code, _headers = read_with_http_info(cookbook_cookbook_publication_href, opts)
|
@@ -264,8 +264,8 @@ module PulpCookbookClient
|
|
264
264
|
# File Publication Endpoint. A CookbookPublication contains metadata about all the Cookbook Content in a particular Cookbook Repository Version. Once a CookbookPublication has been created, it can be hosted using the Cookbook Distribution API.
|
265
265
|
# @param cookbook_cookbook_publication_href [String]
|
266
266
|
# @param [Hash] opts the optional parameters
|
267
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
268
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
267
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
268
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
269
269
|
# @return [Array<(CookbookCookbookPublicationResponse, Integer, Hash)>] CookbookCookbookPublicationResponse data, response status code and response headers
|
270
270
|
def read_with_http_info(cookbook_cookbook_publication_href, opts = {})
|
271
271
|
if @api_client.config.debugging
|
@@ -280,8 +280,8 @@ module PulpCookbookClient
|
|
280
280
|
|
281
281
|
# query parameters
|
282
282
|
query_params = opts[:query_params] || {}
|
283
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
284
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
283
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
284
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
285
285
|
|
286
286
|
# header parameters
|
287
287
|
header_params = opts[:header_params] || {}
|
@@ -163,8 +163,8 @@ module PulpCookbookClient
|
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
166
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
167
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
168
|
# @return [PaginatedcookbookCookbookRemoteResponseList]
|
169
169
|
def list(opts = {})
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -189,8 +189,8 @@ module PulpCookbookClient
|
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
192
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
194
|
# @return [Array<(PaginatedcookbookCookbookRemoteResponseList, Integer, Hash)>] PaginatedcookbookCookbookRemoteResponseList data, response status code and response headers
|
195
195
|
def list_with_http_info(opts = {})
|
196
196
|
if @api_client.config.debugging
|
@@ -220,8 +220,8 @@ module PulpCookbookClient
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
223
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
223
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
224
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
225
|
|
226
226
|
# header parameters
|
227
227
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +330,8 @@ module PulpCookbookClient
|
|
330
330
|
# Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
|
331
331
|
# @param cookbook_cookbook_remote_href [String]
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
334
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
333
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
335
|
# @return [CookbookCookbookRemoteResponse]
|
336
336
|
def read(cookbook_cookbook_remote_href, opts = {})
|
337
337
|
data, _status_code, _headers = read_with_http_info(cookbook_cookbook_remote_href, opts)
|
@@ -342,8 +342,8 @@ module PulpCookbookClient
|
|
342
342
|
# Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
|
343
343
|
# @param cookbook_cookbook_remote_href [String]
|
344
344
|
# @param [Hash] opts the optional parameters
|
345
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
346
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
345
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
346
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
347
|
# @return [Array<(CookbookCookbookRemoteResponse, Integer, Hash)>] CookbookCookbookRemoteResponse data, response status code and response headers
|
348
348
|
def read_with_http_info(cookbook_cookbook_remote_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
@@ -358,8 +358,8 @@ module PulpCookbookClient
|
|
358
358
|
|
359
359
|
# query parameters
|
360
360
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
361
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
362
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
363
363
|
|
364
364
|
# header parameters
|
365
365
|
header_params = opts[:header_params] || {}
|
@@ -158,8 +158,8 @@ module PulpCookbookClient
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
161
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
162
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
161
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
162
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
163
|
# @return [PaginatedcookbookCookbookRepositoryResponseList]
|
164
164
|
def list(opts = {})
|
165
165
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -179,8 +179,8 @@ module PulpCookbookClient
|
|
179
179
|
# @option opts [Array<String>] :ordering Ordering
|
180
180
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
181
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
182
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
183
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
183
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
184
184
|
# @return [Array<(PaginatedcookbookCookbookRepositoryResponseList, Integer, Hash)>] PaginatedcookbookCookbookRepositoryResponseList data, response status code and response headers
|
185
185
|
def list_with_http_info(opts = {})
|
186
186
|
if @api_client.config.debugging
|
@@ -205,8 +205,8 @@ module PulpCookbookClient
|
|
205
205
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
206
206
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
207
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
208
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
209
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
208
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
209
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
210
|
|
211
211
|
# header parameters
|
212
212
|
header_params = opts[:header_params] || {}
|
@@ -385,8 +385,8 @@ module PulpCookbookClient
|
|
385
385
|
# Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
|
386
386
|
# @param cookbook_cookbook_repository_href [String]
|
387
387
|
# @param [Hash] opts the optional parameters
|
388
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
389
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
388
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
389
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
390
390
|
# @return [CookbookCookbookRepositoryResponse]
|
391
391
|
def read(cookbook_cookbook_repository_href, opts = {})
|
392
392
|
data, _status_code, _headers = read_with_http_info(cookbook_cookbook_repository_href, opts)
|
@@ -397,8 +397,8 @@ module PulpCookbookClient
|
|
397
397
|
# Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
|
398
398
|
# @param cookbook_cookbook_repository_href [String]
|
399
399
|
# @param [Hash] opts the optional parameters
|
400
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
401
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
400
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
401
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
402
402
|
# @return [Array<(CookbookCookbookRepositoryResponse, Integer, Hash)>] CookbookCookbookRepositoryResponse data, response status code and response headers
|
403
403
|
def read_with_http_info(cookbook_cookbook_repository_href, opts = {})
|
404
404
|
if @api_client.config.debugging
|
@@ -413,8 +413,8 @@ module PulpCookbookClient
|
|
413
413
|
|
414
414
|
# query parameters
|
415
415
|
query_params = opts[:query_params] || {}
|
416
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
417
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
416
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
417
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
418
418
|
|
419
419
|
# header parameters
|
420
420
|
header_params = opts[:header_params] || {}
|
@@ -102,8 +102,8 @@ module PulpCookbookClient
|
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
108
108
|
def list(cookbook_cookbook_repository_href, opts = {})
|
109
109
|
data, _status_code, _headers = list_with_http_info(cookbook_cookbook_repository_href, opts)
|
@@ -131,8 +131,8 @@ module PulpCookbookClient
|
|
131
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(cookbook_cookbook_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
@@ -168,8 +168,8 @@ module PulpCookbookClient
|
|
168
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
171
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
172
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
171
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
172
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
173
173
|
|
174
174
|
# header parameters
|
175
175
|
header_params = opts[:header_params] || {}
|
@@ -208,8 +208,8 @@ module PulpCookbookClient
|
|
208
208
|
# Cookbook Repository Version Endpoint. CookbookRepositoryVersion represents a single cookbook repository version.
|
209
209
|
# @param cookbook_cookbook_repository_version_href [String]
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
212
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
211
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
212
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
213
213
|
# @return [RepositoryVersionResponse]
|
214
214
|
def read(cookbook_cookbook_repository_version_href, opts = {})
|
215
215
|
data, _status_code, _headers = read_with_http_info(cookbook_cookbook_repository_version_href, opts)
|
@@ -220,8 +220,8 @@ module PulpCookbookClient
|
|
220
220
|
# Cookbook Repository Version Endpoint. CookbookRepositoryVersion represents a single cookbook repository version.
|
221
221
|
# @param cookbook_cookbook_repository_version_href [String]
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
224
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
223
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
224
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
225
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
226
226
|
def read_with_http_info(cookbook_cookbook_repository_version_href, opts = {})
|
227
227
|
if @api_client.config.debugging
|
@@ -236,8 +236,8 @@ module PulpCookbookClient
|
|
236
236
|
|
237
237
|
# query parameters
|
238
238
|
query_params = opts[:query_params] || {}
|
239
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
240
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
239
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
240
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
241
241
|
|
242
242
|
# header parameters
|
243
243
|
header_params = opts[:header_params] || {}
|
@@ -18,15 +18,15 @@ module PulpCookbookClient
|
|
18
18
|
# A URI of a repository the new content unit should be associated with.
|
19
19
|
attr_accessor :repository
|
20
20
|
|
21
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
22
|
+
attr_accessor :file
|
23
|
+
|
21
24
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
22
25
|
attr_accessor :upload
|
23
26
|
|
24
27
|
# Artifact file representing the physical content
|
25
28
|
attr_accessor :artifact
|
26
29
|
|
27
|
-
# An uploaded file that may be turned into the artifact of the content unit.
|
28
|
-
attr_accessor :file
|
29
|
-
|
30
30
|
# name of the cookbook
|
31
31
|
attr_accessor :name
|
32
32
|
|
@@ -37,9 +37,9 @@ module PulpCookbookClient
|
|
37
37
|
def self.attribute_map
|
38
38
|
{
|
39
39
|
:'repository' => :'repository',
|
40
|
+
:'file' => :'file',
|
40
41
|
:'upload' => :'upload',
|
41
42
|
:'artifact' => :'artifact',
|
42
|
-
:'file' => :'file',
|
43
43
|
:'name' => :'name',
|
44
44
|
:'version' => :'version'
|
45
45
|
}
|
@@ -49,9 +49,9 @@ module PulpCookbookClient
|
|
49
49
|
def self.openapi_types
|
50
50
|
{
|
51
51
|
:'repository' => :'String',
|
52
|
+
:'file' => :'File',
|
52
53
|
:'upload' => :'String',
|
53
54
|
:'artifact' => :'String',
|
54
|
-
:'file' => :'File',
|
55
55
|
:'name' => :'String',
|
56
56
|
:'version' => :'String'
|
57
57
|
}
|
@@ -82,6 +82,10 @@ module PulpCookbookClient
|
|
82
82
|
self.repository = attributes[:'repository']
|
83
83
|
end
|
84
84
|
|
85
|
+
if attributes.key?(:'file')
|
86
|
+
self.file = attributes[:'file']
|
87
|
+
end
|
88
|
+
|
85
89
|
if attributes.key?(:'upload')
|
86
90
|
self.upload = attributes[:'upload']
|
87
91
|
end
|
@@ -90,10 +94,6 @@ module PulpCookbookClient
|
|
90
94
|
self.artifact = attributes[:'artifact']
|
91
95
|
end
|
92
96
|
|
93
|
-
if attributes.key?(:'file')
|
94
|
-
self.file = attributes[:'file']
|
95
|
-
end
|
96
|
-
|
97
97
|
if attributes.key?(:'name')
|
98
98
|
self.name = attributes[:'name']
|
99
99
|
end
|
@@ -161,9 +161,9 @@ module PulpCookbookClient
|
|
161
161
|
return true if self.equal?(o)
|
162
162
|
self.class == o.class &&
|
163
163
|
repository == o.repository &&
|
164
|
+
file == o.file &&
|
164
165
|
upload == o.upload &&
|
165
166
|
artifact == o.artifact &&
|
166
|
-
file == o.file &&
|
167
167
|
name == o.name &&
|
168
168
|
version == o.version
|
169
169
|
end
|
@@ -177,7 +177,7 @@ module PulpCookbookClient
|
|
177
177
|
# Calculates hash code according to all attributes.
|
178
178
|
# @return [Integer] Hash code
|
179
179
|
def hash
|
180
|
-
[repository, upload, artifact,
|
180
|
+
[repository, file, upload, artifact, name, version].hash
|
181
181
|
end
|
182
182
|
|
183
183
|
# Builds the object from hash
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpCookbookClient
|
16
16
|
# Serializer for the cookbook content.
|
17
17
|
class CookbookCookbookPackageContentResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
18
20
|
# Timestamp of creation.
|
19
21
|
attr_accessor :pulp_created
|
20
22
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
23
|
# Artifact file representing the physical content
|
24
24
|
attr_accessor :artifact
|
25
25
|
|
@@ -38,8 +38,8 @@ module PulpCookbookClient
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
39
|
def self.attribute_map
|
40
40
|
{
|
41
|
-
:'pulp_created' => :'pulp_created',
|
42
41
|
:'pulp_href' => :'pulp_href',
|
42
|
+
:'pulp_created' => :'pulp_created',
|
43
43
|
:'artifact' => :'artifact',
|
44
44
|
:'name' => :'name',
|
45
45
|
:'version' => :'version',
|
@@ -51,8 +51,8 @@ module PulpCookbookClient
|
|
51
51
|
# Attribute type mapping.
|
52
52
|
def self.openapi_types
|
53
53
|
{
|
54
|
-
:'pulp_created' => :'DateTime',
|
55
54
|
:'pulp_href' => :'String',
|
55
|
+
:'pulp_created' => :'DateTime',
|
56
56
|
:'artifact' => :'String',
|
57
57
|
:'name' => :'String',
|
58
58
|
:'version' => :'String',
|
@@ -82,14 +82,14 @@ module PulpCookbookClient
|
|
82
82
|
h[k.to_sym] = v
|
83
83
|
}
|
84
84
|
|
85
|
-
if attributes.key?(:'pulp_created')
|
86
|
-
self.pulp_created = attributes[:'pulp_created']
|
87
|
-
end
|
88
|
-
|
89
85
|
if attributes.key?(:'pulp_href')
|
90
86
|
self.pulp_href = attributes[:'pulp_href']
|
91
87
|
end
|
92
88
|
|
89
|
+
if attributes.key?(:'pulp_created')
|
90
|
+
self.pulp_created = attributes[:'pulp_created']
|
91
|
+
end
|
92
|
+
|
93
93
|
if attributes.key?(:'artifact')
|
94
94
|
self.artifact = attributes[:'artifact']
|
95
95
|
end
|
@@ -134,8 +134,8 @@ module PulpCookbookClient
|
|
134
134
|
def ==(o)
|
135
135
|
return true if self.equal?(o)
|
136
136
|
self.class == o.class &&
|
137
|
-
pulp_created == o.pulp_created &&
|
138
137
|
pulp_href == o.pulp_href &&
|
138
|
+
pulp_created == o.pulp_created &&
|
139
139
|
artifact == o.artifact &&
|
140
140
|
name == o.name &&
|
141
141
|
version == o.version &&
|
@@ -152,7 +152,7 @@ module PulpCookbookClient
|
|
152
152
|
# Calculates hash code according to all attributes.
|
153
153
|
# @return [Integer] Hash code
|
154
154
|
def hash
|
155
|
-
[
|
155
|
+
[pulp_href, pulp_created, artifact, name, version, dependencies, content_id].hash
|
156
156
|
end
|
157
157
|
|
158
158
|
# Builds the object from hash
|
@@ -38,9 +38,9 @@ describe 'ContentCookbooksApi' do
|
|
38
38
|
# @param name name of the cookbook
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
41
42
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
42
43
|
# @option opts [String] :artifact Artifact file representing the physical content
|
43
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
44
|
# @option opts [String] :version version of the cookbook
|
45
45
|
# @return [AsyncOperationResponse]
|
46
46
|
describe 'create test' do
|
@@ -62,8 +62,8 @@ describe 'ContentCookbooksApi' do
|
|
62
62
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
63
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
64
64
|
# @option opts [String] :version Filter results where version matches value
|
65
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
66
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
65
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
66
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
67
67
|
# @return [PaginatedcookbookCookbookPackageContentResponseList]
|
68
68
|
describe 'list test' do
|
69
69
|
it 'should work' do
|
@@ -76,8 +76,8 @@ describe 'ContentCookbooksApi' do
|
|
76
76
|
# Cookbook Content Endpoint. CookbookContent represents a single cookbook, which can be added and removed from repositories.
|
77
77
|
# @param cookbook_cookbook_package_content_href
|
78
78
|
# @param [Hash] opts the optional parameters
|
79
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
80
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
79
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
81
81
|
# @return [CookbookCookbookPackageContentResponse]
|
82
82
|
describe 'read test' do
|
83
83
|
it 'should work' do
|
@@ -74,8 +74,8 @@ describe 'DistributionsCookbookApi' do
|
|
74
74
|
# @option opts [Array<String>] :ordering Ordering
|
75
75
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
76
76
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
77
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
78
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
77
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
78
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
79
79
|
# @return [PaginatedcookbookCookbookDistributionResponseList]
|
80
80
|
describe 'list test' do
|
81
81
|
it 'should work' do
|
@@ -101,8 +101,8 @@ describe 'DistributionsCookbookApi' do
|
|
101
101
|
# 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.
|
102
102
|
# @param cookbook_cookbook_distribution_href
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
105
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
104
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
106
|
# @return [CookbookCookbookDistributionResponse]
|
107
107
|
describe 'read test' do
|
108
108
|
it 'should work' do
|
@@ -73,8 +73,8 @@ describe 'PublicationsCookbookApi' do
|
|
73
73
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
74
74
|
# @option opts [String] :repository Repository referenced by HREF
|
75
75
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
76
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
77
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
77
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
78
78
|
# @return [PaginatedcookbookCookbookPublicationResponseList]
|
79
79
|
describe 'list test' do
|
80
80
|
it 'should work' do
|
@@ -87,8 +87,8 @@ describe 'PublicationsCookbookApi' do
|
|
87
87
|
# File Publication Endpoint. A CookbookPublication contains metadata about all the Cookbook Content in a particular Cookbook Repository Version. Once a CookbookPublication has been created, it can be hosted using the Cookbook Distribution API.
|
88
88
|
# @param cookbook_cookbook_publication_href
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
91
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
90
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
91
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
92
92
|
# @return [CookbookCookbookPublicationResponse]
|
93
93
|
describe 'read test' do
|
94
94
|
it 'should work' do
|
@@ -75,8 +75,8 @@ describe 'RemotesCookbookApi' do
|
|
75
75
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
76
76
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
77
77
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
78
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
79
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
78
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
79
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
80
80
|
# @return [PaginatedcookbookCookbookRemoteResponseList]
|
81
81
|
describe 'list test' do
|
82
82
|
it 'should work' do
|
@@ -102,8 +102,8 @@ describe 'RemotesCookbookApi' do
|
|
102
102
|
# Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
|
103
103
|
# @param cookbook_cookbook_remote_href
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [CookbookCookbookRemoteResponse]
|
108
108
|
describe 'read test' do
|
109
109
|
it 'should work' do
|
@@ -70,8 +70,8 @@ describe 'RepositoriesCookbookApi' do
|
|
70
70
|
# @option opts [Array<String>] :ordering Ordering
|
71
71
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
72
72
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
74
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
74
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
75
75
|
# @return [PaginatedcookbookCookbookRepositoryResponseList]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
@@ -110,8 +110,8 @@ describe 'RepositoriesCookbookApi' do
|
|
110
110
|
# Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
|
111
111
|
# @param cookbook_cookbook_repository_href
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
114
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
113
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
115
|
# @return [CookbookCookbookRepositoryResponse]
|
116
116
|
describe 'read test' do
|
117
117
|
it 'should work' do
|
@@ -66,8 +66,8 @@ describe 'RepositoriesCookbookVersionsApi' do
|
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
70
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
71
|
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
@@ -80,8 +80,8 @@ describe 'RepositoriesCookbookVersionsApi' do
|
|
80
80
|
# Cookbook Repository Version Endpoint. CookbookRepositoryVersion represents a single cookbook repository version.
|
81
81
|
# @param cookbook_cookbook_repository_version_href
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
84
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
85
|
# @return [RepositoryVersionResponse]
|
86
86
|
describe 'read test' do
|
87
87
|
it 'should work' do
|
@@ -32,13 +32,13 @@ describe 'CookbookCookbookPackageContentResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpCookbookClient::CookbookCookbookPackageContentResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -38,19 +38,19 @@ describe 'CookbookCookbookPackageContent' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "file"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "upload"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "artifact"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_cookbook_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0b10.
|
4
|
+
version: 0.1.0b10.dev1668482712
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|