pulpcore_client 3.22.32 → 3.22.34

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: 81949261dca15757a9d327bda1546842bef125686abd9210b8d6a13be5205572
4
- data.tar.gz: a845d6c536101658c87608f5e50c0f2bf47f83efa4529aaf7c24c79d2d3fd4b2
3
+ metadata.gz: d95bcbcfbff0baf6b152ae7189756ae8936f41068dc3a48cb1acf6a6ca4f72fa
4
+ data.tar.gz: 021a00e6422b2cba3266058c4f052f6b01dfd8cf1915c69aac511dedbcda3c84
5
5
  SHA512:
6
- metadata.gz: 8c00b00514da10ae1f05b7b89b8c95eec62dd2150d6cbe275b76626d216842e291ef78eb3a5693f7972161931fffe4a75c93c27a81c6c6f137523a4c8aea2522
7
- data.tar.gz: ffd0a3e9f4dba3e93da790c58281bb1c30659a28ca85adf4bbff997eba9296fd48e825fc7aa9c1574b9e364b1d283d8722e41269394b6264a3f0f1dc2a25e5d1
6
+ metadata.gz: 5c454399875da4d59d15ab86f0b7476714620e9526e1bb351f9469ff452b0ec0be519fc1de42c128c58669b9430efcd1983c1f138044bfd0ce5f31de1569aa1a
7
+ data.tar.gz: b9f6f06409371be869c14db1009f8e3795163ca97dbbc23944930fa6dfccb7d2ac3ee56116ec905b1e9d6974c9ea5d1558aa349dba42976565f947cf52f3767b
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.32
10
+ - Package version: 3.22.34
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.32.gem
27
+ gem install ./pulpcore_client-3.22.34.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.22.32.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.22.34.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.32'
36
+ gem 'pulpcore_client', '~> 3.22.34'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,12 +5,12 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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_href** | **String** | | [optional] [readonly]
11
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\") |
12
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
+ **pulp_href** | **String** | | [optional] [readonly]
11
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
12
  **content_guard** | **String** | An optional content-guard. | [optional]
13
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
14
14
 
15
15
  ## Code Sample
16
16
 
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
18
18
  require 'PulpcoreClient'
19
19
 
20
20
  instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
21
- base_url: null,
22
- name: null,
23
- pulp_href: null,
24
21
  base_path: null,
25
22
  pulp_labels: null,
26
- content_guard: null)
23
+ pulp_href: null,
24
+ base_url: null,
25
+ content_guard: null,
26
+ name: null)
27
27
  ```
28
28
 
29
29
 
@@ -18,32 +18,32 @@ module PulpcoreClient
18
18
  # Timestamp of creation.
19
19
  attr_accessor :pulp_created
20
20
 
21
- # The URL for accessing the publication as defined by this distribution.
22
- attr_accessor :base_url
23
-
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
26
-
27
- attr_accessor :pulp_href
28
-
29
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\")
30
22
  attr_accessor :base_path
31
23
 
32
24
  attr_accessor :pulp_labels
33
25
 
26
+ attr_accessor :pulp_href
27
+
28
+ # The URL for accessing the publication as defined by this distribution.
29
+ attr_accessor :base_url
30
+
34
31
  # An optional content-guard.
35
32
  attr_accessor :content_guard
36
33
 
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
+
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
40
  :'pulp_created' => :'pulp_created',
41
- :'base_url' => :'base_url',
42
- :'name' => :'name',
43
- :'pulp_href' => :'pulp_href',
44
41
  :'base_path' => :'base_path',
45
42
  :'pulp_labels' => :'pulp_labels',
46
- :'content_guard' => :'content_guard'
43
+ :'pulp_href' => :'pulp_href',
44
+ :'base_url' => :'base_url',
45
+ :'content_guard' => :'content_guard',
46
+ :'name' => :'name'
47
47
  }
48
48
  end
49
49
 
@@ -51,19 +51,19 @@ module PulpcoreClient
51
51
  def self.openapi_types
52
52
  {
53
53
  :'pulp_created' => :'DateTime',
54
- :'base_url' => :'String',
55
- :'name' => :'String',
56
- :'pulp_href' => :'String',
57
54
  :'base_path' => :'String',
58
55
  :'pulp_labels' => :'Hash<String, String>',
59
- :'content_guard' => :'String'
56
+ :'pulp_href' => :'String',
57
+ :'base_url' => :'String',
58
+ :'content_guard' => :'String',
59
+ :'name' => :'String'
60
60
  }
61
61
  end
62
62
 
63
63
  # List of attributes with nullable: true
64
64
  def self.openapi_nullable
65
65
  Set.new([
66
- :'content_guard'
66
+ :'content_guard',
67
67
  ])
68
68
  end
69
69
 
@@ -86,18 +86,6 @@ module PulpcoreClient
86
86
  self.pulp_created = attributes[:'pulp_created']
87
87
  end
88
88
 
89
- if attributes.key?(:'base_url')
90
- self.base_url = attributes[:'base_url']
91
- end
92
-
93
- if attributes.key?(:'name')
94
- self.name = attributes[:'name']
95
- end
96
-
97
- if attributes.key?(:'pulp_href')
98
- self.pulp_href = attributes[:'pulp_href']
99
- end
100
-
101
89
  if attributes.key?(:'base_path')
102
90
  self.base_path = attributes[:'base_path']
103
91
  end
@@ -108,31 +96,43 @@ module PulpcoreClient
108
96
  end
109
97
  end
110
98
 
99
+ if attributes.key?(:'pulp_href')
100
+ self.pulp_href = attributes[:'pulp_href']
101
+ end
102
+
103
+ if attributes.key?(:'base_url')
104
+ self.base_url = attributes[:'base_url']
105
+ end
106
+
111
107
  if attributes.key?(:'content_guard')
112
108
  self.content_guard = attributes[:'content_guard']
113
109
  end
110
+
111
+ if attributes.key?(:'name')
112
+ self.name = attributes[:'name']
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 @name.nil?
121
- invalid_properties.push('invalid value for "name", name cannot be nil.')
122
- end
123
-
124
120
  if @base_path.nil?
125
121
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
126
122
  end
127
123
 
124
+ if @name.nil?
125
+ invalid_properties.push('invalid value for "name", name 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 @name.nil?
135
134
  return false if @base_path.nil?
135
+ return false if @name.nil?
136
136
  true
137
137
  end
138
138
 
@@ -142,12 +142,12 @@ module PulpcoreClient
142
142
  return true if self.equal?(o)
143
143
  self.class == o.class &&
144
144
  pulp_created == o.pulp_created &&
145
- base_url == o.base_url &&
146
- name == o.name &&
147
- pulp_href == o.pulp_href &&
148
145
  base_path == o.base_path &&
149
146
  pulp_labels == o.pulp_labels &&
150
- content_guard == o.content_guard
147
+ pulp_href == o.pulp_href &&
148
+ base_url == o.base_url &&
149
+ content_guard == o.content_guard &&
150
+ name == o.name
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, name, pulp_href, base_path, pulp_labels, content_guard].hash
162
+ [pulp_created, base_path, pulp_labels, pulp_href, base_url, content_guard, name].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.32'
14
+ VERSION = '3.22.34'
15
15
  end
@@ -38,13 +38,13 @@ describe 'ArtifactDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_url"' 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 "name"' do
47
+ describe 'test attribute "pulp_labels"' 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
@@ -56,19 +56,19 @@ describe 'ArtifactDistributionResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "base_path"' do
59
+ describe 'test attribute "base_url"' 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 "content_guard"' 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 "content_guard"' 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
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.32
4
+ version: 3.22.34
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-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday