pulpcore_client 3.29.8 → 3.30.0

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: 86f200957df94b921826b58703271f4aab50bd604a0c45b4a9158ba22b3326ac
4
- data.tar.gz: 71a4e4e31daf7dc9932a5e4f02d541f76380f880daa09d343bffb6247ace593e
3
+ metadata.gz: 5eb2c98c7020c8604b811e68b8d75a9a6080a3fee47e4195c3a67fde0c94cc63
4
+ data.tar.gz: 1e6b5261c399ac8f0e1436bcbe8b684ee9f0e685cee6f40228a6c6f922c76dce
5
5
  SHA512:
6
- metadata.gz: 140f857acb0a11ba29e7c8922c7bb88c967b66fcb04b76da87aeeb14352555125eed62370057d12c623bd90b85e6b073627e9f217765f7faef7cee53e99d0bf3
7
- data.tar.gz: e9a7fa77a6f77779c970b6549645fa5f55072c51ffd96b420605740b0631d4510ea1471d7f24964e6f52f49a110e0626d8276bd4bbc96e804eeb1809f2364a5b
6
+ metadata.gz: aceca250901ea427a37e8810dd4134ef0fc7701bfe5d195564b5d187c3ffb03cee005932671bef5c8f04a6294a1e0c7ac81e2f633ec7cd9f78ec6f3a3c179ae1
7
+ data.tar.gz: 00cfe46bdb9cb9fc772bd1f69e4049ee57780b6f11d70ef68149d52b49b13f7c28d574108fc6c73268e36aaeb41867c494dca9414bd1693691074bab037eb338
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.29.8
10
+ - Package version: 3.30.0
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.29.8.gem
27
+ gem install ./pulpcore_client-3.30.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.29.8.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.30.0.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.29.8'
36
+ gem 'pulpcore_client', '~> 3.30.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
8
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
9
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
- **content_guard** | **String** | An optional content-guard. | [optional]
14
10
  **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\") |
11
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
+ **content_guard** | **String** | An optional content-guard. | [optional]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(hidden: null,
22
- base_url: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
23
22
  pulp_labels: null,
24
- pulp_href: null,
25
23
  name: null,
26
- pulp_created: null,
24
+ base_path: null,
25
+ hidden: null,
26
+ base_url: null,
27
27
  content_guard: null,
28
- base_path: null)
28
+ pulp_created: 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) * `versions` - Versions * `-versions` - Versions (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]
@@ -15,53 +15,53 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # Whether this distribution should be shown in the content app.
19
- attr_accessor :hidden
20
-
21
- # The URL for accessing the publication as defined by this distribution.
22
- attr_accessor :base_url
18
+ attr_accessor :pulp_href
23
19
 
24
20
  attr_accessor :pulp_labels
25
21
 
26
- attr_accessor :pulp_href
27
-
28
22
  # A unique name. Ex, `rawhide` and `stable`.
29
23
  attr_accessor :name
30
24
 
31
- # Timestamp of creation.
32
- attr_accessor :pulp_created
25
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
26
+ attr_accessor :base_path
27
+
28
+ # Whether this distribution should be shown in the content app.
29
+ attr_accessor :hidden
30
+
31
+ # The URL for accessing the publication as defined by this distribution.
32
+ attr_accessor :base_url
33
33
 
34
34
  # An optional content-guard.
35
35
  attr_accessor :content_guard
36
36
 
37
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
38
- attr_accessor :base_path
37
+ # Timestamp of creation.
38
+ attr_accessor :pulp_created
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'hidden' => :'hidden',
44
- :'base_url' => :'base_url',
45
- :'pulp_labels' => :'pulp_labels',
46
43
  :'pulp_href' => :'pulp_href',
44
+ :'pulp_labels' => :'pulp_labels',
47
45
  :'name' => :'name',
48
- :'pulp_created' => :'pulp_created',
46
+ :'base_path' => :'base_path',
47
+ :'hidden' => :'hidden',
48
+ :'base_url' => :'base_url',
49
49
  :'content_guard' => :'content_guard',
50
- :'base_path' => :'base_path'
50
+ :'pulp_created' => :'pulp_created'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'hidden' => :'Boolean',
58
- :'base_url' => :'String',
59
- :'pulp_labels' => :'Hash<String, String>',
60
57
  :'pulp_href' => :'String',
58
+ :'pulp_labels' => :'Hash<String, String>',
61
59
  :'name' => :'String',
62
- :'pulp_created' => :'DateTime',
60
+ :'base_path' => :'String',
61
+ :'hidden' => :'Boolean',
62
+ :'base_url' => :'String',
63
63
  :'content_guard' => :'String',
64
- :'base_path' => :'String'
64
+ :'pulp_created' => :'DateTime'
65
65
  }
66
66
  end
67
67
 
@@ -87,14 +87,8 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'hidden')
91
- self.hidden = attributes[:'hidden']
92
- else
93
- self.hidden = false
94
- end
95
-
96
- if attributes.key?(:'base_url')
97
- self.base_url = attributes[:'base_url']
90
+ if attributes.key?(:'pulp_href')
91
+ self.pulp_href = attributes[:'pulp_href']
98
92
  end
99
93
 
100
94
  if attributes.key?(:'pulp_labels')
@@ -103,24 +97,30 @@ module PulpcoreClient
103
97
  end
104
98
  end
105
99
 
106
- if attributes.key?(:'pulp_href')
107
- self.pulp_href = attributes[:'pulp_href']
108
- end
109
-
110
100
  if attributes.key?(:'name')
111
101
  self.name = attributes[:'name']
112
102
  end
113
103
 
114
- if attributes.key?(:'pulp_created')
115
- self.pulp_created = attributes[:'pulp_created']
104
+ if attributes.key?(:'base_path')
105
+ self.base_path = attributes[:'base_path']
106
+ end
107
+
108
+ if attributes.key?(:'hidden')
109
+ self.hidden = attributes[:'hidden']
110
+ else
111
+ self.hidden = false
112
+ end
113
+
114
+ if attributes.key?(:'base_url')
115
+ self.base_url = attributes[:'base_url']
116
116
  end
117
117
 
118
118
  if attributes.key?(:'content_guard')
119
119
  self.content_guard = attributes[:'content_guard']
120
120
  end
121
121
 
122
- if attributes.key?(:'base_path')
123
- self.base_path = attributes[:'base_path']
122
+ if attributes.key?(:'pulp_created')
123
+ self.pulp_created = attributes[:'pulp_created']
124
124
  end
125
125
  end
126
126
 
@@ -152,14 +152,14 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
- hidden == o.hidden &&
156
- base_url == o.base_url &&
157
- pulp_labels == o.pulp_labels &&
158
155
  pulp_href == o.pulp_href &&
156
+ pulp_labels == o.pulp_labels &&
159
157
  name == o.name &&
160
- pulp_created == o.pulp_created &&
158
+ base_path == o.base_path &&
159
+ hidden == o.hidden &&
160
+ base_url == o.base_url &&
161
161
  content_guard == o.content_guard &&
162
- base_path == o.base_path
162
+ pulp_created == o.pulp_created
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
- [hidden, base_url, pulp_labels, pulp_href, name, pulp_created, content_guard, base_path].hash
174
+ [pulp_href, pulp_labels, name, base_path, hidden, base_url, content_guard, pulp_created].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -64,6 +64,8 @@ module PulpcoreClient
64
64
  # List of attributes with nullable: true
65
65
  def self.openapi_nullable
66
66
  Set.new([
67
+ :'dispatch_interval',
68
+ :'next_dispatch',
67
69
  ])
68
70
  end
69
71
 
@@ -123,10 +125,6 @@ module PulpcoreClient
123
125
  invalid_properties.push('invalid value for "task_name", task_name cannot be nil.')
124
126
  end
125
127
 
126
- if @dispatch_interval.nil?
127
- invalid_properties.push('invalid value for "dispatch_interval", dispatch_interval cannot be nil.')
128
- end
129
-
130
128
  invalid_properties
131
129
  end
132
130
 
@@ -135,7 +133,6 @@ module PulpcoreClient
135
133
  def valid?
136
134
  return false if @name.nil?
137
135
  return false if @task_name.nil?
138
- return false if @dispatch_interval.nil?
139
136
  true
140
137
  end
141
138
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.29.8'
14
+ VERSION = '3.30.0'
15
15
  end
@@ -32,37 +32,37 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "hidden"' 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
39
39
  end
40
40
 
41
- describe 'test attribute "base_url"' do
41
+ describe 'test attribute "pulp_labels"' 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 "pulp_labels"' do
47
+ describe 'test attribute "name"' 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 "pulp_href"' do
53
+ describe 'test attribute "base_path"' 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
57
57
  end
58
58
 
59
- describe 'test attribute "name"' do
59
+ describe 'test attribute "hidden"' 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 "base_url"' 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
@@ -74,7 +74,7 @@ describe 'ArtifactDistributionResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "base_path"' do
77
+ describe 'test attribute "pulp_created"' 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.29.8
4
+ version: 3.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator