pulpcore_client 3.39.26 → 3.39.27

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: a908fe9d3a72f22d56fa34450852635c455f0746e96cefa718c6758e088a916c
4
- data.tar.gz: fda805298d3d23c4877251b1f84e21e0dfdd41ccc4baebb987d073409b7242cb
3
+ metadata.gz: 8f2c8ffac8f29352d72fa18f6425927a347a1d3aaff94c7a58d9dc0b91b0d8d0
4
+ data.tar.gz: cbbf67db5a1212770cdac71920695703fa33401437380f9e34428b5bdc74a61c
5
5
  SHA512:
6
- metadata.gz: 3ddd3016d5871227261dd90d3f946b800bb0e01a02f9298a9cbbd2e59bc9207e3fa21af2363b0e8a23f882ca7520d2c304032c61c565848acc1e62b5bdff17a0
7
- data.tar.gz: 8792da0629cdfacd7f705a727ec3fcc4a47051a78eb0709546fc000e3b0f3450935d6dde16c7cbe237beb29233c04c9a165185c58d4f372850c8a325f0bbcc46
6
+ metadata.gz: 6e62924ac7d40abcd35f9ad849cdb5b68e0f8936226ca63e5313dc2d9bcb8cc92a1a73075c23fab4cc1e8c7dc8e02807b6ee19061ae4d533ff28a05f46397287
7
+ data.tar.gz: bc759bac6a6154c2dabe89ad4fa995e4023fd6e330e99e63f994b262a2b55f1320843227f0d667f3935d9742c00ffee586c8ad7d2340b159e6946e2448a81cc1
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.39.26
10
+ - Package version: 3.39.27
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.39.26.gem
27
+ gem install ./pulpcore_client-3.39.27.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.39.26.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.39.27.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.39.26'
36
+ gem 'pulpcore_client', '~> 3.39.27'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
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
- **content_guard** | **String** | An optional content-guard. | [optional]
9
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
12
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
- **pulp_href** | **String** | | [optional] [readonly]
9
+ **content_guard** | **String** | An optional content-guard. | [optional]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
14
11
  **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
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
+ **pulp_href** | **String** | | [optional] [readonly]
14
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
22
+ name: null,
22
23
  content_guard: null,
23
- hidden: null,
24
- pulp_created: null,
25
24
  pulp_labels: null,
26
- name: null,
25
+ base_path: null,
26
+ base_url: null,
27
27
  pulp_href: null,
28
- base_path: null)
28
+ hidden: null)
29
29
  ```
30
30
 
31
31
 
@@ -15,53 +15,53 @@ 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
- # An optional content-guard.
22
- attr_accessor :content_guard
23
-
24
- # Whether this distribution should be shown in the content app.
25
- attr_accessor :hidden
26
-
27
18
  # Timestamp of creation.
28
19
  attr_accessor :pulp_created
29
20
 
30
- attr_accessor :pulp_labels
31
-
32
21
  # A unique name. Ex, `rawhide` and `stable`.
33
22
  attr_accessor :name
34
23
 
35
- attr_accessor :pulp_href
24
+ # An optional content-guard.
25
+ attr_accessor :content_guard
26
+
27
+ attr_accessor :pulp_labels
36
28
 
37
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
38
30
  attr_accessor :base_path
39
31
 
32
+ # The URL for accessing the publication as defined by this distribution.
33
+ attr_accessor :base_url
34
+
35
+ attr_accessor :pulp_href
36
+
37
+ # Whether this distribution should be shown in the content app.
38
+ attr_accessor :hidden
39
+
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'base_url' => :'base_url',
44
- :'content_guard' => :'content_guard',
45
- :'hidden' => :'hidden',
46
43
  :'pulp_created' => :'pulp_created',
47
- :'pulp_labels' => :'pulp_labels',
48
44
  :'name' => :'name',
45
+ :'content_guard' => :'content_guard',
46
+ :'pulp_labels' => :'pulp_labels',
47
+ :'base_path' => :'base_path',
48
+ :'base_url' => :'base_url',
49
49
  :'pulp_href' => :'pulp_href',
50
- :'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
- :'base_url' => :'String',
58
- :'content_guard' => :'String',
59
- :'hidden' => :'Boolean',
60
57
  :'pulp_created' => :'DateTime',
61
- :'pulp_labels' => :'Hash<String, String>',
62
58
  :'name' => :'String',
59
+ :'content_guard' => :'String',
60
+ :'pulp_labels' => :'Hash<String, String>',
61
+ :'base_path' => :'String',
62
+ :'base_url' => :'String',
63
63
  :'pulp_href' => :'String',
64
- :'base_path' => :'String'
64
+ :'hidden' => :'Boolean'
65
65
  }
66
66
  end
67
67
 
@@ -87,22 +87,16 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'base_url')
91
- self.base_url = attributes[:'base_url']
92
- end
93
-
94
- if attributes.key?(:'content_guard')
95
- self.content_guard = attributes[:'content_guard']
90
+ if attributes.key?(:'pulp_created')
91
+ self.pulp_created = attributes[:'pulp_created']
96
92
  end
97
93
 
98
- if attributes.key?(:'hidden')
99
- self.hidden = attributes[:'hidden']
100
- else
101
- self.hidden = false
94
+ if attributes.key?(:'name')
95
+ self.name = attributes[:'name']
102
96
  end
103
97
 
104
- if attributes.key?(:'pulp_created')
105
- self.pulp_created = attributes[:'pulp_created']
98
+ if attributes.key?(:'content_guard')
99
+ self.content_guard = attributes[:'content_guard']
106
100
  end
107
101
 
108
102
  if attributes.key?(:'pulp_labels')
@@ -111,16 +105,22 @@ module PulpcoreClient
111
105
  end
112
106
  end
113
107
 
114
- if attributes.key?(:'name')
115
- self.name = attributes[:'name']
108
+ if attributes.key?(:'base_path')
109
+ self.base_path = attributes[:'base_path']
110
+ end
111
+
112
+ if attributes.key?(:'base_url')
113
+ self.base_url = attributes[:'base_url']
116
114
  end
117
115
 
118
116
  if attributes.key?(:'pulp_href')
119
117
  self.pulp_href = attributes[:'pulp_href']
120
118
  end
121
119
 
122
- if attributes.key?(:'base_path')
123
- self.base_path = attributes[:'base_path']
120
+ if attributes.key?(:'hidden')
121
+ self.hidden = attributes[:'hidden']
122
+ else
123
+ self.hidden = false
124
124
  end
125
125
  end
126
126
 
@@ -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
- base_url == o.base_url &&
156
- content_guard == o.content_guard &&
157
- hidden == o.hidden &&
158
155
  pulp_created == o.pulp_created &&
159
- pulp_labels == o.pulp_labels &&
160
156
  name == o.name &&
157
+ content_guard == o.content_guard &&
158
+ pulp_labels == o.pulp_labels &&
159
+ base_path == o.base_path &&
160
+ base_url == o.base_url &&
161
161
  pulp_href == o.pulp_href &&
162
- 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
- [base_url, content_guard, hidden, pulp_created, pulp_labels, name, pulp_href, base_path].hash
174
+ [pulp_created, name, content_guard, pulp_labels, base_path, base_url, pulp_href, hidden].hash
175
175
  end
176
176
 
177
177
  # 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.39.26'
14
+ VERSION = '3.39.27'
15
15
  end
@@ -32,37 +32,37 @@ 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 "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
39
39
  end
40
40
 
41
- describe 'test attribute "content_guard"' do
41
+ describe 'test attribute "name"' 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 "hidden"' do
47
+ describe 'test attribute "content_guard"' 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_created"' 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_labels"' do
59
+ describe 'test attribute "base_path"' 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 "base_url"' 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
@@ -74,7 +74,7 @@ describe 'ArtifactDistributionResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "base_path"' 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
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.39.26
4
+ version: 3.39.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-18 00:00:00.000000000 Z
11
+ date: 2025-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday