pulpcore_client 3.23.10 → 3.23.12

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: 46edffb3143859d608e68a9ade36014269baef95136b837e10430b18e5b6e10b
4
- data.tar.gz: eb3fd5a5ca46383cf750969b1908e49c101ad637de48f78a6f4ffe43e5a11e90
3
+ metadata.gz: ffd40ca9c0ead3d03181783c8a52d200eafd0397569c045c6f374ab20efb76d2
4
+ data.tar.gz: c5b5d3e2b10ac24773275e0b4ca0dfa34d5cc97bd4459e16a9dd7602ca323d5b
5
5
  SHA512:
6
- metadata.gz: '09e6e0a89bfb925057e917ef7f4dc1bf26a14d7b3079e3258e179197c321aeaa4c123f7a09fef15f067b62a1205fd7ad52f7439b5b917539fa272b4f761cdcf3'
7
- data.tar.gz: 97ad41b858a23c1ddfc804ece610c6ace55703eb862c6c9626508f03dd6c294362575049adcea093a0584cfb01a58fbed03dc3ac48bb5b47227d0e3d11a8b176
6
+ metadata.gz: 2a1dec5a8b01fda335c285d43fc651bd17523ea8564643c8bdcd65a2945f56126688396d6ce7b4a5b5d4608f13b10329d7ec0e57dd22fc27fb08cd9bf87562a6
7
+ data.tar.gz: b9bf6b558967e7d50d41cc0335073f72f8e4a0743a3eff165ad7486813c7a7acfcf6ef00d0b1aac70240b21989e148dd2044fd6cfa28bc55ec60fa1fe423722a
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.23.10
10
+ - Package version: 3.23.12
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.23.10.gem
27
+ gem install ./pulpcore_client-3.23.12.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.23.10.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.23.12.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.23.10'
36
+ gem 'pulpcore_client', '~> 3.23.12'
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_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **content_guard** | **String** | An optional content-guard. | [optional]
7
10
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
- **content_guard** | **String** | An optional content-guard. | [optional]
10
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\") |
11
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
- **pulp_labels** | **Hash<String, String>** | | [optional]
13
- **pulp_href** | **String** | | [optional] [readonly]
14
14
 
15
15
  ## Code Sample
16
16
 
17
17
  ```ruby
18
18
  require 'PulpcoreClient'
19
19
 
20
- instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
21
- name: null,
22
- content_guard: null,
23
- base_path: null,
20
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
24
21
  pulp_created: null,
22
+ content_guard: null,
23
+ base_url: null,
25
24
  pulp_labels: null,
26
- pulp_href: null)
25
+ name: null,
26
+ base_path: null)
27
27
  ```
28
28
 
29
29
 
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
296
296
 
297
297
  ## replicate
298
298
 
299
- > AsyncOperationResponse replicate(upstream_pulp_href)
299
+ > TaskGroupOperationResponse replicate(upstream_pulp_href)
300
300
 
301
301
  Replicate
302
302
 
@@ -335,7 +335,7 @@ Name | Type | Description | Notes
335
335
 
336
336
  ### Return type
337
337
 
338
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
338
+ [**TaskGroupOperationResponse**](TaskGroupOperationResponse.md)
339
339
 
340
340
  ### Authorization
341
341
 
@@ -353,7 +353,7 @@ module PulpcoreClient
353
353
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
354
354
  # @param upstream_pulp_href [String]
355
355
  # @param [Hash] opts the optional parameters
356
- # @return [AsyncOperationResponse]
356
+ # @return [TaskGroupOperationResponse]
357
357
  def replicate(upstream_pulp_href, opts = {})
358
358
  data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
359
359
  data
@@ -363,7 +363,7 @@ module PulpcoreClient
363
363
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
364
364
  # @param upstream_pulp_href [String]
365
365
  # @param [Hash] opts the optional parameters
366
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
366
+ # @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
367
367
  def replicate_with_http_info(upstream_pulp_href, opts = {})
368
368
  if @api_client.config.debugging
369
369
  @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.replicate ...'
@@ -390,7 +390,7 @@ module PulpcoreClient
390
390
  post_body = opts[:body]
391
391
 
392
392
  # return_type
393
- return_type = opts[:return_type] || 'AsyncOperationResponse'
393
+ return_type = opts[:return_type] || 'TaskGroupOperationResponse'
394
394
 
395
395
  # auth_names
396
396
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -15,48 +15,48 @@ 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
18
+ attr_accessor :pulp_href
20
19
 
21
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
20
+ # Timestamp of creation.
21
+ attr_accessor :pulp_created
23
22
 
24
23
  # An optional content-guard.
25
24
  attr_accessor :content_guard
26
25
 
27
- # 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
- attr_accessor :base_path
29
-
30
- # Timestamp of creation.
31
- attr_accessor :pulp_created
26
+ # The URL for accessing the publication as defined by this distribution.
27
+ attr_accessor :base_url
32
28
 
33
29
  attr_accessor :pulp_labels
34
30
 
35
- attr_accessor :pulp_href
31
+ # A unique name. Ex, `rawhide` and `stable`.
32
+ attr_accessor :name
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
36
 
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
- :'base_url' => :'base_url',
41
- :'name' => :'name',
42
- :'content_guard' => :'content_guard',
43
- :'base_path' => :'base_path',
40
+ :'pulp_href' => :'pulp_href',
44
41
  :'pulp_created' => :'pulp_created',
42
+ :'content_guard' => :'content_guard',
43
+ :'base_url' => :'base_url',
45
44
  :'pulp_labels' => :'pulp_labels',
46
- :'pulp_href' => :'pulp_href'
45
+ :'name' => :'name',
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
- :'base_url' => :'String',
54
- :'name' => :'String',
55
- :'content_guard' => :'String',
56
- :'base_path' => :'String',
53
+ :'pulp_href' => :'String',
57
54
  :'pulp_created' => :'DateTime',
55
+ :'content_guard' => :'String',
56
+ :'base_url' => :'String',
58
57
  :'pulp_labels' => :'Hash<String, String>',
59
- :'pulp_href' => :'String'
58
+ :'name' => :'String',
59
+ :'base_path' => :'String'
60
60
  }
61
61
  end
62
62
 
@@ -82,24 +82,20 @@ module PulpcoreClient
82
82
  h[k.to_sym] = v
83
83
  }
84
84
 
85
- if attributes.key?(:'base_url')
86
- self.base_url = attributes[:'base_url']
85
+ if attributes.key?(:'pulp_href')
86
+ self.pulp_href = attributes[:'pulp_href']
87
87
  end
88
88
 
89
- if attributes.key?(:'name')
90
- self.name = attributes[:'name']
89
+ if attributes.key?(:'pulp_created')
90
+ self.pulp_created = attributes[:'pulp_created']
91
91
  end
92
92
 
93
93
  if attributes.key?(:'content_guard')
94
94
  self.content_guard = attributes[:'content_guard']
95
95
  end
96
96
 
97
- if attributes.key?(:'base_path')
98
- self.base_path = attributes[:'base_path']
99
- end
100
-
101
- if attributes.key?(:'pulp_created')
102
- self.pulp_created = attributes[:'pulp_created']
97
+ if attributes.key?(:'base_url')
98
+ self.base_url = attributes[:'base_url']
103
99
  end
104
100
 
105
101
  if attributes.key?(:'pulp_labels')
@@ -108,8 +104,12 @@ module PulpcoreClient
108
104
  end
109
105
  end
110
106
 
111
- if attributes.key?(:'pulp_href')
112
- self.pulp_href = attributes[:'pulp_href']
107
+ if attributes.key?(:'name')
108
+ self.name = attributes[:'name']
109
+ end
110
+
111
+ if attributes.key?(:'base_path')
112
+ self.base_path = attributes[:'base_path']
113
113
  end
114
114
  end
115
115
 
@@ -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
- base_url == o.base_url &&
145
- name == o.name &&
146
- content_guard == o.content_guard &&
147
- base_path == o.base_path &&
144
+ pulp_href == o.pulp_href &&
148
145
  pulp_created == o.pulp_created &&
146
+ content_guard == o.content_guard &&
147
+ base_url == o.base_url &&
149
148
  pulp_labels == o.pulp_labels &&
150
- pulp_href == o.pulp_href
149
+ name == o.name &&
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
- [base_url, name, content_guard, base_path, pulp_created, pulp_labels, pulp_href].hash
162
+ [pulp_href, pulp_created, content_guard, base_url, pulp_labels, name, 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.23.10'
14
+ VERSION = '3.23.12'
15
15
  end
@@ -103,7 +103,7 @@ describe 'UpstreamPulpsApi' do
103
103
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
104
104
  # @param upstream_pulp_href
105
105
  # @param [Hash] opts the optional parameters
106
- # @return [AsyncOperationResponse]
106
+ # @return [TaskGroupOperationResponse]
107
107
  describe 'replicate test' do
108
108
  it 'should work' do
109
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,13 +32,13 @@ 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_href"' 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 "name"' do
41
+ describe 'test attribute "pulp_created"' 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
@@ -50,25 +50,25 @@ describe 'ArtifactDistributionResponse' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "base_path"' do
53
+ describe 'test attribute "base_url"' 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_created"' do
59
+ describe 'test attribute "pulp_labels"' 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 "name"' 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_href"' 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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.23.10
4
+ version: 3.23.12
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-07-22 00:00:00.000000000 Z
11
+ date: 2023-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday