pulpcore_client 3.73.28 → 3.73.29

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: 72aac0a45ed11605cb5792518ea0bba970d07ceddd7411715a9535261624d37c
4
- data.tar.gz: 5c20115e4b5fb43c703a45bb36567da26bc75399eedf5351389ce6e4877458ce
3
+ metadata.gz: 87ebc138a63fc28ec214f321a870424dcfc1d6f595cb565b28674e32f2712746
4
+ data.tar.gz: 3ceb5ddfcc0f86be511a936f9a10821cdd60864fad7f774e35660e4ddfb71ab1
5
5
  SHA512:
6
- metadata.gz: 3312c8f378857ef721f287161196306b377e5591ff5d01706790fbddabc14a8e9b44679c9d75c46b7c3cb5ec28f7e66aae95678984b1fc0cc0b877d705989110
7
- data.tar.gz: aefc904e03d41ea9b63153f83762828907aaf4c1e0b11d99a7dbd33ca304b398946c5734cf55b513fdeb926ba537d8714c980254f33e2b5c51daf7897bb72968
6
+ metadata.gz: 0411203c4bc32c8784cb4471c0b297bc04fc945f9d518ac0e015c161c4fff1a1146c8f8092aa7364ff18601f33a6324febcb6a9b02d54e9a8d4bc800c963e877
7
+ data.tar.gz: 56c87587c7f748624f73538e6a5c20cda667bfc37d8f28e08c462a1449401c89eff3b3024468403a125ba44b152e0aedc4d8bb9083297338794e087081fa8a5e
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.73.28
10
+ - Package version: 3.73.29
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.73.28.gem
28
+ gem install ./pulpcore_client-3.73.29.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulpcore_client-3.73.28.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulpcore_client-3.73.29.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.73.28'
37
+ gem 'pulpcore_client', '~> 3.73.29'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,16 +4,16 @@
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
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
- | **content_guard** | **String** | An optional content-guard. | [optional] |
10
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
8
+ | **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] |
9
+ | **content_guard** | **String** | An optional content-guard. | [optional] |
11
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\") | |
12
- | **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] |
13
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
12
  | **pulp_href** | **String** | | [optional][readonly] |
15
13
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
16
- | **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] |
14
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
16
+ | **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] |
17
17
  | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
18
18
 
19
19
  ## Example
@@ -22,16 +22,16 @@
22
22
  require 'pulpcore_client'
23
23
 
24
24
  instance = PulpcoreClient::ArtifactDistributionResponse.new(
25
- hidden: null,
26
- prn: null,
27
- content_guard: null,
28
25
  name: null,
26
+ pulp_last_updated: null,
27
+ content_guard: null,
29
28
  base_path: null,
30
- no_content_change_since: null,
31
- pulp_labels: null,
29
+ prn: null,
32
30
  pulp_href: null,
33
31
  pulp_created: null,
34
- pulp_last_updated: null,
32
+ pulp_labels: null,
33
+ hidden: null,
34
+ no_content_change_since: null,
35
35
  base_url: null
36
36
  )
