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
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmDistributionTreeResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmDistributionTreeResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmDistributionTreeResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmModulemdDefaultsResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmModulemdDefaultsResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
data/lib/pulp_rpm_client/models/{inline_response2003.rb → paginatedrpm_modulemd_response_list.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmModulemdResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmModulemdResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmModulemdResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmPackageCategoryResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmPackageCategoryResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmPackageCategoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmPackageEnvironmentResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmPackageEnvironmentResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmPackageEnvironmentResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmPackageGroupResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmPackageGroupResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmPackageGroupResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmPackageLangpacksResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmPackageLangpacksResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmPackageLangpacksResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
data/lib/pulp_rpm_client/models/{inline_response2008.rb → paginatedrpm_package_response_list.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmPackageResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmPackageResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmPackageResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmRepoMetadataFileResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRepoMetadataFileResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRepoMetadataFileResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmRpmDistributionResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmDistributionResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmDistributionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmRpmPublicationResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmPublicationResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmPublicationResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
data/lib/pulp_rpm_client/models/{inline_response20012.rb → paginatedrpm_rpm_remote_response_list.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmRpmRemoteResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmRemoteResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmRemoteResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmRpmRepositoryResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmRpmRepositoryResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmRpmRepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class PaginatedrpmUpdateRecordResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpRpmClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedrpmUpdateRecordResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedrpmUpdateRecordResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -27,6 +27,28 @@ module PulpRpmClient
|
|
27
27
|
# Whether or not to optimize sync.
|
28
28
|
attr_accessor :optimize
|
29
29
|
|
30
|
+
class EnumAttributeValidator
|
31
|
+
attr_reader :datatype
|
32
|
+
attr_reader :allowable_values
|
33
|
+
|
34
|
+
def initialize(datatype, allowable_values)
|
35
|
+
@allowable_values = allowable_values.map do |value|
|
36
|
+
case datatype.to_s
|
37
|
+
when /Integer/i
|
38
|
+
value.to_i
|
39
|
+
when /Float/i
|
40
|
+
value.to_f
|
41
|
+
else
|
42
|
+
value
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def valid?(value)
|
48
|
+
!value || allowable_values.include?(value)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
30
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
53
|
def self.attribute_map
|
32
54
|
{
|
@@ -26,13 +26,21 @@ module PulpRpmClient
|
|
26
26
|
# The checksum type for packages.
|
27
27
|
attr_accessor :package_checksum_type
|
28
28
|
|
29
|
+
# An option specifying whether a client should perform a GPG signature check on packages.
|
30
|
+
attr_accessor :gpgcheck
|
31
|
+
|
32
|
+
# An option specifying whether a client should perform a GPG signature check on the repodata.
|
33
|
+
attr_accessor :repo_gpgcheck
|
34
|
+
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
32
38
|
:'repository_version' => :'repository_version',
|
33
39
|
:'repository' => :'repository',
|
34
40
|
:'metadata_checksum_type' => :'metadata_checksum_type',
|
35
|
-
:'package_checksum_type' => :'package_checksum_type'
|
41
|
+
:'package_checksum_type' => :'package_checksum_type',
|
42
|
+
:'gpgcheck' => :'gpgcheck',
|
43
|
+
:'repo_gpgcheck' => :'repo_gpgcheck'
|
36
44
|
}
|
37
45
|
end
|
38
46
|
|
@@ -42,7 +50,9 @@ module PulpRpmClient
|
|
42
50
|
:'repository_version' => :'String',
|
43
51
|
:'repository' => :'String',
|
44
52
|
:'metadata_checksum_type' => :'MetadataChecksumTypeEnum',
|
45
|
-
:'package_checksum_type' => :'PackageChecksumTypeEnum'
|
53
|
+
:'package_checksum_type' => :'PackageChecksumTypeEnum',
|
54
|
+
:'gpgcheck' => :'Integer',
|
55
|
+
:'repo_gpgcheck' => :'Integer'
|
46
56
|
}
|
47
57
|
end
|
48
58
|
|
@@ -82,21 +92,81 @@ module PulpRpmClient
|
|
82
92
|
if attributes.key?(:'package_checksum_type')
|
83
93
|
self.package_checksum_type = attributes[:'package_checksum_type']
|
84
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'gpgcheck')
|
97
|
+
self.gpgcheck = attributes[:'gpgcheck']
|
98
|
+
else
|
99
|
+
self.gpgcheck = 0
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes.key?(:'repo_gpgcheck')
|
103
|
+
self.repo_gpgcheck = attributes[:'repo_gpgcheck']
|
104
|
+
else
|
105
|
+
self.repo_gpgcheck = 0
|
106
|
+
end
|
85
107
|
end
|
86
108
|
|
87
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
88
110
|
# @return Array for valid properties with the reasons
|
89
111
|
def list_invalid_properties
|
90
112
|
invalid_properties = Array.new
|
113
|
+
if !@gpgcheck.nil? && @gpgcheck > 1
|
114
|
+
invalid_properties.push('invalid value for "gpgcheck", must be smaller than or equal to 1.')
|
115
|
+
end
|
116
|
+
|
117
|
+
if !@gpgcheck.nil? && @gpgcheck < 0
|
118
|
+
invalid_properties.push('invalid value for "gpgcheck", must be greater than or equal to 0.')
|
119
|
+
end
|
120
|
+
|
121
|
+
if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
|
122
|
+
invalid_properties.push('invalid value for "repo_gpgcheck", must be smaller than or equal to 1.')
|
123
|
+
end
|
124
|
+
|
125
|
+
if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
|
126
|
+
invalid_properties.push('invalid value for "repo_gpgcheck", must be greater than or equal to 0.')
|
127
|
+
end
|
128
|
+
|
91
129
|
invalid_properties
|
92
130
|
end
|
93
131
|
|
94
132
|
# Check to see if the all the properties in the model are valid
|
95
133
|
# @return true if the model is valid
|
96
134
|
def valid?
|
135
|
+
return false if !@gpgcheck.nil? && @gpgcheck > 1
|
136
|
+
return false if !@gpgcheck.nil? && @gpgcheck < 0
|
137
|
+
return false if !@repo_gpgcheck.nil? && @repo_gpgcheck > 1
|
138
|
+
return false if !@repo_gpgcheck.nil? && @repo_gpgcheck < 0
|
97
139
|
true
|
98
140
|
end
|
99
141
|
|
142
|
+
# Custom attribute writer method with validation
|
143
|
+
# @param [Object] gpgcheck Value to be assigned
|
144
|
+
def gpgcheck=(gpgcheck)
|
145
|
+
if !gpgcheck.nil? && gpgcheck > 1
|
146
|
+
fail ArgumentError, 'invalid value for "gpgcheck", must be smaller than or equal to 1.'
|
147
|
+
end
|
148
|
+
|
149
|
+
if !gpgcheck.nil? && gpgcheck < 0
|
150
|
+
fail ArgumentError, 'invalid value for "gpgcheck", must be greater than or equal to 0.'
|
151
|
+
end
|
152
|
+
|
153
|
+
@gpgcheck = gpgcheck
|
154
|
+
end
|
155
|
+
|
156
|
+
# Custom attribute writer method with validation
|
157
|
+
# @param [Object] repo_gpgcheck Value to be assigned
|
158
|
+
def repo_gpgcheck=(repo_gpgcheck)
|
159
|
+
if !repo_gpgcheck.nil? && repo_gpgcheck > 1
|
160
|
+
fail ArgumentError, 'invalid value for "repo_gpgcheck", must be smaller than or equal to 1.'
|
161
|
+
end
|
162
|
+
|
163
|
+
if !repo_gpgcheck.nil? && repo_gpgcheck < 0
|
164
|
+
fail ArgumentError, 'invalid value for "repo_gpgcheck", must be greater than or equal to 0.'
|
165
|
+
end
|
166
|
+
|
167
|
+
@repo_gpgcheck = repo_gpgcheck
|
168
|
+
end
|
169
|
+
|
100
170
|
# Checks equality by comparing each attribute.
|
101
171
|
# @param [Object] Object to be compared
|
102
172
|
def ==(o)
|
@@ -105,7 +175,9 @@ module PulpRpmClient
|
|
105
175
|
repository_version == o.repository_version &&
|
106
176
|
repository == o.repository &&
|
107
177
|
metadata_checksum_type == o.metadata_checksum_type &&
|
108
|
-
package_checksum_type == o.package_checksum_type
|
178
|
+
package_checksum_type == o.package_checksum_type &&
|
179
|
+
gpgcheck == o.gpgcheck &&
|
180
|
+
repo_gpgcheck == o.repo_gpgcheck
|
109
181
|
end
|
110
182
|
|
111
183
|
# @see the `==` method
|
@@ -117,7 +189,7 @@ module PulpRpmClient
|
|
117
189
|
# Calculates hash code according to all attributes.
|
118
190
|
# @return [Integer] Hash code
|
119
191
|
def hash
|
120
|
-
[repository_version, repository, metadata_checksum_type, package_checksum_type].hash
|
192
|
+
[repository_version, repository, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck].hash
|
121
193
|
end
|
122
194
|
|
123
195
|
# Builds the object from hash
|