pulpcore_client 3.25.1 → 3.26.1

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: 801531332ae8e701ab201787c570cbb0141d8cd8a8931a50fed32e70d3e2853d
4
- data.tar.gz: 80ce5a630c381539e91b0e98861aa57335b1ef8577bce458dde3a803307ee318
3
+ metadata.gz: 1a2ac14bd18f1bc24ef27a99299207b526831df14d8d246cc49fe608bc41a806
4
+ data.tar.gz: 70b97cf2edf2e826688ad9313681865c2678fa87453c152573d8a1337969a654
5
5
  SHA512:
6
- metadata.gz: 4df6b54932844de8fa251178e468848a34d0ee81194af5a9a1d8c31420ab602b902499bab9cb9fefd57efbe2697b7c0e2836fe8924588ec61438b378e480f2a3
7
- data.tar.gz: 1dc8fe54985844e892c31a0c545a2e8e5f0353ee9663b70fddc99ae097cff1397c0d63b310b3d7f462e3fd2db29fe2a45dc17e7a6746b89f3b8dc8eb40a894b4
6
+ metadata.gz: 12fcee0b71d8dd25faeae10f369d447a625aef551cbf83c54891e5c0e4dc204c29d90b5139a3de0307190b05ada6f22ef061e363bc22c2a6170c5c8bece3f90c
7
+ data.tar.gz: e8554679fc2808996a63291ef306a6cfbc0c5c38410ef64df9988c6d3ec8e56b5feb6cea4df9f139691cec47ef3531711435f6bad7b5a24fb476bc22fd0b3a6c
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.25.1
10
+ - Package version: 3.26.1
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.25.1.gem
27
+ gem install ./pulpcore_client-3.26.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.25.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.26.1.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.25.1'
36
+ gem 'pulpcore_client', '~> 3.26.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **pulp_href** | **String** | | [optional] [readonly]
7
+ **content_guard** | **String** | An optional content-guard. | [optional]
9
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
- **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\") |
11
9
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
12
- **content_guard** | **String** | An optional content-guard. | [optional]
13
10
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **pulp_href** | **String** | | [optional] [readonly]
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\") |
14
14
 
15
15
  ## Code Sample
16
16
 
17
17
  ```ruby
18
18
  require 'PulpcoreClient'
19
19
 
20
- instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
21
- pulp_href: null,
20
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
22
21
  name: null,
23
- base_path: null,
24
22
  base_url: null,
25
- content_guard: null,
26
- pulp_labels: null)
23
+ pulp_labels: null,
24
+ pulp_created: null,
25
+ pulp_href: null,
26
+ base_path: 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
- # Timestamp of creation.
19
- attr_accessor :pulp_created
20
-
21
- attr_accessor :pulp_href
18
+ # An optional content-guard.
19
+ attr_accessor :content_guard
22
20
 
23
21
  # A unique name. Ex, `rawhide` and `stable`.
24
22
  attr_accessor :name
25
23
 
26
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
- attr_accessor :base_path
28
-
29
24
  # The URL for accessing the publication as defined by this distribution.
30
25
  attr_accessor :base_url
31
26
 
32
- # An optional content-guard.
33
- attr_accessor :content_guard
34
-
35
27
  attr_accessor :pulp_labels
36
28
 
29
+ # Timestamp of creation.
30
+ attr_accessor :pulp_created
31
+
32
+ attr_accessor :pulp_href
33
+
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
36
+
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
- :'pulp_created' => :'pulp_created',
41
- :'pulp_href' => :'pulp_href',
40
+ :'content_guard' => :'content_guard',
42
41
  :'name' => :'name',
43
- :'base_path' => :'base_path',
44
42
  :'base_url' => :'base_url',
45
- :'content_guard' => :'content_guard',
46
- :'pulp_labels' => :'pulp_labels'
43
+ :'pulp_labels' => :'pulp_labels',
44
+ :'pulp_created' => :'pulp_created',
45
+ :'pulp_href' => :'pulp_href',
46
+ :'base_path' => :'base_path'
47
47
  }
48
48
  end
49
49
 
50
50
  # Attribute type mapping.
51
51
  def self.openapi_types
52
52
  {
53
- :'pulp_created' => :'DateTime',
54
- :'pulp_href' => :'String',
53
+ :'content_guard' => :'String',
55
54
  :'name' => :'String',
56
- :'base_path' => :'String',
57
55
  :'base_url' => :'String',
58
- :'content_guard' => :'String',
59
- :'pulp_labels' => :'Hash<String, String>'
56
+ :'pulp_labels' => :'Hash<String, String>',
57
+ :'pulp_created' => :'DateTime',
58
+ :'pulp_href' => :'String',
59
+ :'base_path' => :'String'
60
60
  }
61
61
  end
62
62
 
@@ -82,35 +82,35 @@ module PulpcoreClient
82
82
  h[k.to_sym] = v
83
83
  }
84
84
 
85
- if attributes.key?(:'pulp_created')
86
- self.pulp_created = attributes[:'pulp_created']
87
- end
88
-
89
- if attributes.key?(:'pulp_href')
90
- self.pulp_href = attributes[:'pulp_href']
85
+ if attributes.key?(:'content_guard')
86
+ self.content_guard = attributes[:'content_guard']
91
87
  end
92
88
 
93
89
  if attributes.key?(:'name')
94
90
  self.name = attributes[:'name']
95
91
  end
96
92
 
97
- if attributes.key?(:'base_path')
98
- self.base_path = attributes[:'base_path']
99
- end
100
-
101
93
  if attributes.key?(:'base_url')
102
94
  self.base_url = attributes[:'base_url']
103
95
  end
104
96
 
105
- if attributes.key?(:'content_guard')
106
- self.content_guard = attributes[:'content_guard']
107
- end
108
-
109
97
  if attributes.key?(:'pulp_labels')
110
98
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
99
  self.pulp_labels = value
112
100
  end
113
101
  end
102
+
103
+ if attributes.key?(:'pulp_created')
104
+ self.pulp_created = attributes[:'pulp_created']
105
+ end
106
+
107
+ if attributes.key?(:'pulp_href')
108
+ self.pulp_href = attributes[:'pulp_href']
109
+ end
110
+
111
+ if attributes.key?(:'base_path')
112
+ self.base_path = attributes[:'base_path']
113
+ end
114
114
  end
115
115
 
116
116
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -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
- pulp_created == o.pulp_created &&
145
- pulp_href == o.pulp_href &&
144
+ content_guard == o.content_guard &&
146
145
  name == o.name &&
147
- base_path == o.base_path &&
148
146
  base_url == o.base_url &&
149
- content_guard == o.content_guard &&
150
- pulp_labels == o.pulp_labels
147
+ pulp_labels == o.pulp_labels &&
148
+ pulp_created == o.pulp_created &&
149
+ pulp_href == o.pulp_href &&
150
+ base_path == o.base_path
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, pulp_href, name, base_path, base_url, content_guard, pulp_labels].hash
162
+ [content_guard, name, base_url, pulp_labels, pulp_created, pulp_href, base_path].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.25.1'
14
+ VERSION = '3.26.1'
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 "pulp_created"' do
35
+ describe 'test attribute "content_guard"' 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 "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 "name"' 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 "base_path"' 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 "base_url"' do
59
+ describe 'test attribute "pulp_created"' 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 "content_guard"' 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_path"' 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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.25.1
4
+ version: 3.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator