pulpcore_client 3.63.29 → 3.63.31

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: 657b4b8781190a42cc9c1f5ef17b555b77254595e34a033902a98ae2d5d217d1
4
- data.tar.gz: d49403997f3bc289b67269b4d2bad0fb619b8c366df2fa5a8ac2dde366c2adaf
3
+ metadata.gz: 62a0eb8e6d792f27c1707680d51742fc827a4b7685e5c425ad928adf4a931e64
4
+ data.tar.gz: 6fd43087f54256391536806f8457034f9cbd05cde346d5a76d96f494d066e349
5
5
  SHA512:
6
- metadata.gz: 32b67c91a0cc4b09f79ee3ef1e4be6739916a6f9b666dbaaba8de356bf5ea0231d1b61ddd0943ad3b8af423bbc23633416e3b40e22237f171287723c53dca7f3
7
- data.tar.gz: e03bd3ea4d2773b142c2cf444c38e8a0fd1ce63153fdb4186823251ca2bcf0a5e635a219ccca683fa1d3d1ec419935f9dfb51c3571bf1ee3207e15c5b4d9d7a4
6
+ metadata.gz: 27eadce59dbf860033a1541080c2c7825e520cb8e6ff613883f325cde813ef9b318d30ff947283218de1c812282bf3ed69b945dd082ccb4b1f24c1c35eff99b5
7
+ data.tar.gz: c3fdb2bc473c4931c31db492bafdb8cb7109a53daf079fb817ac28526f8440e87ddb498f3644f22a3ac8804a618ca59efb3b3bae5a405700c63776d8ec6d674c
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.29
10
+ - Package version: 3.63.31
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.29.gem
27
+ gem install ./pulpcore_client-3.63.31.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.29.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.31.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.29'
36
+ gem 'pulpcore_client', '~> 3.63.31'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,16 +4,16 @@
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
8
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
8
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
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
- **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
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
9
  **content_guard** | **String** | An optional content-guard. | [optional]
10
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
13
11
  **pulp_href** | **String** | | [optional] [readonly]
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\") |
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]
15
13
  **pulp_labels** | **Hash<String, String>** | | [optional]
16
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
14
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
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
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
17
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
18
18
 
19
19
  ## Code Sample
@@ -21,16 +21,16 @@ Name | Type | Description | Notes
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
25
- name: null,
26
- pulp_last_updated: null,
27
- no_content_change_since: null,
28
- pulp_created: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
25
+ base_url: null,
29
26
  content_guard: null,
27
+ hidden: null,
30
28
  pulp_href: null,
31
- base_path: null,
29
+ no_content_change_since: null,
32
30
  pulp_labels: null,
33
- hidden: null,
31
+ name: null,
32
+ pulp_last_updated: null,
33
+ pulp_created: null,
34
34
  prn: null)
