pulpcore_client 3.30.0 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eb2c98c7020c8604b811e68b8d75a9a6080a3fee47e4195c3a67fde0c94cc63
4
- data.tar.gz: 1e6b5261c399ac8f0e1436bcbe8b684ee9f0e685cee6f40228a6c6f922c76dce
3
+ metadata.gz: c14e52ede2ae5264c86d7a4247a0afb31666ba605ba670085f6403a9e613f814
4
+ data.tar.gz: f1e669dc3f74425d402f63521d80402d3bcedef1c9ca25c4add50133fa8c3481
5
5
  SHA512:
6
- metadata.gz: aceca250901ea427a37e8810dd4134ef0fc7701bfe5d195564b5d187c3ffb03cee005932671bef5c8f04a6294a1e0c7ac81e2f633ec7cd9f78ec6f3a3c179ae1
7
- data.tar.gz: 00cfe46bdb9cb9fc772bd1f69e4049ee57780b6f11d70ef68149d52b49b13f7c28d574108fc6c73268e36aaeb41867c494dca9414bd1693691074bab037eb338
6
+ metadata.gz: 5eda784dec04c46c6c49b211abcf58e8077c875afa0ccb6afce27c10b32385e1316779c2f323e98ea7d21e2ce3b992d87dd5435a32f7cbcb26df5666612287ea
7
+ data.tar.gz: c3aec958b6f08228506ed24b561be84ab2fb1257a6c2f7a9ebdf146457fea067574d8046a4772fb97906e394f72a16bcd7bacb686cc1a1fd79fb97b06923842d
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.30.0
10
+ - Package version: 3.31.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.30.0.gem
27
+ gem install ./pulpcore_client-3.31.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.30.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.31.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.30.0'
36
+ gem 'pulpcore_client', '~> 3.31.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,13 +5,13 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
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\") |
11
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
10
  **content_guard** | **String** | An optional content-guard. | [optional]
11
+ **pulp_labels** | **Hash<String, String>** | | [optional]
12
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
14
13
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
17
17
 
@@ -19,13 +19,13 @@ Name | Type | Description | Notes
19
19
  require 'PulpcoreClient'
20
20
 
21
21
  instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
22
- pulp_labels: null,
23
22
  name: null,
24
23
  base_path: null,
25
- hidden: null,
26
- base_url: null,
27
24
  content_guard: null,
28
- pulp_created: null)
25
+ pulp_labels: null,
26
+ hidden: null,
27
+ pulp_created: null,
28
+ base_url: null)
29
29
  ```
30
30
 
31
31
 
@@ -17,37 +17,37 @@ module PulpcoreClient
17
17
  class ArtifactDistributionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
- attr_accessor :pulp_labels
21
-
22
20
  # A unique name. Ex, `rawhide` and `stable`.
23
21
  attr_accessor :name
24
22
 
25
23
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
26
24
  attr_accessor :base_path
27
25
 
28
- # Whether this distribution should be shown in the content app.
29
- attr_accessor :hidden
30
-
31
- # The URL for accessing the publication as defined by this distribution.
32
- attr_accessor :base_url
33
-
34
26
  # An optional content-guard.
35
27
  attr_accessor :content_guard
36
28
 
29
+ attr_accessor :pulp_labels
30
+
31
+ # Whether this distribution should be shown in the content app.
32
+ attr_accessor :hidden
33
+
37
34
  # Timestamp of creation.
38
35
  attr_accessor :pulp_created
39
36
 
37
+ # The URL for accessing the publication as defined by this distribution.
38
+ attr_accessor :base_url
39
+
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
43
  :'pulp_href' => :'pulp_href',
44
- :'pulp_labels' => :'pulp_labels',
45
44
  :'name' => :'name',
46
45
  :'base_path' => :'base_path',
47
- :'hidden' => :'hidden',
48
- :'base_url' => :'base_url',
49
46
  :'content_guard' => :'content_guard',
50
- :'pulp_created' => :'pulp_created'
47
+ :'pulp_labels' => :'pulp_labels',
48
+ :'hidden' => :'hidden',
49
+ :'pulp_created' => :'pulp_created',
50
+ :'base_url' => :'base_url'
51
51
  }
52
52
  end
53
53
 
@@ -55,13 +55,13 @@ module PulpcoreClient
55
55
  def self.openapi_types
56
56
  {
57
57
  :'pulp_href' => :'String',
58
- :'pulp_labels' => :'Hash<String, String>',
59
58
  :'name' => :'String',
60
59
  :'base_path' => :'String',
61
- :'hidden' => :'Boolean',
62
- :'base_url' => :'String',
63
60
  :'content_guard' => :'String',
64
- :'pulp_created' => :'DateTime'
61
+ :'pulp_labels' => :'Hash<String, String>',
62
+ :'hidden' => :'Boolean',
63
+ :'pulp_created' => :'DateTime',
64
+ :'base_url' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -91,12 +91,6 @@ module PulpcoreClient
91
91
  self.pulp_href = attributes[:'pulp_href']
92
92
  end
93
93
 
94
- if attributes.key?(:'pulp_labels')
95
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
- self.pulp_labels = value
97
- end
98
- end
99
-
100
94
  if attributes.key?(:'name')
101
95
  self.name = attributes[:'name']
102
96
  end
@@ -105,23 +99,29 @@ module PulpcoreClient
105
99
  self.base_path = attributes[:'base_path']
106
100
  end
107
101
 
108
- if attributes.key?(:'hidden')
109
- self.hidden = attributes[:'hidden']
110
- else
111
- self.hidden = false
102
+ if attributes.key?(:'content_guard')
103
+ self.content_guard = attributes[:'content_guard']
112
104
  end
113
105
 
114
- if attributes.key?(:'base_url')
115
- self.base_url = attributes[:'base_url']
106
+ if attributes.key?(:'pulp_labels')
107
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
108
+ self.pulp_labels = value
109
+ end
116
110
  end
117
111
 
118
- if attributes.key?(:'content_guard')
119
- self.content_guard = attributes[:'content_guard']
112
+ if attributes.key?(:'hidden')
113
+ self.hidden = attributes[:'hidden']
114
+ else
115
+ self.hidden = false
120
116
  end
121
117
 
122
118
  if attributes.key?(:'pulp_created')
123
119
  self.pulp_created = attributes[:'pulp_created']
124
120
  end
121
+
122
+ if attributes.key?(:'base_url')
123
+ self.base_url = attributes[:'base_url']
124
+ end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -153,13 +153,13 @@ module PulpcoreClient
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
155
  pulp_href == o.pulp_href &&
156
- pulp_labels == o.pulp_labels &&
157
156
  name == o.name &&
158
157
  base_path == o.base_path &&
159
- hidden == o.hidden &&
160
- base_url == o.base_url &&
161
158
  content_guard == o.content_guard &&
162
- pulp_created == o.pulp_created
159
+ pulp_labels == o.pulp_labels &&
160
+ hidden == o.hidden &&
161
+ pulp_created == o.pulp_created &&
162
+ base_url == o.base_url
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module PulpcoreClient
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Integer] Hash code
173
173
  def hash
174
- [pulp_href, pulp_labels, name, base_path, hidden, base_url, content_guard, pulp_created].hash
174
+ [pulp_href, name, base_path, content_guard, pulp_labels, hidden, pulp_created, base_url].hash
175
175
  end
176
176
 
177
177
  # 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.30.0'
14
+ VERSION = '3.31.0'
15
15
  end
@@ -38,43 +38,43 @@ describe 'ArtifactDistributionResponse' do
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 "name"' do
47
+ describe 'test attribute "base_path"' 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_path"' do
53
+ describe 'test attribute "content_guard"' 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 "hidden"' do
59
+ describe 'test attribute "pulp_labels"' 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 "base_url"' do
65
+ describe 'test attribute "hidden"' 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_created"' 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_created"' do
77
+ describe 'test attribute "base_url"' 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
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.30.0
4
+ version: 3.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-08 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday