pulpcore_client 3.11.0.dev1615693611 → 3.12.0.dev1616212267

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.

Potentially problematic release.


This version of pulpcore_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d73af2aaa17d0b83dc6160dde6e54eabff6363964f320f6a482ca49f6bdb0f6d
4
- data.tar.gz: 59dff855c65823b38face278cc238e6dc32633d381146d4896f7d3fa85e1330b
3
+ metadata.gz: 54ff4d6e51aec2595143c6f1bb140873b44a2fe4b829907e0fee03561602f73e
4
+ data.tar.gz: 482c7f1ae6b863d0a646fdd136a27d6efc853270a91639ad8ebabfb833122f45
5
5
  SHA512:
6
- metadata.gz: b3f4acb62b999a031522f353db2dfd3a7d781975a8472de7b481bc31248c204fb49887d5ad6a51578f97ae24360913dfc4b17642de06f08f47c7d1351882c964
7
- data.tar.gz: 962a5b8c6949973a4bae863075a6184575c4026b133bff1eb12822f46fbd9baeb587a75771a15e8d5bb11a35428a8f74552c242b3e5157a1b99a02d417dd3a20
6
+ metadata.gz: 45425b3b5fa4a8c9523f57c109bbc4bf4ba2f811954e06404774649766a2852ae1808b55d4597e54fb05cfef47c2e3ab08614d8af055d39645dd5436a0e3e190
7
+ data.tar.gz: d9eca47acc9b89abd1052ed59ba9c65b7ce34977c799e3e6371d067a0f89b7e3dd2d3c5644e795297ff3e05322851bfac20247873b69e79e2fd29ecdf25461fa
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.11.0.dev1615693611
10
+ - Package version: 3.12.0.dev1616212267
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.11.0.dev1615693611.gem
27
+ gem install ./pulpcore_client-3.12.0.dev1616212267.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.11.0.dev1615693611.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.12.0.dev1616212267.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.11.0.dev1615693611'
36
+ gem 'pulpcore_client', '~> 3.12.0.dev1616212267'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | Unique name of the Importer. | [optional]
8
- **repo_mapping** | [**Object**](.md) | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
8
+ **repo_mapping** | **Hash<String, String>** | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
data/docs/PulpImporter.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | Unique name of the Importer. |
8
- **repo_mapping** | [**Object**](.md) | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
8
+ **repo_mapping** | **Hash<String, String>** | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | Unique name of the Importer. |
10
- **repo_mapping** | [**Object**](.md) | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
10
+ **repo_mapping** | **Hash<String, String>** | Mapping of repo names in an export file to the repo names in Pulp. For example, if the export has a repo named 'foo' and the repo to import content into was 'bar', the mapping would be \"{'foo': 'bar'}\". | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
data/docs/TaskResponse.md CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **logging_cid** | **String** | The logging correlation id associated with this task |
12
12
  **started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional] [readonly]
13
13
  **finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
14
- **error** | [**Object**](.md) | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
14
+ **error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
15
15
  **worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
16
16
  **parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
17
17
  **child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
data/docs/UsersApi.md CHANGED
@@ -75,10 +75,10 @@ end
75
75
 
76
76
  Name | Type | Description | Notes
77
77
  ------------- | ------------- | ------------- | -------------
78
- **email** | [**String**](.md)| Filter results where email matches value | [optional]
79
- **email__contains** | [**String**](.md)| Filter results where email contains value | [optional]
80
- **email__icontains** | [**String**](.md)| Filter results where email contains value | [optional]
81
- **email__iexact** | [**String**](.md)| Filter results where email matches value | [optional]
78
+ **email** | **String**| Filter results where email matches value | [optional]
79
+ **email__contains** | **String**| Filter results where email contains value | [optional]
80
+ **email__icontains** | **String**| Filter results where email contains value | [optional]
81
+ **email__iexact** | **String**| Filter results where email matches value | [optional]
82
82
  **email__in** | [**Array<String>**](String.md)| Filter results where email is in a comma-separated list of values | [optional]
83
83
  **first_name** | **String**| Filter results where first_name matches value | [optional]
84
84
  **first_name__contains** | **String**| Filter results where first_name contains value | [optional]
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
7
  **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **name** | **String** | The name of the worker. | [optional] [readonly]
10
10
  **last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
11
11
 
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpcoreClient'
16
16
 
17
- instance = PulpcoreClient::WorkerResponse.new(pulp_created: null,
18
- pulp_href: null,
17
+ instance = PulpcoreClient::WorkerResponse.new(pulp_href: null,
18
+ pulp_created: null,
19
19
  name: null,
20
20
  last_heartbeat: null)
21
21
  ```
@@ -156,10 +156,6 @@ module PulpcoreClient
156
156
  if @api_client.config.client_side_validation && opts[:'state'] && !allowable_values.include?(opts[:'state'])
157
157
  fail ArgumentError, "invalid value for \"state\", must be one of #{allowable_values}"
158
158
  end
159
- allowable_values = ["canceled", "completed", "failed", "running", "skipped", "waiting"]
160
- if @api_client.config.client_side_validation && opts[:'state__in'] && !opts[:'state__in'].all? { |item| allowable_values.include?(item) }
161
- fail ArgumentError, "invalid value for \"state__in\", must include one of #{allowable_values}"
162
- end
163
159
  # resource path
164
160
  local_var_path = '/pulp/api/v3/tasks/'
165
161
 
@@ -33,7 +33,7 @@ module PulpcoreClient
33
33
  def self.openapi_types
34
34
  {
35
35
  :'name' => :'String',
36
- :'repo_mapping' => :'Object'
36
+ :'repo_mapping' => :'Hash<String, String>'
37
37
  }
38
38
  end
39
39
 
@@ -63,7 +63,9 @@ module PulpcoreClient
63
63
  end
64
64
 
65
65
  if attributes.key?(:'repo_mapping')
66
- self.repo_mapping = attributes[:'repo_mapping']
66
+ if (value = attributes[:'repo_mapping']).is_a?(Hash)
67
+ self.repo_mapping = value
68
+ end
67
69
  end
68
70
  end
69
71
 
@@ -33,7 +33,7 @@ module PulpcoreClient
33
33
  def self.openapi_types
34
34
  {
35
35
  :'name' => :'String',
36
- :'repo_mapping' => :'Object'
36
+ :'repo_mapping' => :'Hash<String, String>'
37
37
  }
38
38
  end
39
39
 
@@ -63,7 +63,9 @@ module PulpcoreClient
63
63
  end
64
64
 
65
65
  if attributes.key?(:'repo_mapping')
66
- self.repo_mapping = attributes[:'repo_mapping']
66
+ if (value = attributes[:'repo_mapping']).is_a?(Hash)
67
+ self.repo_mapping = value
68
+ end
67
69
  end
68
70
  end
69
71
 
@@ -42,7 +42,7 @@ module PulpcoreClient
42
42
  :'pulp_href' => :'String',
43
43
  :'pulp_created' => :'DateTime',
44
44
  :'name' => :'String',
45
- :'repo_mapping' => :'Object'
45
+ :'repo_mapping' => :'Hash<String, String>'
46
46
  }
47
47
  end
48
48
 
@@ -80,7 +80,9 @@ module PulpcoreClient
80
80
  end
81
81
 
82
82
  if attributes.key?(:'repo_mapping')
83
- self.repo_mapping = attributes[:'repo_mapping']
83
+ if (value = attributes[:'repo_mapping']).is_a?(Hash)
84
+ self.repo_mapping = value
85
+ end
84
86
  end
85
87
  end
86
88
 
@@ -88,7 +88,7 @@ module PulpcoreClient
88
88
  :'logging_cid' => :'String',
89
89
  :'started_at' => :'DateTime',
90
90
  :'finished_at' => :'DateTime',
91
- :'error' => :'Object',
91
+ :'error' => :'Hash<String, Object>',
92
92
  :'worker' => :'String',
93
93
  :'parent_task' => :'String',
94
94
  :'child_tasks' => :'Array<String>',
@@ -149,7 +149,9 @@ module PulpcoreClient
149
149
  end
150
150
 
151
151
  if attributes.key?(:'error')
152
- self.error = attributes[:'error']
152
+ if (value = attributes[:'error']).is_a?(Hash)
153
+ self.error = value
154
+ end
153
155
  end
154
156
 
155
157
  if attributes.key?(:'worker')
@@ -15,11 +15,11 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class WorkerResponse
18
+ attr_accessor :pulp_href
19
+
18
20
  # Timestamp of creation.
19
21
  attr_accessor :pulp_created
20
22
 
21
- attr_accessor :pulp_href
22
-
23
23
  # The name of the worker.
24
24
  attr_accessor :name
25
25
 
@@ -29,8 +29,8 @@ module PulpcoreClient
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
- :'pulp_created' => :'pulp_created',
33
32
  :'pulp_href' => :'pulp_href',
33
+ :'pulp_created' => :'pulp_created',
34
34
  :'name' => :'name',
35
35
  :'last_heartbeat' => :'last_heartbeat'
36
36
  }
@@ -39,8 +39,8 @@ module PulpcoreClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'pulp_created' => :'DateTime',
43
42
  :'pulp_href' => :'String',
43
+ :'pulp_created' => :'DateTime',
44
44
  :'name' => :'String',
45
45
  :'last_heartbeat' => :'DateTime'
46
46
  }
@@ -67,14 +67,14 @@ module PulpcoreClient
67
67
  h[k.to_sym] = v
68
68
  }
69
69
 
70
- if attributes.key?(:'pulp_created')
71
- self.pulp_created = attributes[:'pulp_created']
72
- end
73
-
74
70
  if attributes.key?(:'pulp_href')
75
71
  self.pulp_href = attributes[:'pulp_href']
76
72
  end
77
73
 
74
+ if attributes.key?(:'pulp_created')
75
+ self.pulp_created = attributes[:'pulp_created']
76
+ end
77
+
78
78
  if attributes.key?(:'name')
79
79
  self.name = attributes[:'name']
80
80
  end
@@ -102,8 +102,8 @@ module PulpcoreClient
102
102
  def ==(o)
103
103
  return true if self.equal?(o)
104
104
  self.class == o.class &&
105
- pulp_created == o.pulp_created &&
106
105
  pulp_href == o.pulp_href &&
106
+ pulp_created == o.pulp_created &&
107
107
  name == o.name &&
108
108
  last_heartbeat == o.last_heartbeat
109
109
  end
@@ -117,7 +117,7 @@ module PulpcoreClient
117
117
  # Calculates hash code according to all attributes.
118
118
  # @return [Integer] Hash code
119
119
  def hash
120
- [pulp_created, pulp_href, name, last_heartbeat].hash
120
+ [pulp_href, pulp_created, name, last_heartbeat].hash
121
121
  end
122
122
 
123
123
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.11.0.dev1615693611'
14
+ VERSION = '3.12.0.dev1616212267'
15
15
  end
@@ -32,13 +32,13 @@ describe 'WorkerResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::WorkerResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' 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 "pulp_href"' 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
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.11.0.dev1615693611
4
+ version: 3.12.0.dev1616212267
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-14 00:00:00.000000000 Z
11
+ date: 2021-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday