pulp_cookbook_client 0.1.0b10.dev1669001208 → 0.1.0b10.dev1669087292

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.

Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/ContentCookbooksApi.md +4 -4
  4. data/docs/CookbookCookbookPackageContent.md +5 -5
  5. data/docs/CookbookCookbookPackageContentResponse.md +4 -4
  6. data/docs/DistributionsCookbookApi.md +4 -4
  7. data/docs/PublicationsCookbookApi.md +2 -2
  8. data/docs/RemotesCookbookApi.md +4 -4
  9. data/docs/RepositoriesCookbookApi.md +3 -3
  10. data/docs/RepositoriesCookbookVersionsApi.md +4 -4
  11. data/lib/pulp_cookbook_client/api/content_cookbooks_api.rb +7 -7
  12. data/lib/pulp_cookbook_client/api/distributions_cookbook_api.rb +5 -5
  13. data/lib/pulp_cookbook_client/api/publications_cookbook_api.rb +3 -3
  14. data/lib/pulp_cookbook_client/api/remotes_cookbook_api.rb +5 -5
  15. data/lib/pulp_cookbook_client/api/repositories_cookbook_api.rb +3 -3
  16. data/lib/pulp_cookbook_client/api/repositories_cookbook_versions_api.rb +5 -5
  17. data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content.rb +18 -18
  18. data/lib/pulp_cookbook_client/models/cookbook_cookbook_package_content_response.rb +14 -14
  19. data/lib/pulp_cookbook_client/version.rb +1 -1
  20. data/spec/api/content_cookbooks_api_spec.rb +2 -2
  21. data/spec/api/distributions_cookbook_api_spec.rb +2 -2
  22. data/spec/api/publications_cookbook_api_spec.rb +1 -1
  23. data/spec/api/remotes_cookbook_api_spec.rb +2 -2
  24. data/spec/api/repositories_cookbook_api_spec.rb +1 -1
  25. data/spec/api/repositories_cookbook_versions_api_spec.rb +2 -2
  26. data/spec/models/cookbook_cookbook_package_content_response_spec.rb +2 -2
  27. data/spec/models/cookbook_cookbook_package_content_spec.rb +3 -3
  28. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1066763c2e2d5aa8282c42749d044098af40c036e943762e8f8ea9bcc2db868
4
- data.tar.gz: 18dabd27e7e7de747bac2a47c5dad21e1d8f92af887472d12174efd9caed1e32
3
+ metadata.gz: 4c1bf959fc553852c20fe5e533e50ff7ddc075887d7c2e47f0b82e9302c36c7f
4
+ data.tar.gz: fd5a9f31eabba5859687e07128c482287ac7f3b8e29876023c5f0e9918a0489b
5
5
  SHA512:
6
- metadata.gz: e722159c9e2116c98ea6f6328b4d03bf1667cb2eaaee026ababd119b54c2e0bd3786fdba46b528ede048a4aa46d7f06051083048fe42b609b4820acc9a81f5a4
7
- data.tar.gz: 6ba132f2d82ddebec10c1f27f7dfbd1195ee1252f8b9501bd383a2e2c80a7d34e3c070b5266a3c0eef4ab5863facbff1ba5c98ad443594a46ba0b477b0c52bec
6
+ metadata.gz: 4571a3079d223c92bbf1d288a718f61022a070d6bdaf10da9ec2bfc79b13673f438dcb08c8f1bdf8565d205743173fd9e7801f1697b27c7703e6d7a319724e41
7
+ data.tar.gz: eb655d02c859403be8e6249f21dc62af3c94082e11c225b8766608978a4387af22855a1b22861b52722dac91f1f7b1958c9def8dd37053b2c2fe972c0a9946a0
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.dev1669001208
10
+ - Package version: 0.1.0b10.dev1669087292
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.dev1669001208.gem
27
+ gem install ./pulp_cookbook_client-0.1.0b10.dev1669087292.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_cookbook_client-0.1.0b10.dev1669001208.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_cookbook_client-0.1.0b10.dev1669087292.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.dev1669001208'
36
+ gem 'pulp_cookbook_client', '~> 0.1.0b10.dev1669087292'
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
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
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
 
@@ -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
- repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
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
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
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
@@ -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
- **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
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(file: null,
20
- artifact: null,
19
+ instance = PulpCookbookClient::CookbookCookbookPackageContent.new(repository: null,
20
+ file: null,
21
21
  upload: null,
22
- repository: null,
22
+ artifact: null,
23
23
  name: null,
24
24
  version: null)
25
25
  ```
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **artifact** | **String** | Artifact file representing the physical content | [optional]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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]
12
12
  **dependencies** | [**Object**](.md) | dependencies of the cookbook | [optional] [readonly]
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
17
17
  ```ruby
18
18
  require 'PulpCookbookClient'
19
19
 
20
- instance = PulpCookbookClient::CookbookCookbookPackageContentResponse.new(artifact: null,
20
+ instance = PulpCookbookClient::CookbookCookbookPackageContentResponse.new(pulp_href: null,
21
21
  pulp_created: null,
22
- pulp_href: null,
22
+ artifact: null,
23
23
  name: null,
24
24
  version: null,
25
25
  dependencies: null,
@@ -141,12 +141,12 @@ end
141
141
 
142
142
  api_instance = PulpCookbookClient::DistributionsCookbookApi.new
143
143
  opts = {
144
- base_path: 'base_path_example', # String |
144
+ base_path: 'base_path_example', # String | Filter results where base_path matches value
145
145
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
146
146
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
147
147
  base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
148
148
  limit: 56, # Integer | Number of results to return per page.
149
- name: 'name_example', # String |
149
+ name: 'name_example', # String | Filter results where name matches value
150
150
  name__contains: 'name__contains_example', # String | Filter results where name contains value
151
151
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
152
152
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -173,12 +173,12 @@ end
173
173
 
174
174
  Name | Type | Description | Notes
175
175
  ------------- | ------------- | ------------- | -------------
176
- **base_path** | **String**| | [optional]
176
+ **base_path** | **String**| Filter results where base_path matches value | [optional]
177
177
  **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
178
178
  **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
179
179
  **base_path__in** | [**Array&lt;String&gt;**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
180
180
  **limit** | **Integer**| Number of results to return per page. | [optional]
181
- **name** | **String**| | [optional]
181
+ **name** | **String**| Filter results where name matches value | [optional]
182
182
  **name__contains** | **String**| Filter results where name contains value | [optional]
183
183
  **name__icontains** | **String**| Filter results where name contains value | [optional]
184
184
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -143,7 +143,7 @@ opts = {
143
143
  limit: 56, # Integer | Number of results to return per page.
144
144
  offset: 56, # Integer | The initial index from which to return the results.
145
145
  ordering: ['ordering_example'], # Array<String> | Ordering
146
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
146
+ pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
147
147
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
148
148
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
149
149
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
@@ -174,7 +174,7 @@ Name | Type | Description | Notes
174
174
  **limit** | **Integer**| Number of results to return per page. | [optional]
175
175
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
176
176
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
177
- **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
177
+ **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
178
178
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
179
179
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
180
180
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
@@ -142,7 +142,7 @@ end
142
142
  api_instance = PulpCookbookClient::RemotesCookbookApi.new
143
143
  opts = {
144
144
  limit: 56, # Integer | Number of results to return per page.
145
- name: 'name_example', # String |
145
+ name: 'name_example', # String | Filter results where name matches value
146
146
  name__contains: 'name__contains_example', # String | Filter results where name contains value
147
147
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
148
148
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -150,7 +150,7 @@ opts = {
150
150
  offset: 56, # Integer | The initial index from which to return the results.
151
151
  ordering: ['ordering_example'], # Array<String> | Ordering
152
152
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
153
- pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
153
+ pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
154
154
  pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
155
155
  pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
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
@@ -175,7 +175,7 @@ end
175
175
  Name | Type | Description | Notes
176
176
  ------------- | ------------- | ------------- | -------------
177
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
- **name** | **String**| | [optional]
178
+ **name** | **String**| Filter results where name matches value | [optional]
179
179
  **name__contains** | **String**| Filter results where name contains value | [optional]
180
180
  **name__icontains** | **String**| Filter results where name contains value | [optional]
181
181
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
183
183
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
184
184
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
185
185
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
186
- **pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
186
+ **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
187
187
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
188
188
  **pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
189
189
  **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
@@ -144,7 +144,7 @@ end
144
144
  api_instance = PulpCookbookClient::RepositoriesCookbookApi.new
145
145
  opts = {
146
146
  limit: 56, # Integer | Number of results to return per page.
147
- name: 'name_example', # String |
147
+ name: 'name_example', # String | Filter results where name matches value
148
148
  name__contains: 'name__contains_example', # String | Filter results where name contains value
149
149
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
150
150
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -172,7 +172,7 @@ end
172
172
  Name | Type | Description | Notes
173
173
  ------------- | ------------- | ------------- | -------------
174
174
  **limit** | **Integer**| Number of results to return per page. | [optional]
175
- **name** | **String**| | [optional]
175
+ **name** | **String**| Filter results where name matches value | [optional]
176
176
  **name__contains** | **String**| Filter results where name contains value | [optional]
177
177
  **name__icontains** | **String**| Filter results where name contains value | [optional]
178
178
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
@@ -180,7 +180,7 @@ Name | Type | Description | Notes
180
180
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
181
181
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
182
182
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
183
- **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
183
+ **remote** | **String**| Foreign Key referenced by HREF | [optional]
184
184
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
185
185
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
186
186
 
@@ -90,7 +90,7 @@ opts = {
90
90
  content: 'content_example', # String | Content Unit referenced by HREF
91
91
  content__in: 'content__in_example', # String | Content Unit referenced by HREF
92
92
  limit: 56, # Integer | Number of results to return per page.
93
- number: 56, # Integer |
93
+ number: 56, # Integer | Filter results where number matches value
94
94
  number__gt: 56, # Integer | Filter results where number is greater than value
95
95
  number__gte: 56, # Integer | Filter results where number is greater than or equal to value
96
96
  number__lt: 56, # Integer | Filter results where number is less than value
@@ -98,7 +98,7 @@ opts = {
98
98
  number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
99
99
  offset: 56, # Integer | The initial index from which to return the results.
100
100
  ordering: ['ordering_example'], # Array<String> | Ordering
101
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
101
+ pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
102
102
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
103
103
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
104
104
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
@@ -126,7 +126,7 @@ Name | Type | Description | Notes
126
126
  **content** | **String**| Content Unit referenced by HREF | [optional]
127
127
  **content__in** | **String**| Content Unit referenced by HREF | [optional]
128
128
  **limit** | **Integer**| Number of results to return per page. | [optional]
129
- **number** | **Integer**| | [optional]
129
+ **number** | **Integer**| Filter results where number matches value | [optional]
130
130
  **number__gt** | **Integer**| Filter results where number is greater than value | [optional]
131
131
  **number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
132
132
  **number__lt** | **Integer**| Filter results where number is less than value | [optional]
@@ -134,7 +134,7 @@ Name | Type | Description | Notes
134
134
  **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
135
135
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
136
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
137
- **pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
137
+ **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
138
138
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
139
139
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
140
140
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
@@ -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] :repository A URI of a repository the new content unit should be associated with.
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] :repository A URI of a repository the new content unit should be associated with.
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['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
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)
@@ -146,7 +146,7 @@ module PulpCookbookClient
146
146
  if @api_client.config.debugging
147
147
  @api_client.config.logger.debug 'Calling API: ContentCookbooksApi.list ...'
148
148
  end
149
- allowable_values = ["-_artifacts", "-content_id", "-content_id_type", "-content_ptr", "-contentartifact", "-dependencies", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "content_id", "content_id_type", "content_ptr", "contentartifact", "dependencies", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
149
+ allowable_values = ["-content_id", "-content_id_type", "-dependencies", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "content_id", "content_id_type", "dependencies", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
150
150
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
151
151
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
152
152
  end
@@ -148,12 +148,12 @@ module PulpCookbookClient
148
148
  # List cookbook distributions
149
149
  # 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.
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :base_path
151
+ # @option opts [String] :base_path Filter results where base_path matches value
152
152
  # @option opts [String] :base_path__contains Filter results where base_path contains value
153
153
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
154
154
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
155
155
  # @option opts [Integer] :limit Number of results to return per page.
156
- # @option opts [String] :name
156
+ # @option opts [String] :name Filter results where name matches value
157
157
  # @option opts [String] :name__contains Filter results where name contains value
158
158
  # @option opts [String] :name__icontains Filter results where name contains value
159
159
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -173,12 +173,12 @@ module PulpCookbookClient
173
173
  # List cookbook distributions
174
174
  # 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.
175
175
  # @param [Hash] opts the optional parameters
176
- # @option opts [String] :base_path
176
+ # @option opts [String] :base_path Filter results where base_path matches value
177
177
  # @option opts [String] :base_path__contains Filter results where base_path contains value
178
178
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
179
179
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
180
180
  # @option opts [Integer] :limit Number of results to return per page.
181
- # @option opts [String] :name
181
+ # @option opts [String] :name Filter results where name matches value
182
182
  # @option opts [String] :name__contains Filter results where name contains value
183
183
  # @option opts [String] :name__icontains Filter results where name contains value
184
184
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -194,7 +194,7 @@ module PulpCookbookClient
194
194
  if @api_client.config.debugging
195
195
  @api_client.config.logger.debug 'Calling API: DistributionsCookbookApi.list ...'
196
196
  end
197
- allowable_values = ["-base_path", "-content_guard", "-cookbook_cookbookdistribution", "-core_artifactdistribution", "-group_roles", "-name", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "base_path", "content_guard", "cookbook_cookbookdistribution", "core_artifactdistribution", "group_roles", "name", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
197
+ allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
198
198
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
199
199
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
200
200
  end
@@ -151,7 +151,7 @@ module PulpCookbookClient
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
152
  # @option opts [Integer] :offset The initial index from which to return the results.
153
153
  # @option opts [Array<String>] :ordering Ordering
154
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
154
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
155
155
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
156
156
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
157
157
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -175,7 +175,7 @@ module PulpCookbookClient
175
175
  # @option opts [Integer] :limit Number of results to return per page.
176
176
  # @option opts [Integer] :offset The initial index from which to return the results.
177
177
  # @option opts [Array<String>] :ordering Ordering
178
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
178
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
179
179
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
180
180
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
181
181
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -190,7 +190,7 @@ module PulpCookbookClient
190
190
  if @api_client.config.debugging
191
191
  @api_client.config.logger.debug 'Calling API: PublicationsCookbookApi.list ...'
192
192
  end
193
- allowable_values = ["-complete", "-cookbook_cookbookpublication", "-distribution", "-group_roles", "-pass_through", "-pk", "-published_artifact", "-published_metadata", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository_version", "-user_roles", "complete", "cookbook_cookbookpublication", "distribution", "group_roles", "pass_through", "pk", "published_artifact", "published_metadata", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository_version", "user_roles"]
193
+ allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
194
194
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
195
195
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
196
196
  end
@@ -149,7 +149,7 @@ module PulpCookbookClient
149
149
  # Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name
152
+ # @option opts [String] :name Filter results where name matches value
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -157,7 +157,7 @@ module PulpCookbookClient
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
158
  # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
160
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
161
161
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
162
162
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
163
163
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
@@ -175,7 +175,7 @@ module PulpCookbookClient
175
175
  # Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
176
176
  # @param [Hash] opts the optional parameters
177
177
  # @option opts [Integer] :limit Number of results to return per page.
178
- # @option opts [String] :name
178
+ # @option opts [String] :name Filter results where name matches value
179
179
  # @option opts [String] :name__contains Filter results where name contains value
180
180
  # @option opts [String] :name__icontains Filter results where name contains value
181
181
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -183,7 +183,7 @@ module PulpCookbookClient
183
183
  # @option opts [Integer] :offset The initial index from which to return the results.
184
184
  # @option opts [Array<String>] :ordering Ordering
185
185
  # @option opts [String] :pulp_label_select Filter labels by search string
186
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
186
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
187
187
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
188
188
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
189
189
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
@@ -196,7 +196,7 @@ module PulpCookbookClient
196
196
  if @api_client.config.debugging
197
197
  @api_client.config.logger.debug 'Calling API: RemotesCookbookApi.list ...'
198
198
  end
199
- allowable_values = ["-alternatecontentsource", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-cookbook_cookbookremote", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "cookbook_cookbookremote", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
199
+ allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
200
200
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
201
201
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
202
202
  end
@@ -149,7 +149,7 @@ module PulpCookbookClient
149
149
  # Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [Integer] :limit Number of results to return per page.
152
- # @option opts [String] :name
152
+ # @option opts [String] :name Filter results where name matches value
153
153
  # @option opts [String] :name__contains Filter results where name contains value
154
154
  # @option opts [String] :name__icontains Filter results where name contains value
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -170,7 +170,7 @@ module PulpCookbookClient
170
170
  # Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
171
171
  # @param [Hash] opts the optional parameters
172
172
  # @option opts [Integer] :limit Number of results to return per page.
173
- # @option opts [String] :name
173
+ # @option opts [String] :name Filter results where name matches value
174
174
  # @option opts [String] :name__contains Filter results where name contains value
175
175
  # @option opts [String] :name__icontains Filter results where name contains value
176
176
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -186,7 +186,7 @@ module PulpCookbookClient
186
186
  if @api_client.config.debugging
187
187
  @api_client.config.logger.debug 'Calling API: RepositoriesCookbookApi.list ...'
188
188
  end
189
- allowable_values = ["-alternatecontentsourcepath", "-content", "-cookbook_cookbookrepository", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "content", "cookbook_cookbookrepository", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
189
+ allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
190
190
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
191
191
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
192
192
  end
@@ -88,7 +88,7 @@ module PulpCookbookClient
88
88
  # @option opts [String] :content Content Unit referenced by HREF
89
89
  # @option opts [String] :content__in Content Unit referenced by HREF
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
- # @option opts [Integer] :number
91
+ # @option opts [Integer] :number Filter results where number matches value
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
93
93
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
94
94
  # @option opts [Integer] :number__lt Filter results where number is less than value
@@ -96,7 +96,7 @@ module PulpCookbookClient
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
98
  # @option opts [Array<String>] :ordering Ordering
99
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
99
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
102
102
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -117,7 +117,7 @@ module PulpCookbookClient
117
117
  # @option opts [String] :content Content Unit referenced by HREF
118
118
  # @option opts [String] :content__in Content Unit referenced by HREF
119
119
  # @option opts [Integer] :limit Number of results to return per page.
120
- # @option opts [Integer] :number
120
+ # @option opts [Integer] :number Filter results where number matches value
121
121
  # @option opts [Integer] :number__gt Filter results where number is greater than value
122
122
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
123
123
  # @option opts [Integer] :number__lt Filter results where number is less than value
@@ -125,7 +125,7 @@ module PulpCookbookClient
125
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
126
  # @option opts [Integer] :offset The initial index from which to return the results.
127
127
  # @option opts [Array<String>] :ordering Ordering
128
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
128
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
129
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
131
131
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -142,7 +142,7 @@ module PulpCookbookClient
142
142
  if @api_client.config.client_side_validation && cookbook_cookbook_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'cookbook_cookbook_repository_href' when calling RepositoriesCookbookVersionsApi.list"
144
144
  end
145
- allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
145
+ allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
146
146
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
147
147
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
148
148
  end
@@ -15,17 +15,17 @@ require 'date'
15
15
  module PulpCookbookClient
16
16
  # Serializer for the cookbook content.
17
17
  class CookbookCookbookPackageContent
18
+ # A URI of a repository the new content unit should be associated with.
19
+ attr_accessor :repository
20
+
18
21
  # An uploaded file that may be turned into the artifact of the content unit.
19
22
  attr_accessor :file
20
23
 
21
- # Artifact file representing the physical content
22
- attr_accessor :artifact
23
-
24
24
  # An uncommitted upload that may be turned into the artifact of the content unit.
25
25
  attr_accessor :upload
26
26
 
27
- # A URI of a repository the new content unit should be associated with.
28
- attr_accessor :repository
27
+ # Artifact file representing the physical content
28
+ attr_accessor :artifact
29
29
 
30
30
  # name of the cookbook
31
31
  attr_accessor :name
@@ -36,10 +36,10 @@ module PulpCookbookClient
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
+ :'repository' => :'repository',
39
40
  :'file' => :'file',
40
- :'artifact' => :'artifact',
41
41
  :'upload' => :'upload',
42
- :'repository' => :'repository',
42
+ :'artifact' => :'artifact',
43
43
  :'name' => :'name',
44
44
  :'version' => :'version'
45
45
  }
@@ -48,10 +48,10 @@ module PulpCookbookClient
48
48
  # Attribute type mapping.
49
49
  def self.openapi_types
50
50
  {
51
+ :'repository' => :'String',
51
52
  :'file' => :'File',
52
- :'artifact' => :'String',
53
53
  :'upload' => :'String',
54
- :'repository' => :'String',
54
+ :'artifact' => :'String',
55
55
  :'name' => :'String',
56
56
  :'version' => :'String'
57
57
  }
@@ -78,20 +78,20 @@ module PulpCookbookClient
78
78
  h[k.to_sym] = v
79
79
  }
80
80
 
81
- if attributes.key?(:'file')
82
- self.file = attributes[:'file']
81
+ if attributes.key?(:'repository')
82
+ self.repository = attributes[:'repository']
83
83
  end
84
84
 
85
- if attributes.key?(:'artifact')
86
- self.artifact = attributes[:'artifact']
85
+ if attributes.key?(:'file')
86
+ self.file = attributes[:'file']
87
87
  end
88
88
 
89
89
  if attributes.key?(:'upload')
90
90
  self.upload = attributes[:'upload']
91
91
  end
92
92
 
93
- if attributes.key?(:'repository')
94
- self.repository = attributes[:'repository']
93
+ if attributes.key?(:'artifact')
94
+ self.artifact = attributes[:'artifact']
95
95
  end
96
96
 
97
97
  if attributes.key?(:'name')
@@ -160,10 +160,10 @@ module PulpCookbookClient
160
160
  def ==(o)
161
161
  return true if self.equal?(o)
162
162
  self.class == o.class &&
163
+ repository == o.repository &&
163
164
  file == o.file &&
164
- artifact == o.artifact &&
165
165
  upload == o.upload &&
166
- repository == o.repository &&
166
+ artifact == o.artifact &&
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
- [file, artifact, upload, repository, name, version].hash
180
+ [repository, file, upload, artifact, name, version].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -15,13 +15,13 @@ require 'date'
15
15
  module PulpCookbookClient
16
16
  # Serializer for the cookbook content.
17
17
  class CookbookCookbookPackageContentResponse
18
- # Artifact file representing the physical content
19
- attr_accessor :artifact
18
+ attr_accessor :pulp_href
20
19
 
21
20
  # Timestamp of creation.
22
21
  attr_accessor :pulp_created
23
22
 
24
- attr_accessor :pulp_href
23
+ # Artifact file representing the physical content
24
+ attr_accessor :artifact
25
25
 
26
26
  # name of the cookbook
27
27
  attr_accessor :name
@@ -38,9 +38,9 @@ module PulpCookbookClient
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
39
39
  def self.attribute_map
40
40
  {
41
- :'artifact' => :'artifact',
42
- :'pulp_created' => :'pulp_created',
43
41
  :'pulp_href' => :'pulp_href',
42
+ :'pulp_created' => :'pulp_created',
43
+ :'artifact' => :'artifact',
44
44
  :'name' => :'name',
45
45
  :'version' => :'version',
46
46
  :'dependencies' => :'dependencies',
@@ -51,9 +51,9 @@ module PulpCookbookClient
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
- :'artifact' => :'String',
55
- :'pulp_created' => :'DateTime',
56
54
  :'pulp_href' => :'String',
55
+ :'pulp_created' => :'DateTime',
56
+ :'artifact' => :'String',
57
57
  :'name' => :'String',
58
58
  :'version' => :'String',
59
59
  :'dependencies' => :'Object',
@@ -82,16 +82,16 @@ module PulpCookbookClient
82
82
  h[k.to_sym] = v
83
83
  }
84
84
 
85
- if attributes.key?(:'artifact')
86
- self.artifact = attributes[:'artifact']
85
+ if attributes.key?(:'pulp_href')
86
+ self.pulp_href = attributes[:'pulp_href']
87
87
  end
88
88
 
89
89
  if attributes.key?(:'pulp_created')
90
90
  self.pulp_created = attributes[:'pulp_created']
91
91
  end
92
92
 
93
- if attributes.key?(:'pulp_href')
94
- self.pulp_href = attributes[:'pulp_href']
93
+ if attributes.key?(:'artifact')
94
+ self.artifact = attributes[:'artifact']
95
95
  end
96
96
 
97
97
  if attributes.key?(:'name')
@@ -134,9 +134,9 @@ module PulpCookbookClient
134
134
  def ==(o)
135
135
  return true if self.equal?(o)
136
136
  self.class == o.class &&
137
- artifact == o.artifact &&
138
- pulp_created == o.pulp_created &&
139
137
  pulp_href == o.pulp_href &&
138
+ pulp_created == o.pulp_created &&
139
+ artifact == o.artifact &&
140
140
  name == o.name &&
141
141
  version == o.version &&
142
142
  dependencies == o.dependencies &&
@@ -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
- [artifact, pulp_created, pulp_href, name, version, dependencies, content_id].hash
155
+ [pulp_href, pulp_created, artifact, name, version, dependencies, content_id].hash
156
156
  end
157
157
 
158
158
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpCookbookClient
14
- VERSION = '0.1.0b10.dev1669001208'
14
+ VERSION = '0.1.0b10.dev1669087292'
15
15
  end
@@ -37,10 +37,10 @@ describe 'ContentCookbooksApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param name name of the cookbook
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
41
- # @option opts [String] :artifact Artifact file representing the physical content
42
42
  # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
43
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [String] :artifact Artifact file representing the physical content
44
44
  # @option opts [String] :version version of the cookbook
45
45
  # @return [AsyncOperationResponse]
46
46
  describe 'create test' do
@@ -60,12 +60,12 @@ describe 'DistributionsCookbookApi' do
60
60
  # List cookbook distributions
61
61
  # 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.
62
62
  # @param [Hash] opts the optional parameters
63
- # @option opts [String] :base_path
63
+ # @option opts [String] :base_path Filter results where base_path matches value
64
64
  # @option opts [String] :base_path__contains Filter results where base_path contains value
65
65
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
66
66
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
67
67
  # @option opts [Integer] :limit Number of results to return per page.
68
- # @option opts [String] :name
68
+ # @option opts [String] :name Filter results where name matches value
69
69
  # @option opts [String] :name__contains Filter results where name contains value
70
70
  # @option opts [String] :name__icontains Filter results where name contains value
71
71
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -65,7 +65,7 @@ describe 'PublicationsCookbookApi' do
65
65
  # @option opts [Integer] :limit Number of results to return per page.
66
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
67
  # @option opts [Array<String>] :ordering Ordering
68
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
68
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
69
69
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
70
70
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
71
71
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -61,7 +61,7 @@ describe 'RemotesCookbookApi' do
61
61
  # Cookbook Remote Endpoint. CookbookRemote represents an external source of Cookbook Content. The target url of a CookbookRemote must point to a universe API endpont.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
- # @option opts [String] :name
64
+ # @option opts [String] :name Filter results where name matches value
65
65
  # @option opts [String] :name__contains Filter results where name contains value
66
66
  # @option opts [String] :name__icontains Filter results where name contains value
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -69,7 +69,7 @@ describe 'RemotesCookbookApi' do
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
70
  # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :pulp_label_select Filter labels by search string
72
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
72
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
73
73
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
74
74
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
75
75
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
@@ -61,7 +61,7 @@ describe 'RepositoriesCookbookApi' do
61
61
  # Cookbook Repository Endpoint. CookbookRepository represents a single cookbook repository, to which content can be synced, added, or removed.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
- # @option opts [String] :name
64
+ # @option opts [String] :name Filter results where name matches value
65
65
  # @option opts [String] :name__contains Filter results where name contains value
66
66
  # @option opts [String] :name__icontains Filter results where name contains value
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -52,7 +52,7 @@ describe 'RepositoriesCookbookVersionsApi' do
52
52
  # @option opts [String] :content Content Unit referenced by HREF
53
53
  # @option opts [String] :content__in Content Unit referenced by HREF
54
54
  # @option opts [Integer] :limit Number of results to return per page.
55
- # @option opts [Integer] :number
55
+ # @option opts [Integer] :number Filter results where number matches value
56
56
  # @option opts [Integer] :number__gt Filter results where number is greater than value
57
57
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
58
58
  # @option opts [Integer] :number__lt Filter results where number is less than value
@@ -60,7 +60,7 @@ describe 'RepositoriesCookbookVersionsApi' do
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
62
  # @option opts [Array<String>] :ordering Ordering
63
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
63
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
66
66
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -32,7 +32,7 @@ describe 'CookbookCookbookPackageContentResponse' do
32
32
  expect(@instance).to be_instance_of(PulpCookbookClient::CookbookCookbookPackageContentResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "artifact"' do
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
@@ -44,7 +44,7 @@ describe 'CookbookCookbookPackageContentResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_href"' do
47
+ describe 'test attribute "artifact"' 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
@@ -32,13 +32,13 @@ describe 'CookbookCookbookPackageContent' do
32
32
  expect(@instance).to be_instance_of(PulpCookbookClient::CookbookCookbookPackageContent)
33
33
  end
34
34
  end
35
- describe 'test attribute "file"' do
35
+ describe 'test attribute "repository"' 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 "artifact"' do
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
@@ -50,7 +50,7 @@ describe 'CookbookCookbookPackageContent' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
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.dev1669001208
4
+ version: 0.1.0b10.dev1669087292
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-21 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday