pulpcore_client 3.46.0 → 3.47.0

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: 05a2486c3bb75d63e301a9ea188148430ef68b28530faed9b6accf8d5f45f658
4
- data.tar.gz: bfcd51bf09a8d3d9d931d3b3d9c93f64c20667ed23f408ff75c5e524fe6b848b
3
+ metadata.gz: 927ce9505677c1bc18adfbc85b100d0a042e4c9334341e113e350af1442bd6ef
4
+ data.tar.gz: 934a040a157a62c8de91556ae0154d05ccb6eae3d94510e93aa49ef20aeb4373
5
5
  SHA512:
6
- metadata.gz: e6fc4983eef47e4be2669c8eca55b9bd99e73ccab6e6524c1fdeec68736cc863aaa13d4a2c0cd1073ab6a7fd935bf3d96cb1a1285b14fefac8d192de8f31495b
7
- data.tar.gz: e86f1702f10467127b0415f4f2b4057305b543a7980a5027840cd15519957051767721b6f085c2773fef2965e7f8a2930da8585af5b36995da13cf40d03ef097
6
+ metadata.gz: 6cdd361c89b067194e8b4199413b4c0bd03377b0a5f92e22710ccfae7ad5d4e009881d56a2ecc8e9b037f25b9a0a47f94a56c8d59a51c50b4457d1da5772de32
7
+ data.tar.gz: cff04e16cab0894f2d8c90ccaf2c201df4e6c5bc7cea2ede1c25c631f1fcf575eea7ae4409a830899fb994c8b77d1f4cb8ac08b565146181ce6c24dd1e7b2bc6
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.46.0
10
+ - Package version: 3.47.0
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.46.0.gem
27
+ gem install ./pulpcore_client-3.47.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.46.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.47.0.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.46.0'
36
+ gem 'pulpcore_client', '~> 3.47.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,12 +5,12 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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\") |
8
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
9
  **content_guard** | **String** | An optional content-guard. | [optional]
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
11
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
12
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
12
  **pulp_href** | **String** | | [optional] [readonly]
13
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
14
  **pulp_labels** | **Hash<String, String>** | | [optional]
15
15
 
16
16
  ## Code Sample
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  require 'PulpcoreClient'
20
20
 
21
21
  instance = PulpcoreClient::ArtifactDistributionResponse.new(hidden: null,
22
- pulp_created: null,
23
- base_path: null,
22
+ name: null,
24
23
  content_guard: null,
24
+ base_path: null,
25
25
  base_url: null,
26
- name: null,
27
26
  pulp_href: null,
27
+ pulp_created: null,
28
28
  pulp_labels: null)
29
29
  ```
30
30
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | | [optional]
8
- **is_set** | **Boolean** | | [optional]
7
+ **name** | **String** | |
8
+ **is_set** | **Boolean** | |
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -18,35 +18,35 @@ module PulpcoreClient
18
18
  # Whether this distribution should be shown in the content app.
19
19
  attr_accessor :hidden
20
20
 
21
- # Timestamp of creation.
22
- attr_accessor :pulp_created
23
-
24
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
- attr_accessor :base_path
21
+ # A unique name. Ex, `rawhide` and `stable`.
22
+ attr_accessor :name
26
23
 
27
24
  # An optional content-guard.
28
25
  attr_accessor :content_guard
29
26
 
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
30
  # The URL for accessing the publication as defined by this distribution.
31
31
  attr_accessor :base_url
32
32
 
33
- # A unique name. Ex, `rawhide` and `stable`.
34
- attr_accessor :name
35
-
36
33
  attr_accessor :pulp_href
37
34
 
35
+ # Timestamp of creation.
36
+ attr_accessor :pulp_created
37
+
38
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
43
  :'hidden' => :'hidden',
44
- :'pulp_created' => :'pulp_created',
45
- :'base_path' => :'base_path',
44
+ :'name' => :'name',
46
45
  :'content_guard' => :'content_guard',
46
+ :'base_path' => :'base_path',
47
47
  :'base_url' => :'base_url',
48
- :'name' => :'name',
49
48
  :'pulp_href' => :'pulp_href',
49
+ :'pulp_created' => :'pulp_created',
50
50
  :'pulp_labels' => :'pulp_labels'
51
51
  }
52
52
  end
@@ -55,12 +55,12 @@ module PulpcoreClient
55
55
  def self.openapi_types
56
56
  {
57
57
  :'hidden' => :'Boolean',
58
- :'pulp_created' => :'DateTime',
59
- :'base_path' => :'String',
58
+ :'name' => :'String',
60
59
  :'content_guard' => :'String',
60
+ :'base_path' => :'String',
61
61
  :'base_url' => :'String',
62
- :'name' => :'String',
63
62
  :'pulp_href' => :'String',
63
+ :'pulp_created' => :'DateTime',
64
64
  :'pulp_labels' => :'Hash<String, String>'
65
65
  }
66
66
  end
@@ -93,30 +93,30 @@ module PulpcoreClient
93
93
  self.hidden = false
94
94
  end
95
95
 
96
- if attributes.key?(:'pulp_created')
97
- self.pulp_created = attributes[:'pulp_created']
98
- end
99
-
100
- if attributes.key?(:'base_path')
101
- self.base_path = attributes[:'base_path']
96
+ if attributes.key?(:'name')
97
+ self.name = attributes[:'name']
102
98
  end
103
99
 
104
100
  if attributes.key?(:'content_guard')
105
101
  self.content_guard = attributes[:'content_guard']
106
102
  end
107
103
 
108
- if attributes.key?(:'base_url')
109
- self.base_url = attributes[:'base_url']
104
+ if attributes.key?(:'base_path')
105
+ self.base_path = attributes[:'base_path']
110
106
  end
111
107
 
112
- if attributes.key?(:'name')
113
- self.name = attributes[:'name']
108
+ if attributes.key?(:'base_url')
109
+ self.base_url = attributes[:'base_url']
114
110
  end
115
111
 
116
112
  if attributes.key?(:'pulp_href')
117
113
  self.pulp_href = attributes[:'pulp_href']
118
114
  end
119
115
 
116
+ if attributes.key?(:'pulp_created')
117
+ self.pulp_created = attributes[:'pulp_created']
118
+ end
119
+
120
120
  if attributes.key?(:'pulp_labels')
121
121
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
122
  self.pulp_labels = value
@@ -128,22 +128,22 @@ module PulpcoreClient
128
128
  # @return Array for valid properties with the reasons
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
- if @base_path.nil?
132
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
133
- end
134
-
135
131
  if @name.nil?
136
132
  invalid_properties.push('invalid value for "name", name cannot be nil.')
137
133
  end
138
134
 
135
+ if @base_path.nil?
136
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
137
+ end
138
+
139
139
  invalid_properties
140
140
  end
141
141
 
142
142
  # Check to see if the all the properties in the model are valid
143
143
  # @return true if the model is valid
144
144
  def valid?
145
- return false if @base_path.nil?
146
145
  return false if @name.nil?
146
+ return false if @base_path.nil?
147
147
  true
148
148
  end
149
149
 
@@ -153,12 +153,12 @@ module PulpcoreClient
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
155
  hidden == o.hidden &&
156
- pulp_created == o.pulp_created &&
157
- base_path == o.base_path &&
156
+ name == o.name &&
158
157
  content_guard == o.content_guard &&
158
+ base_path == o.base_path &&
159
159
  base_url == o.base_url &&
160
- name == o.name &&
161
160
  pulp_href == o.pulp_href &&
161
+ pulp_created == o.pulp_created &&
162
162
  pulp_labels == o.pulp_labels
163
163
  end
164
164
 
@@ -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
- [hidden, pulp_created, base_path, content_guard, base_url, name, pulp_href, pulp_labels].hash
174
+ [hidden, name, content_guard, base_path, base_url, pulp_href, pulp_created, pulp_labels].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -68,12 +68,22 @@ module PulpcoreClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
+ if @name.nil?
72
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
73
+ end
74
+
75
+ if @is_set.nil?
76
+ invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
+ end
78
+
71
79
  invalid_properties
72
80
  end
73
81
 
74
82
  # Check to see if the all the properties in the model are valid
75
83
  # @return true if the model is valid
76
84
  def valid?
85
+ return false if @name.nil?
86
+ return false if @is_set.nil?
77
87
  true
78
88
  end
79
89
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.46.0'
14
+ VERSION = '3.47.0'
15
15
  end
@@ -38,19 +38,19 @@ describe 'ArtifactDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_created"' 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 "base_path"' 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 "content_guard"' do
53
+ describe 'test attribute "base_path"' 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
@@ -62,13 +62,13 @@ describe 'ArtifactDistributionResponse' do
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "name"' 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_href"' do
71
+ describe 'test attribute "pulp_created"' 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.46.0
4
+ version: 3.47.0
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-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday