pulpcore_client 3.69.1 → 3.69.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5908e2aa72b16c6666c845cec783afe3998f44d4af5bbf4407a5251321372a5b
4
- data.tar.gz: 4a3ed645e2a8741b0e47cab814590e3c65d80010dca4c03c18e934111783c06e
3
+ metadata.gz: 325bd95fde17ef7257d17285a8399f20f5ec3936ec8f72959bba28003cdf8d11
4
+ data.tar.gz: e943d009bfd2ead19a78b89f18c5b123a8ea5c8a35934f68d44a81e2b434b6f6
5
5
  SHA512:
6
- metadata.gz: '05197ccca7cfaa87de58bb1ed6346e3ef6858338f5a70a1c1ad81fb019cf1352091f215c6ddb7b7641c773f820f67428441d5a7afb7aed11f0f935215eb98e37'
7
- data.tar.gz: 1f8dfe21fc375a53a921e77662ce7c1c9b43b00798d42ecda6923b30a77da4508a5dcd8a04e50ca195102de4e1898403ce036ffe70b60c3b1e0e183f01e112a1
6
+ metadata.gz: 59c432f25d3fa3b354cd18cbac8a129e45647da060c4e7fae52d876f194e7b3ace9f2cff0aad50dea4a8d92e2d0815e1be7f96c252ae3e3e37b1c334330109d6
7
+ data.tar.gz: 29549edc48aee8601bf4bfb80969638c053f41943a6a6b913b4d901b2e3fccdc81e4e47b6ce2c7e23eee8fc43f47027c7d6ee8bba620f446feb91da8e1c1db21
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.69.1
10
+ - Package version: 3.69.2
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.69.1.gem
27
+ gem install ./pulpcore_client-3.69.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.69.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.69.2.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.69.1'
36
+ gem 'pulpcore_client', '~> 3.69.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,34 +4,34 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **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]
8
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\") |
9
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
8
+ **pulp_href** | **String** | | [optional] [readonly]
12
9
  **content_guard** | **String** | An optional content-guard. | [optional]
10
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
11
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
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]
13
+ **pulp_labels** | **Hash<String, String>** | | [optional]
14
14
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
15
- **pulp_href** | **String** | | [optional] [readonly]
16
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]
17
16
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
17
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
18
18
 
19
19
  ## Code Sample
20
20
 
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(no_content_change_since: null,
25
- base_path: null,
26
- pulp_labels: null,
27
- base_url: null,
28
- prn: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
25
+ pulp_href: null,
29
26
  content_guard: null,
27
+ base_url: null,
30
28
  hidden: null,
29
+ no_content_change_since: null,
30
+ pulp_labels: null,
31
31
  pulp_created: null,
32
- pulp_href: null,
33
32
  pulp_last_updated: null,
34
- name: null)
33
+ name: null,
34
+ prn: null)
35
35
  ```
36
36
 
37
37
 
@@ -15,68 +15,68 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
19
- attr_accessor :no_content_change_since
20
-
21
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\")
22
19
  attr_accessor :base_path
23
20
 
24
- attr_accessor :pulp_labels
25
-
26
- # The URL for accessing the publication as defined by this distribution.
27
- attr_accessor :base_url
28
-
29
- # The Pulp Resource Name (PRN).
30
- attr_accessor :prn
21
+ attr_accessor :pulp_href
31
22
 
32
23
  # An optional content-guard.
33
24
  attr_accessor :content_guard
34
25
 
26
+ # The URL for accessing the publication as defined by this distribution.
27
+ attr_accessor :base_url
28
+
35
29
  # Whether this distribution should be shown in the content app.
36
30
  attr_accessor :hidden
37
31
 
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
34
+
35
+ attr_accessor :pulp_labels
36
+
38
37
  # Timestamp of creation.
39
38
  attr_accessor :pulp_created
40
39
 
41
- attr_accessor :pulp_href
42
-
43
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.
44
41
  attr_accessor :pulp_last_updated
45
42
 
46
43
  # A unique name. Ex, `rawhide` and `stable`.
47
44
  attr_accessor :name
48
45
 
46
+ # The Pulp Resource Name (PRN).
47
+ attr_accessor :prn
48
+
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
- :'no_content_change_since' => :'no_content_change_since',
53
52
  :'base_path' => :'base_path',
54
- :'pulp_labels' => :'pulp_labels',
55
- :'base_url' => :'base_url',
56
- :'prn' => :'prn',
53
+ :'pulp_href' => :'pulp_href',
57
54
  :'content_guard' => :'content_guard',
55
+ :'base_url' => :'base_url',
58
56
  :'hidden' => :'hidden',
57
+ :'no_content_change_since' => :'no_content_change_since',
58
+ :'pulp_labels' => :'pulp_labels',
59
59
  :'pulp_created' => :'pulp_created',
60
- :'pulp_href' => :'pulp_href',
61
60
  :'pulp_last_updated' => :'pulp_last_updated',
62
- :'name' => :'name'
61
+ :'name' => :'name',
62
+ :'prn' => :'prn'
63
63
  }
64
64
  end
65
65
 
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
- :'no_content_change_since' => :'String',
70
69
  :'base_path' => :'String',
71
- :'pulp_labels' => :'Hash<String, String>',
72
- :'base_url' => :'String',
73
- :'prn' => :'String',
70
+ :'pulp_href' => :'String',
74
71
  :'content_guard' => :'String',
72
+ :'base_url' => :'String',
75
73
  :'hidden' => :'Boolean',
74
+ :'no_content_change_since' => :'String',
75
+ :'pulp_labels' => :'Hash<String, String>',
76
76
  :'pulp_created' => :'DateTime',
77
- :'pulp_href' => :'String',
78
77
  :'pulp_last_updated' => :'DateTime',
79
- :'name' => :'String'
78
+ :'name' => :'String',
79
+ :'prn' => :'String'
80
80
  }
81
81
  end
82
82
 
@@ -102,44 +102,40 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'no_content_change_since')
106
- self.no_content_change_since = attributes[:'no_content_change_since']
107
- end
108
-
109
105
  if attributes.key?(:'base_path')
110
106
  self.base_path = attributes[:'base_path']
111
107
  end
112
108
 
113
- if attributes.key?(:'pulp_labels')
114
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
- self.pulp_labels = value
116
- end
117
- end
118
-
119
- if attributes.key?(:'base_url')
120
- self.base_url = attributes[:'base_url']
121
- end
122
-
123
- if attributes.key?(:'prn')
124
- self.prn = attributes[:'prn']
109
+ if attributes.key?(:'pulp_href')
110
+ self.pulp_href = attributes[:'pulp_href']
125
111
  end
126
112
 
127
113
  if attributes.key?(:'content_guard')
128
114
  self.content_guard = attributes[:'content_guard']
129
115
  end
130
116
 
117
+ if attributes.key?(:'base_url')
118
+ self.base_url = attributes[:'base_url']
119
+ end
120
+
131
121
  if attributes.key?(:'hidden')
132
122
  self.hidden = attributes[:'hidden']
133
123
  else
134
124
  self.hidden = false
135
125
  end
136
126
 
137
- if attributes.key?(:'pulp_created')
138
- self.pulp_created = attributes[:'pulp_created']
127
+ if attributes.key?(:'no_content_change_since')
128
+ self.no_content_change_since = attributes[:'no_content_change_since']
139
129
  end
140
130
 
141
- if attributes.key?(:'pulp_href')
142
- self.pulp_href = attributes[:'pulp_href']
131
+ if attributes.key?(:'pulp_labels')
132
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
133
+ self.pulp_labels = value
134
+ end
135
+ end
136
+
137
+ if attributes.key?(:'pulp_created')
138
+ self.pulp_created = attributes[:'pulp_created']
143
139
  end
144
140
 
145
141
  if attributes.key?(:'pulp_last_updated')
@@ -149,6 +145,10 @@ module PulpcoreClient
149
145
  if attributes.key?(:'name')
150
146
  self.name = attributes[:'name']
151
147
  end
148
+
149
+ if attributes.key?(:'prn')
150
+ self.prn = attributes[:'prn']
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
- no_content_change_since == o.no_content_change_since &&
183
182
  base_path == o.base_path &&
184
- pulp_labels == o.pulp_labels &&
185
- base_url == o.base_url &&
186
- prn == o.prn &&
183
+ pulp_href == o.pulp_href &&
187
184
  content_guard == o.content_guard &&
185
+ base_url == o.base_url &&
188
186
  hidden == o.hidden &&
187
+ no_content_change_since == o.no_content_change_since &&
188
+ pulp_labels == o.pulp_labels &&
189
189
  pulp_created == o.pulp_created &&
190
- pulp_href == o.pulp_href &&
191
190
  pulp_last_updated == o.pulp_last_updated &&
192
- name == o.name
191
+ name == o.name &&
192
+ prn == o.prn
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
- [no_content_change_since, base_path, pulp_labels, base_url, prn, content_guard, hidden, pulp_created, pulp_href, pulp_last_updated, name].hash
204
+ [base_path, pulp_href, content_guard, base_url, hidden, no_content_change_since, pulp_labels, pulp_created, pulp_last_updated, name, 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.69.1'
14
+ VERSION = '3.69.2'
15
15
  end
@@ -32,19 +32,19 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "no_content_change_since"' 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 "base_path"' 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 "pulp_labels"' 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
@@ -56,19 +56,19 @@ describe 'ArtifactDistributionResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "prn"' do
59
+ describe 'test attribute "hidden"' 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 "hidden"' 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
@@ -80,19 +80,19 @@ describe 'ArtifactDistributionResponse' do
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "pulp_href"' 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 "pulp_last_updated"' do
89
+ describe 'test attribute "name"' 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 "name"' do
95
+ describe 'test attribute "prn"' 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.69.1
4
+ version: 3.69.2
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-01-21 00:00:00.000000000 Z
11
+ date: 2025-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday