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