37
37
  ```
@@ -16,33 +16,33 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
- # Whether this distribution should be shown in the content app.
20
- attr_accessor :hidden
19
+ # A unique name. Ex, `rawhide` and `stable`.
20
+ attr_accessor :name
21
21
 
22
- # The Pulp Resource Name (PRN).
23
- attr_accessor :prn
22
+ # 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.
23
+ attr_accessor :pulp_last_updated
24
24
 
25
25
  # An optional content-guard.
26
26
  attr_accessor :content_guard
27
27
 
28
- # A unique name. Ex, `rawhide` and `stable`.
29
- attr_accessor :name
30
-
31
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\")
32
29
  attr_accessor :base_path
33
30
 
34
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
35
- attr_accessor :no_content_change_since
36
-
37
- attr_accessor :pulp_labels
31
+ # The Pulp Resource Name (PRN).
32
+ attr_accessor :prn
38
33
 
39
34
  attr_accessor :pulp_href
40
35
 
41
36
  # Timestamp of creation.
42
37
  attr_accessor :pulp_created
43
38
 
44
- # 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.
45
- attr_accessor :pulp_last_updated
39
+ attr_accessor :pulp_labels
40
+
41
+ # Whether this distribution should be shown in the content app.
42
+ attr_accessor :hidden
43
+
44
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
45
+ attr_accessor :no_content_change_since
46
46
 
47
47
  # The URL for accessing the publication as defined by this distribution.
48
48
  attr_accessor :base_url
@@ -50,16 +50,16 @@ module PulpcoreClient
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
51
51
  def self.attribute_map
52
52
  {
53
- :'hidden' => :'hidden',
54
- :'prn' => :'prn',
55
- :'content_guard' => :'content_guard',
56
53
  :'name' => :'name',
54
+ :'pulp_last_updated' => :'pulp_last_updated',
55
+ :'content_guard' => :'content_guard',
57
56
  :'base_path' => :'base_path',
58
- :'no_content_change_since' => :'no_content_change_since',
59
- :'pulp_labels' => :'pulp_labels',
57
+ :'prn' => :'prn',
60
58
  :'pulp_href' => :'pulp_href',
61
59
  :'pulp_created' => :'pulp_created',
62
- :'pulp_last_updated' => :'pulp_last_updated',
60
+ :'pulp_labels' => :'pulp_labels',
61
+ :'hidden' => :'hidden',
62
+ :'no_content_change_since' => :'no_content_change_since',
63
63
  :'base_url' => :'base_url'
64
64
  }
65
65
  end
@@ -72,16 +72,16 @@ module PulpcoreClient
72
72
  # Attribute type mapping.
73
73
  def self.openapi_types
74
74
  {
75
- :'hidden' => :'Boolean',
76
- :'prn' => :'String',
77
- :'content_guard' => :'String',
78
75
  :'name' => :'String',
76
+ :'pulp_last_updated' => :'Time',
77
+ :'content_guard' => :'String',
79
78
  :'base_path' => :'String',
80
- :'no_content_change_since' => :'String',
81
- :'pulp_labels' => :'Hash<String, String>',
79
+ :'prn' => :'String',
82
80
  :'pulp_href' => :'String',
83
81
  :'pulp_created' => :'Time',
84
- :'pulp_last_updated' => :'Time',
82
+ :'pulp_labels' => :'Hash<String, String>',
83
+ :'hidden' => :'Boolean',
84
+ :'no_content_change_since' => :'String',
85
85
  :'base_url' => :'String'
86
86
  }
87
87
  end
@@ -108,40 +108,28 @@ module PulpcoreClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'hidden')
112
- self.hidden = attributes[:'hidden']
111
+ if attributes.key?(:'name')
112
+ self.name = attributes[:'name']
113
113
  else
114
- self.hidden = false
114
+ self.name = nil
115
115
  end
116
116
 
117
- if attributes.key?(:'prn')
118
- self.prn = attributes[:'prn']
117
+ if attributes.key?(:'pulp_last_updated')
118
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
119
119
  end
120
120
 
121
121
  if attributes.key?(:'content_guard')
122
122
  self.content_guard = attributes[:'content_guard']
123
123
  end
124
124
 
125
- if attributes.key?(:'name')
126
- self.name = attributes[:'name']
127
- else
128
- self.name = nil
129
- end
130
-
131
125
  if attributes.key?(:'base_path')
132
126
  self.base_path = attributes[:'base_path']
133
127
  else
134
128
  self.base_path = nil
135
129
  end
136
130
 
137
- if attributes.key?(:'no_content_change_since')
138
- self.no_content_change_since = attributes[:'no_content_change_since']
139
- end
140
-
141
- if attributes.key?(:'pulp_labels')
142
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
143
- self.pulp_labels = value
144
- end
131
+ if attributes.key?(:'prn')
132
+ self.prn = attributes[:'prn']
145
133
  end
146
134
 
147
135
  if attributes.key?(:'pulp_href')
@@ -152,8 +140,20 @@ module PulpcoreClient
152
140
  self.pulp_created = attributes[:'pulp_created']
153
141
  end
154
142
 
155
- if attributes.key?(:'pulp_last_updated')
156
- self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ if attributes.key?(:'pulp_labels')
144
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
145
+ self.pulp_labels = value
146
+ end
147
+ end
148
+
149
+ if attributes.key?(:'hidden')
150
+ self.hidden = attributes[:'hidden']
151
+ else
152
+ self.hidden = false
153
+ end
154
+
155
+ if attributes.key?(:'no_content_change_since')
156
+ self.no_content_change_since = attributes[:'no_content_change_since']
157
157
  end
158
158
 
159
159
  if attributes.key?(:'base_url')
@@ -191,16 +191,16 @@ module PulpcoreClient
191
191
  def ==(o)
192
192
  return true if self.equal?(o)
193
193
  self.class == o.class &&
194
- hidden == o.hidden &&
195
- prn == o.prn &&
196
- content_guard == o.content_guard &&
197
194
  name == o.name &&
195
+ pulp_last_updated == o.pulp_last_updated &&
196
+ content_guard == o.content_guard &&
198
197
  base_path == o.base_path &&
199
- no_content_change_since == o.no_content_change_since &&
200
- pulp_labels == o.pulp_labels &&
198
+ prn == o.prn &&
201
199
  pulp_href == o.pulp_href &&
202
200
  pulp_created == o.pulp_created &&
203
- pulp_last_updated == o.pulp_last_updated &&
201
+ pulp_labels == o.pulp_labels &&
202
+ hidden == o.hidden &&
203
+ no_content_change_since == o.no_content_change_since &&
204
204
  base_url == o.base_url
205
205
  end
206
206
 
@@ -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
- [hidden, prn, content_guard, name, base_path, no_content_change_since, pulp_labels, pulp_href, pulp_created, pulp_last_updated, base_url].hash
216
+ [name, pulp_last_updated, content_guard, base_path, prn, pulp_href, pulp_created, pulp_labels, hidden, no_content_change_since, base_url].hash
217
217
  end
218
218
 
219
219
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.73.28'
14
+ VERSION = '3.73.29'
15
15
  end
@@ -27,13 +27,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "hidden"' do
30
+ describe 'test attribute "name"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "prn"' do
36
+ describe 'test attribute "pulp_last_updated"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
@@ -45,43 +45,43 @@ describe PulpcoreClient::ArtifactDistributionResponse do
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "name"' do
48
+ describe 'test attribute "base_path"' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
51
  end
52
52
  end
53
53
 
54
- describe 'test attribute "base_path"' do
54
+ describe 'test attribute "prn"' do
55
55
  it 'should work' do
56
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
57
  end
58
58
  end
59
59
 
60
- describe 'test attribute "no_content_change_since"' do
60
+ describe 'test attribute "pulp_href"' do
61
61
  it 'should work' do
62
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
63
  end
64
64
  end
65
65
 
66
- describe 'test attribute "pulp_labels"' do
66
+ describe 'test attribute "pulp_created"' do
67
67
  it 'should work' do
68
68
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
69
  end
70
70
  end
71
71
 
72
- describe 'test attribute "pulp_href"' do
72
+ describe 'test attribute "pulp_labels"' do
73
73
  it 'should work' do
74
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
75
  end
76
76
  end
77
77
 
78
- describe 'test attribute "pulp_created"' do
78
+ describe 'test attribute "hidden"' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
81
  end
82
82
  end
83
83
 
84
- describe 'test attribute "pulp_last_updated"' do
84
+ describe 'test attribute "no_content_change_since"' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
87
  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.73.28
4
+ version: 3.73.29
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-03-10 00:00:00.000000000 Z
11
+ date: 2026-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday