pulpcore_client 3.66.1 → 3.67.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: 400028c9e5e845bc6ce0a92198abd3cab9e15b38f1e241995fcc54e5547319d4
4
- data.tar.gz: 5dbc76e758c19b755bce810e89fa3b75af54d75f340a8d54e25aeedf0f3ae150
3
+ metadata.gz: 243325e56f150d0ed34b67663dc2a02e483d302a0ebf2417b39cefb21155ac6e
4
+ data.tar.gz: bb52b98115f32675d314ff4884adc7b6c8a3ed361fddef4420e3e0a095bfce31
5
5
  SHA512:
6
- metadata.gz: 11f4b382a9ae2bb3064a4c806093b6b72bc6a69dda8a9428ae52b3aaf306e1faa04ef5c27eec9a138999e29b3f241fbc05c43277e2c2ac9145cc22a6de000734
7
- data.tar.gz: dae7022665eb4267118a71ce8254ae5af035e56c28d4d6edad655f11ea42aca6ddd92c8558454b91182f7bf7eff16b20e07c28dcdd66af3107c32da5d777e72a
6
+ metadata.gz: 4281f2f6046247d7086875f7614255742847236660e7d3b8b2eee3e6bdc83b367269ac4c6734fd60c4e0880a5ac218a3ba0f4a32da606c647489debc966b5d11
7
+ data.tar.gz: ce1e6aadfcb70f33c4787f6c29728fde167f32284c93c35d13427ca3282a6bfe98a58226116c1a9c66988d32435a75854f9e2eb28f78ef85bc4bff9be9266042
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.66.1
10
+ - Package version: 3.67.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.66.1.gem
27
+ gem install ./pulpcore_client-3.67.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.66.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.67.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.66.1'
36
+ gem 'pulpcore_client', '~> 3.67.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,16 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
10
- **content_guard** | **String** | An optional content-guard. | [optional]
11
- **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]
12
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
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
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
15
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
16
9
  **pulp_href** | **String** | | [optional] [readonly]
10
+ **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
11
+ **content_guard** | **String** | An optional content-guard. | [optional]
12
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
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_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
16
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
17
17
  **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]
18
18
 
19
19
  ## Code Sample
@@ -21,16 +21,16 @@ Name | Type | Description | Notes
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(hidden: null,
25
- pulp_created: null,
26
- base_url: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
25
+ pulp_labels: null,
26
+ pulp_href: null,
27
+ prn: null,
27
28
  content_guard: null,
29
+ base_url: null,
30
+ hidden: null,
28
31
  no_content_change_since: null,
29
- prn: null,
30
- base_path: null,
31
- pulp_labels: null,
32
+ pulp_created: null,
32
33
  name: null,
33
- pulp_href: null,
34
34
  pulp_last_updated: null)
35
35
  ```
36
36
 
@@ -15,50 +15,50 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # Whether this distribution should be shown in the content app.
19
- attr_accessor :hidden
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
20
20
 
21
- # Timestamp of creation.
22
- attr_accessor :pulp_created
21
+ attr_accessor :pulp_labels
23
22
 
24
- # The URL for accessing the publication as defined by this distribution.
25
- attr_accessor :base_url
23
+ attr_accessor :pulp_href
24
+
25
+ # The Pulp Resource Name (PRN).
26
+ attr_accessor :prn
26
27
 
27
28
  # An optional content-guard.
28
29
  attr_accessor :content_guard
29
30
 
30
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
31
- attr_accessor :no_content_change_since
31
+ # The URL for accessing the publication as defined by this distribution.
32
+ attr_accessor :base_url
32
33
 
33
- # The Pulp Resource Name (PRN).
34
- attr_accessor :prn
34
+ # Whether this distribution should be shown in the content app.
35
+ attr_accessor :hidden
35
36
 
36
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
37
- attr_accessor :base_path
37
+ # 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
+ attr_accessor :no_content_change_since
38
39
 
39
- attr_accessor :pulp_labels
40
+ # Timestamp of creation.
41
+ attr_accessor :pulp_created
40
42
 
41
43
  # A unique name. Ex, `rawhide` and `stable`.
42
44
  attr_accessor :name
43
45
 
44
- attr_accessor :pulp_href
45
-
46
46
  # 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.
47
47
  attr_accessor :pulp_last_updated
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
- :'hidden' => :'hidden',
53
- :'pulp_created' => :'pulp_created',
54
- :'base_url' => :'base_url',
55
- :'content_guard' => :'content_guard',
56
- :'no_content_change_since' => :'no_content_change_since',
57
- :'prn' => :'prn',
58
52
  :'base_path' => :'base_path',
59
53
  :'pulp_labels' => :'pulp_labels',
60
- :'name' => :'name',
61
54
  :'pulp_href' => :'pulp_href',
55
+ :'prn' => :'prn',
56
+ :'content_guard' => :'content_guard',
57
+ :'base_url' => :'base_url',
58
+ :'hidden' => :'hidden',
59
+ :'no_content_change_since' => :'no_content_change_since',
60
+ :'pulp_created' => :'pulp_created',
61
+ :'name' => :'name',
62
62
  :'pulp_last_updated' => :'pulp_last_updated'
63
63
  }
64
64
  end
@@ -66,16 +66,16 @@ module PulpcoreClient
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
- :'hidden' => :'Boolean',
70
- :'pulp_created' => :'DateTime',
71
- :'base_url' => :'String',
72
- :'content_guard' => :'String',
73
- :'no_content_change_since' => :'String',
74
- :'prn' => :'String',
75
69
  :'base_path' => :'String',
76
70
  :'pulp_labels' => :'Hash<String, String>',
77
- :'name' => :'String',
78
71
  :'pulp_href' => :'String',
72
+ :'prn' => :'String',
73
+ :'content_guard' => :'String',
74
+ :'base_url' => :'String',
75
+ :'hidden' => :'Boolean',
76
+ :'no_content_change_since' => :'String',
77
+ :'pulp_created' => :'DateTime',
78
+ :'name' => :'String',
79
79
  :'pulp_last_updated' => :'DateTime'
80
80
  }
81
81
  end
@@ -102,50 +102,50 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'hidden')
106
- self.hidden = attributes[:'hidden']
107
- else
108
- self.hidden = false
105
+ if attributes.key?(:'base_path')
106
+ self.base_path = attributes[:'base_path']
109
107
  end
110
108
 
111
- if attributes.key?(:'pulp_created')
112
- self.pulp_created = attributes[:'pulp_created']
109
+ if attributes.key?(:'pulp_labels')
110
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
+ self.pulp_labels = value
112
+ end
113
113
  end
114
114
 
115
- if attributes.key?(:'base_url')
116
- self.base_url = attributes[:'base_url']
115
+ if attributes.key?(:'pulp_href')
116
+ self.pulp_href = attributes[:'pulp_href']
117
+ end
118
+
119
+ if attributes.key?(:'prn')
120
+ self.prn = attributes[:'prn']
117
121
  end
118
122
 
119
123
  if attributes.key?(:'content_guard')
120
124
  self.content_guard = attributes[:'content_guard']
121
125
  end
122
126
 
123
- if attributes.key?(:'no_content_change_since')
124
- self.no_content_change_since = attributes[:'no_content_change_since']
127
+ if attributes.key?(:'base_url')
128
+ self.base_url = attributes[:'base_url']
125
129
  end
126
130
 
127
- if attributes.key?(:'prn')
128
- self.prn = attributes[:'prn']
131
+ if attributes.key?(:'hidden')
132
+ self.hidden = attributes[:'hidden']
133
+ else
134
+ self.hidden = false
129
135
  end
130
136
 
131
- if attributes.key?(:'base_path')
132
- self.base_path = attributes[:'base_path']
137
+ if attributes.key?(:'no_content_change_since')
138
+ self.no_content_change_since = attributes[:'no_content_change_since']
133
139
  end
134
140
 
135
- if attributes.key?(:'pulp_labels')
136
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
137
- self.pulp_labels = value
138
- end
141
+ if attributes.key?(:'pulp_created')
142
+ self.pulp_created = attributes[:'pulp_created']
139
143
  end
140
144
 
141
145
  if attributes.key?(:'name')
142
146
  self.name = attributes[:'name']
143
147
  end
144
148
 
145
- if attributes.key?(:'pulp_href')
146
- self.pulp_href = attributes[:'pulp_href']
147
- end
148
-
149
149
  if attributes.key?(:'pulp_last_updated')
150
150
  self.pulp_last_updated = attributes[:'pulp_last_updated']
151
151
  end
@@ -179,16 +179,16 @@ module PulpcoreClient
179
179
  def ==(o)
180
180
  return true if self.equal?(o)
181
181
  self.class == o.class &&
182
- hidden == o.hidden &&
183
- pulp_created == o.pulp_created &&
184
- base_url == o.base_url &&
185
- content_guard == o.content_guard &&
186
- no_content_change_since == o.no_content_change_since &&
187
- prn == o.prn &&
188
182
  base_path == o.base_path &&
189
183
  pulp_labels == o.pulp_labels &&
190
- name == o.name &&
191
184
  pulp_href == o.pulp_href &&
185
+ prn == o.prn &&
186
+ content_guard == o.content_guard &&
187
+ base_url == o.base_url &&
188
+ hidden == o.hidden &&
189
+ no_content_change_since == o.no_content_change_since &&
190
+ pulp_created == o.pulp_created &&
191
+ name == o.name &&
192
192
  pulp_last_updated == o.pulp_last_updated
193
193
  end
194
194
 
@@ -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
- [hidden, pulp_created, base_url, content_guard, no_content_change_since, prn, base_path, pulp_labels, name, pulp_href, pulp_last_updated].hash
204
+ [base_path, pulp_labels, pulp_href, prn, content_guard, base_url, hidden, no_content_change_since, pulp_created, name, pulp_last_updated].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.66.1'
14
+ VERSION = '3.67.0'
15
15
  end
@@ -32,61 +32,61 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "hidden"' 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_created"' do
41
+ describe 'test attribute "pulp_labels"' 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_url"' do
47
+ describe 'test attribute "pulp_href"' 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 "content_guard"' 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 "no_content_change_since"' do
59
+ describe 'test attribute "content_guard"' 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 "base_path"' do
71
+ describe 'test attribute "hidden"' 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 "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 "name"' do
83
+ describe 'test attribute "pulp_created"' 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_href"' 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
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.66.1
4
+ version: 3.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator