pulpcore_client 3.63.6 → 3.63.8

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: 328d76e140309af88ce9cb2b70f780d647e8c90a9ccf0458ab28f303d5ba62f8
4
- data.tar.gz: 52f9fcbc3c4cdf6a604887c2d5607c546ed0b33df146cd094ddfab0f4c847572
3
+ metadata.gz: 823e6d50b6843fee25c3aef6363525a24e6422104611727223aecaff51b077c2
4
+ data.tar.gz: 1901b3c9063867a44cde8c3a2f206b9771d7469da5ac0c22bb00dc2dc410e281
5
5
  SHA512:
6
- metadata.gz: 9b6635d305d285a4e339c545605e295544558110b67cf04181e4405e45fdb3457e5767d8166340666e172364ecfd58de7c3970ae923e04be0427a26fae0f5eb8
7
- data.tar.gz: ff4c552c3fb4d75070317e81cad496d6231f0f95320242532ffc999b01324735307b756f3e2b8b7c4a6e3eacce6ad701011d6b99dd7ad370fe8da55fabd10eb8
6
+ metadata.gz: 1223f649d3f8e77966fc2e254b818c47bf3029dc34726dd076b66142d1862a4d4a3ffc13b0a509a8aa12ca26cf167336a4dac614843828d7b3e4f80b1d2467ad
7
+ data.tar.gz: 72d1285c1e31c0674474dfd7245cec04e40babc7284eee78d792ce18329339d4a84fe9541487fdbace72df6aea43b3645cb1c01035090f9be1242b6d740e6d2f
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.6
10
+ - Package version: 3.63.8
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.6.gem
27
+ gem install ./pulpcore_client-3.63.8.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.6.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.8.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.6'
36
+ gem 'pulpcore_client', '~> 3.63.8'
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
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
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
- **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]
12
- **content_guard** | **String** | An optional content-guard. | [optional]
13
7
  **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]
8
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
14
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
+ **pulp_href** | **String** | | [optional] [readonly]
11
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
15
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
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
16
15
  **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\") |
17
- **pulp_href** | **String** | | [optional] [readonly]
16
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
+ **content_guard** | **String** | An optional content-guard. | [optional]
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
- hidden: null,
26
- no_content_change_since: null,
27
- base_url: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_last_updated: null,
28
25
  prn: null,
29
- content_guard: null,
30
- pulp_last_updated: null,
31
26
  pulp_labels: null,
27
+ pulp_href: null,
28
+ base_url: null,
32
29
  name: null,
30
+ no_content_change_since: null,
31
+ hidden: null,
33
32
  base_path: null,
34
- pulp_href: null)
33
+ pulp_created: null,
34
+ content_guard: null)
35
35
  ```
36
36
 
37
37
 
@@ -15,75 +15,75 @@ 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
- # Whether this distribution should be shown in the content app.
22
- attr_accessor :hidden
23
-
24
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
25
- attr_accessor :no_content_change_since
26
-
27
- # The URL for accessing the publication as defined by this distribution.
28
- attr_accessor :base_url
18
+ # 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.
19
+ attr_accessor :pulp_last_updated
29
20
 
30
21
  # The Pulp Resource Name (PRN).
31
22
  attr_accessor :prn
32
23
 
33
- # An optional content-guard.
34
- attr_accessor :content_guard
24
+ attr_accessor :pulp_labels
35
25
 
36
- # 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.
37
- attr_accessor :pulp_last_updated
26
+ attr_accessor :pulp_href
38
27
 
39
- attr_accessor :pulp_labels
28
+ # The URL for accessing the publication as defined by this distribution.
29
+ attr_accessor :base_url
40
30
 
41
31
  # A unique name. Ex, `rawhide` and `stable`.
42
32
  attr_accessor :name
43
33
 
34
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
35
+ attr_accessor :no_content_change_since
36
+
37
+ # Whether this distribution should be shown in the content app.
38
+ attr_accessor :hidden
39
+
44
40
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
45
41
  attr_accessor :base_path
46
42
 
47
- attr_accessor :pulp_href
43
+ # Timestamp of creation.
44
+ attr_accessor :pulp_created
45
+
46
+ # An optional content-guard.
47
+ attr_accessor :content_guard
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',
53
- :'hidden' => :'hidden',
54
- :'no_content_change_since' => :'no_content_change_since',
55
- :'base_url' => :'base_url',
56
- :'prn' => :'prn',
57
- :'content_guard' => :'content_guard',
58
52
  :'pulp_last_updated' => :'pulp_last_updated',
53
+ :'prn' => :'prn',
59
54
  :'pulp_labels' => :'pulp_labels',
55
+ :'pulp_href' => :'pulp_href',
56
+ :'base_url' => :'base_url',
60
57
  :'name' => :'name',
58
+ :'no_content_change_since' => :'no_content_change_since',
59
+ :'hidden' => :'hidden',
61
60
  :'base_path' => :'base_path',
62
- :'pulp_href' => :'pulp_href'
61
+ :'pulp_created' => :'pulp_created',
62
+ :'content_guard' => :'content_guard'
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
- :'hidden' => :'Boolean',
71
- :'no_content_change_since' => :'String',
72
- :'base_url' => :'String',
73
- :'prn' => :'String',
74
- :'content_guard' => :'String',
75
69
  :'pulp_last_updated' => :'DateTime',
70
+ :'prn' => :'String',
76
71
  :'pulp_labels' => :'Hash<String, String>',
72
+ :'pulp_href' => :'String',
73
+ :'base_url' => :'String',
77
74
  :'name' => :'String',
75
+ :'no_content_change_since' => :'String',
76
+ :'hidden' => :'Boolean',
78
77
  :'base_path' => :'String',
79
- :'pulp_href' => :'String'
78
+ :'pulp_created' => :'DateTime',
79
+ :'content_guard' => :'String'
80
80
  }
81
81
  end
82
82
 
83
83
  # List of attributes with nullable: true
84
84
  def self.openapi_nullable
85
85
  Set.new([
86
- :'content_guard',
86
+ :'content_guard'
87
87
  ])
88
88
  end
89
89
 
@@ -102,52 +102,52 @@ 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']
107
- end
108
-
109
- if attributes.key?(:'hidden')
110
- self.hidden = attributes[:'hidden']
111
- else
112
- self.hidden = false
113
- end
114
-
115
- if attributes.key?(:'no_content_change_since')
116
- self.no_content_change_since = attributes[:'no_content_change_since']
117
- end
118
-
119
- if attributes.key?(:'base_url')
120
- self.base_url = attributes[:'base_url']
105
+ if attributes.key?(:'pulp_last_updated')
106
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
121
107
  end
122
108
 
123
109
  if attributes.key?(:'prn')
124
110
  self.prn = attributes[:'prn']
125
111
  end
126
112
 
127
- if attributes.key?(:'content_guard')
128
- self.content_guard = attributes[:'content_guard']
129
- end
130
-
131
- if attributes.key?(:'pulp_last_updated')
132
- self.pulp_last_updated = attributes[:'pulp_last_updated']
133
- end
134
-
135
113
  if attributes.key?(:'pulp_labels')
136
114
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
137
115
  self.pulp_labels = value
138
116
  end
139
117
  end
140
118
 
119
+ if attributes.key?(:'pulp_href')
120
+ self.pulp_href = attributes[:'pulp_href']
121
+ end
122
+
123
+ if attributes.key?(:'base_url')
124
+ self.base_url = attributes[:'base_url']
125
+ end
126
+
141
127
  if attributes.key?(:'name')
142
128
  self.name = attributes[:'name']
143
129
  end
144
130
 
131
+ if attributes.key?(:'no_content_change_since')
132
+ self.no_content_change_since = attributes[:'no_content_change_since']
133
+ end
134
+
135
+ if attributes.key?(:'hidden')
136
+ self.hidden = attributes[:'hidden']
137
+ else
138
+ self.hidden = false
139
+ end
140
+
145
141
  if attributes.key?(:'base_path')
146
142
  self.base_path = attributes[:'base_path']
147
143
  end
148
144
 
149
- if attributes.key?(:'pulp_href')
150
- self.pulp_href = attributes[:'pulp_href']
145
+ if attributes.key?(:'pulp_created')
146
+ self.pulp_created = attributes[:'pulp_created']
147
+ end
148
+
149
+ if attributes.key?(:'content_guard')
150
+ self.content_guard = attributes[:'content_guard']
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 &&
183
- hidden == o.hidden &&
184
- no_content_change_since == o.no_content_change_since &&
185
- base_url == o.base_url &&
186
- prn == o.prn &&
187
- content_guard == o.content_guard &&
188
182
  pulp_last_updated == o.pulp_last_updated &&
183
+ prn == o.prn &&
189
184
  pulp_labels == o.pulp_labels &&
185
+ pulp_href == o.pulp_href &&
186
+ base_url == o.base_url &&
190
187
  name == o.name &&
188
+ no_content_change_since == o.no_content_change_since &&
189
+ hidden == o.hidden &&
191
190
  base_path == o.base_path &&
192
- pulp_href == o.pulp_href
191
+ pulp_created == o.pulp_created &&
192
+ content_guard == o.content_guard
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, hidden, no_content_change_since, base_url, prn, content_guard, pulp_last_updated, pulp_labels, name, base_path, pulp_href].hash
204
+ [pulp_last_updated, prn, pulp_labels, pulp_href, base_url, name, no_content_change_since, hidden, base_path, pulp_created, content_guard].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.6'
14
+ VERSION = '3.63.8'
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 "pulp_last_updated"' 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 "hidden"' 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 "no_content_change_since"' do
47
+ describe 'test attribute "pulp_labels"' 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 "base_url"' do
53
+ describe 'test attribute "pulp_href"' 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 "prn"' do
59
+ describe 'test attribute "base_url"' 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 "name"' 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_last_updated"' do
71
+ describe 'test attribute "no_content_change_since"' 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 "hidden"' 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 "name"' do
83
+ describe 'test attribute "base_path"' 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 "base_path"' do
89
+ describe 'test attribute "pulp_created"' 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_href"' do
95
+ describe 'test attribute "content_guard"' 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.6
4
+ version: 3.63.8
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-12-13 00:00:00.000000000 Z
11
+ date: 2025-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday