pulpcore_client 3.43.3 → 3.44.1

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: e97c34ff2536bec24b8378042a6ca1485898f2bd4489edb9873f261bd035da60
4
- data.tar.gz: aab31c7277584348b0a95c12166cad83dc623ba398c24108593ad518b55a7cd5
3
+ metadata.gz: 68d4d7334786af4c9b790bc98dcbe2eb13a8817999db2055e7273d9ff0630da0
4
+ data.tar.gz: eed5f53edbd88239c7a79e3a606bcf5098dcbdb1b75c54f2c4c8c472e8af9ab5
5
5
  SHA512:
6
- metadata.gz: 348defe252c66d9816f25bb88713c2ae493b493ad1c98294ce4e0cadd0f5d62d191d6145870923b826a8efb9be5ca62d9ca9d87704b875b3f0245858ac42a82b
7
- data.tar.gz: b06fbb44aad38ac74d50e562a151f7531087173b1b4bf669c031137c9309fb66da0a9e7d90f4d93ded55575f93aea4fd4d3c9d24e68039bbc55d800cce89d613
6
+ metadata.gz: f4955711b4d09f932d0ef1465ed48f6b7e9da848fbf5fc1fab9ca8be55b6cb2414f9b6440110e1779ce2bda36ca3285e89e3d2c8091ae3adae81465387bec730
7
+ data.tar.gz: d0f8e88d6f313397f4bb03a67245b1dd6ad55614aa9d23022e30bcfa05b783c3ac7e3fbbc63bba656600f71f421124f5f72173ca424d6b83e215627430f66d30
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.3
10
+ - Package version: 3.44.1
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.3.gem
27
+ gem install ./pulpcore_client-3.44.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.43.3.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.44.1.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.3'
36
+ gem 'pulpcore_client', '~> 3.44.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
7
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
8
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
11
  **content_guard** | **String** | An optional content-guard. | [optional]
10
- **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
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
12
  **pulp_href** | **String** | | [optional] [readonly]
13
+ **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\") |
13
14
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
14
- **pulp_labels** | **Hash<String, String>** | | [optional]
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
22
22
  base_url: null,
23
+ name: null,
24
+ pulp_labels: null,
23
25
  content_guard: null,
24
- base_path: null,
25
- pulp_created: null,
26
26
  pulp_href: null,
27
- hidden: null,
28
- pulp_labels: null)
27
+ base_path: null,
28
+ hidden: null)
29
29
  ```
30
30
 
31
31
 
@@ -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,53 +15,53 @@ 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
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
20
 
21
21
  # The URL for accessing the publication as defined by this distribution.
22
22
  attr_accessor :base_url
23
23
 
24
+ # A unique name. Ex, `rawhide` and `stable`.
25
+ attr_accessor :name
26
+
27
+ attr_accessor :pulp_labels
28
+
24
29
  # An optional content-guard.
25
30
  attr_accessor :content_guard
26
31
 
32
+ attr_accessor :pulp_href
33
+
27
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
35
  attr_accessor :base_path
29
36
 
30
- # Timestamp of creation.
31
- attr_accessor :pulp_created
32
-
33
- attr_accessor :pulp_href
34
-
35
37
  # Whether this distribution should be shown in the content app.
36
38
  attr_accessor :hidden
37
39
 
38
- attr_accessor :pulp_labels
39
-
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'name' => :'name',
43
+ :'pulp_created' => :'pulp_created',
44
44
  :'base_url' => :'base_url',
45
+ :'name' => :'name',
46
+ :'pulp_labels' => :'pulp_labels',
45
47
  :'content_guard' => :'content_guard',
46
- :'base_path' => :'base_path',
47
- :'pulp_created' => :'pulp_created',
48
48
  :'pulp_href' => :'pulp_href',
49
- :'hidden' => :'hidden',
50
- :'pulp_labels' => :'pulp_labels'
49
+ :'base_path' => :'base_path',
50
+ :'hidden' => :'hidden'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'name' => :'String',
57
+ :'pulp_created' => :'DateTime',
58
58
  :'base_url' => :'String',
59
+ :'name' => :'String',
60
+ :'pulp_labels' => :'Hash<String, String>',
59
61
  :'content_guard' => :'String',
60
- :'base_path' => :'String',
61
- :'pulp_created' => :'DateTime',
62
62
  :'pulp_href' => :'String',
63
- :'hidden' => :'Boolean',
64
- :'pulp_labels' => :'Hash<String, String>'
63
+ :'base_path' => :'String',
64
+ :'hidden' => :'Boolean'
65
65
  }
66
66
  end
67
67
 
@@ -87,41 +87,41 @@ 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_created')
91
+ self.pulp_created = attributes[:'pulp_created']
92
92
  end
93
93
 
94
94
  if attributes.key?(:'base_url')
95
95
  self.base_url = attributes[:'base_url']
96
96
  end
97
97
 
98
- if attributes.key?(:'content_guard')
99
- self.content_guard = attributes[:'content_guard']
98
+ if attributes.key?(:'name')
99
+ self.name = attributes[:'name']
100
100
  end
101
101
 
102
- if attributes.key?(:'base_path')
103
- self.base_path = attributes[:'base_path']
102
+ if attributes.key?(:'pulp_labels')
103
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
+ self.pulp_labels = value
105
+ end
104
106
  end
105
107
 
106
- if attributes.key?(:'pulp_created')
107
- self.pulp_created = attributes[:'pulp_created']
108
+ if attributes.key?(:'content_guard')
109
+ self.content_guard = attributes[:'content_guard']
108
110
  end
109
111
 
110
112
  if attributes.key?(:'pulp_href')
111
113
  self.pulp_href = attributes[:'pulp_href']
112
114
  end
113
115
 
116
+ if attributes.key?(:'base_path')
117
+ self.base_path = attributes[:'base_path']
118
+ end
119
+
114
120
  if attributes.key?(:'hidden')
115
121
  self.hidden = attributes[:'hidden']
116
122
  else
117
123
  self.hidden = false
118
124
  end
119
-
120
- if attributes.key?(:'pulp_labels')
121
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
- self.pulp_labels = value
123
- end
124
- end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -152,14 +152,14 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
- name == o.name &&
155
+ pulp_created == o.pulp_created &&
156
156
  base_url == o.base_url &&
157
+ name == o.name &&
158
+ pulp_labels == o.pulp_labels &&
157
159
  content_guard == o.content_guard &&
158
- base_path == o.base_path &&
159
- pulp_created == o.pulp_created &&
160
160
  pulp_href == o.pulp_href &&
161
- hidden == o.hidden &&
162
- pulp_labels == o.pulp_labels
161
+ base_path == o.base_path &&
162
+ hidden == o.hidden
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
- [name, base_url, content_guard, base_path, pulp_created, pulp_href, hidden, pulp_labels].hash
174
+ [pulp_created, base_url, name, pulp_labels, content_guard, pulp_href, base_path, hidden].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.3'
14
+ VERSION = '3.44.1'
15
15
  end
@@ -32,7 +32,7 @@ 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_created"' 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
@@ -44,19 +44,19 @@ describe 'ArtifactDistributionResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "content_guard"' do
47
+ describe 'test attribute "name"' 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 "pulp_labels"' 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 "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
@@ -68,13 +68,13 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "hidden"' do
71
+ describe 'test attribute "base_path"' 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
@@ -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.3
4
+ version: 3.44.1
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-16 00:00:00.000000000 Z
11
+ date: 2024-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday