pulpcore_client 3.63.24 → 3.63.26

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: 5325428cdbbccc0c6cbf954cb815e8742535d4cb5c9eb6d5bf00999cbacf7e27
4
- data.tar.gz: 12da1dfeb05e0aca72a25c4cf75fbc2bfc5c0201de404afd7593b5f5e74b44e8
3
+ metadata.gz: a2192871770df597fe553427d9ffac0c11f4ba54f3279c274b07812358baf578
4
+ data.tar.gz: ffb41f60d54a15ad86838a724d7b5df2ce9552b20477134961e19f79ebcb7c08
5
5
  SHA512:
6
- metadata.gz: 7140fb94d7f4bad5f7f28889fa38ae1ec4a25217bb1dc94a2313003e643140fe05582e578600a45fe3103ce184760efd41693d019f546c237792b05792db5071
7
- data.tar.gz: 4ee5ee043dbe55b016618f768b49d072a47598db4ab3ca864d68d06a4c131c5c4f76ad32f4a589d25d3c44c57ac5904b048f20ad56a0502138ad5d426f2ce8db
6
+ metadata.gz: 4e935fb142713809849148df4073618c617d9fd3d1e1096ec87e45a45c1b336b15ea81997a909a5a40ffe6fa4c5681e027c7d6353871f838d497a2fef2da372b
7
+ data.tar.gz: 29817dfa5fe722fbe76454d90c6d38fa7eac58df5fe5efedcce375ead6b121094afbc51109cb1dde655e8b5e0b336623311a9e5cfc84bc87d51c9071142ad1e6
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.24
10
+ - Package version: 3.63.26
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.24.gem
27
+ gem install ./pulpcore_client-3.63.26.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.24.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.26.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.24'
36
+ gem 'pulpcore_client', '~> 3.63.26'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,34 +4,34 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
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\") |
7
+ **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]
8
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
+ **pulp_href** | **String** | | [optional] [readonly]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **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]
12
+ **content_guard** | **String** | An optional content-guard. | [optional]
8
13
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
14
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
15
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
- **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]
12
- **content_guard** | **String** | An optional content-guard. | [optional]
13
- **pulp_href** | **String** | | [optional] [readonly]
14
- **pulp_labels** | **Hash<String, String>** | | [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
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
17
+ **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\") |
18
18
 
19
19
  ## Code Sample
20
20
 
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_last_updated: null,
25
+ prn: null,
26
+ pulp_href: null,
27
+ pulp_labels: null,
28
+ no_content_change_since: null,
29
+ content_guard: null,
25
30
  hidden: null,
26
31
  name: null,
27
32
  base_url: null,
28
- no_content_change_since: null,
29
- content_guard: null,
30
- pulp_href: null,
31
- pulp_labels: null,
32
- pulp_last_updated: null,
33
33
  pulp_created: null,
34
- prn: null)
34
+ base_path: null)
35
35
  ```
36
36
 
37
37
 
@@ -15,17 +15,15 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
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
18
+ # 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.
19
+ attr_accessor :pulp_last_updated
20
20
 
21
- # Whether this distribution should be shown in the content app.
22
- attr_accessor :hidden
21
+ # The Pulp Resource Name (PRN).
22
+ attr_accessor :prn
23
23
 
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
24
+ attr_accessor :pulp_href
26
25
 
27
- # The URL for accessing the publication as defined by this distribution.
28
- attr_accessor :base_url
26
+ attr_accessor :pulp_labels
29
27
 
30
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.
31
29
  attr_accessor :no_content_change_since
@@ -33,50 +31,52 @@ module PulpcoreClient
33
31
  # An optional content-guard.
34
32
  attr_accessor :content_guard
35
33
 
36
- attr_accessor :pulp_href
34
+ # Whether this distribution should be shown in the content app.
35
+ attr_accessor :hidden
37
36
 
38
- attr_accessor :pulp_labels
37
+ # A unique name. Ex, `rawhide` and `stable`.
38
+ attr_accessor :name
39
39
 
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
40
+ # The URL for accessing the publication as defined by this distribution.
41
+ attr_accessor :base_url
42
42
 
43
43
  # Timestamp of creation.
44
44
  attr_accessor :pulp_created
45
45
 
46
- # The Pulp Resource Name (PRN).
47
- attr_accessor :prn
46
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
47
+ attr_accessor :base_path
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
- :'base_path' => :'base_path',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
53
+ :'prn' => :'prn',
54
+ :'pulp_href' => :'pulp_href',
55
+ :'pulp_labels' => :'pulp_labels',
56
+ :'no_content_change_since' => :'no_content_change_since',
57
+ :'content_guard' => :'content_guard',
53
58
  :'hidden' => :'hidden',
54
59
  :'name' => :'name',
55
60
  :'base_url' => :'base_url',
56
- :'no_content_change_since' => :'no_content_change_since',
57
- :'content_guard' => :'content_guard',
58
- :'pulp_href' => :'pulp_href',
59
- :'pulp_labels' => :'pulp_labels',
60
- :'pulp_last_updated' => :'pulp_last_updated',
61
61
  :'pulp_created' => :'pulp_created',
62
- :'prn' => :'prn'
62
+ :'base_path' => :'base_path'
63
63
  }
64
64
  end
65
65
 
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
- :'base_path' => :'String',
69
+ :'pulp_last_updated' => :'DateTime',
70
+ :'prn' => :'String',
71
+ :'pulp_href' => :'String',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
+ :'no_content_change_since' => :'String',
74
+ :'content_guard' => :'String',
70
75
  :'hidden' => :'Boolean',
71
76
  :'name' => :'String',
72
77
  :'base_url' => :'String',
73
- :'no_content_change_since' => :'String',
74
- :'content_guard' => :'String',
75
- :'pulp_href' => :'String',
76
- :'pulp_labels' => :'Hash<String, String>',
77
- :'pulp_last_updated' => :'DateTime',
78
78
  :'pulp_created' => :'DateTime',
79
- :'prn' => :'String'
79
+ :'base_path' => :'String'
80
80
  }
81
81
  end
82
82
 
@@ -102,22 +102,22 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'base_path')
106
- self.base_path = attributes[:'base_path']
105
+ if attributes.key?(:'pulp_last_updated')
106
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
107
107
  end
108
108
 
109
- if attributes.key?(:'hidden')
110
- self.hidden = attributes[:'hidden']
111
- else
112
- self.hidden = false
109
+ if attributes.key?(:'prn')
110
+ self.prn = attributes[:'prn']
113
111
  end
114
112
 
115
- if attributes.key?(:'name')
116
- self.name = attributes[:'name']
113
+ if attributes.key?(:'pulp_href')
114
+ self.pulp_href = attributes[:'pulp_href']
117
115
  end
118
116
 
119
- if attributes.key?(:'base_url')
120
- self.base_url = attributes[:'base_url']
117
+ if attributes.key?(:'pulp_labels')
118
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
+ self.pulp_labels = value
120
+ end
121
121
  end
122
122
 
123
123
  if attributes.key?(:'no_content_change_since')
@@ -128,26 +128,26 @@ module PulpcoreClient
128
128
  self.content_guard = attributes[:'content_guard']
129
129
  end
130
130
 
131
- if attributes.key?(:'pulp_href')
132
- self.pulp_href = attributes[:'pulp_href']
131
+ if attributes.key?(:'hidden')
132
+ self.hidden = attributes[:'hidden']
133
+ else
134
+ self.hidden = false
133
135
  end
134
136
 
135
- if attributes.key?(:'pulp_labels')
136
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
137
- self.pulp_labels = value
138
- end
137
+ if attributes.key?(:'name')
138
+ self.name = attributes[:'name']
139
139
  end
140
140
 
141
- if attributes.key?(:'pulp_last_updated')
142
- self.pulp_last_updated = attributes[:'pulp_last_updated']
141
+ if attributes.key?(:'base_url')
142
+ self.base_url = attributes[:'base_url']
143
143
  end
144
144
 
145
145
  if attributes.key?(:'pulp_created')
146
146
  self.pulp_created = attributes[:'pulp_created']
147
147
  end
148
148
 
149
- if attributes.key?(:'prn')
150
- self.prn = attributes[:'prn']
149
+ if attributes.key?(:'base_path')
150
+ self.base_path = attributes[:'base_path']
151
151
  end
152
152
  end
153
153
 
@@ -155,22 +155,22 @@ module PulpcoreClient
155
155
  # @return Array for valid properties with the reasons
156
156
  def list_invalid_properties
157
157
  invalid_properties = Array.new
158
- if @base_path.nil?
159
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
160
- end
161
-
162
158
  if @name.nil?
163
159
  invalid_properties.push('invalid value for "name", name cannot be nil.')
164
160
  end
165
161
 
162
+ if @base_path.nil?
163
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
164
+ end
165
+
166
166
  invalid_properties
167
167
  end
168
168
 
169
169
  # Check to see if the all the properties in the model are valid
170
170
  # @return true if the model is valid
171
171
  def valid?
172
- return false if @base_path.nil?
173
172
  return false if @name.nil?
173
+ return false if @base_path.nil?
174
174
  true
175
175
  end
176
176
 
@@ -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
- base_path == o.base_path &&
182
+ pulp_last_updated == o.pulp_last_updated &&
183
+ prn == o.prn &&
184
+ pulp_href == o.pulp_href &&
185
+ pulp_labels == o.pulp_labels &&
186
+ no_content_change_since == o.no_content_change_since &&
187
+ content_guard == o.content_guard &&
183
188
  hidden == o.hidden &&
184
189
  name == o.name &&
185
190
  base_url == o.base_url &&
186
- no_content_change_since == o.no_content_change_since &&
187
- content_guard == o.content_guard &&
188
- pulp_href == o.pulp_href &&
189
- pulp_labels == o.pulp_labels &&
190
- pulp_last_updated == o.pulp_last_updated &&
191
191
  pulp_created == o.pulp_created &&
192
- prn == o.prn
192
+ base_path == o.base_path
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
- [base_path, hidden, name, base_url, no_content_change_since, content_guard, pulp_href, pulp_labels, pulp_last_updated, pulp_created, prn].hash
204
+ [pulp_last_updated, prn, pulp_href, pulp_labels, no_content_change_since, content_guard, hidden, name, base_url, pulp_created, base_path].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.24'
14
+ VERSION = '3.63.26'
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 "base_path"' do
35
+ describe 'test attribute "pulp_last_updated"' 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 "hidden"' do
41
+ describe 'test attribute "prn"' 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_href"' 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 "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,19 +68,19 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "pulp_href"' do
71
+ describe 'test attribute "hidden"' 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_labels"' do
77
+ describe 'test attribute "name"' 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 "pulp_last_updated"' do
83
+ describe 'test attribute "base_url"' 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
@@ -92,7 +92,7 @@ describe 'ArtifactDistributionResponse' do
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "prn"' do
95
+ describe 'test attribute "base_path"' 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.24
4
+ version: 3.63.26
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-10-01 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday