pulpcore_client 3.0.0rc4 → 3.0.0rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ArtifactsApi.md +12 -6
  4. data/docs/ContentSummary.md +21 -0
  5. data/docs/InlineResponse200.md +3 -3
  6. data/docs/InlineResponse2001.md +3 -3
  7. data/docs/InlineResponse2002.md +3 -3
  8. data/docs/InlineResponse2003.md +3 -3
  9. data/docs/InlineResponse2004.md +3 -3
  10. data/docs/InlineResponse2005.md +3 -3
  11. data/docs/RepositoriesApi.md +9 -3
  12. data/docs/RepositoriesVersionsApi.md +12 -6
  13. data/docs/RepositoryVersion.md +1 -1
  14. data/docs/StatusApi.md +9 -3
  15. data/docs/Task.md +4 -2
  16. data/docs/TasksApi.md +16 -6
  17. data/docs/UploadsApi.md +13 -7
  18. data/docs/WorkersApi.md +12 -6
  19. data/git_push.sh +10 -7
  20. data/lib/pulpcore_client/api/artifacts_api.rb +15 -9
  21. data/lib/pulpcore_client/api/orphans_api.rb +1 -1
  22. data/lib/pulpcore_client/api/repositories_api.rb +11 -5
  23. data/lib/pulpcore_client/api/repositories_versions_api.rb +17 -11
  24. data/lib/pulpcore_client/api/status_api.rb +4 -1
  25. data/lib/pulpcore_client/api/tasks_api.rb +22 -10
  26. data/lib/pulpcore_client/api/uploads_api.rb +19 -13
  27. data/lib/pulpcore_client/api/workers_api.rb +14 -8
  28. data/lib/pulpcore_client/api_client.rb +65 -64
  29. data/lib/pulpcore_client/api_error.rb +1 -1
  30. data/lib/pulpcore_client/configuration.rb +12 -17
  31. data/lib/pulpcore_client/models/artifact.rb +1 -1
  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 +236 -0
  35. data/lib/pulpcore_client/models/database_connection.rb +1 -1
  36. data/lib/pulpcore_client/models/inline_response200.rb +11 -11
  37. data/lib/pulpcore_client/models/inline_response2001.rb +11 -11
  38. data/lib/pulpcore_client/models/inline_response2002.rb +11 -11
  39. data/lib/pulpcore_client/models/inline_response2003.rb +11 -11
  40. data/lib/pulpcore_client/models/inline_response2004.rb +11 -11
  41. data/lib/pulpcore_client/models/inline_response2005.rb +11 -11
  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 +1 -1
  45. data/lib/pulpcore_client/models/repository_version.rb +2 -3
  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 +20 -7
  49. data/lib/pulpcore_client/models/task_cancel.rb +1 -1
  50. data/lib/pulpcore_client/models/upload.rb +1 -1
  51. data/lib/pulpcore_client/models/upload_chunk_detail.rb +1 -1
  52. data/lib/pulpcore_client/models/upload_commit.rb +1 -1
  53. data/lib/pulpcore_client/models/upload_detail.rb +1 -1
  54. data/lib/pulpcore_client/models/version.rb +1 -1
  55. data/lib/pulpcore_client/models/worker.rb +1 -1
  56. data/lib/pulpcore_client/version.rb +2 -2
  57. data/lib/pulpcore_client.rb +2 -1
  58. data/pulpcore_client.gemspec +1 -3
  59. data/spec/api/artifacts_api_spec.rb +5 -3
  60. data/spec/api/orphans_api_spec.rb +1 -1
  61. data/spec/api/repositories_api_spec.rb +3 -1
  62. data/spec/api/repositories_versions_api_spec.rb +5 -3
  63. data/spec/api/status_api_spec.rb +2 -1
  64. data/spec/api/tasks_api_spec.rb +7 -3
  65. data/spec/api/uploads_api_spec.rb +6 -4
  66. data/spec/api/workers_api_spec.rb +5 -3
  67. data/spec/api_client_spec.rb +1 -39
  68. data/spec/configuration_spec.rb +1 -1
  69. data/spec/models/artifact_spec.rb +1 -1
  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 +53 -0
  73. data/spec/models/database_connection_spec.rb +1 -1
  74. data/spec/models/inline_response2001_spec.rb +4 -4
  75. data/spec/models/inline_response2002_spec.rb +4 -4
  76. data/spec/models/inline_response2003_spec.rb +4 -4
  77. data/spec/models/inline_response2004_spec.rb +4 -4
  78. data/spec/models/inline_response2005_spec.rb +4 -4
  79. data/spec/models/inline_response200_spec.rb +4 -4
  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 +1 -1
  83. data/spec/models/repository_version_create_spec.rb +1 -1
  84. data/spec/models/repository_version_spec.rb +1 -1
  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 +7 -1
  88. data/spec/models/upload_chunk_detail_spec.rb +1 -1
  89. data/spec/models/upload_commit_spec.rb +1 -1
  90. data/spec/models/upload_detail_spec.rb +1 -1
  91. data/spec/models/upload_spec.rb +1 -1
  92. data/spec/models/version_spec.rb +1 -1
  93. data/spec/models/worker_spec.rb +1 -1
  94. data/spec/spec_helper.rb +1 -1
  95. metadata +6 -42
@@ -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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class InlineResponse200
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpcoreClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<Artifact>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpcoreClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpcoreClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpcoreClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class InlineResponse2001
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpcoreClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<Repository>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpcoreClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpcoreClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpcoreClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class InlineResponse2002
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpcoreClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<RepositoryVersion>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpcoreClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpcoreClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpcoreClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class InlineResponse2003
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpcoreClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<Task>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpcoreClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpcoreClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpcoreClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class InlineResponse2004
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpcoreClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<Upload>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpcoreClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpcoreClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpcoreClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpcoreClient
16
16
  class InlineResponse2005
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpcoreClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<Worker>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpcoreClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpcoreClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpcoreClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpcoreClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -24,7 +24,6 @@ module PulpcoreClient
24
24
  # A repository version whose content was used as the initial set of content for this repository version
25
25
  attr_accessor :base_version
26
26
 
27
- # Various count summaries of the content in the version and the HREF to view them.
28
27
  attr_accessor :content_summary
29
28
 
30
29
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,7 +44,7 @@ module PulpcoreClient
45
44
  :'_created' => :'DateTime',
46
45
  :'number' => :'Integer',
47
46
  :'base_version' => :'String',
48
- :'content_summary' => :'String'
47
+ :'content_summary' => :'ContentSummary'
49
48
  }
50
49
  end
51
50
 
@@ -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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # Resources created by this task.
52
52
  attr_accessor :created_resources
53
53
 
54
+ attr_accessor :reserved_resources_record
55
+
54
56
  # Attribute mapping from ruby-style variable name to JSON key.
55
57
  def self.attribute_map
56
58
  {
@@ -66,7 +68,8 @@ module PulpcoreClient
66
68
  :'parent' => :'parent',
67
69
  :'spawned_tasks' => :'spawned_tasks',
68
70
  :'progress_reports' => :'progress_reports',
69
- :'created_resources' => :'created_resources'
71
+ :'created_resources' => :'created_resources',
72
+ :'reserved_resources_record' => :'reserved_resources_record'
70
73
  }
71
74
  end
72
75
 
@@ -80,12 +83,13 @@ module PulpcoreClient
80
83
  :'started_at' => :'DateTime',
81
84
  :'finished_at' => :'DateTime',
82
85
  :'non_fatal_errors' => :'String',
83
- :'error' => :'String',
86
+ :'error' => :'Hash<String, String>',
84
87
  :'worker' => :'String',
85
88
  :'parent' => :'String',
86
89
  :'spawned_tasks' => :'Array<String>',
87
90
  :'progress_reports' => :'Array<ProgressReport>',
88
- :'created_resources' => :'Array<String>'
91
+ :'created_resources' => :'Array<String>',
92
+ :'reserved_resources_record' => :'Array<Object>'
89
93
  }
90
94
  end
91
95
 
@@ -133,7 +137,9 @@ module PulpcoreClient
133
137
  end
134
138
 
135
139
  if attributes.key?(:'error')
136
- self.error = attributes[:'error']
140
+ if (value = attributes[:'error']).is_a?(Hash)
141
+ self.error = value
142
+ end
137
143
  end
138
144
 
139
145
  if attributes.key?(:'worker')
@@ -161,6 +167,12 @@ module PulpcoreClient
161
167
  self.created_resources = value
162
168
  end
163
169
  end
170
+
171
+ if attributes.key?(:'reserved_resources_record')
172
+ if (value = attributes[:'reserved_resources_record']).is_a?(Array)
173
+ self.reserved_resources_record = value
174
+ end
175
+ end
164
176
  end
165
177
 
166
178
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -232,7 +244,8 @@ module PulpcoreClient
232
244
  parent == o.parent &&
233
245
  spawned_tasks == o.spawned_tasks &&
234
246
  progress_reports == o.progress_reports &&
235
- created_resources == o.created_resources
247
+ created_resources == o.created_resources &&
248
+ reserved_resources_record == o.reserved_resources_record
236
249
  end
237
250
 
238
251
  # @see the `==` method
@@ -244,7 +257,7 @@ module PulpcoreClient
244
257
  # Calculates hash code according to all attributes.
245
258
  # @return [Integer] Hash code
246
259
  def hash
247
- [_href, _created, state, name, started_at, finished_at, non_fatal_errors, error, worker, parent, spawned_tasks, progress_reports, created_resources].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
248
261
  end
249
262
 
250
263
  # 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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
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.0.2
9
+ OpenAPI Generator version: 4.1.2
10
10
 
11
11
  =end
12
12