pulp_ansible_client 0.5.9 → 0.5.10
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 +21 -21
- data/docs/AnsibleCollectionRemote.md +0 -8
- data/docs/AnsibleCollectionRemoteResponse.md +0 -8
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +2 -2
- data/docs/AnsibleRoleRemote.md +1 -9
- data/docs/AnsibleRoleRemoteResponse.md +1 -9
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +2 -2
- data/docs/ApiRolesApi.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/ContentRolesApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/{PaginatedansibleCollectionResponseList.md → InlineResponse200.md} +4 -4
- data/docs/{PaginatedansibleCollectionVersionResponseList.md → InlineResponse2001.md} +4 -4
- data/docs/{PaginatedGalaxyRoleVersionResponseList.md → InlineResponse20010.md} +4 -4
- data/docs/{PaginatedGalaxyCollectionResponseList.md → InlineResponse20011.md} +4 -4
- data/docs/{PaginatedGalaxyCollectionVersionResponseList.md → InlineResponse20012.md} +4 -4
- data/docs/InlineResponse20013.md +21 -0
- data/docs/{PaginatedCollectionResponseListLinks.md → InlineResponse20013Links.md} +2 -2
- data/docs/{PaginatedCollectionResponseListMeta.md → InlineResponse20013Meta.md} +2 -2
- data/docs/InlineResponse20014.md +21 -0
- data/docs/{PaginatedansibleRoleResponseList.md → InlineResponse2002.md} +4 -4
- data/docs/{PaginatedansibleAnsibleDistributionResponseList.md → InlineResponse2003.md} +4 -4
- data/docs/{PaginatedTagResponseList.md → InlineResponse2004.md} +4 -4
- data/docs/{PaginatedansibleCollectionRemoteResponseList.md → InlineResponse2005.md} +4 -4
- data/docs/{PaginatedansibleRoleRemoteResponseList.md → InlineResponse2006.md} +4 -4
- data/docs/{PaginatedansibleAnsibleRepositoryResponseList.md → InlineResponse2007.md} +4 -4
- data/docs/{PaginatedRepositoryVersionResponseList.md → InlineResponse2008.md} +4 -4
- data/docs/{PaginatedGalaxyRoleResponseList.md → InlineResponse2009.md} +4 -4
- data/docs/PatchedansibleCollectionRemote.md +0 -8
- data/docs/PatchedansibleRoleRemote.md +1 -9
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +2 -2
- data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +2 -2
- data/docs/PulpAnsibleTagsApi.md +2 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RemotesRoleApi.md +2 -2
- data/docs/RepositoriesAnsibleApi.md +2 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/VersionsApi.md +4 -4
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +1 -1
- data/lib/pulp_ansible_client/api/api_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/api_roles_api.rb +4 -4
- data/lib/pulp_ansible_client/api/collection_import_api.rb +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/api/content_roles_api.rb +4 -4
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +4 -4
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +4 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb +1 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +4 -4
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +4 -4
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +4 -4
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +4 -4
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +8 -8
- data/lib/pulp_ansible_client/api/versions_api.rb +7 -7
- data/lib/pulp_ansible_client/api_client.rb +12 -8
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +8 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +2 -106
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +2 -106
- data/lib/pulp_ansible_client/models/ansible_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -109
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +5 -109
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_tag_response.rb +1 -1
- data/lib/pulp_ansible_client/models/artifact_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
- data/lib/pulp_ansible_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{paginatedansible_collection_response_list.rb → inline_response200.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_collection_version_response_list.rb → inline_response2001.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_role_version_response_list.rb → inline_response20010.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → inline_response20011.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_version_response_list.rb → inline_response20012.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_collection_response_list.rb → inline_response20013.rb} +6 -6
- data/lib/pulp_ansible_client/models/{paginated_collection_response_list_links.rb → inline_response20013_links.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_collection_response_list_meta.rb → inline_response20013_meta.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → inline_response20014.rb} +6 -6
- data/lib/pulp_ansible_client/models/{paginatedansible_role_response_list.rb → inline_response2002.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_ansible_distribution_response_list.rb → inline_response2003.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_tag_response_list.rb → inline_response2004.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_collection_remote_response_list.rb → inline_response2005.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_role_remote_response_list.rb → inline_response2006.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginatedansible_ansible_repository_response_list.rb → inline_response2007.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_repository_version_response_list.rb → inline_response2008.rb} +4 -4
- data/lib/pulp_ansible_client/models/{paginated_galaxy_role_response_list.rb → inline_response2009.rb} +4 -4
- data/lib/pulp_ansible_client/models/patched_collection.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -106
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -109
- data/lib/pulp_ansible_client/models/policy_enum.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +18 -18
- data/pulp_ansible_client.gemspec +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -2
- data/spec/api/ansible_copy_api_spec.rb +1 -1
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_roles_api_spec.rb +2 -2
- data/spec/api/distributions_ansible_api_spec.rb +2 -2
- data/spec/api/galaxy_detail_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +2 -2
- data/spec/api/remotes_role_api_spec.rb +2 -2
- data/spec/api/repositories_ansible_api_spec.rb +2 -2
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -4
- data/spec/api/versions_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/ansible_ansible_distribution_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +1 -1
- data/spec/models/ansible_ansible_repository_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +1 -25
- data/spec/models/ansible_collection_remote_spec.rb +1 -25
- data/spec/models/ansible_collection_response_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +1 -1
- data/spec/models/ansible_role_remote_response_spec.rb +1 -25
- data/spec/models/ansible_role_remote_spec.rb +1 -25
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +1 -1
- data/spec/models/ansible_tag_response_spec.rb +1 -1
- data/spec/models/artifact_ref_response_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_import_detail_response_spec.rb +1 -1
- data/spec/models/collection_metadata_response_spec.rb +1 -1
- data/spec/models/collection_namespace_response_spec.rb +1 -1
- data/spec/models/collection_one_shot_spec.rb +1 -1
- data/spec/models/collection_ref_response_spec.rb +1 -1
- data/spec/models/collection_response_spec.rb +1 -1
- data/spec/models/collection_version_docs_response_spec.rb +1 -1
- data/spec/models/collection_version_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/galaxy_collection_response_spec.rb +1 -1
- data/spec/models/galaxy_collection_spec.rb +1 -1
- data/spec/models/galaxy_collection_version_response_spec.rb +1 -1
- data/spec/models/galaxy_role_response_spec.rb +1 -1
- data/spec/models/galaxy_role_version_response_spec.rb +1 -1
- data/spec/models/{paginated_tag_response_list_spec.rb → inline_response20010_spec.rb} +7 -7
- data/spec/models/{paginated_galaxy_role_response_list_spec.rb → inline_response20011_spec.rb} +7 -7
- data/spec/models/{paginatedansible_role_response_list_spec.rb → inline_response20012_spec.rb} +7 -7
- data/spec/models/{paginated_collection_response_list_links_spec.rb → inline_response20013_links_spec.rb} +7 -7
- data/spec/models/{paginated_collection_response_list_meta_spec.rb → inline_response20013_meta_spec.rb} +7 -7
- data/spec/models/{paginated_collection_response_list_spec.rb → inline_response20013_spec.rb} +7 -7
- data/spec/models/{paginated_collection_version_response_list_spec.rb → inline_response20014_spec.rb} +7 -7
- data/spec/models/{paginated_galaxy_collection_response_list_spec.rb → inline_response2001_spec.rb} +7 -7
- 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/patched_collection_spec.rb +1 -1
- data/spec/models/patchedansible_ansible_distribution_spec.rb +1 -1
- data/spec/models/patchedansible_ansible_repository_spec.rb +1 -1
- data/spec/models/patchedansible_collection_remote_spec.rb +1 -25
- data/spec/models/patchedansible_role_remote_spec.rb +1 -25
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_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/tag_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +117 -117
- data/docs/PaginatedCollectionResponseList.md +0 -21
- data/docs/PaginatedCollectionVersionResponseList.md +0 -21
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
- data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +0 -59
- data/spec/models/paginated_repository_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_collection_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_collection_version_response_list_spec.rb +0 -59
- data/spec/models/paginatedansible_role_remote_response_list_spec.rb +0 -59
@@ -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 PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class InlineResponse2006
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpAnsibleClient
|
|
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 `PulpAnsibleClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::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 `PulpAnsibleClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::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 PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class InlineResponse2007
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpAnsibleClient
|
|
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 `PulpAnsibleClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::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 `PulpAnsibleClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::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
|
}
|
@@ -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 PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class InlineResponse2008
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpAnsibleClient
|
|
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 `PulpAnsibleClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::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 `PulpAnsibleClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::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 PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class InlineResponse2009
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -54,13 +54,13 @@ module PulpAnsibleClient
|
|
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 `PulpAnsibleClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::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 `PulpAnsibleClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::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
|
|
@@ -48,18 +48,6 @@ module PulpAnsibleClient
|
|
48
48
|
# The policy to use when downloading content.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
-
attr_accessor :total_timeout
|
53
|
-
|
54
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
-
attr_accessor :connect_timeout
|
56
|
-
|
57
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
-
attr_accessor :sock_connect_timeout
|
59
|
-
|
60
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
-
attr_accessor :sock_read_timeout
|
62
|
-
|
63
51
|
# The string version of Collection requirements yaml.
|
64
52
|
attr_accessor :requirements_file
|
65
53
|
|
@@ -83,10 +71,6 @@ module PulpAnsibleClient
|
|
83
71
|
:'password' => :'password',
|
84
72
|
:'download_concurrency' => :'download_concurrency',
|
85
73
|
:'policy' => :'policy',
|
86
|
-
:'total_timeout' => :'total_timeout',
|
87
|
-
:'connect_timeout' => :'connect_timeout',
|
88
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
89
|
-
:'sock_read_timeout' => :'sock_read_timeout',
|
90
74
|
:'requirements_file' => :'requirements_file',
|
91
75
|
:'auth_url' => :'auth_url',
|
92
76
|
:'token' => :'token'
|
@@ -107,10 +91,6 @@ module PulpAnsibleClient
|
|
107
91
|
:'password' => :'String',
|
108
92
|
:'download_concurrency' => :'Integer',
|
109
93
|
:'policy' => :'PolicyEnum',
|
110
|
-
:'total_timeout' => :'Float',
|
111
|
-
:'connect_timeout' => :'Float',
|
112
|
-
:'sock_connect_timeout' => :'Float',
|
113
|
-
:'sock_read_timeout' => :'Float',
|
114
94
|
:'requirements_file' => :'String',
|
115
95
|
:'auth_url' => :'String',
|
116
96
|
:'token' => :'String'
|
@@ -126,10 +106,6 @@ module PulpAnsibleClient
|
|
126
106
|
:'proxy_url',
|
127
107
|
:'username',
|
128
108
|
:'password',
|
129
|
-
:'total_timeout',
|
130
|
-
:'connect_timeout',
|
131
|
-
:'sock_connect_timeout',
|
132
|
-
:'sock_read_timeout',
|
133
109
|
:'requirements_file',
|
134
110
|
:'auth_url',
|
135
111
|
:'token'
|
@@ -195,22 +171,6 @@ module PulpAnsibleClient
|
|
195
171
|
self.policy = attributes[:'policy']
|
196
172
|
end
|
197
173
|
|
198
|
-
if attributes.key?(:'total_timeout')
|
199
|
-
self.total_timeout = attributes[:'total_timeout']
|
200
|
-
end
|
201
|
-
|
202
|
-
if attributes.key?(:'connect_timeout')
|
203
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
204
|
-
end
|
205
|
-
|
206
|
-
if attributes.key?(:'sock_connect_timeout')
|
207
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
208
|
-
end
|
209
|
-
|
210
|
-
if attributes.key?(:'sock_read_timeout')
|
211
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
212
|
-
end
|
213
|
-
|
214
174
|
if attributes.key?(:'requirements_file')
|
215
175
|
self.requirements_file = attributes[:'requirements_file']
|
216
176
|
end
|
@@ -232,22 +192,6 @@ module PulpAnsibleClient
|
|
232
192
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
233
193
|
end
|
234
194
|
|
235
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
236
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
237
|
-
end
|
238
|
-
|
239
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
240
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
241
|
-
end
|
242
|
-
|
243
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
244
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
245
|
-
end
|
246
|
-
|
247
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
248
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
249
|
-
end
|
250
|
-
|
251
195
|
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
252
196
|
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
253
197
|
end
|
@@ -263,10 +207,6 @@ module PulpAnsibleClient
|
|
263
207
|
# @return true if the model is valid
|
264
208
|
def valid?
|
265
209
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
266
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
267
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
268
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
269
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
270
210
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
271
211
|
return false if !@token.nil? && @token.to_s.length > 2000
|
272
212
|
true
|
@@ -282,46 +222,6 @@ module PulpAnsibleClient
|
|
282
222
|
@download_concurrency = download_concurrency
|
283
223
|
end
|
284
224
|
|
285
|
-
# Custom attribute writer method with validation
|
286
|
-
# @param [Object] total_timeout Value to be assigned
|
287
|
-
def total_timeout=(total_timeout)
|
288
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
289
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
290
|
-
end
|
291
|
-
|
292
|
-
@total_timeout = total_timeout
|
293
|
-
end
|
294
|
-
|
295
|
-
# Custom attribute writer method with validation
|
296
|
-
# @param [Object] connect_timeout Value to be assigned
|
297
|
-
def connect_timeout=(connect_timeout)
|
298
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
299
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
300
|
-
end
|
301
|
-
|
302
|
-
@connect_timeout = connect_timeout
|
303
|
-
end
|
304
|
-
|
305
|
-
# Custom attribute writer method with validation
|
306
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
307
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
308
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
309
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
310
|
-
end
|
311
|
-
|
312
|
-
@sock_connect_timeout = sock_connect_timeout
|
313
|
-
end
|
314
|
-
|
315
|
-
# Custom attribute writer method with validation
|
316
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
317
|
-
def sock_read_timeout=(sock_read_timeout)
|
318
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
319
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
320
|
-
end
|
321
|
-
|
322
|
-
@sock_read_timeout = sock_read_timeout
|
323
|
-
end
|
324
|
-
|
325
225
|
# Custom attribute writer method with validation
|
326
226
|
# @param [Object] auth_url Value to be assigned
|
327
227
|
def auth_url=(auth_url)
|
@@ -358,10 +258,6 @@ module PulpAnsibleClient
|
|
358
258
|
password == o.password &&
|
359
259
|
download_concurrency == o.download_concurrency &&
|
360
260
|
policy == o.policy &&
|
361
|
-
total_timeout == o.total_timeout &&
|
362
|
-
connect_timeout == o.connect_timeout &&
|
363
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
364
|
-
sock_read_timeout == o.sock_read_timeout &&
|
365
261
|
requirements_file == o.requirements_file &&
|
366
262
|
auth_url == o.auth_url &&
|
367
263
|
token == o.token
|
@@ -376,7 +272,7 @@ module PulpAnsibleClient
|
|
376
272
|
# Calculates hash code according to all attributes.
|
377
273
|
# @return [Integer] Hash code
|
378
274
|
def hash
|
379
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy,
|
275
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, requirements_file, auth_url, token].hash
|
380
276
|
end
|
381
277
|
|
382
278
|
# 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
|
|
@@ -48,18 +48,6 @@ module PulpAnsibleClient
|
|
48
48
|
# The policy to use when downloading content.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
-
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
-
attr_accessor :total_timeout
|
53
|
-
|
54
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
-
attr_accessor :connect_timeout
|
56
|
-
|
57
|
-
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
-
attr_accessor :sock_connect_timeout
|
59
|
-
|
60
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
-
attr_accessor :sock_read_timeout
|
62
|
-
|
63
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
52
|
def self.attribute_map
|
65
53
|
{
|
@@ -73,11 +61,7 @@ module PulpAnsibleClient
|
|
73
61
|
:'username' => :'username',
|
74
62
|
:'password' => :'password',
|
75
63
|
:'download_concurrency' => :'download_concurrency',
|
76
|
-
:'policy' => :'policy'
|
77
|
-
:'total_timeout' => :'total_timeout',
|
78
|
-
:'connect_timeout' => :'connect_timeout',
|
79
|
-
:'sock_connect_timeout' => :'sock_connect_timeout',
|
80
|
-
:'sock_read_timeout' => :'sock_read_timeout'
|
64
|
+
:'policy' => :'policy'
|
81
65
|
}
|
82
66
|
end
|
83
67
|
|
@@ -94,11 +78,7 @@ module PulpAnsibleClient
|
|
94
78
|
:'username' => :'String',
|
95
79
|
:'password' => :'String',
|
96
80
|
:'download_concurrency' => :'Integer',
|
97
|
-
:'policy' => :'PolicyEnum'
|
98
|
-
:'total_timeout' => :'Float',
|
99
|
-
:'connect_timeout' => :'Float',
|
100
|
-
:'sock_connect_timeout' => :'Float',
|
101
|
-
:'sock_read_timeout' => :'Float'
|
81
|
+
:'policy' => :'PolicyEnum'
|
102
82
|
}
|
103
83
|
end
|
104
84
|
|
@@ -111,10 +91,6 @@ module PulpAnsibleClient
|
|
111
91
|
:'proxy_url',
|
112
92
|
:'username',
|
113
93
|
:'password',
|
114
|
-
:'total_timeout',
|
115
|
-
:'connect_timeout',
|
116
|
-
:'sock_connect_timeout',
|
117
|
-
:'sock_read_timeout'
|
118
94
|
])
|
119
95
|
end
|
120
96
|
|
@@ -176,22 +152,6 @@ module PulpAnsibleClient
|
|
176
152
|
if attributes.key?(:'policy')
|
177
153
|
self.policy = attributes[:'policy']
|
178
154
|
end
|
179
|
-
|
180
|
-
if attributes.key?(:'total_timeout')
|
181
|
-
self.total_timeout = attributes[:'total_timeout']
|
182
|
-
end
|
183
|
-
|
184
|
-
if attributes.key?(:'connect_timeout')
|
185
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
186
|
-
end
|
187
|
-
|
188
|
-
if attributes.key?(:'sock_connect_timeout')
|
189
|
-
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
190
|
-
end
|
191
|
-
|
192
|
-
if attributes.key?(:'sock_read_timeout')
|
193
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
194
|
-
end
|
195
155
|
end
|
196
156
|
|
197
157
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -202,22 +162,6 @@ module PulpAnsibleClient
|
|
202
162
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
203
163
|
end
|
204
164
|
|
205
|
-
if !@total_timeout.nil? && @total_timeout < 0.0
|
206
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
207
|
-
end
|
208
|
-
|
209
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
210
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
211
|
-
end
|
212
|
-
|
213
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
214
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
215
|
-
end
|
216
|
-
|
217
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
218
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
219
|
-
end
|
220
|
-
|
221
165
|
invalid_properties
|
222
166
|
end
|
223
167
|
|
@@ -225,10 +169,6 @@ module PulpAnsibleClient
|
|
225
169
|
# @return true if the model is valid
|
226
170
|
def valid?
|
227
171
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
228
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
229
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
230
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
231
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
232
172
|
true
|
233
173
|
end
|
234
174
|
|
@@ -242,46 +182,6 @@ module PulpAnsibleClient
|
|
242
182
|
@download_concurrency = download_concurrency
|
243
183
|
end
|
244
184
|
|
245
|
-
# Custom attribute writer method with validation
|
246
|
-
# @param [Object] total_timeout Value to be assigned
|
247
|
-
def total_timeout=(total_timeout)
|
248
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
249
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
250
|
-
end
|
251
|
-
|
252
|
-
@total_timeout = total_timeout
|
253
|
-
end
|
254
|
-
|
255
|
-
# Custom attribute writer method with validation
|
256
|
-
# @param [Object] connect_timeout Value to be assigned
|
257
|
-
def connect_timeout=(connect_timeout)
|
258
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
259
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
260
|
-
end
|
261
|
-
|
262
|
-
@connect_timeout = connect_timeout
|
263
|
-
end
|
264
|
-
|
265
|
-
# Custom attribute writer method with validation
|
266
|
-
# @param [Object] sock_connect_timeout Value to be assigned
|
267
|
-
def sock_connect_timeout=(sock_connect_timeout)
|
268
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
269
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
270
|
-
end
|
271
|
-
|
272
|
-
@sock_connect_timeout = sock_connect_timeout
|
273
|
-
end
|
274
|
-
|
275
|
-
# Custom attribute writer method with validation
|
276
|
-
# @param [Object] sock_read_timeout Value to be assigned
|
277
|
-
def sock_read_timeout=(sock_read_timeout)
|
278
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
279
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
280
|
-
end
|
281
|
-
|
282
|
-
@sock_read_timeout = sock_read_timeout
|
283
|
-
end
|
284
|
-
|
285
185
|
# Checks equality by comparing each attribute.
|
286
186
|
# @param [Object] Object to be compared
|
287
187
|
def ==(o)
|
@@ -297,11 +197,7 @@ module PulpAnsibleClient
|
|
297
197
|
username == o.username &&
|
298
198
|
password == o.password &&
|
299
199
|
download_concurrency == o.download_concurrency &&
|
300
|
-
policy == o.policy
|
301
|
-
total_timeout == o.total_timeout &&
|
302
|
-
connect_timeout == o.connect_timeout &&
|
303
|
-
sock_connect_timeout == o.sock_connect_timeout &&
|
304
|
-
sock_read_timeout == o.sock_read_timeout
|
200
|
+
policy == o.policy
|
305
201
|
end
|
306
202
|
|
307
203
|
# @see the `==` method
|
@@ -313,7 +209,7 @@ module PulpAnsibleClient
|
|
313
209
|
# Calculates hash code according to all attributes.
|
314
210
|
# @return [Integer] Hash code
|
315
211
|
def hash
|
316
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy
|
212
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy].hash
|
317
213
|
end
|
318
214
|
|
319
215
|
# Builds the object from hash
|