pulpcore_client 3.45.2 → 3.45.3

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: 20a44faee87151339906683474f5840c72248389d373a49e67c5f797f2886c1e
4
- data.tar.gz: 071a87d055070722552052898c0af39f2f81593b474652067635374afe9210d8
3
+ metadata.gz: 395ccd39e106fa6d04514f072405dd9fce7b3098e4875566933b562cc4d95cdc
4
+ data.tar.gz: 61ba545fbb3e7cc87419de303120c7dcbb68771c75d5f9dd322594684d684032
5
5
  SHA512:
6
- metadata.gz: 2b2d42759b80eea849bfc9e9084c7f925350ef3310cbef98aa09631c814d83f85f84ded47e45ebf3c0b17b18ccc9ac5b967ac27adfe4122d9cef1d8e4ec4271d
7
- data.tar.gz: 52f9026bdd44be930e63a9c59760a748f752289754f4580e084d72b90ab059ccd0f0f7d3496aff396db876d857a369f518dc716ee07d1271e874ff2dbf577824
6
+ metadata.gz: d22b3094d6b26dbe49f0e7b149b21600c8e40c4e783e71bdb4bfa244fb6d9cdd63afa03b27e5d26deaaf5ba39fa69eae3e5ad66d2cb6d44a79e1db951b801026
7
+ data.tar.gz: b12740c795a31316ca82ec04eec620187438befc30b0ee6f25d039bce8e2aa492c3d03f62cb212dbf9e159d346e9453f3cf19fc26e59cb7926d4976de473b789
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.45.2
10
+ - Package version: 3.45.3
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.45.2.gem
27
+ gem install ./pulpcore_client-3.45.3.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.45.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.45.3.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.45.2'
36
+ gem 'pulpcore_client', '~> 3.45.3'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **content_guard** | **String** | An optional content-guard. | [optional]
7
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
8
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\") |
9
10
  **pulp_href** | **String** | | [optional] [readonly]
10
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
12
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
- **content_guard** | **String** | An optional content-guard. | [optional]
13
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
14
13
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
14
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
22
+ pulp_labels: null,
22
23
  base_path: null,
23
24
  pulp_href: null,
24
25
  name: null,
25
26
  pulp_created: null,
26
- content_guard: null,
27
- base_url: null,
28
- hidden: null)
27
+ hidden: null,
28
+ base_url: null)
29
29
  ```
30
30
 
31
31
 
@@ -15,6 +15,9 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
+ # An optional content-guard.
19
+ attr_accessor :content_guard
20
+
18
21
  attr_accessor :pulp_labels
19
22
 
20
23
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
@@ -28,40 +31,37 @@ module PulpcoreClient
28
31
  # Timestamp of creation.
29
32
  attr_accessor :pulp_created
30
33
 
31
- # An optional content-guard.
32
- attr_accessor :content_guard
34
+ # Whether this distribution should be shown in the content app.
35
+ attr_accessor :hidden
33
36
 
34
37
  # The URL for accessing the publication as defined by this distribution.
35
38
  attr_accessor :base_url
36
39
 
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
+ :'content_guard' => :'content_guard',
43
44
  :'pulp_labels' => :'pulp_labels',
44
45
  :'base_path' => :'base_path',
45
46
  :'pulp_href' => :'pulp_href',
46
47
  :'name' => :'name',
47
48
  :'pulp_created' => :'pulp_created',
48
- :'content_guard' => :'content_guard',
49
- :'base_url' => :'base_url',
50
- :'hidden' => :'hidden'
49
+ :'hidden' => :'hidden',
50
+ :'base_url' => :'base_url'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
+ :'content_guard' => :'String',
57
58
  :'pulp_labels' => :'Hash<String, String>',
58
59
  :'base_path' => :'String',
59
60
  :'pulp_href' => :'String',
60
61
  :'name' => :'String',
61
62
  :'pulp_created' => :'DateTime',
62
- :'content_guard' => :'String',
63
- :'base_url' => :'String',
64
- :'hidden' => :'Boolean'
63
+ :'hidden' => :'Boolean',
64
+ :'base_url' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -87,6 +87,10 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
+ if attributes.key?(:'content_guard')
91
+ self.content_guard = attributes[:'content_guard']
92
+ end
93
+
90
94
  if attributes.key?(:'pulp_labels')
91
95
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
96
  self.pulp_labels = value
@@ -109,19 +113,15 @@ module PulpcoreClient
109
113
  self.pulp_created = attributes[:'pulp_created']
110
114
  end
111
115
 
112
- if attributes.key?(:'content_guard')
113
- self.content_guard = attributes[:'content_guard']
114
- end
115
-
116
- if attributes.key?(:'base_url')
117
- self.base_url = attributes[:'base_url']
118
- end
119
-
120
116
  if attributes.key?(:'hidden')
121
117
  self.hidden = attributes[:'hidden']
122
118
  else
123
119
  self.hidden = false
124
120
  end
121
+
122
+ if attributes.key?(:'base_url')
123
+ self.base_url = attributes[:'base_url']
124
+ end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -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
+ content_guard == o.content_guard &&
155
156
  pulp_labels == o.pulp_labels &&
156
157
  base_path == o.base_path &&
157
158
  pulp_href == o.pulp_href &&
158
159
  name == o.name &&
159
160
  pulp_created == o.pulp_created &&
160
- content_guard == o.content_guard &&
161
- base_url == o.base_url &&
162
- hidden == o.hidden
161
+ hidden == o.hidden &&
162
+ base_url == o.base_url
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
- [pulp_labels, base_path, pulp_href, name, pulp_created, content_guard, base_url, hidden].hash
174
+ [content_guard, pulp_labels, base_path, pulp_href, name, pulp_created, hidden, base_url].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.45.2'
14
+ VERSION = '3.45.3'
15
15
  end
@@ -32,6 +32,12 @@ 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
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
35
41
  describe 'test attribute "pulp_labels"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,7 +68,7 @@ describe 'ArtifactDistributionResponse' do
62
68
  end
63
69
  end
64
70
 
65
- describe 'test attribute "content_guard"' do
71
+ describe 'test attribute "hidden"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
74
  end
@@ -74,10 +80,4 @@ describe 'ArtifactDistributionResponse' do
74
80
  end
75
81
  end
76
82
 
77
- describe 'test attribute "hidden"' do
78
- it 'should work' do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- end
81
- end
82
-
83
83
  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.45.2
4
+ version: 3.45.3
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-02-13 00:00:00.000000000 Z
11
+ date: 2024-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday