pulp_rpm_client 3.7.0 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -25
- data/docs/ContentAdvisoriesApi.md +2 -2
- data/docs/ContentDistributionTreesApi.md +2 -55
- data/docs/ContentModulemdDefaultsApi.md +2 -2
- data/docs/ContentModulemdsApi.md +2 -2
- data/docs/ContentPackagecategoriesApi.md +2 -55
- data/docs/ContentPackageenvironmentsApi.md +2 -55
- data/docs/ContentPackagegroupsApi.md +2 -55
- data/docs/ContentPackagelangpacksApi.md +2 -55
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/ContentRepoMetadataFilesApi.md +2 -55
- data/docs/DistributionsRpmApi.md +2 -2
- data/docs/{InlineResponse20014.md → PaginatedRepositoryVersionResponseList.md} +4 -4
- data/docs/{InlineResponse2001.md → PaginatedrpmDistributionTreeResponseList.md} +4 -4
- data/docs/{InlineResponse2002.md → PaginatedrpmModulemdDefaultsResponseList.md} +4 -4
- data/docs/{InlineResponse2003.md → PaginatedrpmModulemdResponseList.md} +4 -4
- data/docs/{InlineResponse2004.md → PaginatedrpmPackageCategoryResponseList.md} +4 -4
- data/docs/{InlineResponse2005.md → PaginatedrpmPackageEnvironmentResponseList.md} +4 -4
- data/docs/{InlineResponse2006.md → PaginatedrpmPackageGroupResponseList.md} +4 -4
- data/docs/{InlineResponse2007.md → PaginatedrpmPackageLangpacksResponseList.md} +4 -4
- data/docs/{InlineResponse2008.md → PaginatedrpmPackageResponseList.md} +4 -4
- data/docs/{InlineResponse2009.md → PaginatedrpmRepoMetadataFileResponseList.md} +4 -4
- data/docs/{InlineResponse20010.md → PaginatedrpmRpmDistributionResponseList.md} +4 -4
- data/docs/{InlineResponse20011.md → PaginatedrpmRpmPublicationResponseList.md} +4 -4
- data/docs/{InlineResponse20012.md → PaginatedrpmRpmRemoteResponseList.md} +4 -4
- data/docs/{InlineResponse20013.md → PaginatedrpmRpmRepositoryResponseList.md} +4 -4
- data/docs/{InlineResponse200.md → PaginatedrpmUpdateRecordResponseList.md} +4 -4
- data/docs/PublicationsRpmApi.md +2 -2
- data/docs/RemotesRpmApi.md +2 -2
- data/docs/RepositoriesRpmApi.md +2 -2
- data/docs/RepositoriesRpmVersionsApi.md +2 -2
- data/docs/RpmRpmPublication.md +5 -1
- data/docs/RpmRpmPublicationResponse.md +5 -1
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -63
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -63
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -63
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -63
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -63
- data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -63
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
- data/lib/pulp_rpm_client/models/{inline_response20014.rb → paginated_repository_version_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2001.rb → paginatedrpm_distribution_tree_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2002.rb → paginatedrpm_modulemd_defaults_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2003.rb → paginatedrpm_modulemd_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2004.rb → paginatedrpm_package_category_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2005.rb → paginatedrpm_package_environment_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2006.rb → paginatedrpm_package_group_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2007.rb → paginatedrpm_package_langpacks_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2008.rb → paginatedrpm_package_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response2009.rb → paginatedrpm_repo_metadata_file_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response20010.rb → paginatedrpm_rpm_distribution_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response20011.rb → paginatedrpm_rpm_publication_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response20012.rb → paginatedrpm_rpm_remote_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response20013.rb → paginatedrpm_rpm_repository_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/{inline_response200.rb → paginatedrpm_update_record_response_list.rb} +3 -3
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +22 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +76 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +76 -4
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +15 -15
- data/spec/api/content_advisories_api_spec.rb +1 -1
- data/spec/api/content_distribution_trees_api_spec.rb +1 -13
- data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
- data/spec/api/content_modulemds_api_spec.rb +1 -1
- data/spec/api/content_packagecategories_api_spec.rb +1 -13
- data/spec/api/content_packageenvironments_api_spec.rb +1 -13
- data/spec/api/content_packagegroups_api_spec.rb +1 -13
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -13
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -13
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_api_spec.rb +1 -1
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +59 -0
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +59 -0
- data/spec/models/{inline_response20011_spec.rb → paginatedrpm_modulemd_response_list_spec.rb} +6 -6
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +59 -0
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +59 -0
- data/spec/models/{inline_response20013_spec.rb → paginatedrpm_package_group_response_list_spec.rb} +6 -6
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +59 -0
- data/spec/models/{inline_response20010_spec.rb → paginatedrpm_package_response_list_spec.rb} +6 -6
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +59 -0
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +59 -0
- data/spec/models/{inline_response20012_spec.rb → paginatedrpm_rpm_remote_response_list_spec.rb} +6 -6
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +59 -0
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +59 -0
- data/spec/models/rpm_repository_sync_url_spec.rb +4 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
- data/spec/models/rpm_rpm_publication_spec.rb +12 -0
- metadata +62 -62
- data/spec/models/inline_response20014_spec.rb +0 -59
- data/spec/models/inline_response2001_spec.rb +0 -59
- data/spec/models/inline_response2002_spec.rb +0 -59
- data/spec/models/inline_response2003_spec.rb +0 -59
- data/spec/models/inline_response2004_spec.rb +0 -59
- data/spec/models/inline_response2005_spec.rb +0 -59
- data/spec/models/inline_response2006_spec.rb +0 -59
- data/spec/models/inline_response2007_spec.rb +0 -59
- data/spec/models/inline_response2008_spec.rb +0 -59
- data/spec/models/inline_response2009_spec.rb +0 -59
- data/spec/models/inline_response200_spec.rb +0 -59
@@ -31,6 +31,12 @@ module PulpRpmClient
|
|
31
31
|
# The checksum type for packages.
|
32
32
|
attr_accessor :package_checksum_type
|
33
33
|
|
34
|
+
# An option specifying whether a client should perform a GPG signature check on packages.
|
35
|
+
attr_accessor :gpgcheck
|
36
|
+
|
37
|
+
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
38
|
+
attr_accessor :repo_gpgcheck
|
39
|
+
|
34
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
41
|
def self.attribute_map
|
36
42
|
{
|
@@ -39,7 +45,9 @@ module PulpRpmClient
|
|
39
45
|
:'repository_version' => :'repository_version',
|
40
46
|
:'repository' => :'repository',
|
41
47
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
42
|
-
:'package_checksum_type' => :'package_checksum_type'
|
48
|
+
:'package_checksum_type' => :'package_checksum_type',
|
49
|
+
:'gpgcheck' => :'gpgcheck',
|
50
|
+
:'repo_gpgcheck' => :'repo_gpgcheck'
|
43
51
|
}
|
44
52
|
end
|
45
53
|
|
@@ -51,7 +59,9 @@ module PulpRpmClient
|
|
51
59
|
:'repository_version' => :'String',
|
52
60
|
:'repository' => :'String',
|
53
61
|
:'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
|
54
|
-
:'package_checksum_type' => :'PackageChecksumTypeEnum'
|
62
|
+
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
63
|
+
:'gpgcheck' => :'Integer',
|
64
|
+
:'repo_gpgcheck' => :'Integer'
|
55
65
|
}
|
56
66
|
end
|
57
67
|
|
@@ -99,21 +109,81 @@ module PulpRpmClient
|
|
99
109
|
if attributes.key?(:'package_checksum_type')
|
100
110
|
self.package_checksum_type = attributes[:'package_checksum_type']
|
101
111
|
end
|
112
|
+
|
113
|
+
if attributes.key?(:'gpgcheck')
|
114
|
+
self.gpgcheck = attributes[:'gpgcheck']
|
115
|
+
else
|
116
|
+
self.gpgcheck = 0
|
117
|
+
end
|
118
|
+
|
119
|
+
if attributes.key?(:'repo_gpgcheck')
|
120
|
+
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
121
|
+
else
|
122
|
+
self.repo_gpgcheck = 0
|
123
|
+
end
|
102
124
|
end
|
103
125
|
|
104
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
105
127
|
# @return Array for valid properties with the reasons
|
106
128
|
def list_invalid_properties
|
107
129
|
invalid_properties = Array.new
|
130
|
+
if !@gpgcheck.nil? && @gpgcheck > 1
|
131
|
+
invalid_properties.push('invalid value for "gpgcheck", must be smaller than or equal to 1.')
|
132
|
+
end
|
133
|
+
|
134
|
+
if !@gpgcheck.nil? && @gpgcheck < 0
|
135
|
+
invalid_properties.push('invalid value for "gpgcheck", must be greater than or equal to 0.')
|
136
|
+
end
|
137
|
+
|
138
|
+
if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
|
139
|
+
invalid_properties.push('invalid value for "repo_gpgcheck", must be smaller than or equal to 1.')
|
140
|
+
end
|
141
|
+
|
142
|
+
if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
|
143
|
+
invalid_properties.push('invalid value for "repo_gpgcheck", must be greater than or equal to 0.')
|
144
|
+
end
|
145
|
+
|
108
146
|
invalid_properties
|
109
147
|
end
|
110
148
|
|
111
149
|
# Check to see if the all the properties in the model are valid
|
112
150
|
# @return true if the model is valid
|
113
151
|
def valid?
|
152
|
+
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
153
|
+
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
154
|
+
return false if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
|
155
|
+
return false if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
|
114
156
|
true
|
115
157
|
end
|
116
158
|
|
159
|
+
# Custom attribute writer method with validation
|
160
|
+
# @param [Object] gpgcheck Value to be assigned
|
161
|
+
def gpgcheck=(gpgcheck)
|
162
|
+
if !gpgcheck.nil? && gpgcheck > 1
|
163
|
+
fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
|
164
|
+
end
|
165
|
+
|
166
|
+
if !gpgcheck.nil? && gpgcheck < 0
|
167
|
+
fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
|
168
|
+
end
|
169
|
+
|
170
|
+
@gpgcheck = gpgcheck
|
171
|
+
end
|
172
|
+
|
173
|
+
# Custom attribute writer method with validation
|
174
|
+
# @param [Object] repo_gpgcheck Value to be assigned
|
175
|
+
def repo_gpgcheck=(repo_gpgcheck)
|
176
|
+
if !repo_gpgcheck.nil? && repo_gpgcheck > 1
|
177
|
+
fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
|
178
|
+
end
|
179
|
+
|
180
|
+
if !repo_gpgcheck.nil? && repo_gpgcheck < 0
|
181
|
+
fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
|
182
|
+
end
|
183
|
+
|
184
|
+
@repo_gpgcheck = repo_gpgcheck
|
185
|
+
end
|
186
|
+
|
117
187
|
# Checks equality by comparing each attribute.
|
118
188
|
# @param [Object] Object to be compared
|
119
189
|
def ==(o)
|
@@ -124,7 +194,9 @@ module PulpRpmClient
|
|
124
194
|
repository_version == o.repository_version &&
|
125
195
|
repository == o.repository &&
|
126
196
|
metadata_checksum_type == o.metadata_checksum_type &&
|
127
|
-
package_checksum_type == o.package_checksum_type
|
197
|
+
package_checksum_type == o.package_checksum_type &&
|
198
|
+
gpgcheck == o.gpgcheck &&
|
199
|
+
repo_gpgcheck == o.repo_gpgcheck
|
128
200
|
end
|
129
201
|
|
130
202
|
# @see the `==` method
|
@@ -136,7 +208,7 @@ module PulpRpmClient
|
|
136
208
|
# Calculates hash code according to all attributes.
|
137
209
|
# @return [Integer] Hash code
|
138
210
|
def hash
|
139
|
-
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type].hash
|
211
|
+
[pulp_href, pulp_created, repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck].hash
|
140
212
|
end
|
141
213
|
|
142
214
|
# Builds the object from hash
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -25,23 +25,23 @@ require 'pulp_rpm_client/models/content_summary'
|
|
25
25
|
require 'pulp_rpm_client/models/content_summary_response'
|
26
26
|
require 'pulp_rpm_client/models/copy'
|
27
27
|
require 'pulp_rpm_client/models/image_response'
|
28
|
-
require 'pulp_rpm_client/models/inline_response200'
|
29
|
-
require 'pulp_rpm_client/models/inline_response2001'
|
30
|
-
require 'pulp_rpm_client/models/inline_response20010'
|
31
|
-
require 'pulp_rpm_client/models/inline_response20011'
|
32
|
-
require 'pulp_rpm_client/models/inline_response20012'
|
33
|
-
require 'pulp_rpm_client/models/inline_response20013'
|
34
|
-
require 'pulp_rpm_client/models/inline_response20014'
|
35
|
-
require 'pulp_rpm_client/models/inline_response2002'
|
36
|
-
require 'pulp_rpm_client/models/inline_response2003'
|
37
|
-
require 'pulp_rpm_client/models/inline_response2004'
|
38
|
-
require 'pulp_rpm_client/models/inline_response2005'
|
39
|
-
require 'pulp_rpm_client/models/inline_response2006'
|
40
|
-
require 'pulp_rpm_client/models/inline_response2007'
|
41
|
-
require 'pulp_rpm_client/models/inline_response2008'
|
42
|
-
require 'pulp_rpm_client/models/inline_response2009'
|
43
28
|
require 'pulp_rpm_client/models/metadata_checksum_type_enum'
|
44
29
|
require 'pulp_rpm_client/models/package_checksum_type_enum'
|
30
|
+
require 'pulp_rpm_client/models/paginated_repository_version_response_list'
|
31
|
+
require 'pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list'
|
32
|
+
require 'pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list'
|
33
|
+
require 'pulp_rpm_client/models/paginatedrpm_modulemd_response_list'
|
34
|
+
require 'pulp_rpm_client/models/paginatedrpm_package_category_response_list'
|
35
|
+
require 'pulp_rpm_client/models/paginatedrpm_package_environment_response_list'
|
36
|
+
require 'pulp_rpm_client/models/paginatedrpm_package_group_response_list'
|
37
|
+
require 'pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list'
|
38
|
+
require 'pulp_rpm_client/models/paginatedrpm_package_response_list'
|
39
|
+
require 'pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list'
|
40
|
+
require 'pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list'
|
41
|
+
require 'pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list'
|
42
|
+
require 'pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list'
|
43
|
+
require 'pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list'
|
44
|
+
require 'pulp_rpm_client/models/paginatedrpm_update_record_response_list'
|
45
45
|
require 'pulp_rpm_client/models/patchedrpm_rpm_distribution'
|
46
46
|
require 'pulp_rpm_client/models/patchedrpm_rpm_remote'
|
47
47
|
require 'pulp_rpm_client/models/patchedrpm_rpm_repository'
|
@@ -68,7 +68,7 @@ describe 'ContentAdvisoriesApi' do
|
|
68
68
|
# @option opts [String] :type__ne type__ne
|
69
69
|
# @option opts [String] :fields A list of fields to include in the response.
|
70
70
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
|
-
# @return [
|
71
|
+
# @return [PaginatedrpmUpdateRecordResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
74
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,18 +32,6 @@ describe 'ContentDistributionTreesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for delete
|
36
|
-
# Delete a distribution tree
|
37
|
-
# Distribution Tree Viewset.
|
38
|
-
# @param rpm_distribution_tree_href
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [nil]
|
41
|
-
describe 'delete test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
36
|
# List distribution trees
|
49
37
|
# Distribution Tree Viewset.
|
@@ -56,7 +44,7 @@ describe 'ContentDistributionTreesApi' do
|
|
56
44
|
# @option opts [String] :repository_version_removed repository_version_removed
|
57
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
47
|
+
# @return [PaginatedrpmDistributionTreeResponseList]
|
60
48
|
describe 'list test' do
|
61
49
|
it 'should work' do
|
62
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -67,7 +67,7 @@ describe 'ContentModulemdDefaultsApi' do
|
|
67
67
|
# @option opts [String] :stream__in stream__in
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
-
# @return [
|
70
|
+
# @return [PaginatedrpmModulemdDefaultsResponseList]
|
71
71
|
describe 'list test' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -72,7 +72,7 @@ describe 'ContentModulemdsApi' do
|
|
72
72
|
# @option opts [String] :stream__in stream__in
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [
|
75
|
+
# @return [PaginatedrpmModulemdResponseList]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,18 +32,6 @@ describe 'ContentPackagecategoriesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for delete
|
36
|
-
# Delete a package category
|
37
|
-
# PackageCategory ViewSet.
|
38
|
-
# @param rpm_package_category_href
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [nil]
|
41
|
-
describe 'delete test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
36
|
# List package categorys
|
49
37
|
# PackageCategory ViewSet.
|
@@ -56,7 +44,7 @@ describe 'ContentPackagecategoriesApi' do
|
|
56
44
|
# @option opts [String] :repository_version_removed repository_version_removed
|
57
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
47
|
+
# @return [PaginatedrpmPackageCategoryResponseList]
|
60
48
|
describe 'list test' do
|
61
49
|
it 'should work' do
|
62
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,18 +32,6 @@ describe 'ContentPackageenvironmentsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for delete
|
36
|
-
# Delete a package environment
|
37
|
-
# PackageEnvironment ViewSet.
|
38
|
-
# @param rpm_package_environment_href
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [nil]
|
41
|
-
describe 'delete test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
36
|
# List package environments
|
49
37
|
# PackageEnvironment ViewSet.
|
@@ -56,7 +44,7 @@ describe 'ContentPackageenvironmentsApi' do
|
|
56
44
|
# @option opts [String] :repository_version_removed repository_version_removed
|
57
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
47
|
+
# @return [PaginatedrpmPackageEnvironmentResponseList]
|
60
48
|
describe 'list test' do
|
61
49
|
it 'should work' do
|
62
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,18 +32,6 @@ describe 'ContentPackagegroupsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for delete
|
36
|
-
# Delete a package group
|
37
|
-
# PackageGroup ViewSet.
|
38
|
-
# @param rpm_package_group_href
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [nil]
|
41
|
-
describe 'delete test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
36
|
# List package groups
|
49
37
|
# PackageGroup ViewSet.
|
@@ -56,7 +44,7 @@ describe 'ContentPackagegroupsApi' do
|
|
56
44
|
# @option opts [String] :repository_version_removed repository_version_removed
|
57
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
47
|
+
# @return [PaginatedrpmPackageGroupResponseList]
|
60
48
|
describe 'list test' do
|
61
49
|
it 'should work' do
|
62
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,18 +32,6 @@ describe 'ContentPackagelangpacksApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for delete
|
36
|
-
# Delete a package langpacks
|
37
|
-
# PackageLangpacks ViewSet.
|
38
|
-
# @param rpm_package_langpacks_href
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [nil]
|
41
|
-
describe 'delete test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
36
|
# List package langpackss
|
49
37
|
# PackageLangpacks ViewSet.
|
@@ -56,7 +44,7 @@ describe 'ContentPackagelangpacksApi' do
|
|
56
44
|
# @option opts [String] :repository_version_removed repository_version_removed
|
57
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
47
|
+
# @return [PaginatedrpmPackageLangpacksResponseList]
|
60
48
|
describe 'list test' do
|
61
49
|
it 'should work' do
|
62
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,7 +80,7 @@ describe 'ContentPackagesApi' do
|
|
80
80
|
# @option opts [String] :version__ne version__ne
|
81
81
|
# @option opts [String] :fields A list of fields to include in the response.
|
82
82
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
83
|
-
# @return [
|
83
|
+
# @return [PaginatedrpmPackageResponseList]
|
84
84
|
describe 'list test' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,18 +32,6 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for delete
|
36
|
-
# Delete a repo metadata file
|
37
|
-
# RepoMetadataFile Viewset.
|
38
|
-
# @param rpm_repo_metadata_file_href
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [nil]
|
41
|
-
describe 'delete test' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
35
|
# unit tests for list
|
48
36
|
# List repo metadata files
|
49
37
|
# RepoMetadataFile Viewset.
|
@@ -56,7 +44,7 @@ describe 'ContentRepoMetadataFilesApi' do
|
|
56
44
|
# @option opts [String] :repository_version_removed repository_version_removed
|
57
45
|
# @option opts [String] :fields A list of fields to include in the response.
|
58
46
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
59
|
-
# @return [
|
47
|
+
# @return [PaginatedrpmRepoMetadataFileResponseList]
|
60
48
|
describe 'list test' do
|
61
49
|
it 'should work' do
|
62
50
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -71,7 +71,7 @@ describe 'DistributionsRpmApi' do
|
|
71
71
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
72
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
73
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
74
|
-
# @return [
|
74
|
+
# @return [PaginatedrpmRpmDistributionResponseList]
|
75
75
|
describe 'list test' do
|
76
76
|
it 'should work' do
|
77
77
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -72,7 +72,7 @@ describe 'PublicationsRpmApi' do
|
|
72
72
|
# @option opts [String] :repository_version repository_version
|
73
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
74
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
75
|
-
# @return [
|
75
|
+
# @return [PaginatedrpmRpmPublicationResponseList]
|
76
76
|
describe 'list test' do
|
77
77
|
it 'should work' do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -73,7 +73,7 @@ describe 'RemotesRpmApi' do
|
|
73
73
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
74
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
75
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
76
|
-
# @return [
|
76
|
+
# @return [PaginatedrpmRpmRemoteResponseList]
|
77
77
|
describe 'list test' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -67,7 +67,7 @@ describe 'RepositoriesRpmApi' do
|
|
67
67
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
70
|
-
# @return [
|
70
|
+
# @return [PaginatedrpmRpmRepositoryResponseList]
|
71
71
|
describe 'list test' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -68,7 +68,7 @@ describe 'RepositoriesRpmVersionsApi' do
|
|
68
68
|
# @option opts [String] :pulp_created__range pulp_created__range
|
69
69
|
# @option opts [String] :fields A list of fields to include in the response.
|
70
70
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
71
|
-
# @return [
|
71
|
+
# @return [PaginatedRepositoryVersionResponseList]
|
72
72
|
describe 'list test' do
|
73
73
|
it 'should work' do
|
74
74
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::PaginatedRepositoryVersionResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedRepositoryVersionResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::PaginatedRepositoryVersionResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedRepositoryVersionResponseList' do
|
31
|
+
it 'should create an instance of PaginatedRepositoryVersionResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::PaginatedRepositoryVersionResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::PaginatedrpmDistributionTreeResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedrpmDistributionTreeResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::PaginatedrpmDistributionTreeResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedrpmDistributionTreeResponseList' do
|
31
|
+
it 'should create an instance of PaginatedrpmDistributionTreeResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::PaginatedrpmDistributionTreeResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PaginatedrpmModulemdDefaultsResponseList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PaginatedrpmModulemdDefaultsResponseList' do
|
31
|
+
it 'should create an instance of PaginatedrpmModulemdDefaultsResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
data/spec/models/{inline_response20011_spec.rb → paginatedrpm_modulemd_response_list_spec.rb}
RENAMED
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpRpmClient::
|
17
|
+
# Unit tests for PulpRpmClient::PaginatedrpmModulemdResponseList
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'PaginatedrpmModulemdResponseList' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpRpmClient::
|
23
|
+
@instance = PulpRpmClient::PaginatedrpmModulemdResponseList.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpRpmClient::
|
30
|
+
describe 'test an instance of PaginatedrpmModulemdResponseList' do
|
31
|
+
it 'should create an instance of PaginatedrpmModulemdResponseList' do
|
32
|
+
expect(@instance).to be_instance_of(PulpRpmClient::PaginatedrpmModulemdResponseList)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "count"' do
|