pulpcore_client 3.49.0 → 3.50.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 (78) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ArtifactDistributionResponse.md +8 -8
  4. data/docs/PaginatedAccessPolicyResponseList.md +2 -2
  5. data/docs/PaginatedArtifactDistributionResponseList.md +2 -2
  6. data/docs/PaginatedArtifactResponseList.md +2 -2
  7. data/docs/PaginatedCompositeContentGuardResponseList.md +2 -2
  8. data/docs/PaginatedContentGuardResponseList.md +2 -2
  9. data/docs/PaginatedContentRedirectContentGuardResponseList.md +2 -2
  10. data/docs/PaginatedDistributionResponseList.md +2 -2
  11. data/docs/PaginatedDomainResponseList.md +2 -2
  12. data/docs/PaginatedFilesystemExportResponseList.md +2 -2
  13. data/docs/PaginatedFilesystemExporterResponseList.md +2 -2
  14. data/docs/PaginatedGroupResponseList.md +2 -2
  15. data/docs/PaginatedGroupRoleResponseList.md +2 -2
  16. data/docs/PaginatedGroupUserResponseList.md +2 -2
  17. data/docs/PaginatedHeaderContentGuardResponseList.md +2 -2
  18. data/docs/PaginatedImportResponseList.md +2 -2
  19. data/docs/PaginatedMultipleArtifactContentResponseList.md +2 -2
  20. data/docs/PaginatedPublicationResponseList.md +2 -2
  21. data/docs/PaginatedPulpExportResponseList.md +2 -2
  22. data/docs/PaginatedPulpExporterResponseList.md +2 -2
  23. data/docs/PaginatedPulpImporterResponseList.md +2 -2
  24. data/docs/PaginatedRBACContentGuardResponseList.md +2 -2
  25. data/docs/PaginatedRemoteResponseList.md +2 -2
  26. data/docs/PaginatedRepositoryResponseList.md +2 -2
  27. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  28. data/docs/PaginatedRoleResponseList.md +2 -2
  29. data/docs/PaginatedSigningServiceResponseList.md +2 -2
  30. data/docs/PaginatedTaskGroupResponseList.md +2 -2
  31. data/docs/PaginatedTaskResponseList.md +2 -2
  32. data/docs/PaginatedTaskScheduleResponseList.md +2 -2
  33. data/docs/PaginatedUploadResponseList.md +2 -2
  34. data/docs/PaginatedUpstreamPulpResponseList.md +2 -2
  35. data/docs/PaginatedUserResponseList.md +2 -2
  36. data/docs/PaginatedUserRoleResponseList.md +2 -2
  37. data/docs/PaginatedWorkerResponseList.md +2 -2
  38. data/docs/TasksApi.md +2 -2
  39. data/lib/pulpcore_client/api/tasks_api.rb +2 -2
  40. data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
  41. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +10 -0
  42. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +10 -0
  43. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +10 -0
  44. data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +10 -0
  45. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +10 -0
  46. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +10 -0
  47. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +10 -0
  48. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +10 -0
  49. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +10 -0
  50. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +10 -0
  51. data/lib/pulpcore_client/models/paginated_group_response_list.rb +10 -0
  52. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +10 -0
  53. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +10 -0
  54. data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +10 -0
  55. data/lib/pulpcore_client/models/paginated_import_response_list.rb +10 -0
  56. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +10 -0
  57. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +10 -0
  58. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +10 -0
  59. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +10 -0
  60. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +10 -0
  61. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +10 -0
  62. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +10 -0
  63. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +10 -0
  64. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +10 -0
  65. data/lib/pulpcore_client/models/paginated_role_response_list.rb +10 -0
  66. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +10 -0
  67. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +10 -0
  68. data/lib/pulpcore_client/models/paginated_task_response_list.rb +10 -0
  69. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +10 -0
  70. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +10 -0
  71. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +10 -0
  72. data/lib/pulpcore_client/models/paginated_user_response_list.rb +10 -0
  73. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +10 -0
  74. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +10 -0
  75. data/lib/pulpcore_client/version.rb +1 -1
  76. data/spec/api/tasks_api_spec.rb +1 -1
  77. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  78. metadata +150 -150
@@ -15,27 +15,27 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- attr_accessor :pulp_labels
18
+ attr_accessor :pulp_href
19
19
 
20
20
  # An optional content-guard.
21
21
  attr_accessor :content_guard
22
22
 
23
- # Whether this distribution should be shown in the content app.
24
- attr_accessor :hidden
25
-
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
28
-
29
23
  # The URL for accessing the publication as defined by this distribution.
30
24
  attr_accessor :base_url
31
25
 
26
+ attr_accessor :pulp_labels
27
+
32
28
  # A unique name. Ex, `rawhide` and `stable`.
33
29
  attr_accessor :name
34
30
 
31
+ # Whether this distribution should be shown in the content app.
32
+ attr_accessor :hidden
33
+
35
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
36
35
  attr_accessor :base_path
37
36
 
38
- attr_accessor :pulp_href
37
+ # Timestamp of creation.
38
+ attr_accessor :pulp_created
39
39
 
40
40
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
41
41
  attr_accessor :pulp_last_updated
@@ -43,14 +43,14 @@ module PulpcoreClient
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
- :'pulp_labels' => :'pulp_labels',
46
+ :'pulp_href' => :'pulp_href',
47
47
  :'content_guard' => :'content_guard',
48
- :'hidden' => :'hidden',
49
- :'pulp_created' => :'pulp_created',
50
48
  :'base_url' => :'base_url',
49
+ :'pulp_labels' => :'pulp_labels',
51
50
  :'name' => :'name',
51
+ :'hidden' => :'hidden',
52
52
  :'base_path' => :'base_path',
53
- :'pulp_href' => :'pulp_href',
53
+ :'pulp_created' => :'pulp_created',
54
54
  :'pulp_last_updated' => :'pulp_last_updated'
55
55
  }
56
56
  end
@@ -58,14 +58,14 @@ module PulpcoreClient
58
58
  # Attribute type mapping.
59
59
  def self.openapi_types
60
60
  {
61
- :'pulp_labels' => :'Hash<String, String>',
61
+ :'pulp_href' => :'String',
62
62
  :'content_guard' => :'String',
63
- :'hidden' => :'Boolean',
64
- :'pulp_created' => :'DateTime',
65
63
  :'base_url' => :'String',
64
+ :'pulp_labels' => :'Hash<String, String>',
66
65
  :'name' => :'String',
66
+ :'hidden' => :'Boolean',
67
67
  :'base_path' => :'String',
68
- :'pulp_href' => :'String',
68
+ :'pulp_created' => :'DateTime',
69
69
  :'pulp_last_updated' => :'DateTime'
70
70
  }
71
71
  end
@@ -92,40 +92,40 @@ module PulpcoreClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'pulp_labels')
96
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
97
- self.pulp_labels = value
98
- end
95
+ if attributes.key?(:'pulp_href')
96
+ self.pulp_href = attributes[:'pulp_href']
99
97
  end
100
98
 
101
99
  if attributes.key?(:'content_guard')
102
100
  self.content_guard = attributes[:'content_guard']
103
101
  end
104
102
 
105
- if attributes.key?(:'hidden')
106
- self.hidden = attributes[:'hidden']
107
- else
108
- self.hidden = false
109
- end
110
-
111
- if attributes.key?(:'pulp_created')
112
- self.pulp_created = attributes[:'pulp_created']
113
- end
114
-
115
103
  if attributes.key?(:'base_url')
116
104
  self.base_url = attributes[:'base_url']
117
105
  end
118
106
 
107
+ if attributes.key?(:'pulp_labels')
108
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
109
+ self.pulp_labels = value
110
+ end
111
+ end
112
+
119
113
  if attributes.key?(:'name')
120
114
  self.name = attributes[:'name']
121
115
  end
122
116
 
117
+ if attributes.key?(:'hidden')
118
+ self.hidden = attributes[:'hidden']
119
+ else
120
+ self.hidden = false
121
+ end
122
+
123
123
  if attributes.key?(:'base_path')
124
124
  self.base_path = attributes[:'base_path']
125
125
  end
126
126
 
127
- if attributes.key?(:'pulp_href')
128
- self.pulp_href = attributes[:'pulp_href']
127
+ if attributes.key?(:'pulp_created')
128
+ self.pulp_created = attributes[:'pulp_created']
129
129
  end
130
130
 
131
131
  if attributes.key?(:'pulp_last_updated')
@@ -161,14 +161,14 @@ module PulpcoreClient
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
- pulp_labels == o.pulp_labels &&
164
+ pulp_href == o.pulp_href &&
165
165
  content_guard == o.content_guard &&
166
- hidden == o.hidden &&
167
- pulp_created == o.pulp_created &&
168
166
  base_url == o.base_url &&
167
+ pulp_labels == o.pulp_labels &&
169
168
  name == o.name &&
169
+ hidden == o.hidden &&
170
170
  base_path == o.base_path &&
171
- pulp_href == o.pulp_href &&
171
+ pulp_created == o.pulp_created &&
172
172
  pulp_last_updated == o.pulp_last_updated
173
173
  end
174
174
 
@@ -181,7 +181,7 @@ module PulpcoreClient
181
181
  # Calculates hash code according to all attributes.
182
182
  # @return [Integer] Hash code
183
183
  def hash
184
- [pulp_labels, content_guard, hidden, pulp_created, base_url, name, base_path, pulp_href, pulp_last_updated].hash
184
+ [pulp_href, content_guard, base_url, pulp_labels, name, hidden, base_path, pulp_created, pulp_last_updated].hash
185
185
  end
186
186
 
187
187
  # Builds the object from hash
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109