pulpcore_client 3.63.14 → 3.63.15

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