pulpcore_client 3.105.22 → 3.105.23

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aba1ef42ec79b448b2dd79407bb23d503322e6d3b70ae02abb28d8c962855a2c
4
- data.tar.gz: 5ddbc913fb8774f4813ef4375114daff826617ac290351cf066fc169d2a74b67
3
+ metadata.gz: 96c15a28700df31455bd12487bcdd5bd4559e9a32505ae53888e8e99540a06a8
4
+ data.tar.gz: 0f5a54eaf333066190ae1c17cb504b86004fc068b9eeaaec3f4f7b5792ee16c1
5
5
  SHA512:
6
- metadata.gz: 2e6857296a34cb3338930ffcf13f2b9902c39bf33506da6cfc830a2f420ffdacc5377128345b752e18cc5217cbcf626bb3d8a96d5e603499032a96a1523ca50a
7
- data.tar.gz: 39223c0ffb2a190c8da763568a5acea266160305f84f7633a3d59877b5a664e87fcb8e9ff88cb9a439e230c8b7195371bf5ddec4bc05ececc75dda4d98fda43d
6
+ metadata.gz: 1f60b7b51cee2e1759a530502c68691499dff2d911f5b6c924e7dd973169aeaef2ccfaaa38e4567aeeb3bb6d6c1ffb59e17967ba7857c0c672270e309c5dffb8
7
+ data.tar.gz: e2c0b80266481adfb51cbfb965be377cccba258bd70fcf9d1e77acf8cb285fbd7ec2c5896438301e36aaf04b6d08d7ea6acf3c34ed85978010ab38d6a3f5cf1a
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.105.22
10
+ - Package version: 3.105.23
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulpcore_client-3.105.22.gem
28
+ gem install ./pulpcore_client-3.105.23.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulpcore_client-3.105.22.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulpcore_client-3.105.23.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulpcore_client', '~> 3.105.22'
37
+ gem 'pulpcore_client', '~> 3.105.23'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
8
7
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
8
  | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
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
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
12
9
  | **content_guard** | **String** | An optional content-guard. | [optional] |
13
10
  | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
12
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
14
13
  | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
14
+ | **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\") | |
16
15
  | **pulp_last_updated** | **Time** | 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] |
17
16
  | **pulp_href** | **String** | | [optional][readonly] |
17
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,17 +22,17 @@
22
22
  require 'pulpcore_client'
23
23
 
24
24
  instance = PulpcoreClient::ArtifactDistributionResponse.new(
25
- prn: null,
26
25
  pulp_created: null,
27
26
  base_url: null,
28
- base_path: null,
29
- name: null,
30
27
  content_guard: null,
31
28
  no_content_change_since: null,
29
+ prn: null,
30
+ name: null,
32
31
  pulp_labels: null,
33
- hidden: null,
32
+ base_path: null,
34
33
  pulp_last_updated: null,
35
- pulp_href: null
34
+ pulp_href: null,
35
+ hidden: null
36
36
  )
37
37
  ```
38
38
 
data/docs/Purge.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-09-14'] |
7
+ | **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-09-15'] |
8
8
  | **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
9
9
 
10
10
  ## Example
@@ -16,51 +16,51 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
- # The Pulp Resource Name (PRN).
20
- attr_accessor :prn
21
-
22
19
  # Timestamp of creation.
23
20
  attr_accessor :pulp_created
24
21
 
25
22
  # The URL for accessing the publication as defined by this distribution.
26
23
  attr_accessor :base_url
27
24
 
28
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
29
- attr_accessor :base_path
30
-
31
- # A unique name. Ex, `rawhide` and `stable`.
32
- attr_accessor :name
33
-
34
25
  # An optional content-guard.
35
26
  attr_accessor :content_guard
36
27
 
37
28
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
38
29
  attr_accessor :no_content_change_since
39
30
 
31
+ # The Pulp Resource Name (PRN).
32
+ attr_accessor :prn
33
+
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
+
40
37
  attr_accessor :pulp_labels
41
38
 
42
- # Whether this distribution should be shown in the content app.
43
- attr_accessor :hidden
39
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
40
+ attr_accessor :base_path
44
41
 
45
42
  # 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.
46
43
  attr_accessor :pulp_last_updated
47
44
 
48
45
  attr_accessor :pulp_href
49
46
 
47
+ # Whether this distribution should be shown in the content app.
48
+ attr_accessor :hidden
49
+
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
51
51
  def self.attribute_map
52
52
  {
53
- :'prn' => :'prn',
54
53
  :'pulp_created' => :'pulp_created',
55
54
  :'base_url' => :'base_url',
56
- :'base_path' => :'base_path',
57
- :'name' => :'name',
58
55
  :'content_guard' => :'content_guard',
59
56
  :'no_content_change_since' => :'no_content_change_since',
57
+ :'prn' => :'prn',
58
+ :'name' => :'name',
60
59
  :'pulp_labels' => :'pulp_labels',
61
- :'hidden' => :'hidden',
60
+ :'base_path' => :'base_path',
62
61
  :'pulp_last_updated' => :'pulp_last_updated',
63
- :'pulp_href' => :'pulp_href'
62
+ :'pulp_href' => :'pulp_href',
63
+ :'hidden' => :'hidden'
64
64
  }
65
65
  end
66
66
 
@@ -72,17 +72,17 @@ module PulpcoreClient
72
72
  # Attribute type mapping.
73
73
  def self.openapi_types
74
74
  {
75
- :'prn' => :'String',
76
75
  :'pulp_created' => :'Time',
77
76
  :'base_url' => :'String',
78
- :'base_path' => :'String',
79
- :'name' => :'String',
80
77
  :'content_guard' => :'String',
81
78
  :'no_content_change_since' => :'String',
79
+ :'prn' => :'String',
80
+ :'name' => :'String',
82
81
  :'pulp_labels' => :'Hash<String, String>',
83
- :'hidden' => :'Boolean',
82
+ :'base_path' => :'String',
84
83
  :'pulp_last_updated' => :'Time',
85
- :'pulp_href' => :'String'
84
+ :'pulp_href' => :'String',
85
+ :'hidden' => :'Boolean'
86
86
  }
87
87
  end
88
88
 
@@ -108,10 +108,6 @@ module PulpcoreClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'prn')
112
- self.prn = attributes[:'prn']
113
- end
114
-
115
111
  if attributes.key?(:'pulp_created')
116
112
  self.pulp_created = attributes[:'pulp_created']
117
113
  end
@@ -120,18 +116,6 @@ module PulpcoreClient
120
116
  self.base_url = attributes[:'base_url']
121
117
  end
122
118
 
123
- if attributes.key?(:'base_path')
124
- self.base_path = attributes[:'base_path']
125
- else
126
- self.base_path = nil
127
- end
128
-
129
- if attributes.key?(:'name')
130
- self.name = attributes[:'name']
131
- else
132
- self.name = nil
133
- end
134
-
135
119
  if attributes.key?(:'content_guard')
136
120
  self.content_guard = attributes[:'content_guard']
137
121
  end
@@ -140,16 +124,26 @@ module PulpcoreClient
140
124
  self.no_content_change_since = attributes[:'no_content_change_since']
141
125
  end
142
126
 
127
+ if attributes.key?(:'prn')
128
+ self.prn = attributes[:'prn']
129
+ end
130
+
131
+ if attributes.key?(:'name')
132
+ self.name = attributes[:'name']
133
+ else
134
+ self.name = nil
135
+ end
136
+
143
137
  if attributes.key?(:'pulp_labels')
144
138
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
145
139
  self.pulp_labels = value
146
140
  end
147
141
  end
148
142
 
149
- if attributes.key?(:'hidden')
150
- self.hidden = attributes[:'hidden']
143
+ if attributes.key?(:'base_path')
144
+ self.base_path = attributes[:'base_path']
151
145
  else
152
- self.hidden = false
146
+ self.base_path = nil
153
147
  end
154
148
 
155
149
  if attributes.key?(:'pulp_last_updated')
@@ -159,6 +153,12 @@ module PulpcoreClient
159
153
  if attributes.key?(:'pulp_href')
160
154
  self.pulp_href = attributes[:'pulp_href']
161
155
  end
156
+
157
+ if attributes.key?(:'hidden')
158
+ self.hidden = attributes[:'hidden']
159
+ else
160
+ self.hidden = false
161
+ end
162
162
  end
163
163
 
164
164
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -166,14 +166,14 @@ module PulpcoreClient
166
166
  def list_invalid_properties
167
167
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
168
168
  invalid_properties = Array.new
169
- if @base_path.nil?
170
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
171
- end
172
-
173
169
  if @name.nil?
174
170
  invalid_properties.push('invalid value for "name", name cannot be nil.')
175
171
  end
176
172
 
173
+ if @base_path.nil?
174
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
175
+ end
176
+
177
177
  invalid_properties
178
178
  end
179
179
 
@@ -181,8 +181,8 @@ module PulpcoreClient
181
181
  # @return true if the model is valid
182
182
  def valid?
183
183
  warn '[DEPRECATED] the `valid?` method is obsolete'
184
- return false if @base_path.nil?
185
184
  return false if @name.nil?
185
+ return false if @base_path.nil?
186
186
  true
187
187
  end
188
188
 
@@ -191,17 +191,17 @@ module PulpcoreClient
191
191
  def ==(o)
192
192
  return true if self.equal?(o)
193
193
  self.class == o.class &&
194
- prn == o.prn &&
195
194
  pulp_created == o.pulp_created &&
196
195
  base_url == o.base_url &&
197
- base_path == o.base_path &&
198
- name == o.name &&
199
196
  content_guard == o.content_guard &&
200
197
  no_content_change_since == o.no_content_change_since &&
198
+ prn == o.prn &&
199
+ name == o.name &&
201
200
  pulp_labels == o.pulp_labels &&
202
- hidden == o.hidden &&
201
+ base_path == o.base_path &&
203
202
  pulp_last_updated == o.pulp_last_updated &&
204
- pulp_href == o.pulp_href
203
+ pulp_href == o.pulp_href &&
204
+ hidden == o.hidden
205
205
  end
206
206
 
207
207
  # @see the `==` method
@@ -213,7 +213,7 @@ module PulpcoreClient
213
213
  # Calculates hash code according to all attributes.
214
214
  # @return [Integer] Hash code
215
215
  def hash
216
- [prn, pulp_created, base_url, base_path, name, content_guard, no_content_change_since, pulp_labels, hidden, pulp_last_updated, pulp_href].hash
216
+ [pulp_created, base_url, content_guard, no_content_change_since, prn, name, pulp_labels, base_path, pulp_last_updated, pulp_href, hidden].hash
217
217
  end
218
218
 
219
219
  # Builds the object from hash
@@ -66,7 +66,7 @@ module PulpcoreClient
66
66
  if attributes.key?(:'finished_before')
67
67
  self.finished_before = attributes[:'finished_before']
68
68
  else
69
- self.finished_before = '2026-09-14'
69
+ self.finished_before = '2026-09-15'
70
70
  end
71
71
 
72
72
  if attributes.key?(:'states')
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.105.22'
14
+ VERSION = '3.105.23'
15
15
  end
@@ -27,12 +27,6 @@ describe PulpcoreClient::ArtifactDistributionResponse do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "prn"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
30
  describe 'test attribute "pulp_created"' do
37
31
  it 'should work' do
38
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -45,25 +39,25 @@ describe PulpcoreClient::ArtifactDistributionResponse do
45
39
  end
46
40
  end
47
41
 
48
- describe 'test attribute "base_path"' do
42
+ describe 'test attribute "content_guard"' do
49
43
  it 'should work' do
50
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
45
  end
52
46
  end
53
47
 
54
- describe 'test attribute "name"' do
48
+ describe 'test attribute "no_content_change_since"' do
55
49
  it 'should work' do
56
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
51
  end
58
52
  end
59
53
 
60
- describe 'test attribute "content_guard"' do
54
+ describe 'test attribute "prn"' do
61
55
  it 'should work' do
62
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
57
  end
64
58
  end
65
59
 
66
- describe 'test attribute "no_content_change_since"' do
60
+ describe 'test attribute "name"' do
67
61
  it 'should work' do
68
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
63
  end
@@ -75,7 +69,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
75
69
  end
76
70
  end
77
71
 
78
- describe 'test attribute "hidden"' do
72
+ describe 'test attribute "base_path"' do
79
73
  it 'should work' do
80
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
75
  end
@@ -93,4 +87,10 @@ describe PulpcoreClient::ArtifactDistributionResponse do
93
87
  end
94
88
  end
95
89
 
90
+ describe 'test attribute "hidden"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
96
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.105.22
4
+ version: 3.105.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-14 00:00:00.000000000 Z
11
+ date: 2026-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday