pulpcore_client 3.28.37 → 3.28.39

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