35
35
  ```
36
36
 
@@ -15,33 +15,33 @@ 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
20
+
18
21
  # The URL for accessing the publication as defined by this distribution.
19
22
  attr_accessor :base_url
20
23
 
21
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
23
-
24
- # 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.
25
- attr_accessor :pulp_last_updated
26
-
27
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
28
- attr_accessor :no_content_change_since
29
-
30
- # Timestamp of creation.
31
- attr_accessor :pulp_created
32
-
33
24
  # An optional content-guard.
34
25
  attr_accessor :content_guard
35
26
 
27
+ # Whether this distribution should be shown in the content app.
28
+ attr_accessor :hidden
29
+
36
30
  attr_accessor :pulp_href
37
31
 
38
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
39
- attr_accessor :base_path
32
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
33
+ attr_accessor :no_content_change_since
40
34
 
41
35
  attr_accessor :pulp_labels
42
36
 
43
- # Whether this distribution should be shown in the content app.
44
- attr_accessor :hidden
37
+ # A unique name. Ex, `rawhide` and `stable`.
38
+ attr_accessor :name
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
42
+
43
+ # Timestamp of creation.
44
+ attr_accessor :pulp_created
45
45
 
46
46
  # The Pulp Resource Name (PRN).
47
47
  attr_accessor :prn
@@ -49,16 +49,16 @@ module PulpcoreClient
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
53
  :'base_url' => :'base_url',
53
- :'name' => :'name',
54
- :'pulp_last_updated' => :'pulp_last_updated',
55
- :'no_content_change_since' => :'no_content_change_since',
56
- :'pulp_created' => :'pulp_created',
57
54
  :'content_guard' => :'content_guard',
55
+ :'hidden' => :'hidden',
58
56
  :'pulp_href' => :'pulp_href',
59
- :'base_path' => :'base_path',
57
+ :'no_content_change_since' => :'no_content_change_since',
60
58
  :'pulp_labels' => :'pulp_labels',
61
- :'hidden' => :'hidden',
59
+ :'name' => :'name',
60
+ :'pulp_last_updated' => :'pulp_last_updated',
61
+ :'pulp_created' => :'pulp_created',
62
62
  :'prn' => :'prn'
63
63
  }
64
64
  end
@@ -66,16 +66,16 @@ module PulpcoreClient
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
+ :'base_path' => :'String',
69
70
  :'base_url' => :'String',
70
- :'name' => :'String',
71
- :'pulp_last_updated' => :'DateTime',
72
- :'no_content_change_since' => :'String',
73
- :'pulp_created' => :'DateTime',
74
71
  :'content_guard' => :'String',
72
+ :'hidden' => :'Boolean',
75
73
  :'pulp_href' => :'String',
76
- :'base_path' => :'String',
74
+ :'no_content_change_since' => :'String',
77
75
  :'pulp_labels' => :'Hash<String, String>',
78
- :'hidden' => :'Boolean',
76
+ :'name' => :'String',
77
+ :'pulp_last_updated' => :'DateTime',
78
+ :'pulp_created' => :'DateTime',
79
79
  :'prn' => :'String'
80
80
  }
81
81
  end
@@ -102,36 +102,30 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'base_url')
106
- self.base_url = attributes[:'base_url']
107
- end
108
-
109
- if attributes.key?(:'name')
110
- self.name = attributes[:'name']
111
- end
112
-
113
- if attributes.key?(:'pulp_last_updated')
114
- self.pulp_last_updated = attributes[:'pulp_last_updated']
115
- end
116
-
117
- if attributes.key?(:'no_content_change_since')
118
- self.no_content_change_since = attributes[:'no_content_change_since']
105
+ if attributes.key?(:'base_path')
106
+ self.base_path = attributes[:'base_path']
119
107
  end
120
108
 
121
- if attributes.key?(:'pulp_created')
122
- self.pulp_created = attributes[:'pulp_created']
109
+ if attributes.key?(:'base_url')
110
+ self.base_url = attributes[:'base_url']
123
111
  end
124
112
 
125
113
  if attributes.key?(:'content_guard')
126
114
  self.content_guard = attributes[:'content_guard']
127
115
  end
128
116
 
117
+ if attributes.key?(:'hidden')
118
+ self.hidden = attributes[:'hidden']
119
+ else
120
+ self.hidden = false
121
+ end
122
+
129
123
  if attributes.key?(:'pulp_href')
130
124
  self.pulp_href = attributes[:'pulp_href']
131
125
  end
132
126
 
133
- if attributes.key?(:'base_path')
134
- self.base_path = attributes[:'base_path']
127
+ if attributes.key?(:'no_content_change_since')
128
+ self.no_content_change_since = attributes[:'no_content_change_since']
135
129
  end
136
130
 
137
131
  if attributes.key?(:'pulp_labels')
@@ -140,10 +134,16 @@ module PulpcoreClient
140
134
  end
141
135
  end
142
136
 
143
- if attributes.key?(:'hidden')
144
- self.hidden = attributes[:'hidden']
145
- else
146
- self.hidden = false
137
+ if attributes.key?(:'name')
138
+ self.name = attributes[:'name']
139
+ end
140
+
141
+ if attributes.key?(:'pulp_last_updated')
142
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ end
144
+
145
+ if attributes.key?(:'pulp_created')
146
+ self.pulp_created = attributes[:'pulp_created']
147
147
  end
148
148
 
149
149
  if attributes.key?(:'prn')
@@ -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 @name.nil?
159
- invalid_properties.push('invalid value for "name", name cannot be nil.')
160
- end
161
-
162
158
  if @base_path.nil?
163
159
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
164
160
  end
165
161
 
162
+ if @name.nil?
163
+ invalid_properties.push('invalid value for "name", name 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 @name.nil?
173
172
  return false if @base_path.nil?
173
+ return false if @name.nil?
174
174
  true
175
175
  end
176
176
 
@@ -179,16 +179,16 @@ 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
183
  base_url == o.base_url &&
183
- name == o.name &&
184
- pulp_last_updated == o.pulp_last_updated &&
185
- no_content_change_since == o.no_content_change_since &&
186
- pulp_created == o.pulp_created &&
187
184
  content_guard == o.content_guard &&
185
+ hidden == o.hidden &&
188
186
  pulp_href == o.pulp_href &&
189
- base_path == o.base_path &&
187
+ no_content_change_since == o.no_content_change_since &&
190
188
  pulp_labels == o.pulp_labels &&
191
- hidden == o.hidden &&
189
+ name == o.name &&
190
+ pulp_last_updated == o.pulp_last_updated &&
191
+ pulp_created == o.pulp_created &&
192
192
  prn == o.prn
193
193
  end
194
194
 
@@ -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_url, name, pulp_last_updated, no_content_change_since, pulp_created, content_guard, pulp_href, base_path, pulp_labels, hidden, prn].hash
204
+ [base_path, base_url, content_guard, hidden, pulp_href, no_content_change_since, pulp_labels, name, pulp_last_updated, pulp_created, prn].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.29'
14
+ VERSION = '3.63.31'
15
15
  end
@@ -32,61 +32,61 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "base_url"' 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 "name"' do
41
+ describe 'test attribute "base_url"' 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_last_updated"' do
47
+ describe 'test attribute "content_guard"' 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 "no_content_change_since"' do
53
+ describe 'test attribute "hidden"' 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_created"' do
59
+ describe 'test attribute "pulp_href"' 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 "content_guard"' do
65
+ describe 'test attribute "no_content_change_since"' 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_href"' do
71
+ describe 'test attribute "pulp_labels"' 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 "base_path"' 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_labels"' 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
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
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.29
4
+ version: 3.63.31
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-01-27 00:00:00.000000000 Z
11
+ date: 2026-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday