pulpcore_client 3.0.0rc6 → 3.0.0rc7

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.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/Artifact.md +5 -5
  4. data/docs/ArtifactsApi.md +6 -2
  5. data/docs/ContentAppStatus.md +2 -2
  6. data/docs/ProgressReport.md +6 -6
  7. data/docs/RepositoriesApi.md +6 -4
  8. data/docs/RepositoriesVersionsApi.md +18 -14
  9. data/docs/Repository.md +9 -9
  10. data/docs/RepositoryVersion.md +5 -5
  11. data/docs/StatusApi.md +3 -1
  12. data/docs/Task.md +14 -16
  13. data/docs/TasksApi.md +6 -2
  14. data/docs/Upload.md +5 -5
  15. data/docs/UploadChunk.md +3 -3
  16. data/docs/UploadDetail.md +6 -6
  17. data/docs/UploadsApi.md +6 -2
  18. data/docs/Worker.md +8 -8
  19. data/docs/WorkersApi.md +6 -2
  20. data/lib/pulpcore_client/api/artifacts_api.rb +7 -1
  21. data/lib/pulpcore_client/api/orphans_api.rb +1 -1
  22. data/lib/pulpcore_client/api/repositories_api.rb +7 -4
  23. data/lib/pulpcore_client/api/repositories_versions_api.rb +25 -19
  24. data/lib/pulpcore_client/api/status_api.rb +4 -1
  25. data/lib/pulpcore_client/api/tasks_api.rb +7 -1
  26. data/lib/pulpcore_client/api/uploads_api.rb +7 -1
  27. data/lib/pulpcore_client/api/workers_api.rb +7 -1
  28. data/lib/pulpcore_client/api_client.rb +1 -1
  29. data/lib/pulpcore_client/api_error.rb +1 -1
  30. data/lib/pulpcore_client/configuration.rb +1 -1
  31. data/lib/pulpcore_client/models/artifact.rb +14 -14
  32. data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
  33. data/lib/pulpcore_client/models/content_app_status.rb +1 -1
  34. data/lib/pulpcore_client/models/content_summary.rb +1 -1
  35. data/lib/pulpcore_client/models/database_connection.rb +1 -1
  36. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  37. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  38. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  39. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  40. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  41. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  42. data/lib/pulpcore_client/models/progress_report.rb +1 -1
  43. data/lib/pulpcore_client/models/redis_connection.rb +1 -1
  44. data/lib/pulpcore_client/models/repository.rb +26 -26
  45. data/lib/pulpcore_client/models/repository_version.rb +14 -14
  46. data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
  47. data/lib/pulpcore_client/models/status.rb +1 -1
  48. data/lib/pulpcore_client/models/task.rb +15 -25
  49. data/lib/pulpcore_client/models/task_cancel.rb +1 -1
  50. data/lib/pulpcore_client/models/upload.rb +14 -14
  51. data/lib/pulpcore_client/models/upload_chunk.rb +1 -1
  52. data/lib/pulpcore_client/models/upload_commit.rb +1 -1
  53. data/lib/pulpcore_client/models/upload_detail.rb +14 -14
  54. data/lib/pulpcore_client/models/version.rb +1 -1
  55. data/lib/pulpcore_client/models/worker.rb +14 -14
  56. data/lib/pulpcore_client/version.rb +2 -2
  57. data/lib/pulpcore_client.rb +1 -1
  58. data/pulpcore_client.gemspec +1 -1
  59. data/spec/api/artifacts_api_spec.rb +3 -1
  60. data/spec/api/orphans_api_spec.rb +1 -1
  61. data/spec/api/repositories_api_spec.rb +3 -2
  62. data/spec/api/repositories_versions_api_spec.rb +9 -7
  63. data/spec/api/status_api_spec.rb +2 -1
  64. data/spec/api/tasks_api_spec.rb +3 -1
  65. data/spec/api/uploads_api_spec.rb +3 -1
  66. data/spec/api/workers_api_spec.rb +3 -1
  67. data/spec/api_client_spec.rb +2 -2
  68. data/spec/configuration_spec.rb +1 -1
  69. data/spec/models/artifact_spec.rb +3 -3
  70. data/spec/models/async_operation_response_spec.rb +1 -1
  71. data/spec/models/content_app_status_spec.rb +1 -1
  72. data/spec/models/content_summary_spec.rb +1 -1
  73. data/spec/models/database_connection_spec.rb +1 -1
  74. data/spec/models/inline_response2001_spec.rb +1 -1
  75. data/spec/models/inline_response2002_spec.rb +1 -1
  76. data/spec/models/inline_response2003_spec.rb +1 -1
  77. data/spec/models/inline_response2004_spec.rb +1 -1
  78. data/spec/models/inline_response2005_spec.rb +1 -1
  79. data/spec/models/inline_response200_spec.rb +1 -1
  80. data/spec/models/progress_report_spec.rb +1 -1
  81. data/spec/models/redis_connection_spec.rb +1 -1
  82. data/spec/models/repository_spec.rb +5 -5
  83. data/spec/models/repository_version_create_spec.rb +1 -1
  84. data/spec/models/repository_version_spec.rb +3 -3
  85. data/spec/models/status_spec.rb +1 -1
  86. data/spec/models/task_cancel_spec.rb +1 -1
  87. data/spec/models/task_spec.rb +3 -9
  88. data/spec/models/upload_chunk_spec.rb +1 -1
  89. data/spec/models/upload_commit_spec.rb +1 -1
  90. data/spec/models/upload_detail_spec.rb +3 -3
  91. data/spec/models/upload_spec.rb +3 -3
  92. data/spec/models/version_spec.rb +1 -1
  93. data/spec/models/worker_spec.rb +3 -3
  94. data/spec/spec_helper.rb +1 -1
  95. metadata +2 -2
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,14 +14,14 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class Repository
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
- attr_accessor :_versions_href
22
+ attr_accessor :versions_href
23
23
 
24
- attr_accessor :_latest_version_href
24
+ attr_accessor :latest_version_href
25
25
 
26
26
  # A unique name for this repository.
27
27
  attr_accessor :name
@@ -35,10 +35,10 @@ module PulpcoreClient
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
37
37
  {
38
- :'_href' => :'_href',
39
- :'_created' => :'_created',
40
- :'_versions_href' => :'_versions_href',
41
- :'_latest_version_href' => :'_latest_version_href',
38
+ :'pulp_href' => :'pulp_href',
39
+ :'pulp_created' => :'pulp_created',
40
+ :'versions_href' => :'versions_href',
41
+ :'latest_version_href' => :'latest_version_href',
42
42
  :'name' => :'name',
43
43
  :'plugin_managed' => :'plugin_managed',
44
44
  :'description' => :'description'
@@ -48,10 +48,10 @@ module PulpcoreClient
48
48
  # Attribute type mapping.
49
49
  def self.openapi_types
50
50
  {
51
- :'_href' => :'String',
52
- :'_created' => :'DateTime',
53
- :'_versions_href' => :'String',
54
- :'_latest_version_href' => :'String',
51
+ :'pulp_href' => :'String',
52
+ :'pulp_created' => :'DateTime',
53
+ :'versions_href' => :'String',
54
+ :'latest_version_href' => :'String',
55
55
  :'name' => :'String',
56
56
  :'plugin_managed' => :'Boolean',
57
57
  :'description' => :'String'
@@ -73,20 +73,20 @@ module PulpcoreClient
73
73
  h[k.to_sym] = v
74
74
  }
75
75
 
76
- if attributes.key?(:'_href')
77
- self._href = attributes[:'_href']
76
+ if attributes.key?(:'pulp_href')
77
+ self.pulp_href = attributes[:'pulp_href']
78
78
  end
79
79
 
80
- if attributes.key?(:'_created')
81
- self._created = attributes[:'_created']
80
+ if attributes.key?(:'pulp_created')
81
+ self.pulp_created = attributes[:'pulp_created']
82
82
  end
83
83
 
84
- if attributes.key?(:'_versions_href')
85
- self._versions_href = attributes[:'_versions_href']
84
+ if attributes.key?(:'versions_href')
85
+ self.versions_href = attributes[:'versions_href']
86
86
  end
87
87
 
88
- if attributes.key?(:'_latest_version_href')
89
- self._latest_version_href = attributes[:'_latest_version_href']
88
+ if attributes.key?(:'latest_version_href')
89
+ self.latest_version_href = attributes[:'latest_version_href']
90
90
  end
91
91
 
92
92
  if attributes.key?(:'name')
@@ -159,10 +159,10 @@ module PulpcoreClient
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
- _href == o._href &&
163
- _created == o._created &&
164
- _versions_href == o._versions_href &&
165
- _latest_version_href == o._latest_version_href &&
162
+ pulp_href == o.pulp_href &&
163
+ pulp_created == o.pulp_created &&
164
+ versions_href == o.versions_href &&
165
+ latest_version_href == o.latest_version_href &&
166
166
  name == o.name &&
167
167
  plugin_managed == o.plugin_managed &&
168
168
  description == o.description
@@ -177,7 +177,7 @@ module PulpcoreClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [_href, _created, _versions_href, _latest_version_href, name, plugin_managed, description].hash
180
+ [pulp_href, pulp_created, versions_href, latest_version_href, name, plugin_managed, description].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class RepositoryVersion
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
22
  attr_accessor :number
23
23
 
@@ -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
- :'_href' => :'_href',
33
- :'_created' => :'_created',
32
+ :'pulp_href' => :'pulp_href',
33
+ :'pulp_created' => :'pulp_created',
34
34
  :'number' => :'number',
35
35
  :'base_version' => :'base_version',
36
36
  :'content_summary' => :'content_summary'
@@ -40,8 +40,8 @@ module PulpcoreClient
40
40
  # Attribute type mapping.
41
41
  def self.openapi_types
42
42
  {
43
- :'_href' => :'String',
44
- :'_created' => :'DateTime',
43
+ :'pulp_href' => :'String',
44
+ :'pulp_created' => :'DateTime',
45
45
  :'number' => :'Integer',
46
46
  :'base_version' => :'String',
47
47
  :'content_summary' => :'ContentSummary'
@@ -63,12 +63,12 @@ module PulpcoreClient
63
63
  h[k.to_sym] = v
64
64
  }
65
65
 
66
- if attributes.key?(:'_href')
67
- self._href = attributes[:'_href']
66
+ if attributes.key?(:'pulp_href')
67
+ self.pulp_href = attributes[:'pulp_href']
68
68
  end
69
69
 
70
- if attributes.key?(:'_created')
71
- self._created = attributes[:'_created']
70
+ if attributes.key?(:'pulp_created')
71
+ self.pulp_created = attributes[:'pulp_created']
72
72
  end
73
73
 
74
74
  if attributes.key?(:'number')
@@ -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
- _href == o._href &&
106
- _created == o._created &&
105
+ pulp_href == o.pulp_href &&
106
+ pulp_created == o.pulp_created &&
107
107
  number == o.number &&
108
108
  base_version == o.base_version &&
109
109
  content_summary == o.content_summary
@@ -118,7 +118,7 @@ module PulpcoreClient
118
118
  # Calculates hash code according to all attributes.
119
119
  # @return [Integer] Hash code
120
120
  def hash
121
- [_href, _created, number, base_version, content_summary].hash
121
+ [pulp_href, pulp_created, number, base_version, content_summary].hash
122
122
  end
123
123
 
124
124
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class Task
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'.
23
23
  attr_accessor :state
@@ -31,9 +31,6 @@ module PulpcoreClient
31
31
  # Timestamp of the when this task stopped execution.
32
32
  attr_accessor :finished_at
33
33
 
34
- # A JSON Object of non-fatal errors encountered during the execution of this task.
35
- attr_accessor :non_fatal_errors
36
-
37
34
  # A JSON Object of a fatal error encountered during the execution of this task.
38
35
  attr_accessor :error
39
36
 
@@ -56,13 +53,12 @@ module PulpcoreClient
56
53
  # Attribute mapping from ruby-style variable name to JSON key.
57
54
  def self.attribute_map
58
55
  {
59
- :'_href' => :'_href',
60
- :'_created' => :'_created',
56
+ :'pulp_href' => :'pulp_href',
57
+ :'pulp_created' => :'pulp_created',
61
58
  :'state' => :'state',
62
59
  :'name' => :'name',
63
60
  :'started_at' => :'started_at',
64
61
  :'finished_at' => :'finished_at',
65
- :'non_fatal_errors' => :'non_fatal_errors',
66
62
  :'error' => :'error',
67
63
  :'worker' => :'worker',
68
64
  :'parent' => :'parent',
@@ -76,14 +72,13 @@ module PulpcoreClient
76
72
  # Attribute type mapping.
77
73
  def self.openapi_types
78
74
  {
79
- :'_href' => :'String',
80
- :'_created' => :'DateTime',
75
+ :'pulp_href' => :'String',
76
+ :'pulp_created' => :'DateTime',
81
77
  :'state' => :'String',
82
78
  :'name' => :'String',
83
79
  :'started_at' => :'DateTime',
84
80
  :'finished_at' => :'DateTime',
85
- :'non_fatal_errors' => :'String',
86
- :'error' => :'Hash<String, String>',
81
+ :'error' => :'Hash<String, Object>',
87
82
  :'worker' => :'String',
88
83
  :'parent' => :'String',
89
84
  :'spawned_tasks' => :'Array<String>',
@@ -108,12 +103,12 @@ module PulpcoreClient
108
103
  h[k.to_sym] = v
109
104
  }
110
105
 
111
- if attributes.key?(:'_href')
112
- self._href = attributes[:'_href']
106
+ if attributes.key?(:'pulp_href')
107
+ self.pulp_href = attributes[:'pulp_href']
113
108
  end
114
109
 
115
- if attributes.key?(:'_created')
116
- self._created = attributes[:'_created']
110
+ if attributes.key?(:'pulp_created')
111
+ self.pulp_created = attributes[:'pulp_created']
117
112
  end
118
113
 
119
114
  if attributes.key?(:'state')
@@ -132,10 +127,6 @@ module PulpcoreClient
132
127
  self.finished_at = attributes[:'finished_at']
133
128
  end
134
129
 
135
- if attributes.key?(:'non_fatal_errors')
136
- self.non_fatal_errors = attributes[:'non_fatal_errors']
137
- end
138
-
139
130
  if attributes.key?(:'error')
140
131
  if (value = attributes[:'error']).is_a?(Hash)
141
132
  self.error = value
@@ -232,13 +223,12 @@ module PulpcoreClient
232
223
  def ==(o)
233
224
  return true if self.equal?(o)
234
225
  self.class == o.class &&
235
- _href == o._href &&
236
- _created == o._created &&
226
+ pulp_href == o.pulp_href &&
227
+ pulp_created == o.pulp_created &&
237
228
  state == o.state &&
238
229
  name == o.name &&
239
230
  started_at == o.started_at &&
240
231
  finished_at == o.finished_at &&
241
- non_fatal_errors == o.non_fatal_errors &&
242
232
  error == o.error &&
243
233
  worker == o.worker &&
244
234
  parent == o.parent &&
@@ -257,7 +247,7 @@ module PulpcoreClient
257
247
  # Calculates hash code according to all attributes.
258
248
  # @return [Integer] Hash code
259
249
  def hash
260
- [_href, _created, state, name, started_at, finished_at, non_fatal_errors, error, worker, parent, spawned_tasks, progress_reports, created_resources, reserved_resources_record].hash
250
+ [pulp_href, pulp_created, state, name, started_at, finished_at, error, worker, parent, spawned_tasks, progress_reports, created_resources, reserved_resources_record].hash
261
251
  end
262
252
 
263
253
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class Upload
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # The size of the upload in bytes.
23
23
  attr_accessor :size
@@ -28,8 +28,8 @@ module PulpcoreClient
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
29
29
  def self.attribute_map
30
30
  {
31
- :'_href' => :'_href',
32
- :'_created' => :'_created',
31
+ :'pulp_href' => :'pulp_href',
32
+ :'pulp_created' => :'pulp_created',
33
33
  :'size' => :'size',
34
34
  :'completed' => :'completed'
35
35
  }
@@ -38,8 +38,8 @@ module PulpcoreClient
38
38
  # Attribute type mapping.
39
39
  def self.openapi_types
40
40
  {
41
- :'_href' => :'String',
42
- :'_created' => :'DateTime',
41
+ :'pulp_href' => :'String',
42
+ :'pulp_created' => :'DateTime',
43
43
  :'size' => :'Integer',
44
44
  :'completed' => :'DateTime'
45
45
  }
@@ -60,12 +60,12 @@ module PulpcoreClient
60
60
  h[k.to_sym] = v
61
61
  }
62
62
 
63
- if attributes.key?(:'_href')
64
- self._href = attributes[:'_href']
63
+ if attributes.key?(:'pulp_href')
64
+ self.pulp_href = attributes[:'pulp_href']
65
65
  end
66
66
 
67
- if attributes.key?(:'_created')
68
- self._created = attributes[:'_created']
67
+ if attributes.key?(:'pulp_created')
68
+ self.pulp_created = attributes[:'pulp_created']
69
69
  end
70
70
 
71
71
  if attributes.key?(:'size')
@@ -100,8 +100,8 @@ module PulpcoreClient
100
100
  def ==(o)
101
101
  return true if self.equal?(o)
102
102
  self.class == o.class &&
103
- _href == o._href &&
104
- _created == o._created &&
103
+ pulp_href == o.pulp_href &&
104
+ pulp_created == o.pulp_created &&
105
105
  size == o.size &&
106
106
  completed == o.completed
107
107
  end
@@ -115,7 +115,7 @@ module PulpcoreClient
115
115
  # Calculates hash code according to all attributes.
116
116
  # @return [Integer] Hash code
117
117
  def hash
118
- [_href, _created, size, completed].hash
118
+ [pulp_href, pulp_created, size, completed].hash
119
119
  end
120
120
 
121
121
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class UploadDetail
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # The size of the upload in bytes.
23
23
  attr_accessor :size
@@ -30,8 +30,8 @@ module PulpcoreClient
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
31
31
  def self.attribute_map
32
32
  {
33
- :'_href' => :'_href',
34
- :'_created' => :'_created',
33
+ :'pulp_href' => :'pulp_href',
34
+ :'pulp_created' => :'pulp_created',
35
35
  :'size' => :'size',
36
36
  :'completed' => :'completed',
37
37
  :'chunks' => :'chunks'
@@ -41,8 +41,8 @@ module PulpcoreClient
41
41
  # Attribute type mapping.
42
42
  def self.openapi_types
43
43
  {
44
- :'_href' => :'String',
45
- :'_created' => :'DateTime',
44
+ :'pulp_href' => :'String',
45
+ :'pulp_created' => :'DateTime',
46
46
  :'size' => :'Integer',
47
47
  :'completed' => :'DateTime',
48
48
  :'chunks' => :'Array<UploadChunk>'
@@ -64,12 +64,12 @@ module PulpcoreClient
64
64
  h[k.to_sym] = v
65
65
  }
66
66
 
67
- if attributes.key?(:'_href')
68
- self._href = attributes[:'_href']
67
+ if attributes.key?(:'pulp_href')
68
+ self.pulp_href = attributes[:'pulp_href']
69
69
  end
70
70
 
71
- if attributes.key?(:'_created')
72
- self._created = attributes[:'_created']
71
+ if attributes.key?(:'pulp_created')
72
+ self.pulp_created = attributes[:'pulp_created']
73
73
  end
74
74
 
75
75
  if attributes.key?(:'size')
@@ -110,8 +110,8 @@ module PulpcoreClient
110
110
  def ==(o)
111
111
  return true if self.equal?(o)
112
112
  self.class == o.class &&
113
- _href == o._href &&
114
- _created == o._created &&
113
+ pulp_href == o.pulp_href &&
114
+ pulp_created == o.pulp_created &&
115
115
  size == o.size &&
116
116
  completed == o.completed &&
117
117
  chunks == o.chunks
@@ -126,7 +126,7 @@ module PulpcoreClient
126
126
  # Calculates hash code according to all attributes.
127
127
  # @return [Integer] Hash code
128
128
  def hash
129
- [_href, _created, size, completed, chunks].hash
129
+ [pulp_href, pulp_created, size, completed, chunks].hash
130
130
  end
131
131
 
132
132
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -15,10 +15,10 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # List of online workers known to the application. An online worker is actively heartbeating and can respond to new work
17
17
  class Worker
18
- attr_accessor :_href
18
+ attr_accessor :pulp_href
19
19
 
20
20
  # Timestamp of creation.
21
- attr_accessor :_created
21
+ attr_accessor :pulp_created
22
22
 
23
23
  # The name of the worker.
24
24
  attr_accessor :name
@@ -35,8 +35,8 @@ module PulpcoreClient
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
37
37
  {
38
- :'_href' => :'_href',
39
- :'_created' => :'_created',
38
+ :'pulp_href' => :'pulp_href',
39
+ :'pulp_created' => :'pulp_created',
40
40
  :'name' => :'name',
41
41
  :'last_heartbeat' => :'last_heartbeat',
42
42
  :'online' => :'online',
@@ -47,8 +47,8 @@ module PulpcoreClient
47
47
  # Attribute type mapping.
48
48
  def self.openapi_types
49
49
  {
50
- :'_href' => :'String',
51
- :'_created' => :'DateTime',
50
+ :'pulp_href' => :'String',
51
+ :'pulp_created' => :'DateTime',
52
52
  :'name' => :'String',
53
53
  :'last_heartbeat' => :'DateTime',
54
54
  :'online' => :'Boolean',
@@ -71,12 +71,12 @@ module PulpcoreClient
71
71
  h[k.to_sym] = v
72
72
  }
73
73
 
74
- if attributes.key?(:'_href')
75
- self._href = attributes[:'_href']
74
+ if attributes.key?(:'pulp_href')
75
+ self.pulp_href = attributes[:'pulp_href']
76
76
  end
77
77
 
78
- if attributes.key?(:'_created')
79
- self._created = attributes[:'_created']
78
+ if attributes.key?(:'pulp_created')
79
+ self.pulp_created = attributes[:'pulp_created']
80
80
  end
81
81
 
82
82
  if attributes.key?(:'name')
@@ -129,8 +129,8 @@ module PulpcoreClient
129
129
  def ==(o)
130
130
  return true if self.equal?(o)
131
131
  self.class == o.class &&
132
- _href == o._href &&
133
- _created == o._created &&
132
+ pulp_href == o.pulp_href &&
133
+ pulp_created == o.pulp_created &&
134
134
  name == o.name &&
135
135
  last_heartbeat == o.last_heartbeat &&
136
136
  online == o.online &&
@@ -146,7 +146,7 @@ module PulpcoreClient
146
146
  # Calculates hash code according to all attributes.
147
147
  # @return [Integer] Hash code
148
148
  def hash
149
- [_href, _created, name, last_heartbeat, online, missing].hash
149
+ [pulp_href, pulp_created, name, last_heartbeat, online, missing].hash
150
150
  end
151
151
 
152
152
  # Builds the object from hash
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.0.0rc6'
14
+ VERSION = '3.0.0rc7'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.1.3-SNAPSHOT
11
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -75,6 +75,7 @@ describe 'ArtifactsApi' do
75
75
  # @option opts [Integer] :limit Number of results to return per page.
76
76
  # @option opts [Integer] :offset The initial index from which to return the results.
77
77
  # @option opts [String] :fields A list of fields to include in the response.
78
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
78
79
  # @return [InlineResponse200]
79
80
  describe 'list test' do
80
81
  it 'should work' do
@@ -87,6 +88,7 @@ describe 'ArtifactsApi' do
87
88
  # @param artifact_href URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/
88
89
  # @param [Hash] opts the optional parameters
89
90
  # @option opts [String] :fields A list of fields to include in the response.
91
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
90
92
  # @return [Artifact]
91
93
  describe 'read test' do
92
94
  it 'should work' do