pulpcore_client 3.4.1 → 3.5.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.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -15
  3. data/docs/{ArtifactRead.md → Artifact.md} +2 -2
  4. data/docs/ArtifactsApi.md +10 -10
  5. data/docs/ExportersCoreExportsApi.md +2 -2
  6. data/docs/ExportersPulpApi.md +8 -8
  7. data/docs/GroupProgressReport.md +25 -0
  8. data/docs/{ImportRead.md → Import.md} +2 -2
  9. data/docs/ImportersCoreImportsApi.md +2 -2
  10. data/docs/ImportersPulpApi.md +8 -8
  11. data/docs/InlineResponse200.md +1 -1
  12. data/docs/InlineResponse2001.md +1 -1
  13. data/docs/InlineResponse2002.md +1 -1
  14. data/docs/InlineResponse2003.md +1 -1
  15. data/docs/InlineResponse2004.md +1 -1
  16. data/docs/InlineResponse2005.md +1 -1
  17. data/docs/InlineResponse2006.md +1 -1
  18. data/docs/InlineResponse2007.md +1 -1
  19. data/docs/InlineResponse2008.md +1 -1
  20. data/docs/InlineResponse2009.md +1 -1
  21. data/docs/PulpExport.md +0 -8
  22. data/docs/{SigningServiceRead.md → SigningService.md} +2 -2
  23. data/docs/SigningServicesApi.md +2 -2
  24. data/docs/{TaskGroupRead.md → TaskGroup.md} +5 -3
  25. data/docs/TaskGroupsApi.md +2 -2
  26. data/docs/TasksApi.md +2 -2
  27. data/docs/{UploadDetailRead.md → UploadDetail.md} +2 -2
  28. data/docs/UploadsApi.md +4 -6
  29. data/docs/WorkersApi.md +4 -4
  30. data/lib/pulpcore_client/api/artifacts_api.rb +15 -15
  31. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +3 -3
  32. data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
  33. data/lib/pulpcore_client/api/importers_core_imports_api.rb +3 -3
  34. data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
  35. data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
  36. data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
  37. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  38. data/lib/pulpcore_client/api/uploads_api.rb +6 -9
  39. data/lib/pulpcore_client/api/workers_api.rb +6 -6
  40. data/lib/pulpcore_client/models/{artifact_read.rb → artifact.rb} +3 -3
  41. data/lib/pulpcore_client/models/{pulp_importer_read.rb → group_progress_report.rb} +77 -46
  42. data/lib/pulpcore_client/models/{import_read.rb → import.rb} +3 -3
  43. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  44. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  45. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  46. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  47. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  48. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  49. data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
  50. data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
  51. data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
  52. data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
  53. data/lib/pulpcore_client/models/pulp_export.rb +1 -62
  54. data/lib/pulpcore_client/models/{signing_service_read.rb → signing_service.rb} +3 -3
  55. data/lib/pulpcore_client/models/{task_group_read.rb → task_group.rb} +18 -7
  56. data/lib/pulpcore_client/models/{upload_detail_read.rb → upload_detail.rb} +3 -3
  57. data/lib/pulpcore_client/version.rb +1 -1
  58. data/lib/pulpcore_client.rb +6 -11
  59. data/spec/api/artifacts_api_spec.rb +5 -5
  60. data/spec/api/exporters_core_exports_api_spec.rb +1 -1
  61. data/spec/api/exporters_pulp_api_spec.rb +4 -4
  62. data/spec/api/importers_core_imports_api_spec.rb +1 -1
  63. data/spec/api/importers_pulp_api_spec.rb +4 -4
  64. data/spec/api/signing_services_api_spec.rb +1 -1
  65. data/spec/api/task_groups_api_spec.rb +1 -1
  66. data/spec/api/tasks_api_spec.rb +1 -1
  67. data/spec/api/uploads_api_spec.rb +2 -3
  68. data/spec/api/workers_api_spec.rb +2 -2
  69. data/spec/models/{artifact_read_spec.rb → artifact_spec.rb} +6 -6
  70. data/spec/models/{pulp_exporter_read_spec.rb → group_progress_report_spec.rb} +11 -17
  71. data/spec/models/{import_read_spec.rb → import_spec.rb} +6 -6
  72. data/spec/models/pulp_export_spec.rb +0 -24
  73. data/spec/models/{signing_service_read_spec.rb → signing_service_spec.rb} +6 -6
  74. data/spec/models/{task_group_read_spec.rb → task_group_spec.rb} +12 -6
  75. data/spec/models/{upload_detail_read_spec.rb → upload_detail_spec.rb} +6 -6
  76. metadata +26 -46
  77. data/docs/PulpExportRead.md +0 -27
  78. data/docs/PulpExporterRead.md +0 -27
  79. data/docs/PulpImporterRead.md +0 -23
  80. data/docs/TaskRead.md +0 -43
  81. data/docs/UploadRead.md +0 -23
  82. data/docs/WorkerRead.md +0 -23
  83. data/lib/pulpcore_client/models/pulp_export_read.rb +0 -259
  84. data/lib/pulpcore_client/models/pulp_exporter_read.rb +0 -311
  85. data/lib/pulpcore_client/models/task_read.rb +0 -383
  86. data/lib/pulpcore_client/models/upload_read.rb +0 -241
  87. data/lib/pulpcore_client/models/worker_read.rb +0 -251
  88. data/spec/models/pulp_export_read_spec.rb +0 -71
  89. data/spec/models/pulp_importer_read_spec.rb +0 -59
  90. data/spec/models/task_read_spec.rb +0 -119
  91. data/spec/models/upload_read_spec.rb +0 -59
  92. data/spec/models/worker_read_spec.rb +0 -59
@@ -29,9 +29,9 @@ module PulpcoreClient
29
29
  # @option opts [String] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
30
30
  # @option opts [String] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
31
31
  # @option opts [String] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
32
+ # @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
32
33
  # @option opts [String] :online
33
34
  # @option opts [String] :missing
34
- # @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
35
35
  # @option opts [Integer] :limit Number of results to return per page.
36
36
  # @option opts [Integer] :offset The initial index from which to return the results.
37
37
  # @option opts [String] :fields A list of fields to include in the response.
@@ -52,9 +52,9 @@ module PulpcoreClient
52
52
  # @option opts [String] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
53
53
  # @option opts [String] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
54
54
  # @option opts [String] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values
55
+ # @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
55
56
  # @option opts [String] :online
56
57
  # @option opts [String] :missing
57
- # @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported
58
58
  # @option opts [Integer] :limit Number of results to return per page.
59
59
  # @option opts [Integer] :offset The initial index from which to return the results.
60
60
  # @option opts [String] :fields A list of fields to include in the response.
@@ -77,9 +77,9 @@ module PulpcoreClient
77
77
  query_params[:'last_heartbeat__gt'] = opts[:'last_heartbeat__gt'] if !opts[:'last_heartbeat__gt'].nil?
78
78
  query_params[:'last_heartbeat__gte'] = opts[:'last_heartbeat__gte'] if !opts[:'last_heartbeat__gte'].nil?
79
79
  query_params[:'last_heartbeat__range'] = opts[:'last_heartbeat__range'] if !opts[:'last_heartbeat__range'].nil?
80
+ query_params[:'last_heartbeat'] = opts[:'last_heartbeat'] if !opts[:'last_heartbeat'].nil?
80
81
  query_params[:'online'] = opts[:'online'] if !opts[:'online'].nil?
81
82
  query_params[:'missing'] = opts[:'missing'] if !opts[:'missing'].nil?
82
- query_params[:'last_heartbeat'] = opts[:'last_heartbeat'] if !opts[:'last_heartbeat'].nil?
83
83
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
84
84
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
85
85
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -123,7 +123,7 @@ module PulpcoreClient
123
123
  # @param [Hash] opts the optional parameters
124
124
  # @option opts [String] :fields A list of fields to include in the response.
125
125
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
126
- # @return [WorkerRead]
126
+ # @return [Worker]
127
127
  def read(worker_href, opts = {})
128
128
  data, _status_code, _headers = read_with_http_info(worker_href, opts)
129
129
  data
@@ -134,7 +134,7 @@ module PulpcoreClient
134
134
  # @param [Hash] opts the optional parameters
135
135
  # @option opts [String] :fields A list of fields to include in the response.
136
136
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
137
- # @return [Array<(WorkerRead, Integer, Hash)>] WorkerRead data, response status code and response headers
137
+ # @return [Array<(Worker, Integer, Hash)>] Worker data, response status code and response headers
138
138
  def read_with_http_info(worker_href, opts = {})
139
139
  if @api_client.config.debugging
140
140
  @api_client.config.logger.debug 'Calling API: WorkersApi.read ...'
@@ -163,7 +163,7 @@ module PulpcoreClient
163
163
  post_body = opts[:body]
164
164
 
165
165
  # return_type
166
- return_type = opts[:return_type] || 'WorkerRead'
166
+ return_type = opts[:return_type] || 'Worker'
167
167
 
168
168
  # auth_names
169
169
  auth_names = opts[:auth_names] || ['Basic']
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- class ArtifactRead
16
+ class Artifact
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -91,13 +91,13 @@ module PulpcoreClient
91
91
  # @param [Hash] attributes Model attributes in the form of hash
92
92
  def initialize(attributes = {})
93
93
  if (!attributes.is_a?(Hash))
94
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::ArtifactRead` initialize method"
94
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::Artifact` initialize method"
95
95
  end
96
96
 
97
97
  # check to see if the attribute exists and convert string to symbol for hash key
98
98
  attributes = attributes.each_with_object({}) { |(k, v), h|
99
99
  if (!self.class.attribute_map.key?(k.to_sym))
100
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::ArtifactRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
100
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::Artifact`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
101
101
  end
102
102
  h[k.to_sym] = v
103
103
  }
@@ -13,41 +13,48 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- class PulpImporterRead
17
- attr_accessor :pulp_href
16
+ class GroupProgressReport
17
+ # The message shown to the user for the group progress report.
18
+ attr_accessor :message
18
19
 
19
- # Timestamp of creation.
20
- attr_accessor :pulp_created
20
+ # Identifies the type of group progress report'.
21
+ attr_accessor :code
21
22
 
22
- # Unique name of the Importer.
23
- attr_accessor :name
23
+ # The total count of items.
24
+ attr_accessor :total
24
25
 
25
- # 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'}\".
26
- attr_accessor :repo_mapping
26
+ # The count of items already processed. Defaults to 0.
27
+ attr_accessor :done
28
+
29
+ # The suffix to be shown with the group progress report.
30
+ attr_accessor :suffix
27
31
 
28
32
  # Attribute mapping from ruby-style variable name to JSON key.
29
33
  def self.attribute_map
30
34
  {
31
- :'pulp_href' => :'pulp_href',
32
- :'pulp_created' => :'pulp_created',
33
- :'name' => :'name',
34
- :'repo_mapping' => :'repo_mapping'
35
+ :'message' => :'message',
36
+ :'code' => :'code',
37
+ :'total' => :'total',
38
+ :'done' => :'done',
39
+ :'suffix' => :'suffix'
35
40
  }
36
41
  end
37
42
 
38
43
  # Attribute type mapping.
39
44
  def self.openapi_types
40
45
  {
41
- :'pulp_href' => :'String',
42
- :'pulp_created' => :'DateTime',
43
- :'name' => :'String',
44
- :'repo_mapping' => :'Hash<String, String>'
46
+ :'message' => :'String',
47
+ :'code' => :'String',
48
+ :'total' => :'Integer',
49
+ :'done' => :'Integer',
50
+ :'suffix' => :'String'
45
51
  }
46
52
  end
47
53
 
48
54
  # List of attributes with nullable: true
49
55
  def self.openapi_nullable
50
56
  Set.new([
57
+ :'suffix'
51
58
  ])
52
59
  end
53
60
 
@@ -55,33 +62,35 @@ module PulpcoreClient
55
62
  # @param [Hash] attributes Model attributes in the form of hash
56
63
  def initialize(attributes = {})
57
64
  if (!attributes.is_a?(Hash))
58
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::PulpImporterRead` initialize method"
65
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::GroupProgressReport` initialize method"
59
66
  end
60
67
 
61
68
  # check to see if the attribute exists and convert string to symbol for hash key
62
69
  attributes = attributes.each_with_object({}) { |(k, v), h|
63
70
  if (!self.class.attribute_map.key?(k.to_sym))
64
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::PulpImporterRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::GroupProgressReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
72
  end
66
73
  h[k.to_sym] = v
67
74
  }
68
75
 
69
- if attributes.key?(:'pulp_href')
70
- self.pulp_href = attributes[:'pulp_href']
76
+ if attributes.key?(:'message')
77
+ self.message = attributes[:'message']
71
78
  end
72
79
 
73
- if attributes.key?(:'pulp_created')
74
- self.pulp_created = attributes[:'pulp_created']
80
+ if attributes.key?(:'code')
81
+ self.code = attributes[:'code']
75
82
  end
76
83
 
77
- if attributes.key?(:'name')
78
- self.name = attributes[:'name']
84
+ if attributes.key?(:'total')
85
+ self.total = attributes[:'total']
79
86
  end
80
87
 
81
- if attributes.key?(:'repo_mapping')
82
- if (value = attributes[:'repo_mapping']).is_a?(Hash)
83
- self.repo_mapping = value
84
- end
88
+ if attributes.key?(:'done')
89
+ self.done = attributes[:'done']
90
+ end
91
+
92
+ if attributes.key?(:'suffix')
93
+ self.suffix = attributes[:'suffix']
85
94
  end
86
95
  end
87
96
 
@@ -89,12 +98,16 @@ module PulpcoreClient
89
98
  # @return Array for valid properties with the reasons
90
99
  def list_invalid_properties
91
100
  invalid_properties = Array.new
92
- if @name.nil?
93
- invalid_properties.push('invalid value for "name", name cannot be nil.')
101
+ if !@message.nil? && @message.to_s.length < 1
102
+ invalid_properties.push('invalid value for "message", the character length must be great than or equal to 1.')
94
103
  end
95
104
 
96
- if @name.to_s.length < 1
97
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
105
+ if !@code.nil? && @code.to_s.length < 1
106
+ invalid_properties.push('invalid value for "code", the character length must be great than or equal to 1.')
107
+ end
108
+
109
+ if !@suffix.nil? && @suffix.to_s.length < 1
110
+ invalid_properties.push('invalid value for "suffix", the character length must be great than or equal to 1.')
98
111
  end
99
112
 
100
113
  invalid_properties
@@ -103,23 +116,40 @@ module PulpcoreClient
103
116
  # Check to see if the all the properties in the model are valid
104
117
  # @return true if the model is valid
105
118
  def valid?
106
- return false if @name.nil?
107
- return false if @name.to_s.length < 1
119
+ return false if !@message.nil? && @message.to_s.length < 1
120
+ return false if !@code.nil? && @code.to_s.length < 1
121
+ return false if !@suffix.nil? && @suffix.to_s.length < 1
108
122
  true
109
123
  end
110
124
 
111
125
  # Custom attribute writer method with validation
112
- # @param [Object] name Value to be assigned
113
- def name=(name)
114
- if name.nil?
115
- fail ArgumentError, 'name cannot be nil'
126
+ # @param [Object] message Value to be assigned
127
+ def message=(message)
128
+ if !message.nil? && message.to_s.length < 1
129
+ fail ArgumentError, 'invalid value for "message", the character length must be great than or equal to 1.'
130
+ end
131
+
132
+ @message = message
133
+ end
134
+
135
+ # Custom attribute writer method with validation
136
+ # @param [Object] code Value to be assigned
137
+ def code=(code)
138
+ if !code.nil? && code.to_s.length < 1
139
+ fail ArgumentError, 'invalid value for "code", the character length must be great than or equal to 1.'
116
140
  end
117
141
 
118
- if name.to_s.length < 1
119
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
142
+ @code = code
143
+ end
144
+
145
+ # Custom attribute writer method with validation
146
+ # @param [Object] suffix Value to be assigned
147
+ def suffix=(suffix)
148
+ if !suffix.nil? && suffix.to_s.length < 1
149
+ fail ArgumentError, 'invalid value for "suffix", the character length must be great than or equal to 1.'
120
150
  end
121
151
 
122
- @name = name
152
+ @suffix = suffix
123
153
  end
124
154
 
125
155
  # Checks equality by comparing each attribute.
@@ -127,10 +157,11 @@ module PulpcoreClient
127
157
  def ==(o)
128
158
  return true if self.equal?(o)
129
159
  self.class == o.class &&
130
- pulp_href == o.pulp_href &&
131
- pulp_created == o.pulp_created &&
132
- name == o.name &&
133
- repo_mapping == o.repo_mapping
160
+ message == o.message &&
161
+ code == o.code &&
162
+ total == o.total &&
163
+ done == o.done &&
164
+ suffix == o.suffix
134
165
  end
135
166
 
136
167
  # @see the `==` method
@@ -142,7 +173,7 @@ module PulpcoreClient
142
173
  # Calculates hash code according to all attributes.
143
174
  # @return [Integer] Hash code
144
175
  def hash
145
- [pulp_href, pulp_created, name, repo_mapping].hash
176
+ [message, code, total, done, suffix].hash
146
177
  end
147
178
 
148
179
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- class ImportRead
16
+ class Import
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -55,13 +55,13 @@ module PulpcoreClient
55
55
  # @param [Hash] attributes Model attributes in the form of hash
56
56
  def initialize(attributes = {})
57
57
  if (!attributes.is_a?(Hash))
58
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::ImportRead` initialize method"
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::Import` initialize method"
59
59
  end
60
60
 
61
61
  # check to see if the attribute exists and convert string to symbol for hash key
62
62
  attributes = attributes.each_with_object({}) { |(k, v), h|
63
63
  if (!self.class.attribute_map.key?(k.to_sym))
64
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::ImportRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::Import`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
65
  end
66
66
  h[k.to_sym] = v
67
67
  }
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<ArtifactRead>'
41
+ :'results' => :'Array<Artifact>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<PulpExporterRead>'
41
+ :'results' => :'Array<PulpExporter>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<PulpExportRead>'
41
+ :'results' => :'Array<PulpExport>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<PulpImporterRead>'
41
+ :'results' => :'Array<PulpImporter>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<ImportRead>'
41
+ :'results' => :'Array<Import>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<SigningServiceRead>'
41
+ :'results' => :'Array<SigningService>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<TaskGroupRead>'
41
+ :'results' => :'Array<TaskGroup>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<TaskRead>'
41
+ :'results' => :'Array<Task>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<UploadRead>'
41
+ :'results' => :'Array<Upload>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<WorkerRead>'
41
+ :'results' => :'Array<Worker>'
42
42
  }
43
43
  end
44
44
 
@@ -28,18 +28,6 @@ module PulpcoreClient
28
28
  # Any additional parameters that were used to create the export.
29
29
  attr_accessor :params
30
30
 
31
- # Do a Full (true) or Incremental (false) export.
32
- attr_accessor :full
33
-
34
- # Generate report on what would be exported and disk-space required.
35
- attr_accessor :dry_run
36
-
37
- # List of explicit repo-version hrefs to export
38
- attr_accessor :versions
39
-
40
- # Chunk export-tarfile into pieces of chunk_size bytes.Recognizes units of B/KB/MB/GB/TB.
41
- attr_accessor :chunk_size
42
-
43
31
  # Dictionary of filename: sha256hash entries for export-output-file(s)
44
32
  attr_accessor :output_file_info
45
33
 
@@ -51,10 +39,6 @@ module PulpcoreClient
51
39
  :'task' => :'task',
52
40
  :'exported_resources' => :'exported_resources',
53
41
  :'params' => :'params',
54
- :'full' => :'full',
55
- :'dry_run' => :'dry_run',
56
- :'versions' => :'versions',
57
- :'chunk_size' => :'chunk_size',
58
42
  :'output_file_info' => :'output_file_info'
59
43
  }
60
44
  end
@@ -67,10 +51,6 @@ module PulpcoreClient
67
51
  :'task' => :'String',
68
52
  :'exported_resources' => :'Array<Object>',
69
53
  :'params' => :'Object',
70
- :'full' => :'Boolean',
71
- :'dry_run' => :'Boolean',
72
- :'versions' => :'Array<String>',
73
- :'chunk_size' => :'String',
74
54
  :'output_file_info' => :'Object'
75
55
  }
76
56
  end
@@ -119,28 +99,6 @@ module PulpcoreClient
119
99
  self.params = attributes[:'params']
120
100
  end
121
101
 
122
- if attributes.key?(:'full')
123
- self.full = attributes[:'full']
124
- else
125
- self.full = true
126
- end
127
-
128
- if attributes.key?(:'dry_run')
129
- self.dry_run = attributes[:'dry_run']
130
- else
131
- self.dry_run = false
132
- end
133
-
134
- if attributes.key?(:'versions')
135
- if (value = attributes[:'versions']).is_a?(Array)
136
- self.versions = value
137
- end
138
- end
139
-
140
- if attributes.key?(:'chunk_size')
141
- self.chunk_size = attributes[:'chunk_size']
142
- end
143
-
144
102
  if attributes.key?(:'output_file_info')
145
103
  self.output_file_info = attributes[:'output_file_info']
146
104
  end
@@ -150,30 +108,15 @@ module PulpcoreClient
150
108
  # @return Array for valid properties with the reasons
151
109
  def list_invalid_properties
152
110
  invalid_properties = Array.new
153
- if !@chunk_size.nil? && @chunk_size.to_s.length < 1
154
- invalid_properties.push('invalid value for "chunk_size", the character length must be great than or equal to 1.')
155
- end
156
-
157
111
  invalid_properties
158
112
  end
159
113
 
160
114
  # Check to see if the all the properties in the model are valid
161
115
  # @return true if the model is valid
162
116
  def valid?
163
- return false if !@chunk_size.nil? && @chunk_size.to_s.length < 1
164
117
  true
165
118
  end
166
119
 
167
- # Custom attribute writer method with validation
168
- # @param [Object] chunk_size Value to be assigned
169
- def chunk_size=(chunk_size)
170
- if !chunk_size.nil? && chunk_size.to_s.length < 1
171
- fail ArgumentError, 'invalid value for "chunk_size", the character length must be great than or equal to 1.'
172
- end
173
-
174
- @chunk_size = chunk_size
175
- end
176
-
177
120
  # Checks equality by comparing each attribute.
178
121
  # @param [Object] Object to be compared
179
122
  def ==(o)
@@ -184,10 +127,6 @@ module PulpcoreClient
184
127
  task == o.task &&
185
128
  exported_resources == o.exported_resources &&
186
129
  params == o.params &&
187
- full == o.full &&
188
- dry_run == o.dry_run &&
189
- versions == o.versions &&
190
- chunk_size == o.chunk_size &&
191
130
  output_file_info == o.output_file_info
192
131
  end
193
132
 
@@ -200,7 +139,7 @@ module PulpcoreClient
200
139
  # Calculates hash code according to all attributes.
201
140
  # @return [Integer] Hash code
202
141
  def hash
203
- [pulp_href, pulp_created, task, exported_resources, params, full, dry_run, versions, chunk_size, output_file_info].hash
142
+ [pulp_href, pulp_created, task, exported_resources, params, output_file_info].hash
204
143
  end
205
144
 
206
145
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- class SigningServiceRead
16
+ class SigningService
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -55,13 +55,13 @@ module PulpcoreClient
55
55
  # @param [Hash] attributes Model attributes in the form of hash
56
56
  def initialize(attributes = {})
57
57
  if (!attributes.is_a?(Hash))
58
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::SigningServiceRead` initialize method"
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::SigningService` initialize method"
59
59
  end
60
60
 
61
61
  # check to see if the attribute exists and convert string to symbol for hash key
62
62
  attributes = attributes.each_with_object({}) { |(k, v), h|
63
63
  if (!self.class.attribute_map.key?(k.to_sym))
64
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::SigningServiceRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::SigningService`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
65
  end
66
66
  h[k.to_sym] = v
67
67
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- class TaskGroupRead
16
+ class TaskGroup
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # A description of the task group.
@@ -40,6 +40,8 @@ module PulpcoreClient
40
40
  # Number of tasks in the 'failed' state
41
41
  attr_accessor :failed
42
42
 
43
+ attr_accessor :group_progress_reports
44
+
43
45
  # Attribute mapping from ruby-style variable name to JSON key.
44
46
  def self.attribute_map
45
47
  {
@@ -51,7 +53,8 @@ module PulpcoreClient
51
53
  :'running' => :'running',
52
54
  :'completed' => :'completed',
53
55
  :'canceled' => :'canceled',
54
- :'failed' => :'failed'
56
+ :'failed' => :'failed',
57
+ :'group_progress_reports' => :'group_progress_reports'
55
58
  }
56
59
  end
57
60
 
@@ -66,7 +69,8 @@ module PulpcoreClient
66
69
  :'running' => :'Integer',
67
70
  :'completed' => :'Integer',
68
71
  :'canceled' => :'Integer',
69
- :'failed' => :'Integer'
72
+ :'failed' => :'Integer',
73
+ :'group_progress_reports' => :'Array<GroupProgressReport>'
70
74
  }
71
75
  end
72
76
 
@@ -80,13 +84,13 @@ module PulpcoreClient
80
84
  # @param [Hash] attributes Model attributes in the form of hash
81
85
  def initialize(attributes = {})
82
86
  if (!attributes.is_a?(Hash))
83
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::TaskGroupRead` initialize method"
87
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::TaskGroup` initialize method"
84
88
  end
85
89
 
86
90
  # check to see if the attribute exists and convert string to symbol for hash key
87
91
  attributes = attributes.each_with_object({}) { |(k, v), h|
88
92
  if (!self.class.attribute_map.key?(k.to_sym))
89
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::TaskGroupRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
93
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::TaskGroup`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
90
94
  end
91
95
  h[k.to_sym] = v
92
96
  }
@@ -126,6 +130,12 @@ module PulpcoreClient
126
130
  if attributes.key?(:'failed')
127
131
  self.failed = attributes[:'failed']
128
132
  end
133
+
134
+ if attributes.key?(:'group_progress_reports')
135
+ if (value = attributes[:'group_progress_reports']).is_a?(Array)
136
+ self.group_progress_reports = value
137
+ end
138
+ end
129
139
  end
130
140
 
131
141
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -183,7 +193,8 @@ module PulpcoreClient
183
193
  running == o.running &&
184
194
  completed == o.completed &&
185
195
  canceled == o.canceled &&
186
- failed == o.failed
196
+ failed == o.failed &&
197
+ group_progress_reports == o.group_progress_reports
187
198
  end
188
199
 
189
200
  # @see the `==` method
@@ -195,7 +206,7 @@ module PulpcoreClient
195
206
  # Calculates hash code according to all attributes.
196
207
  # @return [Integer] Hash code
197
208
  def hash
198
- [pulp_href, description, all_tasks_dispatched, waiting, skipped, running, completed, canceled, failed].hash
209
+ [pulp_href, description, all_tasks_dispatched, waiting, skipped, running, completed, canceled, failed, group_progress_reports].hash
199
210
  end
200
211
 
201
212
  # Builds the object from hash