pulpcore_client 3.115.0 → 3.115.1

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: 33a5bb94e7b15706645fdead4e466ca0c1d3de20fe34c427ac99ed7b35f7cecb
4
- data.tar.gz: 95371a631bca94e4fb04db8bd449c4a3fe806c24d3e90242447bc156ac32cff2
3
+ metadata.gz: ccb4e541cf0684e3548ce917864581afac9206e72a354d37a115112e4f407775
4
+ data.tar.gz: 8cd10a41161d879d239f6bd9e981e4fb203a7de75939e9675d62daca6bfbc526
5
5
  SHA512:
6
- metadata.gz: e082d80ae967d79f9384a180f244776c59dc38114c5d8b8769c8a07879d43919ab4cc40fedc40413439d74fb67b30b0eee035adefd782199abf5f105fd181491
7
- data.tar.gz: 725985743a3bcc5c8aa85a866d96a55528a4b9b566af872f03062a27f0e28c2b0344b3f0d9497ff653b781f070ef58377c09d1a826b883fbbaf18d328b88eb64
6
+ metadata.gz: b7a41ca39c506069a32dca317099d40db58cdb9d97da89012e624ea1660dc811bcf81491f96bcb420e990e644d28726c59a16ae7bbff1c9c62336eca6d465989
7
+ data.tar.gz: 48ea95e4d849f11993735d32d23d8832c6426841f7472b5089916d22f9a7b554caddaad8be144241e7c6646255340b8f7d0292f7ed3304f1ca5bcd17b0974891
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.115.0
10
+ - Package version: 3.115.1
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulpcore_client-3.115.0.gem
28
+ gem install ./pulpcore_client-3.115.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulpcore_client-3.115.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulpcore_client-3.115.1.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulpcore_client', '~> 3.115.0'
37
+ gem 'pulpcore_client', '~> 3.115.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -4,19 +4,19 @@
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\") | |
8
- | **pulp_last_updated** | **Time** | 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
- | **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] |
10
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
11
- | **content_guard** | **String** | An optional content-guard. | [optional] |
12
- | **pulp_href** | **String** | | [optional][readonly] |
13
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
14
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
15
- | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
8
+ | **pulp_href** | **String** | | [optional][readonly] |
9
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | 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
11
  | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
17
12
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
18
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
19
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
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\") | |
15
+ | **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
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
17
+ | **content_guard** | **String** | An optional content-guard. | [optional] |
18
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
19
+ | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
20
20
 
21
21
  ## Example
22
22
 
@@ -24,19 +24,19 @@
24
24
  require 'pulpcore_client'
25
25
 
26
26
  instance = PulpcoreClient::ArtifactDistributionResponse.new(
27
- base_path: null,
28
- pulp_last_updated: null,
29
- no_content_change_since: null,
30
- hidden: null,
31
- content_guard: null,
32
- pulp_href: null,
33
27
  name: null,
34
- pulp_labels: null,
35
- content_guard_prn: null,
28
+ pulp_href: null,
29
+ prn: null,
30
+ pulp_last_updated: null,
36
31
  base_url: null,
37
32
  pulp_created: null,
38
- prn: null,
39
- repository_version: null
33
+ repository_version: null,
34
+ base_path: null,
35
+ no_content_change_since: null,
36
+ pulp_labels: null,
37
+ content_guard: null,
38
+ hidden: null,
39
+ content_guard_prn: null
40
40
  )
41
41
  ```
42
42
 
@@ -16,59 +16,59 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
20
- attr_accessor :base_path
19
+ # A unique name. Ex, `rawhide` and `stable`.
20
+ attr_accessor :name
21
+
22
+ attr_accessor :pulp_href
23
+
24
+ # The Pulp Resource Name (PRN).
25
+ attr_accessor :prn
21
26
 
22
27
  # 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.
23
28
  attr_accessor :pulp_last_updated
24
29
 
30
+ # The URL for accessing the publication as defined by this distribution.
31
+ attr_accessor :base_url
32
+
33
+ # Timestamp of creation.
34
+ attr_accessor :pulp_created
35
+
36
+ # RepositoryVersion to be served
37
+ attr_accessor :repository_version
38
+
39
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
40
+ attr_accessor :base_path
41
+
25
42
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
26
43
  attr_accessor :no_content_change_since
27
44
 
28
- # Whether this distribution should be shown in the content app.
29
- attr_accessor :hidden
45
+ attr_accessor :pulp_labels
30
46
 
31
47
  # An optional content-guard.
32
48
  attr_accessor :content_guard
33
49
 
34
- attr_accessor :pulp_href
35
-
36
- # A unique name. Ex, `rawhide` and `stable`.
37
- attr_accessor :name
38
-
39
- attr_accessor :pulp_labels
50
+ # Whether this distribution should be shown in the content app.
51
+ attr_accessor :hidden
40
52
 
41
53
  # The Pulp Resource Name (PRN) of the associated optional content guard.
42
54
  attr_accessor :content_guard_prn
43
55
 
44
- # The URL for accessing the publication as defined by this distribution.
45
- attr_accessor :base_url
46
-
47
- # Timestamp of creation.
48
- attr_accessor :pulp_created
49
-
50
- # The Pulp Resource Name (PRN).
51
- attr_accessor :prn
52
-
53
- # RepositoryVersion to be served
54
- attr_accessor :repository_version
55
-
56
56
  # Attribute mapping from ruby-style variable name to JSON key.
57
57
  def self.attribute_map
58
58
  {
59
- :'base_path' => :'base_path',
60
- :'pulp_last_updated' => :'pulp_last_updated',
61
- :'no_content_change_since' => :'no_content_change_since',
62
- :'hidden' => :'hidden',
63
- :'content_guard' => :'content_guard',
64
- :'pulp_href' => :'pulp_href',
65
59
  :'name' => :'name',
66
- :'pulp_labels' => :'pulp_labels',
67
- :'content_guard_prn' => :'content_guard_prn',
60
+ :'pulp_href' => :'pulp_href',
61
+ :'prn' => :'prn',
62
+ :'pulp_last_updated' => :'pulp_last_updated',
68
63
  :'base_url' => :'base_url',
69
64
  :'pulp_created' => :'pulp_created',
70
- :'prn' => :'prn',
71
- :'repository_version' => :'repository_version'
65
+ :'repository_version' => :'repository_version',
66
+ :'base_path' => :'base_path',
67
+ :'no_content_change_since' => :'no_content_change_since',
68
+ :'pulp_labels' => :'pulp_labels',
69
+ :'content_guard' => :'content_guard',
70
+ :'hidden' => :'hidden',
71
+ :'content_guard_prn' => :'content_guard_prn'
72
72
  }
73
73
  end
74
74
 
@@ -80,27 +80,27 @@ module PulpcoreClient
80
80
  # Attribute type mapping.
81
81
  def self.openapi_types
82
82
  {
83
- :'base_path' => :'String',
84
- :'pulp_last_updated' => :'Time',
85
- :'no_content_change_since' => :'String',
86
- :'hidden' => :'Boolean',
87
- :'content_guard' => :'String',
88
- :'pulp_href' => :'String',
89
83
  :'name' => :'String',
90
- :'pulp_labels' => :'Hash<String, String>',
91
- :'content_guard_prn' => :'String',
84
+ :'pulp_href' => :'String',
85
+ :'prn' => :'String',
86
+ :'pulp_last_updated' => :'Time',
92
87
  :'base_url' => :'String',
93
88
  :'pulp_created' => :'Time',
94
- :'prn' => :'String',
95
- :'repository_version' => :'String'
89
+ :'repository_version' => :'String',
90
+ :'base_path' => :'String',
91
+ :'no_content_change_since' => :'String',
92
+ :'pulp_labels' => :'Hash<String, String>',
93
+ :'content_guard' => :'String',
94
+ :'hidden' => :'Boolean',
95
+ :'content_guard_prn' => :'String'
96
96
  }
97
97
  end
98
98
 
99
99
  # List of attributes with nullable: true
100
100
  def self.openapi_nullable
101
101
  Set.new([
102
+ :'repository_version',
102
103
  :'content_guard',
103
- :'repository_version'
104
104
  ])
105
105
  end
106
106
 
@@ -119,38 +119,44 @@ module PulpcoreClient
119
119
  h[k.to_sym] = v
120
120
  }
121
121
 
122
- if attributes.key?(:'base_path')
123
- self.base_path = attributes[:'base_path']
122
+ if attributes.key?(:'name')
123
+ self.name = attributes[:'name']
124
124
  else
125
- self.base_path = nil
125
+ self.name = nil
126
+ end
127
+
128
+ if attributes.key?(:'pulp_href')
129
+ self.pulp_href = attributes[:'pulp_href']
130
+ end
131
+
132
+ if attributes.key?(:'prn')
133
+ self.prn = attributes[:'prn']
126
134
  end
127
135
 
128
136
  if attributes.key?(:'pulp_last_updated')
129
137
  self.pulp_last_updated = attributes[:'pulp_last_updated']
130
138
  end
131
139
 
132
- if attributes.key?(:'no_content_change_since')
133
- self.no_content_change_since = attributes[:'no_content_change_since']
140
+ if attributes.key?(:'base_url')
141
+ self.base_url = attributes[:'base_url']
134
142
  end
135
143
 
136
- if attributes.key?(:'hidden')
137
- self.hidden = attributes[:'hidden']
138
- else
139
- self.hidden = false
144
+ if attributes.key?(:'pulp_created')
145
+ self.pulp_created = attributes[:'pulp_created']
140
146
  end
141
147
 
142
- if attributes.key?(:'content_guard')
143
- self.content_guard = attributes[:'content_guard']
148
+ if attributes.key?(:'repository_version')
149
+ self.repository_version = attributes[:'repository_version']
144
150
  end
145
151
 
146
- if attributes.key?(:'pulp_href')
147
- self.pulp_href = attributes[:'pulp_href']
152
+ if attributes.key?(:'base_path')
153
+ self.base_path = attributes[:'base_path']
154
+ else
155
+ self.base_path = nil
148
156
  end
149
157
 
150
- if attributes.key?(:'name')
151
- self.name = attributes[:'name']
152
- else
153
- self.name = nil
158
+ if attributes.key?(:'no_content_change_since')
159
+ self.no_content_change_since = attributes[:'no_content_change_since']
154
160
  end
155
161
 
156
162
  if attributes.key?(:'pulp_labels')
@@ -159,24 +165,18 @@ module PulpcoreClient
159
165
  end
160
166
  end
161
167
 
162
- if attributes.key?(:'content_guard_prn')
163
- self.content_guard_prn = attributes[:'content_guard_prn']
164
- end
165
-
166
- if attributes.key?(:'base_url')
167
- self.base_url = attributes[:'base_url']
168
- end
169
-
170
- if attributes.key?(:'pulp_created')
171
- self.pulp_created = attributes[:'pulp_created']
168
+ if attributes.key?(:'content_guard')
169
+ self.content_guard = attributes[:'content_guard']
172
170
  end
173
171
 
174
- if attributes.key?(:'prn')
175
- self.prn = attributes[:'prn']
172
+ if attributes.key?(:'hidden')
173
+ self.hidden = attributes[:'hidden']
174
+ else
175
+ self.hidden = false
176
176
  end
177
177
 
178
- if attributes.key?(:'repository_version')
179
- self.repository_version = attributes[:'repository_version']
178
+ if attributes.key?(:'content_guard_prn')
179
+ self.content_guard_prn = attributes[:'content_guard_prn']
180
180
  end
181
181
  end
182
182
 
@@ -185,14 +185,14 @@ module PulpcoreClient
185
185
  def list_invalid_properties
186
186
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
187
187
  invalid_properties = Array.new
188
- if @base_path.nil?
189
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
190
- end
191
-
192
188
  if @name.nil?
193
189
  invalid_properties.push('invalid value for "name", name cannot be nil.')
194
190
  end
195
191
 
192
+ if @base_path.nil?
193
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
194
+ end
195
+
196
196
  invalid_properties
197
197
  end
198
198
 
@@ -200,8 +200,8 @@ module PulpcoreClient
200
200
  # @return true if the model is valid
201
201
  def valid?
202
202
  warn '[DEPRECATED] the `valid?` method is obsolete'
203
- return false if @base_path.nil?
204
203
  return false if @name.nil?
204
+ return false if @base_path.nil?
205
205
  true
206
206
  end
207
207
 
@@ -210,19 +210,19 @@ module PulpcoreClient
210
210
  def ==(o)
211
211
  return true if self.equal?(o)
212
212
  self.class == o.class &&
213
- base_path == o.base_path &&
214
- pulp_last_updated == o.pulp_last_updated &&
215
- no_content_change_since == o.no_content_change_since &&
216
- hidden == o.hidden &&
217
- content_guard == o.content_guard &&
218
- pulp_href == o.pulp_href &&
219
213
  name == o.name &&
220
- pulp_labels == o.pulp_labels &&
221
- content_guard_prn == o.content_guard_prn &&
214
+ pulp_href == o.pulp_href &&
215
+ prn == o.prn &&
216
+ pulp_last_updated == o.pulp_last_updated &&
222
217
  base_url == o.base_url &&
223
218
  pulp_created == o.pulp_created &&
224
- prn == o.prn &&
225
- repository_version == o.repository_version
219
+ repository_version == o.repository_version &&
220
+ base_path == o.base_path &&
221
+ no_content_change_since == o.no_content_change_since &&
222
+ pulp_labels == o.pulp_labels &&
223
+ content_guard == o.content_guard &&
224
+ hidden == o.hidden &&
225
+ content_guard_prn == o.content_guard_prn
226
226
  end
227
227
 
228
228
  # @see the `==` method
@@ -234,7 +234,7 @@ module PulpcoreClient
234
234
  # Calculates hash code according to all attributes.
235
235
  # @return [Integer] Hash code
236
236
  def hash
237
- [base_path, pulp_last_updated, no_content_change_since, hidden, content_guard, pulp_href, name, pulp_labels, content_guard_prn, base_url, pulp_created, prn, repository_version].hash
237
+ [name, pulp_href, prn, pulp_last_updated, base_url, pulp_created, repository_version, base_path, no_content_change_since, pulp_labels, content_guard, hidden, content_guard_prn].hash
238
238
  end
239
239
 
240
240
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.115.0'
14
+ VERSION = '3.115.1'
15
15
  end
@@ -27,79 +27,79 @@ describe PulpcoreClient::ArtifactDistributionResponse do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "base_path"' do
30
+ describe 'test attribute "name"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "pulp_last_updated"' do
36
+ describe 'test attribute "pulp_href"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "no_content_change_since"' do
42
+ describe 'test attribute "prn"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "hidden"' do
48
+ describe 'test attribute "pulp_last_updated"' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
51
  end
52
52
  end
53
53
 
54
- describe 'test attribute "content_guard"' do
54
+ describe 'test attribute "base_url"' do
55
55
  it 'should work' do
56
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
57
  end
58
58
  end
59
59
 
60
- describe 'test attribute "pulp_href"' do
60
+ describe 'test attribute "pulp_created"' do
61
61
  it 'should work' do
62
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
63
  end
64
64
  end
65
65
 
66
- describe 'test attribute "name"' do
66
+ describe 'test attribute "repository_version"' do
67
67
  it 'should work' do
68
68
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
69
  end
70
70
  end
71
71
 
72
- describe 'test attribute "pulp_labels"' do
72
+ describe 'test attribute "base_path"' do
73
73
  it 'should work' do
74
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
75
  end
76
76
  end
77
77
 
78
- describe 'test attribute "content_guard_prn"' do
78
+ describe 'test attribute "no_content_change_since"' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
81
  end
82
82
  end
83
83
 
84
- describe 'test attribute "base_url"' do
84
+ describe 'test attribute "pulp_labels"' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
87
  end
88
88
  end
89
89
 
90
- describe 'test attribute "pulp_created"' do
90
+ describe 'test attribute "content_guard"' do
91
91
  it 'should work' do
92
92
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
93
  end
94
94
  end
95
95
 
96
- describe 'test attribute "prn"' do
96
+ describe 'test attribute "hidden"' do
97
97
  it 'should work' do
98
98
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
99
  end
100
100
  end
101
101
 
102
- describe 'test attribute "repository_version"' do
102
+ describe 'test attribute "content_guard_prn"' do
103
103
  it 'should work' do
104
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
105
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.115.0
4
+ version: 3.115.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator