pulpcore_client 3.28.21 → 3.28.23

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: a3f396b85f66e77828fa6d7d4d960fb85ff2791c2bf1c4bfa52cccf06183a468
4
- data.tar.gz: 3cdd97063b5f1574fc5fc3e7cf5437731b2afea4a910e5c1cae99690ee4ff780
3
+ metadata.gz: 3be54d315d78aca1a144f350fdf509bc00344d8ddd93c6bbea8d813019e00b80
4
+ data.tar.gz: d02ab625430279851b8c0f9335da8c4abeba4600f2ee518d7d1e5806f1df6ea5
5
5
  SHA512:
6
- metadata.gz: 7e9e1acf7bc3d73da45f66d9079334a25f6b27cb44be1e5afa7bff7bb9f1d73f12b478aba6d2bd455212402e675d73ac74f2e287461f5d66687bc26ee647aeaa
7
- data.tar.gz: 1dfcaf91a34b233db41bf9ddd76eb7038ac17ab80f23a18d13d39976fd0c1e6d3f5cbdaf77205d518737a549370905ddf357cc8e7f75e9158202a1f86db833f9
6
+ metadata.gz: b9bfea41cad7f36cfcb0640fe2df06641256728555c136479da721089c2d994b849af0513f9898ff783db24743077fd53013a48af13d97500d01eb3e7f9c2680
7
+ data.tar.gz: d23075d3ab81904eee95132ccb8e8564d2b097bbde9299ecd125f50c08c9dba2a11cf47a836cf39a9664b68f85b999664c3865393a1f07e355cc034c8429c9c7
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.21
10
+ - Package version: 3.28.23
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.21.gem
27
+ gem install ./pulpcore_client-3.28.23.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.28.21.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.28.23.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.21'
36
+ gem 'pulpcore_client', '~> 3.28.23'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **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
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
10
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
- **pulp_href** | **String** | | [optional] [readonly]
8
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
12
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
- **content_guard** | **String** | An optional content-guard. | [optional]
14
10
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
+ **pulp_labels** | **Hash<String, String>** | | [optional]
12
+ **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\") |
13
+ **pulp_href** | **String** | | [optional] [readonly]
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(base_path: null,
22
- pulp_labels: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
23
22
  base_url: null,
24
- name: null,
25
- pulp_href: null,
26
23
  pulp_created: null,
27
- content_guard: null,
28
- hidden: null)
24
+ hidden: null,
25
+ pulp_labels: null,
26
+ base_path: null,
27
+ pulp_href: null,
28
+ content_guard: null)
29
29
  ```
30
30
 
31
31
 
@@ -83,7 +83,7 @@ Name | Type | Description | Notes
83
83
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
84
84
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
85
85
  **pulp_type__in** | [**Array<String>**](String.md)| Pulp type is in * `core.artifact` - core.artifact * `file.file` - file.file | [optional]
86
- **repository** | **String**| Filter results where repository matches value | [optional]
86
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
87
87
  **repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
88
88
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
89
89
  **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
@@ -82,7 +82,7 @@ Name | Type | Description | Notes
82
82
  **pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
83
83
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
84
84
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
85
- **repository** | **String**| Filter results where repository matches value | [optional]
85
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
86
86
  **repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
87
87
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
88
88
  **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
173
173
  ------------- | ------------- | ------------- | -------------
174
174
  **group_href** | **String**| |
175
175
  **content_object** | **String**| content_object | [optional]
176
- **domain** | **String**| Foreign Key referenced by HREF | [optional]
176
+ **domain** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
177
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
178
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
179
179
  **ordering** | [**Array<String>**](String.md)| Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
@@ -84,7 +84,7 @@ Name | Type | Description | Notes
84
84
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
85
85
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
86
86
  **pulp_type__in** | [**Array<String>**](String.md)| Pulp type is in * `file.file` - file.file | [optional]
87
- **remote** | **String**| Foreign Key referenced by HREF | [optional]
87
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
88
88
  **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
89
89
  **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
90
90
  **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
data/docs/TasksApi.md CHANGED
@@ -199,7 +199,7 @@ end
199
199
 
200
200
  Name | Type | Description | Notes
201
201
  ------------- | ------------- | ------------- | -------------
202
- **child_tasks** | **String**| Filter results where child_tasks matches value | [optional]
202
+ **child_tasks** | [**String**](.md)| Filter results where child_tasks matches value | [optional]
203
203
  **created_resources** | [**String**](.md)| | [optional]
204
204
  **exclusive_resources** | **String**| | [optional]
205
205
  **exclusive_resources__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
217
217
  **name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
218
218
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
219
219
  **ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
220
- **parent_task** | **String**| Filter results where parent_task matches value | [optional]
220
+ **parent_task** | [**String**](.md)| Filter results where parent_task matches value | [optional]
221
221
  **pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
222
222
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
223
223
  **reserved_resources** | **String**| | [optional]
@@ -233,8 +233,8 @@ Name | Type | Description | Notes
233
233
  **started_at__range** | [**Array<DateTime>**](DateTime.md)| Filter results where started_at is between two comma separated values | [optional]
234
234
  **state** | **String**| Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling | [optional]
235
235
  **state__in** | [**Array<String>**](String.md)| Filter results where state is in a comma-separated list of values | [optional]
236
- **task_group** | **String**| Filter results where task_group matches value | [optional]
237
- **worker** | **String**| Filter results where worker matches value | [optional]
236
+ **task_group** | [**String**](.md)| Filter results where task_group matches value | [optional]
237
+ **worker** | [**String**](.md)| Filter results where worker matches value | [optional]
238
238
  **worker__in** | [**Array<String>**](String.md)| Filter results where worker is in a comma-separated list of values | [optional]
239
239
  **fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
240
240
  **exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
173
173
  ------------- | ------------- | ------------- | -------------
174
174
  **auth_user_href** | **String**| |
175
175
  **content_object** | **String**| content_object | [optional]
176
- **domain** | **String**| Foreign Key referenced by HREF | [optional]
176
+ **domain** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
177
177
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
178
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
179
179
  **ordering** | [**Array<String>**](String.md)| Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
@@ -15,60 +15,60 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
- attr_accessor :base_path
20
-
21
- attr_accessor :pulp_labels
22
-
23
- # The URL for accessing the publication as defined by this distribution.
24
- attr_accessor :base_url
25
-
26
18
  # A unique name. Ex, `rawhide` and `stable`.
27
19
  attr_accessor :name
28
20
 
29
- attr_accessor :pulp_href
21
+ # The URL for accessing the publication as defined by this distribution.
22
+ attr_accessor :base_url
30
23
 
31
24
  # Timestamp of creation.
32
25
  attr_accessor :pulp_created
33
26
 
34
- # An optional content-guard.
35
- attr_accessor :content_guard
36
-
37
27
  # Whether this distribution should be shown in the content app.
38
28
  attr_accessor :hidden
39
29
 
30
+ attr_accessor :pulp_labels
31
+
32
+ # 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
+ attr_accessor :base_path
34
+
35
+ attr_accessor :pulp_href
36
+
37
+ # An optional content-guard.
38
+ attr_accessor :content_guard
39
+
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'base_path' => :'base_path',
44
- :'pulp_labels' => :'pulp_labels',
45
- :'base_url' => :'base_url',
46
43
  :'name' => :'name',
47
- :'pulp_href' => :'pulp_href',
44
+ :'base_url' => :'base_url',
48
45
  :'pulp_created' => :'pulp_created',
49
- :'content_guard' => :'content_guard',
50
- :'hidden' => :'hidden'
46
+ :'hidden' => :'hidden',
47
+ :'pulp_labels' => :'pulp_labels',
48
+ :'base_path' => :'base_path',
49
+ :'pulp_href' => :'pulp_href',
50
+ :'content_guard' => :'content_guard'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'base_path' => :'String',
58
- :'pulp_labels' => :'Hash<String, String>',
59
- :'base_url' => :'String',
60
57
  :'name' => :'String',
61
- :'pulp_href' => :'String',
58
+ :'base_url' => :'String',
62
59
  :'pulp_created' => :'DateTime',
63
- :'content_guard' => :'String',
64
- :'hidden' => :'Boolean'
60
+ :'hidden' => :'Boolean',
61
+ :'pulp_labels' => :'Hash<String, String>',
62
+ :'base_path' => :'String',
63
+ :'pulp_href' => :'String',
64
+ :'content_guard' => :'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,8 +87,22 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'base_path')
91
- self.base_path = attributes[:'base_path']
90
+ if attributes.key?(:'name')
91
+ self.name = attributes[:'name']
92
+ end
93
+
94
+ if attributes.key?(:'base_url')
95
+ self.base_url = attributes[:'base_url']
96
+ end
97
+
98
+ if attributes.key?(:'pulp_created')
99
+ self.pulp_created = attributes[:'pulp_created']
100
+ end
101
+
102
+ if attributes.key?(:'hidden')
103
+ self.hidden = attributes[:'hidden']
104
+ else
105
+ self.hidden = false
92
106
  end
93
107
 
94
108
  if attributes.key?(:'pulp_labels')
@@ -97,53 +111,39 @@ module PulpcoreClient
97
111
  end
98
112
  end
99
113
 
100
- if attributes.key?(:'base_url')
101
- self.base_url = attributes[:'base_url']
102
- end
103
-
104
- if attributes.key?(:'name')
105
- self.name = attributes[:'name']
114
+ if attributes.key?(:'base_path')
115
+ self.base_path = attributes[:'base_path']
106
116
  end
107
117
 
108
118
  if attributes.key?(:'pulp_href')
109
119
  self.pulp_href = attributes[:'pulp_href']
110
120
  end
111
121
 
112
- if attributes.key?(:'pulp_created')
113
- self.pulp_created = attributes[:'pulp_created']
114
- end
115
-
116
122
  if attributes.key?(:'content_guard')
117
123
  self.content_guard = attributes[:'content_guard']
118
124
  end
119
-
120
- if attributes.key?(:'hidden')
121
- self.hidden = attributes[:'hidden']
122
- else
123
- self.hidden = false
124
- end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
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
 
@@ -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
- base_path == o.base_path &&
156
- pulp_labels == o.pulp_labels &&
157
- base_url == o.base_url &&
158
155
  name == o.name &&
159
- pulp_href == o.pulp_href &&
156
+ base_url == o.base_url &&
160
157
  pulp_created == o.pulp_created &&
161
- content_guard == o.content_guard &&
162
- hidden == o.hidden
158
+ hidden == o.hidden &&
159
+ pulp_labels == o.pulp_labels &&
160
+ base_path == o.base_path &&
161
+ pulp_href == o.pulp_href &&
162
+ content_guard == o.content_guard
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
- [base_path, pulp_labels, base_url, name, pulp_href, pulp_created, content_guard, hidden].hash
174
+ [name, base_url, pulp_created, hidden, pulp_labels, base_path, pulp_href, content_guard].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.21'
14
+ VERSION = '3.28.23'
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 "base_path"' do
35
+ describe 'test attribute "name"' 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_labels"' do
41
+ describe 'test attribute "base_url"' 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_url"' do
47
+ describe 'test attribute "pulp_created"' 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 "name"' do
53
+ describe 'test attribute "hidden"' 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_href"' 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_created"' do
65
+ describe 'test attribute "base_path"' 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 "content_guard"' do
71
+ describe 'test attribute "pulp_href"' 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 "hidden"' do
77
+ describe 'test attribute "content_guard"' 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.21
4
+ version: 3.28.23
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-01-25 00:00:00.000000000 Z
11
+ date: 2024-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday