pulpcore_client 3.68.2 → 3.69.0

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: d0d8fb53fd5474738f49413e40475ada17a34811cece811b06e6b18e58ec3eed
4
- data.tar.gz: 429c71bdee2281fc92bbadcc118cff2e950bda9c89d410d6267abbe5bb0bc096
3
+ metadata.gz: 02aa169019cbbee15f0227584f90c7d98de3a1899e7bac3be5b98083bc5cca43
4
+ data.tar.gz: e4b2e8ed4fa3d6215857dc5ac2d899e449413e1e220534eb71b3ee52f63b8ff0
5
5
  SHA512:
6
- metadata.gz: 4d59efbed50f7d33d4915caf66a7e0fc894d6555d742a96b4aee1ab31de4e03e7b00df34f0b187091716f169b151b1faf55cdb9584767af3b8c5be1a46d54ec9
7
- data.tar.gz: f7a48b23b3adc6c8caa33e6f35fc95f0cc3f757310ed83c27e85cfbf0830fd4f4818081cadd70a83f3333f65c2ffeccad7cfba25b6f2d472ee7d678ff9d6ecf6
6
+ metadata.gz: 7a2e2b9b67d66fa4c019f236f0e02303d9f9d1177c19add7948794994a0872dbf803b2f110876f2fd1ba7bdbd7e31f18d20742e539375a5385a0c4b3f97c28b9
7
+ data.tar.gz: 121d3590a5703b2ca4225b25c7f07b2f9cd1166d8907a32f20f996090265d0e580aa857873a44267b0659073e86df7996a95fa5b8ecf58d35f112075f23b7b38
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.2
10
+ - Package version: 3.69.0
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.2.gem
27
+ gem install ./pulpcore_client-3.69.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.68.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.69.0.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.2'
36
+ gem 'pulpcore_client', '~> 3.69.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,34 +4,34 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
7
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
+ **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]
9
11
  **pulp_href** | **String** | | [optional] [readonly]
12
+ **pulp_labels** | **Hash<String, String>** | | [optional]
10
13
  **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
14
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
13
15
  **content_guard** | **String** | An optional content-guard. | [optional]
14
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
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
16
  **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
- **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]
18
18
 
19
19
  ## Code Sample
20
20
 
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
25
- pulp_labels: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
25
+ name: null,
26
+ hidden: null,
27
+ no_content_change_since: null,
26
28
  pulp_href: null,
29
+ pulp_labels: null,
27
30
  pulp_last_updated: null,
28
- pulp_created: null,
29
31
  prn: null,
30
32
  content_guard: null,
31
- hidden: null,
32
- no_content_change_since: null,
33
33
  base_path: null,
34
- base_url: null)
34
+ pulp_created: null)
35
35
  ```
36
36
 
37
37
 
data/docs/TaskResponse.md CHANGED
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  **unblocked_at** | **DateTime** | Timestamp of when this task was identified ready for pickup. | [optional] [readonly]
16
16
  **started_at** | **DateTime** | Timestamp of when this task started execution. | [optional] [readonly]
17
17
  **finished_at** | **DateTime** | Timestamp of when this task stopped execution. | [optional] [readonly]
18
- **error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
18
+ **error** | [**Object**](.md) | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
19
19
  **worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
20
20
  **parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
21
21
  **child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
@@ -15,68 +15,68 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
+ # The URL for accessing the publication as defined by this distribution.
19
+ attr_accessor :base_url
20
+
18
21
  # A unique name. Ex, `rawhide` and `stable`.
19
22
  attr_accessor :name
20
23
 
21
- attr_accessor :pulp_labels
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
26
+
27
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
28
+ attr_accessor :no_content_change_since
22
29
 
23
30
  attr_accessor :pulp_href
24
31
 
32
+ attr_accessor :pulp_labels
33
+
25
34
  # 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.
26
35
  attr_accessor :pulp_last_updated
27
36
 
28
- # Timestamp of creation.
29
- attr_accessor :pulp_created
30
-
31
37
  # The Pulp Resource Name (PRN).
32
38
  attr_accessor :prn
33
39
 
34
40
  # An optional content-guard.
35
41
  attr_accessor :content_guard
36
42
 
37
- # Whether this distribution should be shown in the content app.
38
- attr_accessor :hidden
39
-
40
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
41
- attr_accessor :no_content_change_since
42
-
43
43
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
44
44
  attr_accessor :base_path
45
45
 
46
- # The URL for accessing the publication as defined by this distribution.
47
- attr_accessor :base_url
46
+ # Timestamp of creation.
47
+ attr_accessor :pulp_created
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
+ :'base_url' => :'base_url',
52
53
  :'name' => :'name',
53
- :'pulp_labels' => :'pulp_labels',
54
+ :'hidden' => :'hidden',
55
+ :'no_content_change_since' => :'no_content_change_since',
54
56
  :'pulp_href' => :'pulp_href',
57
+ :'pulp_labels' => :'pulp_labels',
55
58
  :'pulp_last_updated' => :'pulp_last_updated',
56
- :'pulp_created' => :'pulp_created',
57
59
  :'prn' => :'prn',
58
60
  :'content_guard' => :'content_guard',
59
- :'hidden' => :'hidden',
60
- :'no_content_change_since' => :'no_content_change_since',
61
61
  :'base_path' => :'base_path',
62
- :'base_url' => :'base_url'
62
+ :'pulp_created' => :'pulp_created'
63
63
  }
64
64
  end
65
65
 
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
+ :'base_url' => :'String',
69
70
  :'name' => :'String',
70
- :'pulp_labels' => :'Hash<String, String>',
71
+ :'hidden' => :'Boolean',
72
+ :'no_content_change_since' => :'String',
71
73
  :'pulp_href' => :'String',
74
+ :'pulp_labels' => :'Hash<String, String>',
72
75
  :'pulp_last_updated' => :'DateTime',
73
- :'pulp_created' => :'DateTime',
74
76
  :'prn' => :'String',
75
77
  :'content_guard' => :'String',
76
- :'hidden' => :'Boolean',
77
- :'no_content_change_since' => :'String',
78
78
  :'base_path' => :'String',
79
- :'base_url' => :'String'
79
+ :'pulp_created' => :'DateTime'
80
80
  }
81
81
  end
82
82
 
@@ -102,26 +102,36 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
+ if attributes.key?(:'base_url')
106
+ self.base_url = attributes[:'base_url']
107
+ end
108
+
105
109
  if attributes.key?(:'name')
106
110
  self.name = attributes[:'name']
107
111
  end
108
112
 
109
- if attributes.key?(:'pulp_labels')
110
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
- self.pulp_labels = value
112
- end
113
+ if attributes.key?(:'hidden')
114
+ self.hidden = attributes[:'hidden']
115
+ else
116
+ self.hidden = false
117
+ end
118
+
119
+ if attributes.key?(:'no_content_change_since')
120
+ self.no_content_change_since = attributes[:'no_content_change_since']
113
121
  end
114
122
 
115
123
  if attributes.key?(:'pulp_href')
116
124
  self.pulp_href = attributes[:'pulp_href']
117
125
  end
118
126
 
119
- if attributes.key?(:'pulp_last_updated')
120
- self.pulp_last_updated = attributes[:'pulp_last_updated']
127
+ if attributes.key?(:'pulp_labels')
128
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
129
+ self.pulp_labels = value
130
+ end
121
131
  end
122
132
 
123
- if attributes.key?(:'pulp_created')
124
- self.pulp_created = attributes[:'pulp_created']
133
+ if attributes.key?(:'pulp_last_updated')
134
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
125
135
  end
126
136
 
127
137
  if attributes.key?(:'prn')
@@ -132,22 +142,12 @@ module PulpcoreClient
132
142
  self.content_guard = attributes[:'content_guard']
133
143
  end
134
144
 
135
- if attributes.key?(:'hidden')
136
- self.hidden = attributes[:'hidden']
137
- else
138
- self.hidden = false
139
- end
140
-
141
- if attributes.key?(:'no_content_change_since')
142
- self.no_content_change_since = attributes[:'no_content_change_since']
143
- end
144
-
145
145
  if attributes.key?(:'base_path')
146
146
  self.base_path = attributes[:'base_path']
147
147
  end
148
148
 
149
- if attributes.key?(:'base_url')
150
- self.base_url = attributes[:'base_url']
149
+ if attributes.key?(:'pulp_created')
150
+ self.pulp_created = attributes[:'pulp_created']
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
+ base_url == o.base_url &&
182
183
  name == o.name &&
183
- pulp_labels == o.pulp_labels &&
184
+ hidden == o.hidden &&
185
+ no_content_change_since == o.no_content_change_since &&
184
186
  pulp_href == o.pulp_href &&
187
+ pulp_labels == o.pulp_labels &&
185
188
  pulp_last_updated == o.pulp_last_updated &&
186
- pulp_created == o.pulp_created &&
187
189
  prn == o.prn &&
188
190
  content_guard == o.content_guard &&
189
- hidden == o.hidden &&
190
- no_content_change_since == o.no_content_change_since &&
191
191
  base_path == o.base_path &&
192
- base_url == o.base_url
192
+ pulp_created == o.pulp_created
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
- [name, pulp_labels, pulp_href, pulp_last_updated, pulp_created, prn, content_guard, hidden, no_content_change_since, base_path, base_url].hash
204
+ [base_url, name, hidden, no_content_change_since, pulp_href, pulp_labels, pulp_last_updated, prn, content_guard, base_path, pulp_created].hash
205
205
  end
206
206
 
207
207
  # Builds the object from hash
@@ -109,7 +109,7 @@ module PulpcoreClient
109
109
  :'unblocked_at' => :'DateTime',
110
110
  :'started_at' => :'DateTime',
111
111
  :'finished_at' => :'DateTime',
112
- :'error' => :'Hash<String, Object>',
112
+ :'error' => :'Object',
113
113
  :'worker' => :'String',
114
114
  :'parent_task' => :'String',
115
115
  :'child_tasks' => :'Array<String>',
@@ -186,9 +186,7 @@ module PulpcoreClient
186
186
  end
187
187
 
188
188
  if attributes.key?(:'error')
189
- if (value = attributes[:'error']).is_a?(Hash)
190
- self.error = value
191
- end
189
+ self.error = attributes[:'error']
192
190
  end
193
191
 
194
192
  if attributes.key?(:'worker')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.68.2'
14
+ VERSION = '3.69.0'
15
15
  end
@@ -32,55 +32,55 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "name"' do
35
+ describe 'test attribute "base_url"' 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 "name"' 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 "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 "pulp_last_updated"' do
53
+ describe 'test attribute "no_content_change_since"' 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 "pulp_created"' do
59
+ describe 'test attribute "pulp_href"' 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 "pulp_labels"' 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 "content_guard"' do
71
+ describe 'test attribute "pulp_last_updated"' 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 "hidden"' do
77
+ describe 'test attribute "prn"' 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 "no_content_change_since"' do
83
+ describe 'test attribute "content_guard"' 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
@@ -92,7 +92,7 @@ describe 'ArtifactDistributionResponse' do
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "base_url"' do
95
+ describe 'test attribute "pulp_created"' 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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.68.2
4
+ version: 3.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator