pulpcore_client 3.49.5 → 3.49.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ArtifactDistributionResponse.md +6 -6
  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/lib/pulpcore_client/models/artifact_distribution_response.rb +29 -29
  39. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +10 -0
  40. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +10 -0
  41. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +10 -0
  42. data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +10 -0
  43. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +10 -0
  44. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +10 -0
  45. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +10 -0
  46. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +10 -0
  47. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +10 -0
  48. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +10 -0
  49. data/lib/pulpcore_client/models/paginated_group_response_list.rb +10 -0
  50. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +10 -0
  51. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +10 -0
  52. data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +10 -0
  53. data/lib/pulpcore_client/models/paginated_import_response_list.rb +10 -0
  54. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +10 -0
  55. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +10 -0
  56. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +10 -0
  57. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +10 -0
  58. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +10 -0
  59. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +10 -0
  60. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +10 -0
  61. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +10 -0
  62. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +10 -0
  63. data/lib/pulpcore_client/models/paginated_role_response_list.rb +10 -0
  64. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +10 -0
  65. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +10 -0
  66. data/lib/pulpcore_client/models/paginated_task_response_list.rb +10 -0
  67. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +10 -0
  68. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +10 -0
  69. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +10 -0
  70. data/lib/pulpcore_client/models/paginated_user_response_list.rb +10 -0
  71. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +10 -0
  72. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +10 -0
  73. data/lib/pulpcore_client/version.rb +1 -1
  74. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  75. metadata +2 -2
@@ -18,6 +18,9 @@ module PulpcoreClient
18
18
  # Timestamp of creation.
19
19
  attr_accessor :pulp_created
20
20
 
21
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
+ attr_accessor :base_path
23
+
21
24
  # The URL for accessing the publication as defined by this distribution.
22
25
  attr_accessor :base_url
23
26
 
@@ -26,32 +29,29 @@ module PulpcoreClient
26
29
  # 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.
27
30
  attr_accessor :pulp_last_updated
28
31
 
29
- attr_accessor :pulp_labels
30
-
31
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
32
- attr_accessor :base_path
32
+ # An optional content-guard.
33
+ attr_accessor :content_guard
33
34
 
34
- # Whether this distribution should be shown in the content app.
35
- attr_accessor :hidden
35
+ attr_accessor :pulp_labels
36
36
 
37
37
  # A unique name. Ex, `rawhide` and `stable`.
38
38
  attr_accessor :name
39
39
 
40
- # An optional content-guard.
41
- attr_accessor :content_guard
40
+ # Whether this distribution should be shown in the content app.
41
+ attr_accessor :hidden
42
42
 
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
46
  :'pulp_created' => :'pulp_created',
47
+ :'base_path' => :'base_path',
47
48
  :'base_url' => :'base_url',
48
49
  :'pulp_href' => :'pulp_href',
49
50
  :'pulp_last_updated' => :'pulp_last_updated',
51
+ :'content_guard' => :'content_guard',
50
52
  :'pulp_labels' => :'pulp_labels',
51
- :'base_path' => :'base_path',
52
- :'hidden' => :'hidden',
53
53
  :'name' => :'name',
54
- :'content_guard' => :'content_guard'
54
+ :'hidden' => :'hidden'
55
55
  }
56
56
  end
57
57
 
@@ -59,21 +59,21 @@ module PulpcoreClient
59
59
  def self.openapi_types
60
60
  {
61
61
  :'pulp_created' => :'DateTime',
62
+ :'base_path' => :'String',
62
63
  :'base_url' => :'String',
63
64
  :'pulp_href' => :'String',
64
65
  :'pulp_last_updated' => :'DateTime',
66
+ :'content_guard' => :'String',
65
67
  :'pulp_labels' => :'Hash<String, String>',
66
- :'base_path' => :'String',
67
- :'hidden' => :'Boolean',
68
68
  :'name' => :'String',
69
- :'content_guard' => :'String'
69
+ :'hidden' => :'Boolean'
70
70
  }
71
71
  end
72
72
 
73
73
  # List of attributes with nullable: true
74
74
  def self.openapi_nullable
75
75
  Set.new([
76
- :'content_guard'
76
+ :'content_guard',
77
77
  ])
78
78
  end
79
79
 
@@ -96,6 +96,10 @@ module PulpcoreClient
96
96
  self.pulp_created = attributes[:'pulp_created']
97
97
  end
98
98
 
99
+ if attributes.key?(:'base_path')
100
+ self.base_path = attributes[:'base_path']
101
+ end
102
+
99
103
  if attributes.key?(:'base_url')
100
104
  self.base_url = attributes[:'base_url']
101
105
  end
@@ -108,14 +112,18 @@ module PulpcoreClient
108
112
  self.pulp_last_updated = attributes[:'pulp_last_updated']
109
113
  end
110
114
 
115
+ if attributes.key?(:'content_guard')
116
+ self.content_guard = attributes[:'content_guard']
117
+ end
118
+
111
119
  if attributes.key?(:'pulp_labels')
112
120
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
113
121
  self.pulp_labels = value
114
122
  end
115
123
  end
116
124
 
117
- if attributes.key?(:'base_path')
118
- self.base_path = attributes[:'base_path']
125
+ if attributes.key?(:'name')
126
+ self.name = attributes[:'name']
119
127
  end
120
128
 
121
129
  if attributes.key?(:'hidden')
@@ -123,14 +131,6 @@ module PulpcoreClient
123
131
  else
124
132
  self.hidden = false
125
133
  end
126
-
127
- if attributes.key?(:'name')
128
- self.name = attributes[:'name']
129
- end
130
-
131
- if attributes.key?(:'content_guard')
132
- self.content_guard = attributes[:'content_guard']
133
- end
134
134
  end
135
135
 
136
136
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -162,14 +162,14 @@ module PulpcoreClient
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
164
  pulp_created == o.pulp_created &&
165
+ base_path == o.base_path &&
165
166
  base_url == o.base_url &&
166
167
  pulp_href == o.pulp_href &&
167
168
  pulp_last_updated == o.pulp_last_updated &&
169
+ content_guard == o.content_guard &&
168
170
  pulp_labels == o.pulp_labels &&
169
- base_path == o.base_path &&
170
- hidden == o.hidden &&
171
171
  name == o.name &&
172
- content_guard == o.content_guard
172
+ hidden == o.hidden
173
173
  end
174
174
 
175
175
  # @see the `==` method
@@ -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_created, base_url, pulp_href, pulp_last_updated, pulp_labels, base_path, hidden, name, content_guard].hash
184
+ [pulp_created, base_path, base_url, pulp_href, pulp_last_updated, content_guard, pulp_labels, name, hidden].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