pulpcore_client 3.63.25 → 3.63.27

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: 61769d2e14a448919b29a7c66c2ad3394313ee488dfa067627bdcd531e246421
4
- data.tar.gz: dfc7ba75d43ac772f050818f59f330f0216e0ed1f099a69b625c35df37b06a5a
3
+ metadata.gz: b057884d67ca17b8226a5e8793da49c6d31be57236748f5b5287329e2a58f16b
4
+ data.tar.gz: f5fd01446a515223cd6bc6c49eb9c68080d1cd9ab9dda7154733924b48dc6890
5
5
  SHA512:
6
- metadata.gz: c19a322595e2eb53d1a32402de2a73dfe7079cd71764c42132ff79c15b4b50fccd7170523fa08510a2c58c3dd22d564a45930c66a8d8c910a5771c82afa9defe
7
- data.tar.gz: df5ec61dc2bfd20c89613c2a4194e757160e227aa3ca6fb695a8d439ddbceab1d1c961ce321486265dac5c7707a0eef9c762cf28eeb6f61fb2871ef2482b665e
6
+ metadata.gz: 309a79b107237baa00adcb97815f050fe676d9eeb1f7e10330c42a02383629ee0f60226e5f1aaa3f2e6761632673a85008f646fc9557d115ed5f02566af0bad3
7
+ data.tar.gz: c9b6dc0976177fae181b99bde88888151f0dc2c6606a8b7049bf6e72efbe594559d14c2b73246e25a65be894f7be9e67a107edc678da734b45d82890caee487d
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.63.25
10
+ - Package version: 3.63.27
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.63.25.gem
27
+ gem install ./pulpcore_client-3.63.27.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.25.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.27.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.63.25'
36
+ gem 'pulpcore_client', '~> 3.63.27'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,34 +4,34 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
8
- **content_guard** | **String** | An optional content-guard. | [optional]
9
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
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_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]
9
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **pulp_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
+ **content_guard** | **String** | An optional content-guard. | [optional]
13
14
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
15
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
14
16
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
17
  **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]
16
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
17
- **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]
18
18
 
19
19
  ## Code Sample
20
20
 
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(prn: null,
25
- content_guard: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
25
+ pulp_last_updated: null,
26
+ hidden: null,
26
27
  pulp_labels: null,
27
- base_path: null,
28
28
  pulp_href: null,
29
29
  name: null,
30
+ content_guard: null,
30
31
  base_url: null,
32
+ prn: null,
31
33
  pulp_created: null,
32
- no_content_change_since: null,
33
- hidden: null,
34
- pulp_last_updated: null)
34
+ no_content_change_since: null)
35
35
  ```
36
36
 
37
37
 
@@ -15,68 +15,68 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # The Pulp Resource Name (PRN).
19
- attr_accessor :prn
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
+ attr_accessor :base_path
20
20
 
21
- # An optional content-guard.
22
- attr_accessor :content_guard
21
+ # 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.
22
+ attr_accessor :pulp_last_updated
23
23
 
24
- attr_accessor :pulp_labels
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
25
26
 
26
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
- attr_accessor :base_path
27
+ attr_accessor :pulp_labels
28
28
 
29
29
  attr_accessor :pulp_href
30
30
 
31
31
  # A unique name. Ex, `rawhide` and `stable`.
32
32
  attr_accessor :name
33
33
 
34
+ # An optional content-guard.
35
+ attr_accessor :content_guard
36
+
34
37
  # The URL for accessing the publication as defined by this distribution.
35
38
  attr_accessor :base_url
36
39
 
40
+ # The Pulp Resource Name (PRN).
41
+ attr_accessor :prn
42
+
37
43
  # Timestamp of creation.
38
44
  attr_accessor :pulp_created
39
45
 
40
46
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
41
47
  attr_accessor :no_content_change_since
42
48
 
43
- # Whether this distribution should be shown in the content app.
44
- attr_accessor :hidden
45
-
46
- # 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.
47
- attr_accessor :pulp_last_updated
48
-
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
- :'prn' => :'prn',
53
- :'content_guard' => :'content_guard',
54
- :'pulp_labels' => :'pulp_labels',
55
52
  :'base_path' => :'base_path',
53
+ :'pulp_last_updated' => :'pulp_last_updated',
54
+ :'hidden' => :'hidden',
55
+ :'pulp_labels' => :'pulp_labels',
56
56
  :'pulp_href' => :'pulp_href',
57
57
  :'name' => :'name',
58
+ :'content_guard' => :'content_guard',
58
59
  :'base_url' => :'base_url',
60
+ :'prn' => :'prn',
59
61
  :'pulp_created' => :'pulp_created',
60
- :'no_content_change_since' => :'no_content_change_since',
61
- :'hidden' => :'hidden',
62
- :'pulp_last_updated' => :'pulp_last_updated'
62
+ :'no_content_change_since' => :'no_content_change_since'
63
63
  }
64
64
  end
65
65
 
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
- :'prn' => :'String',
70
- :'content_guard' => :'String',
71
- :'pulp_labels' => :'Hash<String, String>',
72
69
  :'base_path' => :'String',
70
+ :'pulp_last_updated' => :'DateTime',
71
+ :'hidden' => :'Boolean',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
73
  :'pulp_href' => :'String',
74
74
  :'name' => :'String',
75
+ :'content_guard' => :'String',
75
76
  :'base_url' => :'String',
77
+ :'prn' => :'String',
76
78
  :'pulp_created' => :'DateTime',
77
- :'no_content_change_since' => :'String',
78
- :'hidden' => :'Boolean',
79
- :'pulp_last_updated' => :'DateTime'
79
+ :'no_content_change_since' => :'String'
80
80
  }
81
81
  end
82
82
 
@@ -102,12 +102,18 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'prn')
106
- self.prn = attributes[:'prn']
105
+ if attributes.key?(:'base_path')
106
+ self.base_path = attributes[:'base_path']
107
107
  end
108
108
 
109
- if attributes.key?(:'content_guard')
110
- self.content_guard = attributes[:'content_guard']
109
+ if attributes.key?(:'pulp_last_updated')
110
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
111
+ end
112
+
113
+ if attributes.key?(:'hidden')
114
+ self.hidden = attributes[:'hidden']
115
+ else
116
+ self.hidden = false
111
117
  end
112
118
 
113
119
  if attributes.key?(:'pulp_labels')
@@ -116,10 +122,6 @@ module PulpcoreClient
116
122
  end
117
123
  end
118
124
 
119
- if attributes.key?(:'base_path')
120
- self.base_path = attributes[:'base_path']
121
- end
122
-
123
125
  if attributes.key?(:'pulp_href')
124
126
  self.pulp_href = attributes[:'pulp_href']
125
127
  end
@@ -128,10 +130,18 @@ module PulpcoreClient
128
130
  self.name = attributes[:'name']
129
131
  end
130
132
 
133
+ if attributes.key?(:'content_guard')
134
+ self.content_guard = attributes[:'content_guard']
135
+ end
136
+
131
137
  if attributes.key?(:'base_url')
132
138
  self.base_url = attributes[:'base_url']
133
139
  end
134
140
 
141
+ if attributes.key?(:'prn')
142
+ self.prn = attributes[:'prn']
143
+ end
144
+
135
145
  if attributes.key?(:'pulp_created')
136
146
  self.pulp_created = attributes[:'pulp_created']
137
147
  end
@@ -139,16 +149,6 @@ module PulpcoreClient
139
149
  if attributes.key?(:'no_content_change_since')
140
150
  self.no_content_change_since = attributes[:'no_content_change_since']
141
151
  end
142
-
143
- if attributes.key?(:'hidden')
144
- self.hidden = attributes[:'hidden']
145
- else
146
- self.hidden = false
147
- end
148
-
149
- if attributes.key?(:'pulp_last_updated')
150
- self.pulp_last_updated = attributes[:'pulp_last_updated']
151
- end
152
152
  end
153
153
 
154
154
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -179,17 +179,17 @@ module PulpcoreClient
179
179
  def ==(o)
180
180
  return true if self.equal?(o)
181
181
  self.class == o.class &&
182
- prn == o.prn &&
183
- content_guard == o.content_guard &&
184
- pulp_labels == o.pulp_labels &&
185
182
  base_path == o.base_path &&
183
+ pulp_last_updated == o.pulp_last_updated &&
184
+ hidden == o.hidden &&
185
+ pulp_labels == o.pulp_labels &&
186
186
  pulp_href == o.pulp_href &&
187
187
  name == o.name &&
188
+ content_guard == o.content_guard &&
188
189
  base_url == o.base_url &&
190
+ prn == o.prn &&
189
191
  pulp_created == o.pulp_created &&
190
- no_content_change_since == o.no_content_change_since &&
191
- hidden == o.hidden &&
192
- pulp_last_updated == o.pulp_last_updated
192
+ no_content_change_since == o.no_content_change_since
193
193
  end
194
194
 
195
195
  # @see the `==` method
@@ -201,7 +201,7 @@ module PulpcoreClient
201
201
  # Calculates hash code according to all attributes.
202
202
  # @return [Integer] Hash code
203
203
  def hash
204
- [prn, content_guard, pulp_labels, base_path, pulp_href, name, base_url, pulp_created, no_content_change_since, hidden, pulp_last_updated].hash
204
+ [base_path, pulp_last_updated, hidden, pulp_labels, pulp_href, name, content_guard, base_url, prn, pulp_created, no_content_change_since].hash
205
205
  end
206
206
 
207
207
  # 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.63.25'
14
+ VERSION = '3.63.27'
15
15
  end
@@ -32,25 +32,25 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "prn"' do
35
+ describe 'test attribute "base_path"' 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 "content_guard"' do
41
+ describe 'test attribute "pulp_last_updated"' 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 "hidden"' 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_path"' do
53
+ describe 'test attribute "pulp_labels"' 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
@@ -68,31 +68,31 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "base_url"' do
71
+ describe 'test attribute "content_guard"' 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 "pulp_created"' do
77
+ describe 'test attribute "base_url"' 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
81
81
  end
82
82
 
83
- describe 'test attribute "no_content_change_since"' do
83
+ describe 'test attribute "prn"' 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
87
87
  end
88
88
 
89
- describe 'test attribute "hidden"' do
89
+ describe 'test attribute "pulp_created"' do
90
90
  it 'should work' do
91
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "pulp_last_updated"' do
95
+ describe 'test attribute "no_content_change_since"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
98
  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.63.25
4
+ version: 3.63.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-13 00:00:00.000000000 Z
11
+ date: 2025-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday