pulpcore_client 3.43.2 → 3.44.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: e32e02219f9348d85ff8d666c658883a86fc37ddf9a2ba7515704b151c71754b
4
- data.tar.gz: 48e490d14f1e476a6fb2890eb8a4ea245c51f744c48333ae1943ac4afda15607
3
+ metadata.gz: 72a48039fbc768a3893fd96a86c49b382fa14dcfb642645930f6b0dfe6acd5b6
4
+ data.tar.gz: fe79cbb09cd20ffa3885d6a1322462efea0fc7420aff9823f8c836823f893c95
5
5
  SHA512:
6
- metadata.gz: 5051cd6b04b69a8a500c0c979fc7796f87371ed178fe59bf932d12c289ed75c7d792ca11b51330c8530ee2b4f7dca6038748731b3d2a2f6f5760a68f537690fd
7
- data.tar.gz: 33f0c18b1ca8e8abef70b5ce5366e94113a913b7a0e34513d72e8b33be4fd3ea284284ee64b19511b6cb715c5b9c3ef5a9f8b9752c1e595ea344e55a13ce0052
6
+ metadata.gz: ad3d9ee03c218e79ec7bd152ccb97e53959d50598765c2b5bf058876e3b7180902c331ace6504fba0563020e996156ed165efcb545be403b15f45a28476e8e77
7
+ data.tar.gz: 2e9c199b36fbfa3076568919f9e4227959d2e884d0fee2573e7a1022839b1b11b3871fa52cfeee9d288edb16b1997ff4b9b5d0338fb9a99f3d2af08683dc517c
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.43.2
10
+ - Package version: 3.44.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.43.2.gem
27
+ gem install ./pulpcore_client-3.44.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.43.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.44.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.43.2'
36
+ gem 'pulpcore_client', '~> 3.44.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
7
  **pulp_href** | **String** | | [optional] [readonly]
12
8
  **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\") |
9
+ **pulp_labels** | **Hash<String, String>** | | [optional]
10
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
13
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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
  **content_guard** | **String** | An optional content-guard. | [optional]
15
15
 
16
16
  ## Code Sample
@@ -18,13 +18,13 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
22
- hidden: null,
23
- pulp_labels: null,
24
- base_url: null,
25
- pulp_href: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
26
22
  base_path: null,
23
+ pulp_labels: null,
24
+ hidden: null,
27
25
  pulp_created: null,
26
+ base_url: null,
27
+ name: null,
28
28
  content_guard: null)
29
29
  ```
30
30
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **component** | **String** | Name of a versioned component of Pulp |
8
8
  **version** | **String** | Version of the component (e.g. 3.0.0) |
9
9
  **package** | **String** | Python package name providing the component |
10
+ **_module** | **String** | Python module name of the component |
10
11
  **domain_compatible** | **Boolean** | Domain feature compatibility of component |
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpcoreClient'
17
18
  instance = PulpcoreClient::VersionResponse.new(component: null,
18
19
  version: null,
19
20
  package: null,
21
+ _module: null,
20
22
  domain_compatible: null)
21
23
  ```
22
24
 
@@ -15,24 +15,24 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # A unique name. Ex, `rawhide` and `stable`.
19
- attr_accessor :name
18
+ attr_accessor :pulp_href
19
+
20
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
21
+ attr_accessor :base_path
22
+
23
+ attr_accessor :pulp_labels
20
24
 
21
25
  # Whether this distribution should be shown in the content app.
22
26
  attr_accessor :hidden
23
27
 
24
- attr_accessor :pulp_labels
28
+ # Timestamp of creation.
29
+ attr_accessor :pulp_created
25
30
 
26
31
  # The URL for accessing the publication as defined by this distribution.
27
32
  attr_accessor :base_url
28
33
 
29
- attr_accessor :pulp_href
30
-
31
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
32
- attr_accessor :base_path
33
-
34
- # Timestamp of creation.
35
- attr_accessor :pulp_created
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
36
 
37
37
  # An optional content-guard.
38
38
  attr_accessor :content_guard
@@ -40,13 +40,13 @@ module PulpcoreClient
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'name' => :'name',
44
- :'hidden' => :'hidden',
45
- :'pulp_labels' => :'pulp_labels',
46
- :'base_url' => :'base_url',
47
43
  :'pulp_href' => :'pulp_href',
48
44
  :'base_path' => :'base_path',
45
+ :'pulp_labels' => :'pulp_labels',
46
+ :'hidden' => :'hidden',
49
47
  :'pulp_created' => :'pulp_created',
48
+ :'base_url' => :'base_url',
49
+ :'name' => :'name',
50
50
  :'content_guard' => :'content_guard'
51
51
  }
52
52
  end
@@ -54,13 +54,13 @@ module PulpcoreClient
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'name' => :'String',
58
- :'hidden' => :'Boolean',
59
- :'pulp_labels' => :'Hash<String, String>',
60
- :'base_url' => :'String',
61
57
  :'pulp_href' => :'String',
62
58
  :'base_path' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>',
60
+ :'hidden' => :'Boolean',
63
61
  :'pulp_created' => :'DateTime',
62
+ :'base_url' => :'String',
63
+ :'name' => :'String',
64
64
  :'content_guard' => :'String'
65
65
  }
66
66
  end
@@ -87,14 +87,12 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'name')
91
- self.name = attributes[:'name']
90
+ if attributes.key?(:'pulp_href')
91
+ self.pulp_href = attributes[:'pulp_href']
92
92
  end
93
93
 
94
- if attributes.key?(:'hidden')
95
- self.hidden = attributes[:'hidden']
96
- else
97
- self.hidden = false
94
+ if attributes.key?(:'base_path')
95
+ self.base_path = attributes[:'base_path']
98
96
  end
99
97
 
100
98
  if attributes.key?(:'pulp_labels')
@@ -103,20 +101,22 @@ module PulpcoreClient
103
101
  end
104
102
  end
105
103
 
106
- if attributes.key?(:'base_url')
107
- self.base_url = attributes[:'base_url']
104
+ if attributes.key?(:'hidden')
105
+ self.hidden = attributes[:'hidden']
106
+ else
107
+ self.hidden = false
108
108
  end
109
109
 
110
- if attributes.key?(:'pulp_href')
111
- self.pulp_href = attributes[:'pulp_href']
110
+ if attributes.key?(:'pulp_created')
111
+ self.pulp_created = attributes[:'pulp_created']
112
112
  end
113
113
 
114
- if attributes.key?(:'base_path')
115
- self.base_path = attributes[:'base_path']
114
+ if attributes.key?(:'base_url')
115
+ self.base_url = attributes[:'base_url']
116
116
  end
117
117
 
118
- if attributes.key?(:'pulp_created')
119
- self.pulp_created = attributes[:'pulp_created']
118
+ if attributes.key?(:'name')
119
+ self.name = attributes[:'name']
120
120
  end
121
121
 
122
122
  if attributes.key?(:'content_guard')
@@ -128,22 +128,22 @@ module PulpcoreClient
128
128
  # @return Array for valid properties with the reasons
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
- if @name.nil?
132
- invalid_properties.push('invalid value for "name", name cannot be nil.')
133
- end
134
-
135
131
  if @base_path.nil?
136
132
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
137
133
  end
138
134
 
135
+ if @name.nil?
136
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
137
+ end
138
+
139
139
  invalid_properties
140
140
  end
141
141
 
142
142
  # Check to see if the all the properties in the model are valid
143
143
  # @return true if the model is valid
144
144
  def valid?
145
- return false if @name.nil?
146
145
  return false if @base_path.nil?
146
+ return false if @name.nil?
147
147
  true
148
148
  end
149
149
 
@@ -152,13 +152,13 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
- name == o.name &&
156
- hidden == o.hidden &&
157
- pulp_labels == o.pulp_labels &&
158
- base_url == o.base_url &&
159
155
  pulp_href == o.pulp_href &&
160
156
  base_path == o.base_path &&
157
+ pulp_labels == o.pulp_labels &&
158
+ hidden == o.hidden &&
161
159
  pulp_created == o.pulp_created &&
160
+ base_url == o.base_url &&
161
+ name == o.name &&
162
162
  content_guard == o.content_guard
163
163
  end
164
164
 
@@ -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
- [name, hidden, pulp_labels, base_url, pulp_href, base_path, pulp_created, content_guard].hash
174
+ [pulp_href, base_path, pulp_labels, hidden, pulp_created, base_url, name, content_guard].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -24,6 +24,9 @@ module PulpcoreClient
24
24
  # Python package name providing the component
25
25
  attr_accessor :package
26
26
 
27
+ # Python module name of the component
28
+ attr_accessor :_module
29
+
27
30
  # Domain feature compatibility of component
28
31
  attr_accessor :domain_compatible
29
32
 
@@ -33,6 +36,7 @@ module PulpcoreClient
33
36
  :'component' => :'component',
34
37
  :'version' => :'version',
35
38
  :'package' => :'package',
39
+ :'_module' => :'module',
36
40
  :'domain_compatible' => :'domain_compatible'
37
41
  }
38
42
  end
@@ -43,6 +47,7 @@ module PulpcoreClient
43
47
  :'component' => :'String',
44
48
  :'version' => :'String',
45
49
  :'package' => :'String',
50
+ :'_module' => :'String',
46
51
  :'domain_compatible' => :'Boolean'
47
52
  }
48
53
  end
@@ -80,6 +85,10 @@ module PulpcoreClient
80
85
  self.package = attributes[:'package']
81
86
  end
82
87
 
88
+ if attributes.key?(:'_module')
89
+ self._module = attributes[:'_module']
90
+ end
91
+
83
92
  if attributes.key?(:'domain_compatible')
84
93
  self.domain_compatible = attributes[:'domain_compatible']
85
94
  end
@@ -101,6 +110,10 @@ module PulpcoreClient
101
110
  invalid_properties.push('invalid value for "package", package cannot be nil.')
102
111
  end
103
112
 
113
+ if @_module.nil?
114
+ invalid_properties.push('invalid value for "_module", _module cannot be nil.')
115
+ end
116
+
104
117
  if @domain_compatible.nil?
105
118
  invalid_properties.push('invalid value for "domain_compatible", domain_compatible cannot be nil.')
106
119
  end
@@ -114,6 +127,7 @@ module PulpcoreClient
114
127
  return false if @component.nil?
115
128
  return false if @version.nil?
116
129
  return false if @package.nil?
130
+ return false if @_module.nil?
117
131
  return false if @domain_compatible.nil?
118
132
  true
119
133
  end
@@ -126,6 +140,7 @@ module PulpcoreClient
126
140
  component == o.component &&
127
141
  version == o.version &&
128
142
  package == o.package &&
143
+ _module == o._module &&
129
144
  domain_compatible == o.domain_compatible
130
145
  end
131
146
 
@@ -138,7 +153,7 @@ module PulpcoreClient
138
153
  # Calculates hash code according to all attributes.
139
154
  # @return [Integer] Hash code
140
155
  def hash
141
- [component, version, package, domain_compatible].hash
156
+ [component, version, package, _module, domain_compatible].hash
142
157
  end
143
158
 
144
159
  # 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.43.2'
14
+ VERSION = '3.44.0'
15
15
  end
@@ -32,13 +32,13 @@ 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 "pulp_href"' 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 "base_path"' 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
@@ -50,25 +50,25 @@ describe 'ArtifactDistributionResponse' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "base_url"' do
53
+ describe 'test attribute "hidden"' 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_href"' do
59
+ describe 'test attribute "pulp_created"' 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_path"' 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_created"' 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
@@ -50,6 +50,12 @@ describe 'VersionResponse' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "_module"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "domain_compatible"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
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.43.2
4
+ version: 3.44.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: 2024-01-09 00:00:00.000000000 Z
11
+ date: 2024-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday