pulpcore_client 3.22.6 → 3.22.7

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