pulpcore_client 3.54.1 → 3.55.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: 196cf24bc838f0d6fde7a54a73aab741bb38e554b4ef5fbcab3a3074f242656a
4
- data.tar.gz: 88aca6f2dee19fb99b7abc4f3a3c4fe30604a2e712981695fcdf7a5c79661a2b
3
+ metadata.gz: c0baaaebc0fe88b8ea58994462149511d7ebd1a53b12d6938c90deaf067db730
4
+ data.tar.gz: 68f8f6494aadb4a9bebadbc7c0f51ce4d23a6f6eff372890a48f918705cd0c8e
5
5
  SHA512:
6
- metadata.gz: 8b12659706607272cb038e4ba10b82d267e9fcf169a8c5ca34f0a68ad9b06925a3c40dc28417b9a85c14c28b56c16f185e3adbf0965f13444712a74a3696c975
7
- data.tar.gz: f5440e0ebe59b996be18aed9e43ccfae15a532c7faf58eb6fa6aadd0324d2175e56b77894db9db4902e491605d9a69329e3806fd989248e3be499dd6b600d787
6
+ metadata.gz: 4d7101ffbecb06ad1e622d43e20a65bed820350908f692e763b1824774f8ecd28bf0b867d1aea483cfe22e4b3adfcedf09261c0ec9d17278374625c1b01739f9
7
+ data.tar.gz: 31b6a328b5a24e04c79d963fa415f9349631af6789aa1206f12455c0c103be170083f18bf802ccb5e1768e69beedc1f3be2981699ba8e81c18a5f0a14afabfba
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.54.1
10
+ - Package version: 3.55.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.54.1.gem
27
+ gem install ./pulpcore_client-3.55.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.54.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.55.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.54.1'
36
+ gem 'pulpcore_client', '~> 3.55.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,14 +5,14 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **pulp_href** | **String** | | [optional] [readonly]
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
11
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
- **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
12
+ **pulp_href** | **String** | | [optional] [readonly]
12
13
  **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\") |
13
- **pulp_labels** | **Hash<String, String>** | | [optional]
14
14
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
15
- **content_guard** | **String** | An optional content-guard. | [optional]
15
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
16
16
 
17
17
  ## Code Sample
18
18
 
@@ -20,14 +20,14 @@ Name | Type | Description | Notes
20
20
  require 'PulpcoreClient'
21
21
 
22
22
  instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
23
- pulp_href: null,
23
+ content_guard: null,
24
+ pulp_labels: null,
24
25
  name: null,
25
26
  base_url: null,
26
- pulp_last_updated: null,
27
+ pulp_href: null,
27
28
  base_path: null,
28
- pulp_labels: null,
29
29
  hidden: null,
30
- content_guard: null)
30
+ pulp_last_updated: null)
31
31
  ```
32
32
 
33
33
 
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
10
10
  **task** | **String** | A URI of the task that ran the Export. | [optional]
11
11
  **exported_resources** | **Array<String>** | Resources that were exported. | [optional] [readonly]
12
- **params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
12
+ **params** | [**AnyType**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
13
13
 
14
14
  ## Code Sample
15
15
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
10
10
  **task** | **String** | A URI of the Task that ran the Import. |
11
- **params** | [**Object**](.md) | Any parameters that were used to create the import. |
11
+ **params** | [**AnyType**](.md) | Any parameters that were used to create the import. |
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
9
9
  **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
10
10
  **task** | **String** | A URI of the task that ran the Export. | [optional]
11
11
  **exported_resources** | **Array<String>** | Resources that were exported. | [optional] [readonly]
12
- **params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
13
- **output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
14
- **toc_info** | [**Object**](.md) | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly]
12
+ **params** | [**AnyType**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
13
+ **output_file_info** | [**AnyType**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
14
+ **toc_info** | [**AnyType**](.md) | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
17
17
 
data/docs/TaskResponse.md CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **unblocked_at** | **DateTime** | Timestamp of when this task was identified ready for pickup. | [optional] [readonly]
15
15
  **started_at** | **DateTime** | Timestamp of when this task started execution. | [optional] [readonly]
16
16
  **finished_at** | **DateTime** | Timestamp of when this task stopped execution. | [optional] [readonly]
17
- **error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
17
+ **error** | [**Hash<String, AnyType>**](AnyType.md) | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
18
18
  **worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
19
19
  **parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
20
20
  **child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
data/docs/TasksApi.md CHANGED
@@ -170,7 +170,6 @@ opts = {
170
170
  q: 'q_example', # String |
171
171
  reserved_resources: 'reserved_resources_example', # String |
172
172
  reserved_resources__in: ['reserved_resources__in_example'], # Array<String> | Multiple values may be separated by commas.
173
- reserved_resources_record: ['reserved_resources_record_example'], # Array<String> | Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
174
173
  shared_resources: 'shared_resources_example', # String |
175
174
  shared_resources__in: ['shared_resources__in_example'], # Array<String> | Multiple values may be separated by commas.
176
175
  started_at: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where started_at matches value
@@ -229,7 +228,6 @@ Name | Type | Description | Notes
229
228
  **q** | **String**| | [optional]
230
229
  **reserved_resources** | **String**| | [optional]
231
230
  **reserved_resources__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
232
- **reserved_resources_record** | [**Array&lt;String&gt;**](String.md)| Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead. | [optional]
233
231
  **shared_resources** | **String**| | [optional]
234
232
  **shared_resources__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
235
233
  **started_at** | **DateTime**| Filter results where started_at matches value | [optional]
@@ -177,7 +177,6 @@ module PulpcoreClient
177
177
  # @option opts [String] :q
178
178
  # @option opts [String] :reserved_resources
179
179
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
180
- # @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
181
180
  # @option opts [String] :shared_resources
182
181
  # @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
183
182
  # @option opts [DateTime] :started_at Filter results where started_at matches value
@@ -229,7 +228,6 @@ module PulpcoreClient
229
228
  # @option opts [String] :q
230
229
  # @option opts [String] :reserved_resources
231
230
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
232
- # @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
233
231
  # @option opts [String] :shared_resources
234
232
  # @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
235
233
  # @option opts [DateTime] :started_at Filter results where started_at matches value
@@ -290,7 +288,6 @@ module PulpcoreClient
290
288
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
291
289
  query_params[:'reserved_resources'] = opts[:'reserved_resources'] if !opts[:'reserved_resources'].nil?
292
290
  query_params[:'reserved_resources__in'] = @api_client.build_collection_param(opts[:'reserved_resources__in'], :csv) if !opts[:'reserved_resources__in'].nil?
293
- query_params[:'reserved_resources_record'] = @api_client.build_collection_param(opts[:'reserved_resources_record'], :multi) if !opts[:'reserved_resources_record'].nil?
294
291
  query_params[:'shared_resources'] = opts[:'shared_resources'] if !opts[:'shared_resources'].nil?
295
292
  query_params[:'shared_resources__in'] = @api_client.build_collection_param(opts[:'shared_resources__in'], :csv) if !opts[:'shared_resources__in'].nil?
296
293
  query_params[:'started_at'] = opts[:'started_at'] if !opts[:'started_at'].nil?
@@ -18,7 +18,10 @@ module PulpcoreClient
18
18
  # Timestamp of creation.
19
19
  attr_accessor :pulp_created
20
20
 
21
- attr_accessor :pulp_href
21
+ # An optional content-guard.
22
+ attr_accessor :content_guard
23
+
24
+ attr_accessor :pulp_labels
22
25
 
23
26
  # A unique name. Ex, `rawhide` and `stable`.
24
27
  attr_accessor :name
@@ -26,32 +29,29 @@ module PulpcoreClient
26
29
  # The URL for accessing the publication as defined by this distribution.
27
30
  attr_accessor :base_url
28
31
 
29
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
30
- attr_accessor :pulp_last_updated
32
+ attr_accessor :pulp_href
31
33
 
32
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
35
  attr_accessor :base_path
34
36
 
35
- attr_accessor :pulp_labels
36
-
37
37
  # Whether this distribution should be shown in the content app.
38
38
  attr_accessor :hidden
39
39
 
40
- # An optional content-guard.
41
- attr_accessor :content_guard
40
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
41
+ attr_accessor :pulp_last_updated
42
42
 
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
46
  :'pulp_created' => :'pulp_created',
47
- :'pulp_href' => :'pulp_href',
47
+ :'content_guard' => :'content_guard',
48
+ :'pulp_labels' => :'pulp_labels',
48
49
  :'name' => :'name',
49
50
  :'base_url' => :'base_url',
50
- :'pulp_last_updated' => :'pulp_last_updated',
51
+ :'pulp_href' => :'pulp_href',
51
52
  :'base_path' => :'base_path',
52
- :'pulp_labels' => :'pulp_labels',
53
53
  :'hidden' => :'hidden',
54
- :'content_guard' => :'content_guard'
54
+ :'pulp_last_updated' => :'pulp_last_updated'
55
55
  }
56
56
  end
57
57
 
@@ -59,21 +59,21 @@ module PulpcoreClient
59
59
  def self.openapi_types
60
60
  {
61
61
  :'pulp_created' => :'DateTime',
62
- :'pulp_href' => :'String',
62
+ :'content_guard' => :'String',
63
+ :'pulp_labels' => :'Hash<String, String>',
63
64
  :'name' => :'String',
64
65
  :'base_url' => :'String',
65
- :'pulp_last_updated' => :'DateTime',
66
+ :'pulp_href' => :'String',
66
67
  :'base_path' => :'String',
67
- :'pulp_labels' => :'Hash<String, String>',
68
68
  :'hidden' => :'Boolean',
69
- :'content_guard' => :'String'
69
+ :'pulp_last_updated' => :'DateTime'
70
70
  }
71
71
  end
72
72
 
73
73
  # List of attributes with nullable: true
74
74
  def self.openapi_nullable
75
75
  Set.new([
76
- :'content_guard'
76
+ :'content_guard',
77
77
  ])
78
78
  end
79
79
 
@@ -96,8 +96,14 @@ module PulpcoreClient
96
96
  self.pulp_created = attributes[:'pulp_created']
97
97
  end
98
98
 
99
- if attributes.key?(:'pulp_href')
100
- self.pulp_href = attributes[:'pulp_href']
99
+ if attributes.key?(:'content_guard')
100
+ self.content_guard = attributes[:'content_guard']
101
+ end
102
+
103
+ if attributes.key?(:'pulp_labels')
104
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
105
+ self.pulp_labels = value
106
+ end
101
107
  end
102
108
 
103
109
  if attributes.key?(:'name')
@@ -108,28 +114,22 @@ module PulpcoreClient
108
114
  self.base_url = attributes[:'base_url']
109
115
  end
110
116
 
111
- if attributes.key?(:'pulp_last_updated')
112
- self.pulp_last_updated = attributes[:'pulp_last_updated']
117
+ if attributes.key?(:'pulp_href')
118
+ self.pulp_href = attributes[:'pulp_href']
113
119
  end
114
120
 
115
121
  if attributes.key?(:'base_path')
116
122
  self.base_path = attributes[:'base_path']
117
123
  end
118
124
 
119
- if attributes.key?(:'pulp_labels')
120
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
121
- self.pulp_labels = value
122
- end
123
- end
124
-
125
125
  if attributes.key?(:'hidden')
126
126
  self.hidden = attributes[:'hidden']
127
127
  else
128
128
  self.hidden = false
129
129
  end
130
130
 
131
- if attributes.key?(:'content_guard')
132
- self.content_guard = attributes[:'content_guard']
131
+ if attributes.key?(:'pulp_last_updated')
132
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
133
133
  end
134
134
  end
135
135
 
@@ -162,14 +162,14 @@ module PulpcoreClient
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
164
  pulp_created == o.pulp_created &&
165
- pulp_href == o.pulp_href &&
165
+ content_guard == o.content_guard &&
166
+ pulp_labels == o.pulp_labels &&
166
167
  name == o.name &&
167
168
  base_url == o.base_url &&
168
- pulp_last_updated == o.pulp_last_updated &&
169
+ pulp_href == o.pulp_href &&
169
170
  base_path == o.base_path &&
170
- pulp_labels == o.pulp_labels &&
171
171
  hidden == o.hidden &&
172
- content_guard == o.content_guard
172
+ pulp_last_updated == o.pulp_last_updated
173
173
  end
174
174
 
175
175
  # @see the `==` method
@@ -181,7 +181,7 @@ module PulpcoreClient
181
181
  # Calculates hash code according to all attributes.
182
182
  # @return [Integer] Hash code
183
183
  def hash
184
- [pulp_created, pulp_href, name, base_url, pulp_last_updated, base_path, pulp_labels, hidden, content_guard].hash
184
+ [pulp_created, content_guard, pulp_labels, name, base_url, pulp_href, base_path, hidden, pulp_last_updated].hash
185
185
  end
186
186
 
187
187
  # Builds the object from hash
@@ -52,7 +52,7 @@ module PulpcoreClient
52
52
  :'pulp_last_updated' => :'DateTime',
53
53
  :'task' => :'String',
54
54
  :'exported_resources' => :'Array<String>',
55
- :'params' => :'Object'
55
+ :'params' => :'AnyType'
56
56
  }
57
57
  end
58
58
 
@@ -47,7 +47,7 @@ module PulpcoreClient
47
47
  :'pulp_created' => :'DateTime',
48
48
  :'pulp_last_updated' => :'DateTime',
49
49
  :'task' => :'String',
50
- :'params' => :'Object'
50
+ :'params' => :'AnyType'
51
51
  }
52
52
  end
53
53
 
@@ -60,9 +60,9 @@ module PulpcoreClient
60
60
  :'pulp_last_updated' => :'DateTime',
61
61
  :'task' => :'String',
62
62
  :'exported_resources' => :'Array<String>',
63
- :'params' => :'Object',
64
- :'output_file_info' => :'Object',
65
- :'toc_info' => :'Object'
63
+ :'params' => :'AnyType',
64
+ :'output_file_info' => :'AnyType',
65
+ :'toc_info' => :'AnyType'
66
66
  }
67
67
  end
68
68
 
@@ -104,7 +104,7 @@ module PulpcoreClient
104
104
  :'unblocked_at' => :'DateTime',
105
105
  :'started_at' => :'DateTime',
106
106
  :'finished_at' => :'DateTime',
107
- :'error' => :'Hash<String, Object>',
107
+ :'error' => :'Hash<String, AnyType>',
108
108
  :'worker' => :'String',
109
109
  :'parent_task' => :'String',
110
110
  :'child_tasks' => :'Array<String>',
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.54.1'
14
+ VERSION = '3.55.0'
15
15
  end
@@ -86,7 +86,6 @@ describe 'TasksApi' do
86
86
  # @option opts [String] :q
87
87
  # @option opts [String] :reserved_resources
88
88
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
89
- # @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
90
89
  # @option opts [String] :shared_resources
91
90
  # @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
92
91
  # @option opts [DateTime] :started_at Filter results where started_at matches value
@@ -38,37 +38,37 @@ describe 'ArtifactDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_href"' do
41
+ describe 'test attribute "content_guard"' 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 "name"' do
47
+ describe 'test attribute "pulp_labels"' 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 "base_url"' do
53
+ describe 'test attribute "name"' 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 "pulp_last_updated"' do
59
+ describe 'test attribute "base_url"' 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 "base_path"' do
65
+ describe 'test attribute "pulp_href"' 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 "pulp_labels"' do
71
+ describe 'test attribute "base_path"' 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
@@ -80,7 +80,7 @@ describe 'ArtifactDistributionResponse' do
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "content_guard"' do
83
+ describe 'test attribute "pulp_last_updated"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  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.54.1
4
+ version: 3.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator