pulpcore_client 3.28.21 → 3.28.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3f396b85f66e77828fa6d7d4d960fb85ff2791c2bf1c4bfa52cccf06183a468
4
- data.tar.gz: 3cdd97063b5f1574fc5fc3e7cf5437731b2afea4a910e5c1cae99690ee4ff780
3
+ metadata.gz: 8b4410d0f4c20c08a8022934f68778a3465cb6818e74dc5460d7fbf60f5c26fc
4
+ data.tar.gz: 04fe8df911e79100457953db0b2ca6a86925848e623a5818791b06286c8c8062
5
5
  SHA512:
6
- metadata.gz: 7e9e1acf7bc3d73da45f66d9079334a25f6b27cb44be1e5afa7bff7bb9f1d73f12b478aba6d2bd455212402e675d73ac74f2e287461f5d66687bc26ee647aeaa
7
- data.tar.gz: 1dfcaf91a34b233db41bf9ddd76eb7038ac17ab80f23a18d13d39976fd0c1e6d3f5cbdaf77205d518737a549370905ddf357cc8e7f75e9158202a1f86db833f9
6
+ metadata.gz: d8604b163dd0b39c3a0eea890d1ead542b5a527bb9d00de230d67f9731580961d6ed0746eaad73740127d01d848139c2d5389769dd3baa04f4b73cc4d59f2c11
7
+ data.tar.gz: ef921688f1c89150c36eb8fec0d05dd8ce014f029c58d510e237d0e3bebebba3064bf481cecf9618af5a5f971bd9621c721e05bacf579d8c880ff35b831d834b
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: 3.28.21
10
+ - Package version: 3.28.22
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 pulpcore_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulpcore_client-3.28.21.gem
27
+ gem install ./pulpcore_client-3.28.22.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.28.21.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.28.22.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 'pulpcore_client', '~> 3.28.21'
36
+ gem 'pulpcore_client', '~> 3.28.22'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,13 +5,13 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
8
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
10
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
- **pulp_href** | **String** | | [optional] [readonly]
12
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
11
  **content_guard** | **String** | An optional content-guard. | [optional]
14
12
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
13
+ **pulp_labels** | **Hash<String, String>** | | [optional]
14
+ **pulp_href** | **String** | | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
17
17
 
@@ -19,13 +19,13 @@ Name | Type | Description | Notes
19
19
  require 'PulpcoreClient'
20
20
 
21
21
  instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
22
- pulp_labels: null,
23
22
  base_url: null,
24
- name: null,
25
- pulp_href: null,
26
23
  pulp_created: null,
24
+ name: null,
27
25
  content_guard: null,
28
- hidden: null)
26
+ hidden: null,
27
+ pulp_labels: null,
28
+ pulp_href: null)
29
29
  ```
30
30
 
31
31
 
@@ -83,7 +83,7 @@ Name | Type | Description | Notes
83
83
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
84
84
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
85
85
  **pulp_type__in** | [**Array<String>**](String.md)| Pulp type is in * `core.artifact` - core.artifact * `file.file` - file.file | [optional]
86
- **repository** | **String**| Filter results where repository matches value | [optional]
86
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
87
87
  **repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
88
88
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
89
89
  **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
@@ -82,7 +82,7 @@ Name | Type | Description | Notes
82
82
  **pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
83
83
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
84
84
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
85
- **repository** | **String**| Filter results where repository matches value | [optional]
85
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
86
86
  **repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
87
87
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
88
88
  **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
173
173
  ------------- | ------------- | ------------- | -------------
174
174
  **group_href** | **String**| |
175
175
  **content_object** | **String**| content_object | [optional]
176
- **domain** | **String**| Foreign Key referenced by HREF | [optional]
176
+ **domain** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
177
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
178
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
179
179
  **ordering** | [**Array<String>**](String.md)| Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
@@ -84,7 +84,7 @@ Name | Type | Description | Notes
84
84
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
85
85
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
86
86
  **pulp_type__in** | [**Array<String>**](String.md)| Pulp type is in * `file.file` - file.file | [optional]
87
- **remote** | **String**| Foreign Key referenced by HREF | [optional]
87
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
88
88
  **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
89
89
  **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
90
90
  **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
data/docs/TasksApi.md CHANGED
@@ -199,7 +199,7 @@ end
199
199
 
200
200
  Name | Type | Description | Notes
201
201
  ------------- | ------------- | ------------- | -------------
202
- **child_tasks** | **String**| Filter results where child_tasks matches value | [optional]
202
+ **child_tasks** | [**String**](.md)| Filter results where child_tasks matches value | [optional]
203
203
  **created_resources** | [**String**](.md)| | [optional]
204
204
  **exclusive_resources** | **String**| | [optional]
205
205
  **exclusive_resources__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
217
217
  **name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
218
218
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
219
219
  **ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
220
- **parent_task** | **String**| Filter results where parent_task matches value | [optional]
220
+ **parent_task** | [**String**](.md)| Filter results where parent_task matches value | [optional]
221
221
  **pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
222
222
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
223
223
  **reserved_resources** | **String**| | [optional]
@@ -233,8 +233,8 @@ Name | Type | Description | Notes
233
233
  **started_at__range** | [**Array<DateTime>**](DateTime.md)| Filter results where started_at is between two comma separated values | [optional]
234
234
  **state** | **String**| Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling | [optional]
235
235
  **state__in** | [**Array<String>**](String.md)| Filter results where state is in a comma-separated list of values | [optional]
236
- **task_group** | **String**| Filter results where task_group matches value | [optional]
237
- **worker** | **String**| Filter results where worker matches value | [optional]
236
+ **task_group** | [**String**](.md)| Filter results where task_group matches value | [optional]
237
+ **worker** | [**String**](.md)| Filter results where worker matches value | [optional]
238
238
  **worker__in** | [**Array<String>**](String.md)| Filter results where worker is in a comma-separated list of values | [optional]
239
239
  **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
240
240
  **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
173
173
  ------------- | ------------- | ------------- | -------------
174
174
  **auth_user_href** | **String**| |
175
175
  **content_object** | **String**| content_object | [optional]
176
- **domain** | **String**| Foreign Key referenced by HREF | [optional]
176
+ **domain** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
177
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
178
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
179
179
  **ordering** | [**Array<String>**](String.md)| Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
@@ -18,36 +18,36 @@ module PulpcoreClient
18
18
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
19
  attr_accessor :base_path
20
20
 
21
- attr_accessor :pulp_labels
22
-
23
21
  # The URL for accessing the publication as defined by this distribution.
24
22
  attr_accessor :base_url
25
23
 
26
- # A unique name. Ex, `rawhide` and `stable`.
27
- attr_accessor :name
28
-
29
- attr_accessor :pulp_href
30
-
31
24
  # Timestamp of creation.
32
25
  attr_accessor :pulp_created
33
26
 
27
+ # A unique name. Ex, `rawhide` and `stable`.
28
+ attr_accessor :name
29
+
34
30
  # An optional content-guard.
35
31
  attr_accessor :content_guard
36
32
 
37
33
  # Whether this distribution should be shown in the content app.
38
34
  attr_accessor :hidden
39
35
 
36
+ attr_accessor :pulp_labels
37
+
38
+ attr_accessor :pulp_href
39
+
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
43
  :'base_path' => :'base_path',
44
- :'pulp_labels' => :'pulp_labels',
45
44
  :'base_url' => :'base_url',
46
- :'name' => :'name',
47
- :'pulp_href' => :'pulp_href',
48
45
  :'pulp_created' => :'pulp_created',
46
+ :'name' => :'name',
49
47
  :'content_guard' => :'content_guard',
50
- :'hidden' => :'hidden'
48
+ :'hidden' => :'hidden',
49
+ :'pulp_labels' => :'pulp_labels',
50
+ :'pulp_href' => :'pulp_href'
51
51
  }
52
52
  end
53
53
 
@@ -55,13 +55,13 @@ module PulpcoreClient
55
55
  def self.openapi_types
56
56
  {
57
57
  :'base_path' => :'String',
58
- :'pulp_labels' => :'Hash<String, String>',
59
58
  :'base_url' => :'String',
60
- :'name' => :'String',
61
- :'pulp_href' => :'String',
62
59
  :'pulp_created' => :'DateTime',
60
+ :'name' => :'String',
63
61
  :'content_guard' => :'String',
64
- :'hidden' => :'Boolean'
62
+ :'hidden' => :'Boolean',
63
+ :'pulp_labels' => :'Hash<String, String>',
64
+ :'pulp_href' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -91,28 +91,18 @@ module PulpcoreClient
91
91
  self.base_path = attributes[:'base_path']
92
92
  end
93
93
 
94
- if attributes.key?(:'pulp_labels')
95
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
- self.pulp_labels = value
97
- end
98
- end
99
-
100
94
  if attributes.key?(:'base_url')
101
95
  self.base_url = attributes[:'base_url']
102
96
  end
103
97
 
104
- if attributes.key?(:'name')
105
- self.name = attributes[:'name']
106
- end
107
-
108
- if attributes.key?(:'pulp_href')
109
- self.pulp_href = attributes[:'pulp_href']
110
- end
111
-
112
98
  if attributes.key?(:'pulp_created')
113
99
  self.pulp_created = attributes[:'pulp_created']
114
100
  end
115
101
 
102
+ if attributes.key?(:'name')
103
+ self.name = attributes[:'name']
104
+ end
105
+
116
106
  if attributes.key?(:'content_guard')
117
107
  self.content_guard = attributes[:'content_guard']
118
108
  end
@@ -122,6 +112,16 @@ module PulpcoreClient
122
112
  else
123
113
  self.hidden = false
124
114
  end
115
+
116
+ if attributes.key?(:'pulp_labels')
117
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
+ self.pulp_labels = value
119
+ end
120
+ end
121
+
122
+ if attributes.key?(:'pulp_href')
123
+ self.pulp_href = attributes[:'pulp_href']
124
+ end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -153,13 +153,13 @@ module PulpcoreClient
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
155
  base_path == o.base_path &&
156
- pulp_labels == o.pulp_labels &&
157
156
  base_url == o.base_url &&
158
- name == o.name &&
159
- pulp_href == o.pulp_href &&
160
157
  pulp_created == o.pulp_created &&
158
+ name == o.name &&
161
159
  content_guard == o.content_guard &&
162
- hidden == o.hidden
160
+ hidden == o.hidden &&
161
+ pulp_labels == o.pulp_labels &&
162
+ pulp_href == o.pulp_href
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module PulpcoreClient
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Integer] Hash code
173
173
  def hash
174
- [base_path, pulp_labels, base_url, name, pulp_href, pulp_created, content_guard, hidden].hash
174
+ [base_path, base_url, pulp_created, name, content_guard, hidden, pulp_labels, pulp_href].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.28.21'
14
+ VERSION = '3.28.22'
15
15
  end
@@ -38,13 +38,13 @@ describe 'ArtifactDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_labels"' do
41
+ describe 'test attribute "base_url"' 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 "base_url"' do
47
+ describe 'test attribute "pulp_created"' 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
@@ -56,25 +56,25 @@ describe 'ArtifactDistributionResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_href"' do
59
+ describe 'test attribute "content_guard"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_created"' do
65
+ describe 'test attribute "hidden"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "content_guard"' do
71
+ describe 'test attribute "pulp_labels"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "hidden"' do
77
+ describe 'test attribute "pulp_href"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.28.21
4
+ version: 3.28.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator