pulpcore_client 3.22.15 → 3.22.16

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: 39b5e614364fb9c3d99c03cc375c92a3793bf909280fa9403771bd669c5eb79c
4
- data.tar.gz: 77fe5f92b781dd3ad7efbdbf9ce1f4c4e5bcfd9eaf329610f6c3531df207efd9
3
+ metadata.gz: d5a046c06397590e5f1e33bc6f212efeb4b8e19e64da3f57f62648a2d2e0b85f
4
+ data.tar.gz: 24013cba4014b9d4681275de3c333c31cd74ed90f9d12d459014e9bad5169ccf
5
5
  SHA512:
6
- metadata.gz: '00901f9d3bae99eb2e01c35a1f0c855da47e5110765aaceea42a3300c7b0c5c4a62522c2ee260a5065345ad1d66f414f209b95fd5a95bbed7a67e9f6c324db60'
7
- data.tar.gz: fc0e20bac411952579713503981def7555240653f6d87ec7b737938423aecd3fae6cbf5eca58f6602daeefac6569f0ee078b0e23439d3bf88c1c9c03448f53ae
6
+ metadata.gz: 5f16fdce2bda74b8bb4228b40ea25920e9ac7d2bb060bd2aa1c56ac991d981922c77f7f3d0b2532c8069a0c3311d3c87fce0b1af08c43aeab448ad26d4cea402
7
+ data.tar.gz: 978066089890825f4455f90ae71fe15226ea5b845727de71bb388e782c85d960c5b48c8f0ddbc988d201d4d4af826a6c2e0413109c3d24325864bc9b041198cb
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.22.15
10
+ - Package version: 3.22.16
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.22.15.gem
27
+ gem install ./pulpcore_client-3.22.16.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.22.15.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.22.16.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.22.15'
36
+ gem 'pulpcore_client', '~> 3.22.16'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | **Hash<String, String>** | | [optional]
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`. |
7
10
  **content_guard** | **String** | An optional content-guard. | [optional]
8
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
12
  **pulp_href** | **String** | | [optional] [readonly]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
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\") |
12
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
14
14
 
15
15
  ## Code Sample
16
16
 
17
17
  ```ruby
18
18
  require 'PulpcoreClient'
19
19
 
20
- instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
20
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
21
+ base_url: null,
22
+ name: null,
23
+ content_guard: null,
21
24
  pulp_created: null,
22
25
  pulp_href: null,
23
- pulp_labels: null,
24
- base_path: null,
25
- name: null,
26
- base_url: null)
26
+ base_path: null)
27
27
  ```
28
28
 
29
29
 
@@ -15,6 +15,14 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
+ attr_accessor :pulp_labels
19
+
20
+ # The URL for accessing the publication as defined by this distribution.
21
+ attr_accessor :base_url
22
+
23
+ # A unique name. Ex, `rawhide` and `stable`.
24
+ attr_accessor :name
25
+
18
26
  # An optional content-guard.
19
27
  attr_accessor :content_guard
20
28
 
@@ -23,40 +31,32 @@ module PulpcoreClient
23
31
 
24
32
  attr_accessor :pulp_href
25
33
 
26
- attr_accessor :pulp_labels
27
-
28
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\")
29
35
  attr_accessor :base_path
30
36
 
31
- # A unique name. Ex, `rawhide` and `stable`.
32
- attr_accessor :name
33
-
34
- # The URL for accessing the publication as defined by this distribution.
35
- attr_accessor :base_url
36
-
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
+ :'pulp_labels' => :'pulp_labels',
41
+ :'base_url' => :'base_url',
42
+ :'name' => :'name',
40
43
  :'content_guard' => :'content_guard',
41
44
  :'pulp_created' => :'pulp_created',
42
45
  :'pulp_href' => :'pulp_href',
43
- :'pulp_labels' => :'pulp_labels',
44
- :'base_path' => :'base_path',
45
- :'name' => :'name',
46
- :'base_url' => :'base_url'
46
+ :'base_path' => :'base_path'
47
47
  }
48
48
  end
49
49
 
50
50
  # Attribute type mapping.
51
51
  def self.openapi_types
52
52
  {
53
+ :'pulp_labels' => :'Hash<String, String>',
54
+ :'base_url' => :'String',
55
+ :'name' => :'String',
53
56
  :'content_guard' => :'String',
54
57
  :'pulp_created' => :'DateTime',
55
58
  :'pulp_href' => :'String',
56
- :'pulp_labels' => :'Hash<String, String>',
57
- :'base_path' => :'String',
58
- :'name' => :'String',
59
- :'base_url' => :'String'
59
+ :'base_path' => :'String'
60
60
  }
61
61
  end
62
62
 
@@ -82,6 +82,20 @@ module PulpcoreClient
82
82
  h[k.to_sym] = v
83
83
  }
84
84
 
85
+ if attributes.key?(:'pulp_labels')
86
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
87
+ self.pulp_labels = value
88
+ end
89
+ end
90
+
91
+ if attributes.key?(:'base_url')
92
+ self.base_url = attributes[:'base_url']
93
+ end
94
+
95
+ if attributes.key?(:'name')
96
+ self.name = attributes[:'name']
97
+ end
98
+
85
99
  if attributes.key?(:'content_guard')
86
100
  self.content_guard = attributes[:'content_guard']
87
101
  end
@@ -94,45 +108,31 @@ module PulpcoreClient
94
108
  self.pulp_href = attributes[:'pulp_href']
95
109
  end
96
110
 
97
- if attributes.key?(:'pulp_labels')
98
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
99
- self.pulp_labels = value
100
- end
101
- end
102
-
103
111
  if attributes.key?(:'base_path')
104
112
  self.base_path = attributes[:'base_path']
105
113
  end
106
-
107
- if attributes.key?(:'name')
108
- self.name = attributes[:'name']
109
- end
110
-
111
- if attributes.key?(:'base_url')
112
- self.base_url = attributes[:'base_url']
113
- end
114
114
  end
115
115
 
116
116
  # Show invalid properties with the reasons. Usually used together with valid?
117
117
  # @return Array for valid properties with the reasons
118
118
  def list_invalid_properties
119
119
  invalid_properties = Array.new
120
- if @base_path.nil?
121
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
122
- end
123
-
124
120
  if @name.nil?
125
121
  invalid_properties.push('invalid value for "name", name cannot be nil.')
126
122
  end
127
123
 
124
+ if @base_path.nil?
125
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
126
+ end
127
+
128
128
  invalid_properties
129
129
  end
130
130
 
131
131
  # Check to see if the all the properties in the model are valid
132
132
  # @return true if the model is valid
133
133
  def valid?
134
- return false if @base_path.nil?
135
134
  return false if @name.nil?
135
+ return false if @base_path.nil?
136
136
  true
137
137
  end
138
138
 
@@ -141,13 +141,13 @@ module PulpcoreClient
141
141
  def ==(o)
142
142
  return true if self.equal?(o)
143
143
  self.class == o.class &&
144
+ pulp_labels == o.pulp_labels &&
145
+ base_url == o.base_url &&
146
+ name == o.name &&
144
147
  content_guard == o.content_guard &&
145
148
  pulp_created == o.pulp_created &&
146
149
  pulp_href == o.pulp_href &&
147
- pulp_labels == o.pulp_labels &&
148
- base_path == o.base_path &&
149
- name == o.name &&
150
- base_url == o.base_url
150
+ base_path == o.base_path
151
151
  end
152
152
 
153
153
  # @see the `==` method
@@ -159,7 +159,7 @@ module PulpcoreClient
159
159
  # Calculates hash code according to all attributes.
160
160
  # @return [Integer] Hash code
161
161
  def hash
162
- [content_guard, pulp_created, pulp_href, pulp_labels, base_path, name, base_url].hash
162
+ [pulp_labels, base_url, name, content_guard, pulp_created, pulp_href, base_path].hash
163
163
  end
164
164
 
165
165
  # 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.22.15'
14
+ VERSION = '3.22.16'
15
15
  end
@@ -32,43 +32,43 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "content_guard"' do
35
+ describe 'test attribute "pulp_labels"' 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 "base_url"' 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 "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 "pulp_labels"' 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 "base_path"' 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 "name"' do
65
+ describe 'test attribute "pulp_href"' 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_url"' 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
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.22.15
4
+ version: 3.22.16
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-09-20 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday