pulpcore_client 3.63.16 → 3.63.17

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: f1e885dabf4a280f6c14954d83a3b81c1e440539d5cfd357041b96ea03e8bfa9
4
- data.tar.gz: abbbedb55c9867d3aae7753f9a711469b75858b0ffb08bbf590dff2e6d46ef35
3
+ metadata.gz: 63d50fd7335f90645888fc91fa4bfefb5b46b4cb0ffdb79ffbcad9d8318fc9a7
4
+ data.tar.gz: 855fbe4ef3fec90f34ea65f6673a61a4318075a26ba7a7a5c57588a974a13f26
5
5
  SHA512:
6
- metadata.gz: dca785785e928780b7ec549a758d6bbed3c24f90594b30a1dd9628097790dd032aaa734f41932b8422cd63035a1bb2eb378bde004b180326dc561c45f4c7c177
7
- data.tar.gz: 0cd792e9705204010c80ba5208ae4f257e5c97da37af8f5dadf4939ced0915b24ba0b8d78f7d719ca978120f95eb5b10652e9ee7ac058dd9b5809aa40d7c782e
6
+ metadata.gz: 9676dc8273a5ee7d3b4b6cc2c5f004705cd7d7cef68c2ccf3387d03bd567d4ea443a3de0f2a2620a45e30f7a00b4d5b9e568dea70abf6688d9dd521bf3947ba7
7
+ data.tar.gz: fa42f4eec0e06429ab2ea0b409908bf32c37f3360e73483774929b84b3f26b34bbd39cbf6a668afe61d4a61b391bd8020825f8525bb971a9e62cd488dab50bdf
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.16
10
+ - Package version: 3.63.17
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.16.gem
27
+ gem install ./pulpcore_client-3.63.17.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.16.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.17.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.16'
36
+ gem 'pulpcore_client', '~> 3.63.17'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,15 +5,15 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
8
+ **pulp_href** | **String** | | [optional] [readonly]
8
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
+ **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
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
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\") |
10
15
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
- **pulp_href** | **String** | | [optional] [readonly]
12
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
- **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]
14
- **pulp_labels** | **Hash<String, String>** | | [optional]
15
16
  **content_guard** | **String** | An optional content-guard. | [optional]
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
@@ -22,15 +22,15 @@ Name | Type | Description | Notes
22
22
  require 'PulpcoreClient'
23
23
 
24
24
  instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
25
+ pulp_href: null,
25
26
  pulp_last_updated: null,
27
+ pulp_labels: null,
28
+ no_content_change_since: null,
29
+ name: null,
30
+ pulp_created: null,
26
31
  base_path: null,
27
32
  hidden: null,
28
- pulp_href: null,
29
- name: null,
30
- no_content_change_since: null,
31
- pulp_labels: null,
32
33
  content_guard: null,
33
- pulp_created: null,
34
34
  prn: null)
35
35
  ```
36
36
 
@@ -18,31 +18,31 @@ module PulpcoreClient
18
18
  # The URL for accessing the publication as defined by this distribution.
19
19
  attr_accessor :base_url
20
20
 
21
+ attr_accessor :pulp_href
22
+
21
23
  # 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
24
  attr_accessor :pulp_last_updated
23
25
 
24
- # 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
- attr_accessor :base_path
26
-
27
- # Whether this distribution should be shown in the content app.
28
- attr_accessor :hidden
26
+ attr_accessor :pulp_labels
29
27
 
30
- attr_accessor :pulp_href
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.
29
+ attr_accessor :no_content_change_since
31
30
 
32
31
  # A unique name. Ex, `rawhide` and `stable`.
33
32
  attr_accessor :name
34
33
 
35
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
36
- attr_accessor :no_content_change_since
34
+ # Timestamp of creation.
35
+ attr_accessor :pulp_created
37
36
 
38
- attr_accessor :pulp_labels
37
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
38
+ attr_accessor :base_path
39
+
40
+ # Whether this distribution should be shown in the content app.
41
+ attr_accessor :hidden
39
42
 
40
43
  # An optional content-guard.
41
44
  attr_accessor :content_guard
42
45
 
43
- # Timestamp of creation.
44
- attr_accessor :pulp_created
45
-
46
46
  # The Pulp Resource Name (PRN).
47
47
  attr_accessor :prn
48
48
 
@@ -50,15 +50,15 @@ module PulpcoreClient
50
50
  def self.attribute_map
51
51
  {
52
52
  :'base_url' => :'base_url',
53
+ :'pulp_href' => :'pulp_href',
53
54
  :'pulp_last_updated' => :'pulp_last_updated',
55
+ :'pulp_labels' => :'pulp_labels',
56
+ :'no_content_change_since' => :'no_content_change_since',
57
+ :'name' => :'name',
58
+ :'pulp_created' => :'pulp_created',
54
59
  :'base_path' => :'base_path',
55
60
  :'hidden' => :'hidden',
56
- :'pulp_href' => :'pulp_href',
57
- :'name' => :'name',
58
- :'no_content_change_since' => :'no_content_change_since',
59
- :'pulp_labels' => :'pulp_labels',
60
61
  :'content_guard' => :'content_guard',
61
- :'pulp_created' => :'pulp_created',
62
62
  :'prn' => :'prn'
63
63
  }
64
64
  end
@@ -67,15 +67,15 @@ module PulpcoreClient
67
67
  def self.openapi_types
68
68
  {
69
69
  :'base_url' => :'String',
70
+ :'pulp_href' => :'String',
70
71
  :'pulp_last_updated' => :'DateTime',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
+ :'no_content_change_since' => :'String',
74
+ :'name' => :'String',
75
+ :'pulp_created' => :'DateTime',
71
76
  :'base_path' => :'String',
72
77
  :'hidden' => :'Boolean',
73
- :'pulp_href' => :'String',
74
- :'name' => :'String',
75
- :'no_content_change_since' => :'String',
76
- :'pulp_labels' => :'Hash<String, String>',
77
78
  :'content_guard' => :'String',
78
- :'pulp_created' => :'DateTime',
79
79
  :'prn' => :'String'
80
80
  }
81
81
  end
@@ -106,44 +106,44 @@ module PulpcoreClient
106
106
  self.base_url = attributes[:'base_url']
107
107
  end
108
108
 
109
- if attributes.key?(:'pulp_last_updated')
110
- self.pulp_last_updated = attributes[:'pulp_last_updated']
109
+ if attributes.key?(:'pulp_href')
110
+ self.pulp_href = attributes[:'pulp_href']
111
111
  end
112
112
 
113
- if attributes.key?(:'base_path')
114
- self.base_path = attributes[:'base_path']
113
+ if attributes.key?(:'pulp_last_updated')
114
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
115
115
  end
116
116
 
117
- if attributes.key?(:'hidden')
118
- self.hidden = attributes[:'hidden']
119
- else
120
- self.hidden = false
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
- if attributes.key?(:'pulp_href')
124
- self.pulp_href = attributes[:'pulp_href']
123
+ if attributes.key?(:'no_content_change_since')
124
+ self.no_content_change_since = attributes[:'no_content_change_since']
125
125
  end
126
126
 
127
127
  if attributes.key?(:'name')
128
128
  self.name = attributes[:'name']
129
129
  end
130
130
 
131
- if attributes.key?(:'no_content_change_since')
132
- self.no_content_change_since = attributes[:'no_content_change_since']
131
+ if attributes.key?(:'pulp_created')
132
+ self.pulp_created = attributes[:'pulp_created']
133
133
  end
134
134
 
135
- if attributes.key?(:'pulp_labels')
136
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
137
- self.pulp_labels = value
138
- end
135
+ if attributes.key?(:'base_path')
136
+ self.base_path = attributes[:'base_path']
139
137
  end
140
138
 
141
- if attributes.key?(:'content_guard')
142
- self.content_guard = attributes[:'content_guard']
139
+ if attributes.key?(:'hidden')
140
+ self.hidden = attributes[:'hidden']
141
+ else
142
+ self.hidden = false
143
143
  end
144
144
 
145
- if attributes.key?(:'pulp_created')
146
- self.pulp_created = attributes[:'pulp_created']
145
+ if attributes.key?(:'content_guard')
146
+ self.content_guard = attributes[:'content_guard']
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 @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
 
@@ -180,15 +180,15 @@ module PulpcoreClient
180
180
  return true if self.equal?(o)
181
181
  self.class == o.class &&
182
182
  base_url == o.base_url &&
183
+ pulp_href == o.pulp_href &&
183
184
  pulp_last_updated == o.pulp_last_updated &&
185
+ pulp_labels == o.pulp_labels &&
186
+ no_content_change_since == o.no_content_change_since &&
187
+ name == o.name &&
188
+ pulp_created == o.pulp_created &&
184
189
  base_path == o.base_path &&
185
190
  hidden == o.hidden &&
186
- pulp_href == o.pulp_href &&
187
- name == o.name &&
188
- no_content_change_since == o.no_content_change_since &&
189
- pulp_labels == o.pulp_labels &&
190
191
  content_guard == o.content_guard &&
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, pulp_last_updated, base_path, hidden, pulp_href, name, no_content_change_since, pulp_labels, content_guard, pulp_created, prn].hash
204
+ [base_url, pulp_href, pulp_last_updated, pulp_labels, no_content_change_since, name, pulp_created, base_path, hidden, content_guard, 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.16'
14
+ VERSION = '3.63.17'
15
15
  end
@@ -38,25 +38,25 @@ describe 'ArtifactDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_last_updated"' do
41
+ describe 'test attribute "pulp_href"' 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 "pulp_last_updated"' 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 "hidden"' 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
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_href"' do
59
+ describe 'test attribute "no_content_change_since"' 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
@@ -68,25 +68,25 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "no_content_change_since"' do
71
+ describe 'test attribute "pulp_created"' 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 "base_path"' 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 "content_guard"' do
83
+ describe 'test attribute "hidden"' 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 "pulp_created"' do
89
+ describe 'test attribute "content_guard"' 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.16
4
+ version: 3.63.17
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-04-23 00:00:00.000000000 Z
11
+ date: 2025-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday