pulp_rpm_client 3.25.4 → 3.25.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 +5 -5
- data/docs/AcsRpmApi.md +5 -3
- data/docs/ArtifactResponse.md +4 -0
- data/docs/ContentAdvisoriesApi.md +14 -10
- data/docs/ContentDistributionTreesApi.md +11 -9
- data/docs/ContentModulemdDefaultsApi.md +11 -9
- data/docs/ContentModulemdObsoletesApi.md +11 -9
- data/docs/ContentModulemdsApi.md +11 -9
- data/docs/ContentPackagecategoriesApi.md +11 -9
- data/docs/ContentPackageenvironmentsApi.md +11 -9
- data/docs/ContentPackagegroupsApi.md +11 -9
- data/docs/ContentPackagelangpacksApi.md +11 -9
- data/docs/ContentPackagesApi.md +14 -10
- data/docs/ContentRepoMetadataFilesApi.md +11 -9
- data/docs/Copy.md +1 -1
- data/docs/DistributionsRpmApi.md +5 -3
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdResponseList.md +2 -2
- data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
- data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
- data/docs/PaginatedrpmPackageResponseList.md +2 -2
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
- data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
- data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
- data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
- data/docs/PatchedrpmRpmRepository.md +1 -1
- data/docs/PublicationsRpmApi.md +13 -11
- data/docs/RemotesRpmApi.md +5 -3
- data/docs/RemotesUlnApi.md +5 -3
- data/docs/RepositoriesRpmApi.md +9 -7
- data/docs/RepositoriesRpmVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +4 -0
- data/docs/RpmCompsApi.md +1 -1
- data/docs/RpmCopyApi.md +1 -1
- data/docs/RpmModulemd.md +3 -3
- data/docs/RpmModulemdDefaults.md +1 -1
- data/docs/RpmModulemdDefaultsResponse.md +5 -1
- data/docs/RpmModulemdObsoleteResponse.md +4 -0
- data/docs/RpmModulemdResponse.md +7 -3
- data/docs/RpmPackage.md +3 -1
- data/docs/RpmPackageCategoryResponse.md +7 -3
- data/docs/RpmPackageEnvironmentResponse.md +8 -4
- data/docs/RpmPackageGroupResponse.md +7 -3
- data/docs/RpmPackageLangpacksResponse.md +5 -1
- data/docs/RpmPackageResponse.md +14 -10
- data/docs/RpmRepoMetadataFileResponse.md +4 -0
- data/docs/RpmRpmAlternateContentSourceResponse.md +4 -0
- data/docs/RpmRpmDistributionResponse.md +6 -0
- data/docs/RpmRpmPublication.md +1 -1
- data/docs/RpmRpmPublicationResponse.md +5 -1
- data/docs/RpmRpmRemoteResponse.md +4 -2
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepository.md +1 -1
- data/docs/RpmRpmRepositoryResponse.md +5 -1
- data/docs/RpmUlnRemoteResponse.md +4 -2
- data/docs/RpmUpdateCollection.md +1 -1
- data/docs/RpmUpdateCollectionResponse.md +1 -1
- data/docs/RpmUpdateRecord.md +3 -1
- data/docs/RpmUpdateRecordResponse.md +4 -0
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -8
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -8
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -8
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +14 -11
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +5 -2
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +5 -2
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +10 -7
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/artifact_response.rb +22 -2
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +3 -3
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +25 -5
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +24 -4
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +31 -11
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +21 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +31 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +22 -2
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +20 -20
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +41 -31
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +29 -4
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +21 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +2 -1
- data/spec/api/content_advisories_api_spec.rb +6 -4
- data/spec/api/content_distribution_trees_api_spec.rb +5 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -4
- data/spec/api/content_modulemds_api_spec.rb +5 -4
- data/spec/api/content_packagecategories_api_spec.rb +5 -4
- data/spec/api/content_packageenvironments_api_spec.rb +5 -4
- data/spec/api/content_packagegroups_api_spec.rb +5 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +6 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -4
- data/spec/api/distributions_rpm_api_spec.rb +2 -1
- data/spec/api/publications_rpm_api_spec.rb +6 -5
- data/spec/api/remotes_rpm_api_spec.rb +2 -1
- data/spec/api/remotes_uln_api_spec.rb +2 -1
- data/spec/api/repositories_rpm_api_spec.rb +4 -3
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_response_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +12 -0
- data/spec/models/rpm_modulemd_response_spec.rb +12 -0
- data/spec/models/rpm_package_category_response_spec.rb +12 -0
- data/spec/models/rpm_package_environment_response_spec.rb +12 -0
- data/spec/models/rpm_package_group_response_spec.rb +12 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +12 -0
- data/spec/models/rpm_package_response_spec.rb +12 -0
- data/spec/models/rpm_package_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +18 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +12 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +12 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +12 -6
- data/spec/models/rpm_update_record_response_spec.rb +12 -0
- data/spec/models/rpm_update_record_spec.rb +6 -0
- metadata +96 -96
@@ -13,13 +13,19 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class ArtifactResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# 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
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# The stored file.
|
24
30
|
attr_accessor :file
|
25
31
|
|
@@ -48,7 +54,9 @@ module PulpRpmClient
|
|
48
54
|
def self.attribute_map
|
49
55
|
{
|
50
56
|
:'pulp_href' => :'pulp_href',
|
57
|
+
:'prn' => :'prn',
|
51
58
|
:'pulp_created' => :'pulp_created',
|
59
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
52
60
|
:'file' => :'file',
|
53
61
|
:'size' => :'size',
|
54
62
|
:'md5' => :'md5',
|
@@ -64,7 +72,9 @@ module PulpRpmClient
|
|
64
72
|
def self.openapi_types
|
65
73
|
{
|
66
74
|
:'pulp_href' => :'String',
|
75
|
+
:'prn' => :'String',
|
67
76
|
:'pulp_created' => :'DateTime',
|
77
|
+
:'pulp_last_updated' => :'DateTime',
|
68
78
|
:'file' => :'String',
|
69
79
|
:'size' => :'Integer',
|
70
80
|
:'md5' => :'String',
|
@@ -107,10 +117,18 @@ module PulpRpmClient
|
|
107
117
|
self.pulp_href = attributes[:'pulp_href']
|
108
118
|
end
|
109
119
|
|
120
|
+
if attributes.key?(:'prn')
|
121
|
+
self.prn = attributes[:'prn']
|
122
|
+
end
|
123
|
+
|
110
124
|
if attributes.key?(:'pulp_created')
|
111
125
|
self.pulp_created = attributes[:'pulp_created']
|
112
126
|
end
|
113
127
|
|
128
|
+
if attributes.key?(:'pulp_last_updated')
|
129
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
130
|
+
end
|
131
|
+
|
114
132
|
if attributes.key?(:'file')
|
115
133
|
self.file = attributes[:'file']
|
116
134
|
end
|
@@ -168,7 +186,9 @@ module PulpRpmClient
|
|
168
186
|
return true if self.equal?(o)
|
169
187
|
self.class == o.class &&
|
170
188
|
pulp_href == o.pulp_href &&
|
189
|
+
prn == o.prn &&
|
171
190
|
pulp_created == o.pulp_created &&
|
191
|
+
pulp_last_updated == o.pulp_last_updated &&
|
172
192
|
file == o.file &&
|
173
193
|
size == o.size &&
|
174
194
|
md5 == o.md5 &&
|
@@ -188,7 +208,7 @@ module PulpRpmClient
|
|
188
208
|
# Calculates hash code according to all attributes.
|
189
209
|
# @return [Integer] Hash code
|
190
210
|
def hash
|
191
|
-
[pulp_href, pulp_created, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
|
211
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, file, size, md5, sha1, sha224, sha256, sha384, sha512].hash
|
192
212
|
end
|
193
213
|
|
194
214
|
# Builds the object from hash
|
@@ -88,12 +88,22 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
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
|
|
@@ -314,20 +314,20 @@ module PulpRpmClient
|
|
314
314
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
315
315
|
end
|
316
316
|
|
317
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
318
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
317
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
318
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
319
319
|
end
|
320
320
|
|
321
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
322
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
321
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
322
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
323
323
|
end
|
324
324
|
|
325
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
326
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
325
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
326
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
327
327
|
end
|
328
328
|
|
329
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
330
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
329
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
330
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
331
331
|
end
|
332
332
|
|
333
333
|
if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
@@ -351,10 +351,10 @@ module PulpRpmClient
|
|
351
351
|
return false if !@username.nil? && @username.to_s.length < 1
|
352
352
|
return false if !@password.nil? && @password.to_s.length < 1
|
353
353
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
354
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
355
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
356
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
357
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
354
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
355
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
356
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
357
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
358
358
|
return false if !@sles_auth_token.nil? && @sles_auth_token.to_s.length < 1
|
359
359
|
true
|
360
360
|
end
|
@@ -472,8 +472,8 @@ module PulpRpmClient
|
|
472
472
|
# Custom attribute writer method with validation
|
473
473
|
# @param [Object] total_timeout Value to be assigned
|
474
474
|
def total_timeout=(total_timeout)
|
475
|
-
if !total_timeout.nil? && total_timeout < 0
|
476
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
475
|
+
if !total_timeout.nil? && total_timeout < 0
|
476
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
477
477
|
end
|
478
478
|
|
479
479
|
@total_timeout = total_timeout
|
@@ -482,8 +482,8 @@ module PulpRpmClient
|
|
482
482
|
# Custom attribute writer method with validation
|
483
483
|
# @param [Object] connect_timeout Value to be assigned
|
484
484
|
def connect_timeout=(connect_timeout)
|
485
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
486
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
485
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
486
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
487
487
|
end
|
488
488
|
|
489
489
|
@connect_timeout = connect_timeout
|
@@ -492,8 +492,8 @@ module PulpRpmClient
|
|
492
492
|
# Custom attribute writer method with validation
|
493
493
|
# @param [Object] sock_connect_timeout Value to be assigned
|
494
494
|
def sock_connect_timeout=(sock_connect_timeout)
|
495
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
496
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
495
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
496
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
497
497
|
end
|
498
498
|
|
499
499
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -502,8 +502,8 @@ module PulpRpmClient
|
|
502
502
|
# Custom attribute writer method with validation
|
503
503
|
# @param [Object] sock_read_timeout Value to be assigned
|
504
504
|
def sock_read_timeout=(sock_read_timeout)
|
505
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
506
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
505
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
506
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
507
507
|
end
|
508
508
|
|
509
509
|
@sock_read_timeout = sock_read_timeout
|
@@ -96,7 +96,7 @@ module PulpRpmClient
|
|
96
96
|
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
97
97
|
:'gpgcheck' => :'Integer',
|
98
98
|
:'repo_gpgcheck' => :'Integer',
|
99
|
-
:'repo_config' => :'
|
99
|
+
:'repo_config' => :'AnyType',
|
100
100
|
:'compression_type' => :'CompressionTypeEnum'
|
101
101
|
}
|
102
102
|
end
|