pulp_rpm_client 3.11.1 → 3.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +19 -20
- data/docs/ContentAdvisoriesApi.md +30 -30
- data/docs/ContentDistributionTreesApi.md +8 -8
- data/docs/ContentModulemdDefaultsApi.md +18 -18
- data/docs/ContentModulemdsApi.md +18 -18
- data/docs/ContentPackagecategoriesApi.md +8 -8
- data/docs/ContentPackageenvironmentsApi.md +8 -8
- data/docs/ContentPackagegroupsApi.md +8 -8
- data/docs/ContentPackagelangpacksApi.md +8 -8
- data/docs/ContentPackagesApi.md +50 -50
- data/docs/ContentRepoMetadataFilesApi.md +8 -8
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsRpmApi.md +14 -22
- data/docs/{PaginatedrpmUpdateRecordResponseList.md → InlineResponse200.md} +4 -4
- data/docs/{PaginatedrpmDistributionTreeResponseList.md → InlineResponse2001.md} +4 -4
- data/docs/{PaginatedrpmRpmDistributionResponseList.md → InlineResponse20010.md} +4 -4
- data/docs/{PaginatedrpmRpmPublicationResponseList.md → InlineResponse20011.md} +4 -4
- data/docs/{PaginatedrpmRpmRemoteResponseList.md → InlineResponse20012.md} +4 -4
- data/docs/{PaginatedrpmRpmRepositoryResponseList.md → InlineResponse20013.md} +4 -4
- data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse20014.md} +4 -4
- data/docs/{PaginatedrpmModulemdDefaultsResponseList.md → InlineResponse2002.md} +4 -4
- data/docs/{PaginatedrpmModulemdResponseList.md → InlineResponse2003.md} +4 -4
- data/docs/{PaginatedrpmPackageCategoryResponseList.md → InlineResponse2004.md} +4 -4
- data/docs/{PaginatedrpmPackageEnvironmentResponseList.md → InlineResponse2005.md} +4 -4
- data/docs/{PaginatedrpmPackageGroupResponseList.md → InlineResponse2006.md} +4 -4
- data/docs/{PaginatedrpmPackageLangpacksResponseList.md → InlineResponse2007.md} +4 -4
- data/docs/{PaginatedrpmPackageResponseList.md → InlineResponse2008.md} +4 -4
- data/docs/{PaginatedrpmRepoMetadataFileResponseList.md → InlineResponse2009.md} +4 -4
- data/docs/PatchedrpmRpmDistribution.md +0 -2
- data/docs/PatchedrpmRpmRemote.md +1 -19
- data/docs/PatchedrpmRpmRepository.md +1 -3
- data/docs/PublicationsRpmApi.md +16 -16
- data/docs/RemotesRpmApi.md +18 -26
- data/docs/RepositoriesRpmApi.md +6 -14
- data/docs/RepositoriesRpmVersionsApi.md +32 -32
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RpmRepositorySyncURL.md +1 -1
- data/docs/RpmRpmDistribution.md +0 -2
- data/docs/RpmRpmDistributionResponse.md +0 -2
- data/docs/RpmRpmRemote.md +1 -19
- data/docs/RpmRpmRemoteResponse.md +7 -15
- data/docs/RpmRpmRepository.md +1 -3
- data/docs/RpmRpmRepositoryResponse.md +0 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +36 -36
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +22 -22
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +22 -22
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +10 -10
- data/lib/pulp_rpm_client/api/content_packages_api.rb +60 -60
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +10 -10
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +18 -30
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +19 -19
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +22 -34
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +9 -21
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +38 -38
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
- data/lib/pulp_rpm_client/api_client.rb +12 -8
- data/lib/pulp_rpm_client/api_error.rb +1 -1
- data/lib/pulp_rpm_client/configuration.rb +8 -1
- data/lib/pulp_rpm_client/models/addon_response.rb +1 -1
- data/lib/pulp_rpm_client/models/artifact_response.rb +1 -1
- data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_rpm_client/models/checksum_response.rb +1 -1
- data/lib/pulp_rpm_client/models/content_summary.rb +7 -13
- data/lib/pulp_rpm_client/models/content_summary_response.rb +7 -13
- data/lib/pulp_rpm_client/models/copy.rb +1 -1
- data/lib/pulp_rpm_client/models/image_response.rb +1 -1
- data/lib/pulp_rpm_client/models/{paginatedrpm_update_record_response_list.rb → inline_response200.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_distribution_tree_response_list.rb → inline_response2001.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_distribution_response_list.rb → inline_response20010.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_publication_response_list.rb → inline_response20011.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_remote_response_list.rb → inline_response20012.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_rpm_repository_response_list.rb → inline_response20013.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginated_repository_version_response_list.rb → inline_response20014.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_defaults_response_list.rb → inline_response2002.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_response_list.rb → inline_response2003.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_category_response_list.rb → inline_response2004.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_environment_response_list.rb → inline_response2005.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_group_response_list.rb → inline_response2006.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_langpacks_response_list.rb → inline_response2007.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_package_response_list.rb → inline_response2008.rb} +4 -4
- data/lib/pulp_rpm_client/models/{paginatedrpm_repo_metadata_file_response_list.rb → inline_response2009.rb} +4 -4
- data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -11
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -161
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -11
- data/lib/pulp_rpm_client/models/policy_enum.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -161
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +33 -136
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +2 -11
- 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 +1 -1
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -1
- data/lib/pulp_rpm_client/models/variant_response.rb +1 -1
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +16 -17
- data/pulp_rpm_client.gemspec +1 -1
- data/spec/api/content_advisories_api_spec.rb +16 -16
- data/spec/api/content_distribution_trees_api_spec.rb +5 -5
- data/spec/api/content_modulemd_defaults_api_spec.rb +10 -10
- data/spec/api/content_modulemds_api_spec.rb +10 -10
- data/spec/api/content_packagecategories_api_spec.rb +5 -5
- data/spec/api/content_packageenvironments_api_spec.rb +5 -5
- data/spec/api/content_packagegroups_api_spec.rb +5 -5
- data/spec/api/content_packagelangpacks_api_spec.rb +5 -5
- data/spec/api/content_packages_api_spec.rb +26 -26
- data/spec/api/content_repo_metadata_files_api_spec.rb +5 -5
- data/spec/api/distributions_rpm_api_spec.rb +8 -12
- data/spec/api/publications_rpm_api_spec.rb +9 -9
- data/spec/api/remotes_rpm_api_spec.rb +10 -14
- data/spec/api/repositories_rpm_api_spec.rb +4 -8
- data/spec/api/repositories_rpm_versions_api_spec.rb +18 -18
- data/spec/api/rpm_copy_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/addon_response_spec.rb +1 -1
- data/spec/models/artifact_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/checksum_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/copy_spec.rb +1 -1
- data/spec/models/image_response_spec.rb +1 -1
- data/spec/models/{paginatedrpm_package_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_modulemd_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_rpm_remote_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
- data/spec/models/{paginatedrpm_package_group_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +59 -0
- data/spec/models/inline_response2002_spec.rb +59 -0
- data/spec/models/inline_response2003_spec.rb +59 -0
- data/spec/models/inline_response2004_spec.rb +59 -0
- data/spec/models/inline_response2005_spec.rb +59 -0
- data/spec/models/inline_response2006_spec.rb +59 -0
- data/spec/models/inline_response2007_spec.rb +59 -0
- data/spec/models/inline_response2008_spec.rb +59 -0
- data/spec/models/inline_response2009_spec.rb +59 -0
- data/spec/models/inline_response200_spec.rb +59 -0
- data/spec/models/metadata_checksum_type_enum_spec.rb +1 -1
- data/spec/models/package_checksum_type_enum_spec.rb +1 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +1 -7
- data/spec/models/patchedrpm_rpm_remote_spec.rb +1 -55
- data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -7
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/rpm_distribution_tree_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
- data/spec/models/rpm_modulemd_response_spec.rb +1 -1
- data/spec/models/rpm_modulemd_spec.rb +1 -1
- data/spec/models/rpm_package_category_response_spec.rb +1 -1
- data/spec/models/rpm_package_environment_response_spec.rb +1 -1
- data/spec/models/rpm_package_group_response_spec.rb +1 -1
- data/spec/models/rpm_package_langpacks_response_spec.rb +1 -1
- data/spec/models/rpm_package_response_spec.rb +1 -1
- data/spec/models/rpm_package_spec.rb +1 -1
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +1 -1
- data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
- data/spec/models/rpm_rpm_distribution_response_spec.rb +1 -7
- data/spec/models/rpm_rpm_distribution_spec.rb +1 -7
- data/spec/models/rpm_rpm_publication_response_spec.rb +1 -1
- data/spec/models/rpm_rpm_publication_spec.rb +1 -1
- data/spec/models/rpm_rpm_remote_response_spec.rb +9 -33
- data/spec/models/rpm_rpm_remote_spec.rb +1 -55
- data/spec/models/rpm_rpm_repository_response_spec.rb +1 -7
- data/spec/models/rpm_rpm_repository_spec.rb +1 -7
- data/spec/models/rpm_update_collection_response_spec.rb +1 -1
- data/spec/models/rpm_update_collection_spec.rb +1 -1
- data/spec/models/rpm_update_record_response_spec.rb +1 -1
- data/spec/models/rpm_update_record_spec.rb +1 -1
- data/spec/models/variant_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +104 -108
- data/docs/SkipTypesEnum.md +0 -16
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -35
- data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +0 -59
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +0 -59
- data/spec/models/skip_types_enum_spec.rb +0 -35
data/lib/pulp_rpm_client/models/{paginatedrpm_modulemd_response_list.rb → inline_response2003.rb}
RENAMED
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2003
|
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::InlineResponse2003` 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::InlineResponse2003`. 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
|
}
|
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2004
|
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::InlineResponse2004` 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::InlineResponse2004`. 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
|
}
|
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2005
|
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::InlineResponse2005` 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::InlineResponse2005`. 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
|
}
|
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2006
|
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::InlineResponse2006` 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::InlineResponse2006`. 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
|
}
|
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2007
|
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::InlineResponse2007` 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::InlineResponse2007`. 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/{paginatedrpm_package_response_list.rb → inline_response2008.rb}
RENAMED
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2008
|
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::InlineResponse2008` 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::InlineResponse2008`. 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
|
}
|
@@ -6,14 +6,14 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class InlineResponse2009
|
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::InlineResponse2009` 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::InlineResponse2009`. 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
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,8 +21,6 @@ module PulpRpmClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
-
attr_accessor :pulp_labels
|
25
|
-
|
26
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
25
|
attr_accessor :name
|
28
26
|
|
@@ -34,7 +32,6 @@ module PulpRpmClient
|
|
34
32
|
{
|
35
33
|
:'base_path' => :'base_path',
|
36
34
|
:'content_guard' => :'content_guard',
|
37
|
-
:'pulp_labels' => :'pulp_labels',
|
38
35
|
:'name' => :'name',
|
39
36
|
:'publication' => :'publication'
|
40
37
|
}
|
@@ -45,7 +42,6 @@ module PulpRpmClient
|
|
45
42
|
{
|
46
43
|
:'base_path' => :'String',
|
47
44
|
:'content_guard' => :'String',
|
48
|
-
:'pulp_labels' => :'Object',
|
49
45
|
:'name' => :'String',
|
50
46
|
:'publication' => :'String'
|
51
47
|
}
|
@@ -82,10 +78,6 @@ module PulpRpmClient
|
|
82
78
|
self.content_guard = attributes[:'content_guard']
|
83
79
|
end
|
84
80
|
|
85
|
-
if attributes.key?(:'pulp_labels')
|
86
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
87
|
-
end
|
88
|
-
|
89
81
|
if attributes.key?(:'name')
|
90
82
|
self.name = attributes[:'name']
|
91
83
|
end
|
@@ -115,7 +107,6 @@ module PulpRpmClient
|
|
115
107
|
self.class == o.class &&
|
116
108
|
base_path == o.base_path &&
|
117
109
|
content_guard == o.content_guard &&
|
118
|
-
pulp_labels == o.pulp_labels &&
|
119
110
|
name == o.name &&
|
120
111
|
publication == o.publication
|
121
112
|
end
|
@@ -129,7 +120,7 @@ module PulpRpmClient
|
|
129
120
|
# Calculates hash code according to all attributes.
|
130
121
|
# @return [Integer] Hash code
|
131
122
|
def hash
|
132
|
-
[base_path, content_guard,
|
123
|
+
[base_path, content_guard, name, publication].hash
|
133
124
|
end
|
134
125
|
|
135
126
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,47 +33,21 @@ module PulpRpmClient
|
|
33
33
|
# If True, TLS peer validation must be performed.
|
34
34
|
attr_accessor :tls_validation
|
35
35
|
|
36
|
-
# The proxy URL. Format: scheme://host:port
|
36
|
+
# The proxy URL. Format: scheme://user:password@host:port
|
37
37
|
attr_accessor :proxy_url
|
38
38
|
|
39
|
-
# The username to authenticte to the proxy.
|
40
|
-
attr_accessor :proxy_username
|
41
|
-
|
42
|
-
# The password to authenticte to the proxy.
|
43
|
-
attr_accessor :proxy_password
|
44
|
-
|
45
39
|
# The username to be used for authentication when syncing.
|
46
40
|
attr_accessor :username
|
47
41
|
|
48
42
|
# The password to be used for authentication when syncing.
|
49
43
|
attr_accessor :password
|
50
44
|
|
51
|
-
attr_accessor :pulp_labels
|
52
|
-
|
53
45
|
# Total number of simultaneous connections.
|
54
46
|
attr_accessor :download_concurrency
|
55
47
|
|
56
48
|
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.
|
57
49
|
attr_accessor :policy
|
58
50
|
|
59
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
60
|
-
attr_accessor :total_timeout
|
61
|
-
|
62
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
63
|
-
attr_accessor :connect_timeout
|
64
|
-
|
65
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
66
|
-
attr_accessor :sock_connect_timeout
|
67
|
-
|
68
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
|
-
attr_accessor :sock_read_timeout
|
70
|
-
|
71
|
-
# Headers for aiohttp.Clientsession
|
72
|
-
attr_accessor :headers
|
73
|
-
|
74
|
-
# Limits total download rate in requests per second
|
75
|
-
attr_accessor :rate_limit
|
76
|
-
|
77
51
|
# Authentication token for SLES repositories.
|
78
52
|
attr_accessor :sles_auth_token
|
79
53
|
|
@@ -87,19 +61,10 @@ module PulpRpmClient
|
|
87
61
|
:'client_key' => :'client_key',
|
88
62
|
:'tls_validation' => :'tls_validation',
|
89
63
|
:'proxy_url' => :'proxy_url',
|
90
|
-
:'proxy_username' => :'proxy_username',
|
91
|
-
:'proxy_password' => :'proxy_password',
|
92
64
|
:'username' => :'username',
|
93
65
|
:'password' => :'password',
|
94
|
-
:'pulp_labels' => :'pulp_labels',
|
95
66
|
:'download_concurrency' => :'download_concurrency',
|
96
67
|
:'policy' => :'policy',
|
97
|
-
:'total_timeout' => :'total_timeout',
|
98
|
-
:'connect_timeout' => :'connect_timeout',
|
99
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
100
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
101
|
-
:'headers' => :'headers',
|
102
|
-
:'rate_limit' => :'rate_limit',
|
103
68
|
:'sles_auth_token' => :'sles_auth_token'
|
104
69
|
}
|
105
70
|
end
|
@@ -114,19 +79,10 @@ module PulpRpmClient
|
|
114
79
|
:'client_key' => :'String',
|
115
80
|
:'tls_validation' => :'Boolean',
|
116
81
|
:'proxy_url' => :'String',
|
117
|
-
:'proxy_username' => :'String',
|
118
|
-
:'proxy_password' => :'String',
|
119
82
|
:'username' => :'String',
|
120
83
|
:'password' => :'String',
|
121
|
-
:'pulp_labels' => :'Object',
|
122
84
|
:'download_concurrency' => :'Integer',
|
123
85
|
:'policy' => :'PolicyEnum',
|
124
|
-
:'total_timeout' => :'Float',
|
125
|
-
:'connect_timeout' => :'Float',
|
126
|
-
:'sock_connect_timeout' => :'Float',
|
127
|
-
:'sock_read_timeout' => :'Float',
|
128
|
-
:'headers' => :'Array<Object>',
|
129
|
-
:'rate_limit' => :'Integer',
|
130
86
|
:'sles_auth_token' => :'String'
|
131
87
|
}
|
132
88
|
end
|
@@ -138,15 +94,8 @@ module PulpRpmClient
|
|
138
94
|
:'client_cert',
|
139
95
|
:'client_key',
|
140
96
|
:'proxy_url',
|
141
|
-
:'proxy_username',
|
142
|
-
:'proxy_password',
|
143
97
|
:'username',
|
144
98
|
:'password',
|
145
|
-
:'total_timeout',
|
146
|
-
:'connect_timeout',
|
147
|
-
:'sock_connect_timeout',
|
148
|
-
:'sock_read_timeout',
|
149
|
-
:'rate_limit',
|
150
99
|
:'sles_auth_token'
|
151
100
|
])
|
152
101
|
end
|
@@ -194,14 +143,6 @@ module PulpRpmClient
|
|
194
143
|
self.proxy_url = attributes[:'proxy_url']
|
195
144
|
end
|
196
145
|
|
197
|
-
if attributes.key?(:'proxy_username')
|
198
|
-
self.proxy_username = attributes[:'proxy_username']
|
199
|
-
end
|
200
|
-
|
201
|
-
if attributes.key?(:'proxy_password')
|
202
|
-
self.proxy_password = attributes[:'proxy_password']
|
203
|
-
end
|
204
|
-
|
205
146
|
if attributes.key?(:'username')
|
206
147
|
self.username = attributes[:'username']
|
207
148
|
end
|
@@ -210,10 +151,6 @@ module PulpRpmClient
|
|
210
151
|
self.password = attributes[:'password']
|
211
152
|
end
|
212
153
|
|
213
|
-
if attributes.key?(:'pulp_labels')
|
214
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
215
|
-
end
|
216
|
-
|
217
154
|
if attributes.key?(:'download_concurrency')
|
218
155
|
self.download_concurrency = attributes[:'download_concurrency']
|
219
156
|
end
|
@@ -222,32 +159,6 @@ module PulpRpmClient
|
|
222
159
|
self.policy = attributes[:'policy']
|
223
160
|
end
|
224
161
|
|
225
|
-
if attributes.key?(:'total_timeout')
|
226
|
-
self.total_timeout = attributes[:'total_timeout']
|
227
|
-
end
|
228
|
-
|
229
|
-
if attributes.key?(:'connect_timeout')
|
230
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
231
|
-
end
|
232
|
-
|
233
|
-
if attributes.key?(:'sock_connect_timeout')
|
234
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
235
|
-
end
|
236
|
-
|
237
|
-
if attributes.key?(:'sock_read_timeout')
|
238
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
239
|
-
end
|
240
|
-
|
241
|
-
if attributes.key?(:'headers')
|
242
|
-
if (value = attributes[:'headers']).is_a?(Array)
|
243
|
-
self.headers = value
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
|
-
if attributes.key?(:'rate_limit')
|
248
|
-
self.rate_limit = attributes[:'rate_limit']
|
249
|
-
end
|
250
|
-
|
251
162
|
if attributes.key?(:'sles_auth_token')
|
252
163
|
self.sles_auth_token = attributes[:'sles_auth_token']
|
253
164
|
end
|
@@ -261,22 +172,6 @@ module PulpRpmClient
|
|
261
172
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
262
173
|
end
|
263
174
|
|
264
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
265
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
266
|
-
end
|
267
|
-
|
268
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
269
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
270
|
-
end
|
271
|
-
|
272
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
273
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
274
|
-
end
|
275
|
-
|
276
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
277
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
278
|
-
end
|
279
|
-
|
280
175
|
invalid_properties
|
281
176
|
end
|
282
177
|
|
@@ -284,10 +179,6 @@ module PulpRpmClient
|
|
284
179
|
# @return true if the model is valid
|
285
180
|
def valid?
|
286
181
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
287
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
288
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
289
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
290
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
291
182
|
true
|
292
183
|
end
|
293
184
|
|
@@ -301,46 +192,6 @@ module PulpRpmClient
|
|
301
192
|
@download_concurrency = download_concurrency
|
302
193
|
end
|
303
194
|
|
304
|
-
# Custom attribute writer method with validation
|
305
|
-
# @param [Object] total_timeout Value to be assigned
|
306
|
-
def total_timeout=(total_timeout)
|
307
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
308
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
309
|
-
end
|
310
|
-
|
311
|
-
@total_timeout = total_timeout
|
312
|
-
end
|
313
|
-
|
314
|
-
# Custom attribute writer method with validation
|
315
|
-
# @param [Object] connect_timeout Value to be assigned
|
316
|
-
def connect_timeout=(connect_timeout)
|
317
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
318
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
319
|
-
end
|
320
|
-
|
321
|
-
@connect_timeout = connect_timeout
|
322
|
-
end
|
323
|
-
|
324
|
-
# Custom attribute writer method with validation
|
325
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
326
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
327
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
328
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
329
|
-
end
|
330
|
-
|
331
|
-
@sock_connect_timeout = sock_connect_timeout
|
332
|
-
end
|
333
|
-
|
334
|
-
# Custom attribute writer method with validation
|
335
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
336
|
-
def sock_read_timeout=(sock_read_timeout)
|
337
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
338
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
339
|
-
end
|
340
|
-
|
341
|
-
@sock_read_timeout = sock_read_timeout
|
342
|
-
end
|
343
|
-
|
344
195
|
# Checks equality by comparing each attribute.
|
345
196
|
# @param [Object] Object to be compared
|
346
197
|
def ==(o)
|
@@ -353,19 +204,10 @@ module PulpRpmClient
|
|
353
204
|
client_key == o.client_key &&
|
354
205
|
tls_validation == o.tls_validation &&
|
355
206
|
proxy_url == o.proxy_url &&
|
356
|
-
proxy_username == o.proxy_username &&
|
357
|
-
proxy_password == o.proxy_password &&
|
358
207
|
username == o.username &&
|
359
208
|
password == o.password &&
|
360
|
-
pulp_labels == o.pulp_labels &&
|
361
209
|
download_concurrency == o.download_concurrency &&
|
362
210
|
policy == o.policy &&
|
363
|
-
total_timeout == o.total_timeout &&
|
364
|
-
connect_timeout == o.connect_timeout &&
|
365
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
366
|
-
sock_read_timeout == o.sock_read_timeout &&
|
367
|
-
headers == o.headers &&
|
368
|
-
rate_limit == o.rate_limit &&
|
369
211
|
sles_auth_token == o.sles_auth_token
|
370
212
|
end
|
371
213
|
|
@@ -378,7 +220,7 @@ module PulpRpmClient
|
|
378
220
|
# Calculates hash code according to all attributes.
|
379
221
|
# @return [Integer] Hash code
|
380
222
|
def hash
|
381
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url,
|
223
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, sles_auth_token].hash
|
382
224
|
end
|
383
225
|
|
384
226
|
# Builds the object from hash
|