pulpcore_client 3.63.12 → 3.63.13

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: 9baead2956e54f3b8cb01b7179c8114de66eb10e288ddcdfaab7a779139f89e1
4
- data.tar.gz: b384f9cad5f34b50643ecefe33fa04a1b8023b6d6cd6238b242ae2bf907d1dc3
3
+ metadata.gz: aeed79d832f32bb21a117bcc05388f95686287eea05cc614a0fa2b96e404907e
4
+ data.tar.gz: 3389bedb244c3b0419b56aeb4e9a67c37db6dadc936b51f8ffcd46de6f94e2b0
5
5
  SHA512:
6
- metadata.gz: c9513627d05f0e6abc3cf3c047e191e529ef3461bdc1254951206baa5afda5f1b4e9d6558ec7e6a9eedf8cb413c9925dac10f7c4908823117134423425a36500
7
- data.tar.gz: '096256e518cb301df64d1d3047917296237899876d152dbcdad0005551e132177a6bd8458847b815d79d769a6793c0c987108c4822a08959103450803d8b96ba'
6
+ metadata.gz: e7b67c1a7df5f905c4aff1b64139304106383268abe4f4c0177b7117f1f0d67fe0287ac598320790cacb023b05a416c35258a3f6fb3e133526169dfbdee86d10
7
+ data.tar.gz: 3f8315c52b092a7fb45572bcac9820eb58677090ca113fec732ca565e00e5250d3c1fae54017b85dc816a9adcc5c97c7aced822b4ef9259cd028f4dcde2d5a85
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.12
10
+ - Package version: 3.63.13
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.12.gem
27
+ gem install ./pulpcore_client-3.63.13.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.12.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.13.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.12'
36
+ gem 'pulpcore_client', '~> 3.63.13'
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_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
8
- **content_guard** | **String** | An optional content-guard. | [optional]
9
- **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\") |
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
8
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
14
- **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
+ **content_guard** | **String** | An optional content-guard. | [optional]
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
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
15
12
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
13
+ **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
14
  **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
15
  **pulp_href** | **String** | | [optional] [readonly]
16
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
+ **pulp_labels** | **Hash<String, String>** | | [optional]
18
18
 
19
19
  ## Code Sample
20
20
 
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
25
+ prn: null,
25
26
  content_guard: null,
26
27
  base_path: null,
27
- pulp_labels: null,
28
- name: null,
29
- pulp_created: null,
30
- prn: null,
31
- pulp_last_updated: null,
28
+ base_url: null,
32
29
  hidden: null,
30
+ pulp_last_updated: null,
33
31
  no_content_change_since: null,
34
- pulp_href: null)
32
+ pulp_href: null,
33
+ pulp_created: null,
34
+ pulp_labels: null)
35
35
  ```
36
36
 
37
37
 
@@ -15,8 +15,11 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # The URL for accessing the publication as defined by this distribution.
19
- attr_accessor :base_url
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
21
+ # The Pulp Resource Name (PRN).
22
+ attr_accessor :prn
20
23
 
21
24
  # An optional content-guard.
22
25
  attr_accessor :content_guard
@@ -24,59 +27,56 @@ module PulpcoreClient
24
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
28
  attr_accessor :base_path
26
29
 
27
- attr_accessor :pulp_labels
28
-
29
- # A unique name. Ex, `rawhide` and `stable`.
30
- attr_accessor :name
31
-
32
- # Timestamp of creation.
33
- attr_accessor :pulp_created
30
+ # The URL for accessing the publication as defined by this distribution.
31
+ attr_accessor :base_url
34
32
 
35
- # The Pulp Resource Name (PRN).
36
- attr_accessor :prn
33
+ # Whether this distribution should be shown in the content app.
34
+ attr_accessor :hidden
37
35
 
38
36
  # 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.
39
37
  attr_accessor :pulp_last_updated
40
38
 
41
- # Whether this distribution should be shown in the content app.
42
- attr_accessor :hidden
43
-
44
39
  # 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
40
  attr_accessor :no_content_change_since
46
41
 
47
42
  attr_accessor :pulp_href
48
43
 
44
+ # Timestamp of creation.
45
+ attr_accessor :pulp_created
46
+
47
+ attr_accessor :pulp_labels
48
+
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
- :'base_url' => :'base_url',
53
- :'content_guard' => :'content_guard',
54
- :'base_path' => :'base_path',
55
- :'pulp_labels' => :'pulp_labels',
56
52
  :'name' => :'name',
57
- :'pulp_created' => :'pulp_created',
58
53
  :'prn' => :'prn',
59
- :'pulp_last_updated' => :'pulp_last_updated',
54
+ :'content_guard' => :'content_guard',
55
+ :'base_path' => :'base_path',
56
+ :'base_url' => :'base_url',
60
57
  :'hidden' => :'hidden',
58
+ :'pulp_last_updated' => :'pulp_last_updated',
61
59
  :'no_content_change_since' => :'no_content_change_since',
62
- :'pulp_href' => :'pulp_href'
60
+ :'pulp_href' => :'pulp_href',
61
+ :'pulp_created' => :'pulp_created',
62
+ :'pulp_labels' => :'pulp_labels'
63
63
  }
64
64
  end
65
65
 
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
- :'base_url' => :'String',
70
- :'content_guard' => :'String',
71
- :'base_path' => :'String',
72
- :'pulp_labels' => :'Hash<String, String>',
73
69
  :'name' => :'String',
74
- :'pulp_created' => :'DateTime',
75
70
  :'prn' => :'String',
76
- :'pulp_last_updated' => :'DateTime',
71
+ :'content_guard' => :'String',
72
+ :'base_path' => :'String',
73
+ :'base_url' => :'String',
77
74
  :'hidden' => :'Boolean',
75
+ :'pulp_last_updated' => :'DateTime',
78
76
  :'no_content_change_since' => :'String',
79
- :'pulp_href' => :'String'
77
+ :'pulp_href' => :'String',
78
+ :'pulp_created' => :'DateTime',
79
+ :'pulp_labels' => :'Hash<String, String>'
80
80
  }
81
81
  end
82
82
 
@@ -102,8 +102,12 @@ 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']
105
+ if attributes.key?(:'name')
106
+ self.name = attributes[:'name']
107
+ end
108
+
109
+ if attributes.key?(:'prn')
110
+ self.prn = attributes[:'prn']
107
111
  end
108
112
 
109
113
  if attributes.key?(:'content_guard')
@@ -114,26 +118,8 @@ module PulpcoreClient
114
118
  self.base_path = attributes[:'base_path']
115
119
  end
116
120
 
117
- if attributes.key?(:'pulp_labels')
118
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
- self.pulp_labels = value
120
- end
121
- end
122
-
123
- if attributes.key?(:'name')
124
- self.name = attributes[:'name']
125
- end
126
-
127
- if attributes.key?(:'pulp_created')
128
- self.pulp_created = attributes[:'pulp_created']
129
- end
130
-
131
- if attributes.key?(:'prn')
132
- self.prn = attributes[:'prn']
133
- end
134
-
135
- if attributes.key?(:'pulp_last_updated')
136
- self.pulp_last_updated = attributes[:'pulp_last_updated']
121
+ if attributes.key?(:'base_url')
122
+ self.base_url = attributes[:'base_url']
137
123
  end
138
124
 
139
125
  if attributes.key?(:'hidden')
@@ -142,6 +128,10 @@ module PulpcoreClient
142
128
  self.hidden = false
143
129
  end
144
130
 
131
+ if attributes.key?(:'pulp_last_updated')
132
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
133
+ end
134
+
145
135
  if attributes.key?(:'no_content_change_since')
146
136
  self.no_content_change_since = attributes[:'no_content_change_since']
147
137
  end
@@ -149,28 +139,38 @@ module PulpcoreClient
149
139
  if attributes.key?(:'pulp_href')
150
140
  self.pulp_href = attributes[:'pulp_href']
151
141
  end
142
+
143
+ if attributes.key?(:'pulp_created')
144
+ self.pulp_created = attributes[:'pulp_created']
145
+ end
146
+
147
+ if attributes.key?(:'pulp_labels')
148
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
149
+ self.pulp_labels = value
150
+ end
151
+ end
152
152
  end
153
153
 
154
154
  # Show invalid properties with the reasons. Usually used together with valid?
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_url == o.base_url &&
183
- content_guard == o.content_guard &&
184
- base_path == o.base_path &&
185
- pulp_labels == o.pulp_labels &&
186
182
  name == o.name &&
187
- pulp_created == o.pulp_created &&
188
183
  prn == o.prn &&
189
- pulp_last_updated == o.pulp_last_updated &&
184
+ content_guard == o.content_guard &&
185
+ base_path == o.base_path &&
186
+ base_url == o.base_url &&
190
187
  hidden == o.hidden &&
188
+ pulp_last_updated == o.pulp_last_updated &&
191
189
  no_content_change_since == o.no_content_change_since &&
192
- pulp_href == o.pulp_href
190
+ pulp_href == o.pulp_href &&
191
+ pulp_created == o.pulp_created &&
192
+ pulp_labels == o.pulp_labels
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_url, content_guard, base_path, pulp_labels, name, pulp_created, prn, pulp_last_updated, hidden, no_content_change_since, pulp_href].hash
204
+ [name, prn, content_guard, base_path, base_url, hidden, pulp_last_updated, no_content_change_since, pulp_href, pulp_created, pulp_labels].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.12'
14
+ VERSION = '3.63.13'
15
15
  end
@@ -32,67 +32,67 @@ 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 "name"' 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 "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 "base_path"' 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 "pulp_labels"' do
53
+ describe 'test attribute "base_path"' 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 "name"' do
59
+ describe 'test attribute "base_url"' 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 "pulp_created"' do
65
+ describe 'test attribute "hidden"' 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 "prn"' do
71
+ describe 'test attribute "pulp_last_updated"' 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_last_updated"' do
77
+ describe 'test attribute "no_content_change_since"' 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 "hidden"' do
83
+ describe 'test attribute "pulp_href"' 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 "no_content_change_since"' 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_href"' do
95
+ describe 'test attribute "pulp_labels"' 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.12
4
+ version: 3.63.13
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-03-18 00:00:00.000000000 Z
11
+ date: 2025-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday