pulpcore_client 3.68.0 → 3.68.1

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: 8f3b30d0571b69eb5ab5497a344f7f13c1a7c05c41c4ad2cfd9e7558576e5d19
4
- data.tar.gz: 05473d8e016af6580f35ed89fd5ba84a11440ec76101896314fdb7b1ae2e5c7c
3
+ metadata.gz: 1eedeb66329f6fadd04870d56d7a6daad73ebca3db7f3f026e71791edda4d806
4
+ data.tar.gz: dfc21ab0104d660ac69a82f34a2366dfb7439d3620e2cadb138bf8e2e8c7eaa5
5
5
  SHA512:
6
- metadata.gz: 8514c9b2c382b5c0eb7c8c51b35b628db609cb556f008e25cce5b67911ca333458d55283dd3717e939b8b14713ec916ce202cec7b0a67a56236f967a7b20be5c
7
- data.tar.gz: b69f6dff0fc11ffaf92510f9e093401809b96bf80785c935f6e732a48b65d1e5c4de00d6a115dbded167cd2100429fe34ce7378be99f95e1a3e9ead2e6b9eb50
6
+ metadata.gz: f5e0324bd0f8985e3b5d074f006b5dab5fe99546f01355842b0ee7e65ddd45a89aa5c2b7fe4714c43170c3ff50a2032b5014d9b937136d8bb7b527d9fc90659d
7
+ data.tar.gz: 0b37d064cea38f0b9c262e9611d0dfd7d00d2018b1a10e9aac95768a96bda1ece336e56935738294749a45c3d4d3714e5562b7c1d4da35d60d04136d18441095
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.68.0
10
+ - Package version: 3.68.1
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.68.0.gem
27
+ gem install ./pulpcore_client-3.68.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.68.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.68.1.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.68.0'
36
+ gem 'pulpcore_client', '~> 3.68.1'
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]
7
8
  **content_guard** | **String** | An optional content-guard. | [optional]
8
- **pulp_labels** | **Hash<String, String>** | | [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
9
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
10
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
13
- **pulp_href** | **String** | | [optional] [readonly]
11
+ **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\") |
12
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
14
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
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]
16
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
17
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
16
+ **pulp_href** | **String** | | [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(content_guard: null,
25
- pulp_labels: null,
26
- base_path: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
25
+ content_guard: null,
27
26
  hidden: null,
28
- name: null,
29
27
  prn: null,
30
- pulp_href: null,
28
+ base_path: null,
29
+ base_url: null,
30
+ name: null,
31
31
  no_content_change_since: null,
32
32
  pulp_last_updated: null,
33
- base_url: null,
34
- pulp_created: null)
33
+ pulp_href: null,
34
+ pulp_labels: 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 of creation.
19
+ attr_accessor :pulp_created
20
+
18
21
  # An optional content-guard.
19
22
  attr_accessor :content_guard
20
23
 
21
- attr_accessor :pulp_labels
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
26
+
27
+ # The Pulp Resource Name (PRN).
28
+ attr_accessor :prn
22
29
 
23
30
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
31
  attr_accessor :base_path
25
32
 
26
- # Whether this distribution should be shown in the content app.
27
- attr_accessor :hidden
33
+ # The URL for accessing the publication as defined by this distribution.
34
+ attr_accessor :base_url
28
35
 
29
36
  # A unique name. Ex, `rawhide` and `stable`.
30
37
  attr_accessor :name
31
38
 
32
- # The Pulp Resource Name (PRN).
33
- attr_accessor :prn
34
-
35
- attr_accessor :pulp_href
36
-
37
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.
38
40
  attr_accessor :no_content_change_since
39
41
 
40
42
  # 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.
41
43
  attr_accessor :pulp_last_updated
42
44
 
43
- # The URL for accessing the publication as defined by this distribution.
44
- attr_accessor :base_url
45
+ attr_accessor :pulp_href
45
46
 
46
- # Timestamp of creation.
47
- attr_accessor :pulp_created
47
+ attr_accessor :pulp_labels
48
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',
52
53
  :'content_guard' => :'content_guard',
53
- :'pulp_labels' => :'pulp_labels',
54
- :'base_path' => :'base_path',
55
54
  :'hidden' => :'hidden',
56
- :'name' => :'name',
57
55
  :'prn' => :'prn',
58
- :'pulp_href' => :'pulp_href',
56
+ :'base_path' => :'base_path',
57
+ :'base_url' => :'base_url',
58
+ :'name' => :'name',
59
59
  :'no_content_change_since' => :'no_content_change_since',
60
60
  :'pulp_last_updated' => :'pulp_last_updated',
61
- :'base_url' => :'base_url',
62
- :'pulp_created' => :'pulp_created'
61
+ :'pulp_href' => :'pulp_href',
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
+ :'pulp_created' => :'DateTime',
69
70
  :'content_guard' => :'String',
70
- :'pulp_labels' => :'Hash<String, String>',
71
- :'base_path' => :'String',
72
71
  :'hidden' => :'Boolean',
73
- :'name' => :'String',
74
72
  :'prn' => :'String',
75
- :'pulp_href' => :'String',
73
+ :'base_path' => :'String',
74
+ :'base_url' => :'String',
75
+ :'name' => :'String',
76
76
  :'no_content_change_since' => :'String',
77
77
  :'pulp_last_updated' => :'DateTime',
78
- :'base_url' => :'String',
79
- :'pulp_created' => :'DateTime'
78
+ :'pulp_href' => :'String',
79
+ :'pulp_labels' => :'Hash<String, String>'
80
80
  }
81
81
  end
82
82
 
@@ -102,18 +102,12 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'content_guard')
106
- self.content_guard = attributes[:'content_guard']
107
- end
108
-
109
- if attributes.key?(:'pulp_labels')
110
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
- self.pulp_labels = value
112
- end
105
+ if attributes.key?(:'pulp_created')
106
+ self.pulp_created = attributes[:'pulp_created']
113
107
  end
114
108
 
115
- if attributes.key?(:'base_path')
116
- self.base_path = attributes[:'base_path']
109
+ if attributes.key?(:'content_guard')
110
+ self.content_guard = attributes[:'content_guard']
117
111
  end
118
112
 
119
113
  if attributes.key?(:'hidden')
@@ -122,16 +116,20 @@ module PulpcoreClient
122
116
  self.hidden = false
123
117
  end
124
118
 
125
- if attributes.key?(:'name')
126
- self.name = attributes[:'name']
127
- end
128
-
129
119
  if attributes.key?(:'prn')
130
120
  self.prn = attributes[:'prn']
131
121
  end
132
122
 
133
- if attributes.key?(:'pulp_href')
134
- self.pulp_href = attributes[:'pulp_href']
123
+ if attributes.key?(:'base_path')
124
+ self.base_path = attributes[:'base_path']
125
+ end
126
+
127
+ if attributes.key?(:'base_url')
128
+ self.base_url = attributes[:'base_url']
129
+ end
130
+
131
+ if attributes.key?(:'name')
132
+ self.name = attributes[:'name']
135
133
  end
136
134
 
137
135
  if attributes.key?(:'no_content_change_since')
@@ -142,12 +140,14 @@ module PulpcoreClient
142
140
  self.pulp_last_updated = attributes[:'pulp_last_updated']
143
141
  end
144
142
 
145
- if attributes.key?(:'base_url')
146
- self.base_url = attributes[:'base_url']
143
+ if attributes.key?(:'pulp_href')
144
+ self.pulp_href = attributes[:'pulp_href']
147
145
  end
148
146
 
149
- if attributes.key?(:'pulp_created')
150
- self.pulp_created = attributes[:'pulp_created']
147
+ if attributes.key?(:'pulp_labels')
148
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
149
+ self.pulp_labels = value
150
+ end
151
151
  end
152
152
  end
153
153
 
@@ -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 &&
182
183
  content_guard == o.content_guard &&
183
- pulp_labels == o.pulp_labels &&
184
- base_path == o.base_path &&
185
184
  hidden == o.hidden &&
186
- name == o.name &&
187
185
  prn == o.prn &&
188
- pulp_href == o.pulp_href &&
186
+ base_path == o.base_path &&
187
+ base_url == o.base_url &&
188
+ name == o.name &&
189
189
  no_content_change_since == o.no_content_change_since &&
190
190
  pulp_last_updated == o.pulp_last_updated &&
191
- base_url == o.base_url &&
192
- pulp_created == o.pulp_created
191
+ pulp_href == o.pulp_href &&
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
- [content_guard, pulp_labels, base_path, hidden, name, prn, pulp_href, no_content_change_since, pulp_last_updated, base_url, pulp_created].hash
204
+ [pulp_created, content_guard, hidden, prn, base_path, base_url, name, no_content_change_since, pulp_last_updated, pulp_href, 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.68.0'
14
+ VERSION = '3.68.1'
15
15
  end
@@ -32,43 +32,43 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "content_guard"' do
35
+ describe 'test attribute "pulp_created"' 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_labels"' do
41
+ describe 'test attribute "content_guard"' 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 "hidden"' 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 "prn"' 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_path"' 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 "prn"' do
65
+ describe 'test attribute "base_url"' 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 "pulp_href"' 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
@@ -86,13 +86,13 @@ describe 'ArtifactDistributionResponse' do
86
86
  end
87
87
  end
88
88
 
89
- describe 'test attribute "base_url"' 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 "pulp_created"' 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.68.0
4
+ version: 3.68.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-12 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday