pulpcore_client 3.23.16 → 3.23.17

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: 7628829c8d2ef570e8e999c46dc4e39887c5f06da225d9ffd8532a8c5cfd4568
4
- data.tar.gz: f591e0a770c06b273f95d8609971eae87abca8e162a095c7c7308c9e97e2285f
3
+ metadata.gz: e0f868ebec80524f5171568694b2a42ab3996eb0d0cdc9fc3b829f61f2121366
4
+ data.tar.gz: 965b77e02ec56129630c0eda2c165f6fef4714fd00419e4cc9cd7731c318367a
5
5
  SHA512:
6
- metadata.gz: fa5b75bdc3e40f2b47a26dc69b18c669fa8904e39ec93ad264d99c2b7ec0cfbf0df32dad784ea2125ea60e206d9b75fc911b1ae69007a93b5ed74d8ea62d07bb
7
- data.tar.gz: d548e5434519afeecebe81bc3cefa1297e39b18ad0d76d711add84e6eca115a403449046dd1c1da316c029b2a170a3f614fdd0688aea313eacaea29a22f43456
6
+ metadata.gz: af7a0ad8fc3fbf23c5a296f20ea5d6196dab225a1474467a64303fbaba0c2542a0baa31fef75aa870ed42dd3a5d6eeb0a65cf6d3bb7330deb47e9324cf046324
7
+ data.tar.gz: e2dd506f25ec24dd526e403463027ac6d07a8260b5fb9c252597c228447a6bdd58816231f7c8b71ec53369cf44ad28f71b122b4360e592f65c1135cc808e0b6d
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.23.16
10
+ - Package version: 3.23.17
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.23.16.gem
27
+ gem install ./pulpcore_client-3.23.17.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.23.16.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.23.17.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.23.16'
36
+ gem 'pulpcore_client', '~> 3.23.17'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
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\") |
7
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
9
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
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\") |
10
+ **pulp_href** | **String** | | [optional] [readonly]
10
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
12
12
  **content_guard** | **String** | An optional content-guard. | [optional]
13
- **pulp_href** | **String** | | [optional] [readonly]
13
+ **pulp_labels** | **Hash<String, String>** | | [optional]
14
14
 
15
15
  ## Code Sample
16
16
 
17
17
  ```ruby
18
18
  require 'PulpcoreClient'
19
19
 
20
- instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
20
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
21
+ pulp_created: null,
21
22
  base_url: null,
22
- base_path: null,
23
+ pulp_href: null,
23
24
  name: null,
24
- pulp_labels: null,
25
25
  content_guard: null,
26
- pulp_href: null)
26
+ pulp_labels: null)
27
27
  ```
28
28
 
29
29
 
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
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
+
18
21
  # Timestamp of creation.
19
22
  attr_accessor :pulp_created
20
23
 
21
24
  # The URL for accessing the publication as defined by this distribution.
22
25
  attr_accessor :base_url
23
26
 
24
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
- attr_accessor :base_path
27
+ attr_accessor :pulp_href
26
28
 
27
29
  # A unique name. Ex, `rawhide` and `stable`.
28
30
  attr_accessor :name
29
31
 
30
- attr_accessor :pulp_labels
31
-
32
32
  # An optional content-guard.
33
33
  attr_accessor :content_guard
34
34
 
35
- attr_accessor :pulp_href
35
+ attr_accessor :pulp_labels
36
36
 
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
+ :'base_path' => :'base_path',
40
41
  :'pulp_created' => :'pulp_created',
41
42
  :'base_url' => :'base_url',
42
- :'base_path' => :'base_path',
43
+ :'pulp_href' => :'pulp_href',
43
44
  :'name' => :'name',
44
- :'pulp_labels' => :'pulp_labels',
45
45
  :'content_guard' => :'content_guard',
46
- :'pulp_href' => :'pulp_href'
46
+ :'pulp_labels' => :'pulp_labels'
47
47
  }
48
48
  end
49
49
 
50
50
  # Attribute type mapping.
51
51
  def self.openapi_types
52
52
  {
53
+ :'base_path' => :'String',
53
54
  :'pulp_created' => :'DateTime',
54
55
  :'base_url' => :'String',
55
- :'base_path' => :'String',
56
+ :'pulp_href' => :'String',
56
57
  :'name' => :'String',
57
- :'pulp_labels' => :'Hash<String, String>',
58
58
  :'content_guard' => :'String',
59
- :'pulp_href' => :'String'
59
+ :'pulp_labels' => :'Hash<String, String>'
60
60
  }
61
61
  end
62
62
 
@@ -82,6 +82,10 @@ module PulpcoreClient
82
82
  h[k.to_sym] = v
83
83
  }
84
84
 
85
+ if attributes.key?(:'base_path')
86
+ self.base_path = attributes[:'base_path']
87
+ end
88
+
85
89
  if attributes.key?(:'pulp_created')
86
90
  self.pulp_created = attributes[:'pulp_created']
87
91
  end
@@ -90,26 +94,22 @@ module PulpcoreClient
90
94
  self.base_url = attributes[:'base_url']
91
95
  end
92
96
 
93
- if attributes.key?(:'base_path')
94
- self.base_path = attributes[:'base_path']
97
+ if attributes.key?(:'pulp_href')
98
+ self.pulp_href = attributes[:'pulp_href']
95
99
  end
96
100
 
97
101
  if attributes.key?(:'name')
98
102
  self.name = attributes[:'name']
99
103
  end
100
104
 
101
- if attributes.key?(:'pulp_labels')
102
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
103
- self.pulp_labels = value
104
- end
105
- end
106
-
107
105
  if attributes.key?(:'content_guard')
108
106
  self.content_guard = attributes[:'content_guard']
109
107
  end
110
108
 
111
- if attributes.key?(:'pulp_href')
112
- self.pulp_href = attributes[:'pulp_href']
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
  end
115
115
 
@@ -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
+ base_path == o.base_path &&
144
145
  pulp_created == o.pulp_created &&
145
146
  base_url == o.base_url &&
146
- base_path == o.base_path &&
147
+ pulp_href == o.pulp_href &&
147
148
  name == o.name &&
148
- pulp_labels == o.pulp_labels &&
149
149
  content_guard == o.content_guard &&
150
- pulp_href == o.pulp_href
150
+ pulp_labels == o.pulp_labels
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
- [pulp_created, base_url, base_path, name, pulp_labels, content_guard, pulp_href].hash
162
+ [base_path, pulp_created, base_url, pulp_href, name, content_guard, pulp_labels].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.23.16'
14
+ VERSION = '3.23.17'
15
15
  end
@@ -32,31 +32,31 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' 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 "base_url"' do
41
+ describe 'test attribute "pulp_created"' 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_path"' do
47
+ describe 'test attribute "base_url"' 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 "name"' do
53
+ describe 'test attribute "pulp_href"' 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_labels"' do
59
+ describe 'test attribute "name"' 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,7 +68,7 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "pulp_href"' do
71
+ describe 'test attribute "pulp_labels"' 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.23.16
4
+ version: 3.23.17
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-23 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday