pulpcore_client 3.28.17 → 3.28.18

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: 2772bdc6404c60a370a7243be6c081f890744bb3a8bf0c72c31e63e7583031b2
4
- data.tar.gz: 6191d90f42b0d869214f43f4f6827e758f5e001fd32087d95745903110268c82
3
+ metadata.gz: 55dd7837aa0b7d86aea0593ff5a49ad819406330cfd186be85a03563b8994654
4
+ data.tar.gz: cfa3087cffee9266785c48e3caa15258b51e8ba5ad32e00c48c869e1d12eb82c
5
5
  SHA512:
6
- metadata.gz: 1538682319c6148c42296de3d51d43a0dd76af3ade606ccf647b38fc5f7316a3ac038d7146dd9cfdb8f9a1add36c73e2d33947d05986c89007281df21614b405
7
- data.tar.gz: ccf454f855be7c62b8d3d4b03b03ef141c1859669ec163b80dea9810d1c3673f1e5c2956cc442cbba679251de833ff03b15eb37f0ae21b37a1e97f7a832623a3
6
+ metadata.gz: af52d6a825ac8d70c84efa208fd436328a0518a17710329b3a9170eb69f2fe88d13a346ac6f958e644d19f93ab1bed53a52a1050181fb89cd0460670c72d22b3
7
+ data.tar.gz: 19d081cdb8518e200d5b37378296f93380f8441ddf188237beb490e80046f7777e32d20c7a1eaa6052ba61bcaf9b5cbd131685e7e1a00bd14f9498d38a5383da
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.28.17
10
+ - Package version: 3.28.18
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.28.17.gem
27
+ gem install ./pulpcore_client-3.28.18.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.28.17.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.28.18.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.28.17'
36
+ gem 'pulpcore_client', '~> 3.28.18'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
9
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
10
9
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
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
+ **pulp_href** | **String** | | [optional] [readonly]
13
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
14
  **pulp_labels** | **Hash<String, String>** | | [optional]
14
- **content_guard** | **String** | An optional content-guard. | [optional]
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
22
- base_url: null,
23
- pulp_created: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
22
+ content_guard: null,
24
23
  hidden: null,
25
24
  name: null,
26
25
  base_path: null,
27
- pulp_labels: null,
28
- content_guard: null)
26
+ pulp_href: null,
27
+ base_url: null,
28
+ pulp_labels: null)
29
29
  ```
30
30
 
31
31
 
@@ -15,14 +15,12 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- attr_accessor :pulp_href
19
-
20
- # The URL for accessing the publication as defined by this distribution.
21
- attr_accessor :base_url
22
-
23
18
  # Timestamp of creation.
24
19
  attr_accessor :pulp_created
25
20
 
21
+ # An optional content-guard.
22
+ attr_accessor :content_guard
23
+
26
24
  # Whether this distribution should be shown in the content app.
27
25
  attr_accessor :hidden
28
26
 
@@ -32,43 +30,45 @@ module PulpcoreClient
32
30
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
31
  attr_accessor :base_path
34
32
 
35
- attr_accessor :pulp_labels
33
+ attr_accessor :pulp_href
36
34
 
37
- # An optional content-guard.
38
- attr_accessor :content_guard
35
+ # The URL for accessing the publication as defined by this distribution.
36
+ attr_accessor :base_url
37
+
38
+ attr_accessor :pulp_labels
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'pulp_href' => :'pulp_href',
44
- :'base_url' => :'base_url',
45
43
  :'pulp_created' => :'pulp_created',
44
+ :'content_guard' => :'content_guard',
46
45
  :'hidden' => :'hidden',
47
46
  :'name' => :'name',
48
47
  :'base_path' => :'base_path',
49
- :'pulp_labels' => :'pulp_labels',
50
- :'content_guard' => :'content_guard'
48
+ :'pulp_href' => :'pulp_href',
49
+ :'base_url' => :'base_url',
50
+ :'pulp_labels' => :'pulp_labels'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'pulp_href' => :'String',
58
- :'base_url' => :'String',
59
57
  :'pulp_created' => :'DateTime',
58
+ :'content_guard' => :'String',
60
59
  :'hidden' => :'Boolean',
61
60
  :'name' => :'String',
62
61
  :'base_path' => :'String',
63
- :'pulp_labels' => :'Hash<String, String>',
64
- :'content_guard' => :'String'
62
+ :'pulp_href' => :'String',
63
+ :'base_url' => :'String',
64
+ :'pulp_labels' => :'Hash<String, String>'
65
65
  }
66
66
  end
67
67
 
68
68
  # List of attributes with nullable: true
69
69
  def self.openapi_nullable
70
70
  Set.new([
71
- :'content_guard'
71
+ :'content_guard',
72
72
  ])
73
73
  end
74
74
 
@@ -87,18 +87,14 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'pulp_href')
91
- self.pulp_href = attributes[:'pulp_href']
92
- end
93
-
94
- if attributes.key?(:'base_url')
95
- self.base_url = attributes[:'base_url']
96
- end
97
-
98
90
  if attributes.key?(:'pulp_created')
99
91
  self.pulp_created = attributes[:'pulp_created']
100
92
  end
101
93
 
94
+ if attributes.key?(:'content_guard')
95
+ self.content_guard = attributes[:'content_guard']
96
+ end
97
+
102
98
  if attributes.key?(:'hidden')
103
99
  self.hidden = attributes[:'hidden']
104
100
  else
@@ -113,15 +109,19 @@ module PulpcoreClient
113
109
  self.base_path = attributes[:'base_path']
114
110
  end
115
111
 
112
+ if attributes.key?(:'pulp_href')
113
+ self.pulp_href = attributes[:'pulp_href']
114
+ end
115
+
116
+ if attributes.key?(:'base_url')
117
+ self.base_url = attributes[:'base_url']
118
+ end
119
+
116
120
  if attributes.key?(:'pulp_labels')
117
121
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
122
  self.pulp_labels = value
119
123
  end
120
124
  end
121
-
122
- if attributes.key?(:'content_guard')
123
- self.content_guard = attributes[:'content_guard']
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
- pulp_href == o.pulp_href &&
156
- base_url == o.base_url &&
157
155
  pulp_created == o.pulp_created &&
156
+ content_guard == o.content_guard &&
158
157
  hidden == o.hidden &&
159
158
  name == o.name &&
160
159
  base_path == o.base_path &&
161
- pulp_labels == o.pulp_labels &&
162
- content_guard == o.content_guard
160
+ pulp_href == o.pulp_href &&
161
+ base_url == o.base_url &&
162
+ pulp_labels == o.pulp_labels
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_href, base_url, pulp_created, hidden, name, base_path, pulp_labels, content_guard].hash
174
+ [pulp_created, content_guard, hidden, name, base_path, pulp_href, base_url, pulp_labels].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.28.17'
14
+ VERSION = '3.28.18'
15
15
  end
@@ -32,49 +32,49 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_href"' 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 "base_url"' do
41
+ describe 'test attribute "content_guard"' 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 "hidden"' 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 "hidden"' do
53
+ describe 'test attribute "name"' 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 "name"' 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 "base_path"' 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 "pulp_labels"' do
71
+ describe 'test attribute "base_url"' 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
75
75
  end
76
76
 
77
- describe 'test attribute "content_guard"' do
77
+ describe 'test attribute "pulp_labels"' 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.28.17
4
+ version: 3.28.18
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-10-05 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday