pulp_ansible_client 0.24.12 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/docs/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
- data/docs/AnsibleCollectionVersionResponse.md +14 -6
- data/docs/AnsibleCollectionsApi.md +8 -26
- data/docs/AnsibleCopyApi.md +4 -8
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/ApiRolesApi.md +0 -2
- data/docs/CollectionImportApi.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +12 -28
- data/docs/ContentCollectionMarksApi.md +12 -28
- data/docs/ContentCollectionSignaturesApi.md +8 -22
- data/docs/ContentCollectionVersionsApi.md +12 -26
- data/docs/ContentNamespacesApi.md +8 -22
- data/docs/ContentRolesApi.md +12 -28
- data/docs/DistributionsAnsibleApi.md +32 -72
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiApi.md +0 -2
- data/docs/PulpAnsibleApiV3Api.md +0 -2
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +0 -8
- data/docs/PulpAnsibleDefaultApiApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +32 -72
- data/docs/RemotesGitApi.md +34 -74
- data/docs/RemotesRoleApi.md +32 -72
- data/docs/RepositoriesAnsibleApi.md +64 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -30
- data/docs/VersionsApi.md +0 -2
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -21
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -21
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -18
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +71 -29
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +240 -240
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +133 -133
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +235 -235
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +0 -7
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -5
- data/spec/api/content_collection_marks_api_spec.rb +0 -5
- data/spec/api/content_collection_signatures_api_spec.rb +0 -5
- data/spec/api/content_collection_versions_api_spec.rb +2 -7
- data/spec/api/content_namespaces_api_spec.rb +0 -5
- data/spec/api/content_roles_api_spec.rb +0 -5
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -6
- data/spec/api/versions_api_spec.rb +0 -1
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -28
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +30 -6
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +124 -124
|
@@ -16,63 +16,63 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for Git Collection Remotes.
|
|
18
18
|
class AnsibleGitRemoteResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# Headers for aiohttp.Clientsession
|
|
23
|
-
attr_accessor :headers
|
|
24
|
-
|
|
25
|
-
# The URL of an external content source.
|
|
26
|
-
attr_accessor :url
|
|
19
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
20
|
+
attr_accessor :sock_read_timeout
|
|
27
21
|
|
|
28
|
-
|
|
29
|
-
attr_accessor :tls_validation
|
|
22
|
+
attr_accessor :pulp_labels
|
|
30
23
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
24
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
25
|
+
attr_accessor :connect_timeout
|
|
33
26
|
|
|
34
27
|
# Timestamp of the most recent update of the remote.
|
|
35
28
|
attr_accessor :pulp_last_updated
|
|
36
29
|
|
|
37
|
-
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
38
|
-
attr_accessor :sock_read_timeout
|
|
39
|
-
|
|
40
30
|
# A unique name for this remote.
|
|
41
31
|
attr_accessor :name
|
|
42
32
|
|
|
43
|
-
#
|
|
44
|
-
attr_accessor :
|
|
33
|
+
# The proxy URL. Format: scheme://host:port
|
|
34
|
+
attr_accessor :proxy_url
|
|
45
35
|
|
|
46
|
-
|
|
36
|
+
# If True, TLS peer validation must be performed.
|
|
37
|
+
attr_accessor :tls_validation
|
|
38
|
+
|
|
39
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
40
|
+
attr_accessor :ca_cert
|
|
47
41
|
|
|
48
42
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
49
43
|
attr_accessor :download_concurrency
|
|
50
44
|
|
|
51
|
-
#
|
|
52
|
-
attr_accessor :
|
|
45
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
46
|
+
attr_accessor :max_retries
|
|
53
47
|
|
|
54
|
-
#
|
|
55
|
-
attr_accessor :
|
|
48
|
+
# Timestamp of creation.
|
|
49
|
+
attr_accessor :pulp_created
|
|
56
50
|
|
|
57
|
-
#
|
|
58
|
-
attr_accessor :
|
|
51
|
+
# The URL of an external content source.
|
|
52
|
+
attr_accessor :url
|
|
59
53
|
|
|
60
54
|
# The Pulp Resource Name (PRN).
|
|
61
55
|
attr_accessor :prn
|
|
62
56
|
|
|
63
|
-
|
|
57
|
+
# List of hidden (write only) fields
|
|
58
|
+
attr_accessor :hidden_fields
|
|
59
|
+
|
|
60
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
61
|
+
attr_accessor :sock_connect_timeout
|
|
62
|
+
|
|
63
|
+
attr_accessor :pulp_href
|
|
64
64
|
|
|
65
65
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
66
66
|
attr_accessor :total_timeout
|
|
67
67
|
|
|
68
|
-
#
|
|
69
|
-
attr_accessor :
|
|
68
|
+
# Headers for aiohttp.Clientsession
|
|
69
|
+
attr_accessor :headers
|
|
70
70
|
|
|
71
|
-
#
|
|
72
|
-
attr_accessor :
|
|
71
|
+
# Limits requests per second for each concurrent downloader
|
|
72
|
+
attr_accessor :rate_limit
|
|
73
73
|
|
|
74
|
-
# A PEM encoded
|
|
75
|
-
attr_accessor :
|
|
74
|
+
# A PEM encoded client certificate used for authentication.
|
|
75
|
+
attr_accessor :client_cert
|
|
76
76
|
|
|
77
77
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
|
78
78
|
attr_accessor :metadata_only
|
|
@@ -83,26 +83,26 @@ module PulpAnsibleClient
|
|
|
83
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
84
84
|
def self.attribute_map
|
|
85
85
|
{
|
|
86
|
-
:'client_cert' => :'client_cert',
|
|
87
|
-
:'headers' => :'headers',
|
|
88
|
-
:'url' => :'url',
|
|
89
|
-
:'tls_validation' => :'tls_validation',
|
|
90
|
-
:'pulp_created' => :'pulp_created',
|
|
91
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
92
86
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
93
|
-
:'
|
|
87
|
+
:'pulp_labels' => :'pulp_labels',
|
|
94
88
|
:'connect_timeout' => :'connect_timeout',
|
|
95
|
-
:'
|
|
89
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
90
|
+
:'name' => :'name',
|
|
91
|
+
:'proxy_url' => :'proxy_url',
|
|
92
|
+
:'tls_validation' => :'tls_validation',
|
|
93
|
+
:'ca_cert' => :'ca_cert',
|
|
96
94
|
:'download_concurrency' => :'download_concurrency',
|
|
97
|
-
:'
|
|
98
|
-
:'
|
|
99
|
-
:'
|
|
95
|
+
:'max_retries' => :'max_retries',
|
|
96
|
+
:'pulp_created' => :'pulp_created',
|
|
97
|
+
:'url' => :'url',
|
|
100
98
|
:'prn' => :'prn',
|
|
101
|
-
:'
|
|
99
|
+
:'hidden_fields' => :'hidden_fields',
|
|
100
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
101
|
+
:'pulp_href' => :'pulp_href',
|
|
102
102
|
:'total_timeout' => :'total_timeout',
|
|
103
|
-
:'
|
|
104
|
-
:'
|
|
105
|
-
:'
|
|
103
|
+
:'headers' => :'headers',
|
|
104
|
+
:'rate_limit' => :'rate_limit',
|
|
105
|
+
:'client_cert' => :'client_cert',
|
|
106
106
|
:'metadata_only' => :'metadata_only',
|
|
107
107
|
:'git_ref' => :'git_ref'
|
|
108
108
|
}
|
|
@@ -116,26 +116,26 @@ module PulpAnsibleClient
|
|
|
116
116
|
# Attribute type mapping.
|
|
117
117
|
def self.openapi_types
|
|
118
118
|
{
|
|
119
|
-
:'client_cert' => :'String',
|
|
120
|
-
:'headers' => :'Array<Object>',
|
|
121
|
-
:'url' => :'String',
|
|
122
|
-
:'tls_validation' => :'Boolean',
|
|
123
|
-
:'pulp_created' => :'Time',
|
|
124
|
-
:'pulp_last_updated' => :'Time',
|
|
125
119
|
:'sock_read_timeout' => :'Float',
|
|
126
|
-
:'
|
|
120
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
127
121
|
:'connect_timeout' => :'Float',
|
|
128
|
-
:'
|
|
122
|
+
:'pulp_last_updated' => :'Time',
|
|
123
|
+
:'name' => :'String',
|
|
124
|
+
:'proxy_url' => :'String',
|
|
125
|
+
:'tls_validation' => :'Boolean',
|
|
126
|
+
:'ca_cert' => :'String',
|
|
129
127
|
:'download_concurrency' => :'Integer',
|
|
130
|
-
:'
|
|
131
|
-
:'
|
|
132
|
-
:'
|
|
128
|
+
:'max_retries' => :'Integer',
|
|
129
|
+
:'pulp_created' => :'Time',
|
|
130
|
+
:'url' => :'String',
|
|
133
131
|
:'prn' => :'String',
|
|
134
|
-
:'
|
|
132
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
|
|
133
|
+
:'sock_connect_timeout' => :'Float',
|
|
134
|
+
:'pulp_href' => :'String',
|
|
135
135
|
:'total_timeout' => :'Float',
|
|
136
|
-
:'
|
|
137
|
-
:'
|
|
138
|
-
:'
|
|
136
|
+
:'headers' => :'Array<Object>',
|
|
137
|
+
:'rate_limit' => :'Integer',
|
|
138
|
+
:'client_cert' => :'String',
|
|
139
139
|
:'metadata_only' => :'Boolean',
|
|
140
140
|
:'git_ref' => :'String'
|
|
141
141
|
}
|
|
@@ -144,16 +144,16 @@ module PulpAnsibleClient
|
|
|
144
144
|
# List of attributes with nullable: true
|
|
145
145
|
def self.openapi_nullable
|
|
146
146
|
Set.new([
|
|
147
|
-
:'client_cert',
|
|
148
147
|
:'sock_read_timeout',
|
|
149
148
|
:'connect_timeout',
|
|
149
|
+
:'proxy_url',
|
|
150
|
+
:'ca_cert',
|
|
150
151
|
:'download_concurrency',
|
|
152
|
+
:'max_retries',
|
|
151
153
|
:'sock_connect_timeout',
|
|
152
|
-
:'rate_limit',
|
|
153
154
|
:'total_timeout',
|
|
154
|
-
:'
|
|
155
|
-
:'
|
|
156
|
-
:'ca_cert',
|
|
155
|
+
:'rate_limit',
|
|
156
|
+
:'client_cert',
|
|
157
157
|
])
|
|
158
158
|
end
|
|
159
159
|
|
|
@@ -172,62 +172,62 @@ module PulpAnsibleClient
|
|
|
172
172
|
h[k.to_sym] = v
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
if attributes.key?(:'
|
|
176
|
-
self.
|
|
175
|
+
if attributes.key?(:'sock_read_timeout')
|
|
176
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
if (value = attributes[:'
|
|
181
|
-
self.
|
|
179
|
+
if attributes.key?(:'pulp_labels')
|
|
180
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
181
|
+
self.pulp_labels = value
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
-
if attributes.key?(:'
|
|
186
|
-
self.
|
|
187
|
-
else
|
|
188
|
-
self.url = nil
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
if attributes.key?(:'tls_validation')
|
|
192
|
-
self.tls_validation = attributes[:'tls_validation']
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
if attributes.key?(:'pulp_created')
|
|
196
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
185
|
+
if attributes.key?(:'connect_timeout')
|
|
186
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
|
197
187
|
end
|
|
198
188
|
|
|
199
189
|
if attributes.key?(:'pulp_last_updated')
|
|
200
190
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
201
191
|
end
|
|
202
192
|
|
|
203
|
-
if attributes.key?(:'sock_read_timeout')
|
|
204
|
-
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
205
|
-
end
|
|
206
|
-
|
|
207
193
|
if attributes.key?(:'name')
|
|
208
194
|
self.name = attributes[:'name']
|
|
209
195
|
else
|
|
210
196
|
self.name = nil
|
|
211
197
|
end
|
|
212
198
|
|
|
213
|
-
if attributes.key?(:'
|
|
214
|
-
self.
|
|
199
|
+
if attributes.key?(:'proxy_url')
|
|
200
|
+
self.proxy_url = attributes[:'proxy_url']
|
|
215
201
|
end
|
|
216
202
|
|
|
217
|
-
if attributes.key?(:'
|
|
218
|
-
self.
|
|
203
|
+
if attributes.key?(:'tls_validation')
|
|
204
|
+
self.tls_validation = attributes[:'tls_validation']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
if attributes.key?(:'ca_cert')
|
|
208
|
+
self.ca_cert = attributes[:'ca_cert']
|
|
219
209
|
end
|
|
220
210
|
|
|
221
211
|
if attributes.key?(:'download_concurrency')
|
|
222
212
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
223
213
|
end
|
|
224
214
|
|
|
225
|
-
if attributes.key?(:'
|
|
226
|
-
self.
|
|
215
|
+
if attributes.key?(:'max_retries')
|
|
216
|
+
self.max_retries = attributes[:'max_retries']
|
|
227
217
|
end
|
|
228
218
|
|
|
229
|
-
if attributes.key?(:'
|
|
230
|
-
self.
|
|
219
|
+
if attributes.key?(:'pulp_created')
|
|
220
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if attributes.key?(:'url')
|
|
224
|
+
self.url = attributes[:'url']
|
|
225
|
+
else
|
|
226
|
+
self.url = nil
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
if attributes.key?(:'prn')
|
|
230
|
+
self.prn = attributes[:'prn']
|
|
231
231
|
end
|
|
232
232
|
|
|
233
233
|
if attributes.key?(:'hidden_fields')
|
|
@@ -236,30 +236,30 @@ module PulpAnsibleClient
|
|
|
236
236
|
end
|
|
237
237
|
end
|
|
238
238
|
|
|
239
|
-
if attributes.key?(:'
|
|
240
|
-
self.
|
|
239
|
+
if attributes.key?(:'sock_connect_timeout')
|
|
240
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
-
if attributes.key?(:'
|
|
244
|
-
|
|
245
|
-
self.pulp_labels = value
|
|
246
|
-
end
|
|
243
|
+
if attributes.key?(:'pulp_href')
|
|
244
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
247
245
|
end
|
|
248
246
|
|
|
249
247
|
if attributes.key?(:'total_timeout')
|
|
250
248
|
self.total_timeout = attributes[:'total_timeout']
|
|
251
249
|
end
|
|
252
250
|
|
|
253
|
-
if attributes.key?(:'
|
|
254
|
-
|
|
251
|
+
if attributes.key?(:'headers')
|
|
252
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
253
|
+
self.headers = value
|
|
254
|
+
end
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
-
if attributes.key?(:'
|
|
258
|
-
self.
|
|
257
|
+
if attributes.key?(:'rate_limit')
|
|
258
|
+
self.rate_limit = attributes[:'rate_limit']
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
-
if attributes.key?(:'
|
|
262
|
-
self.
|
|
261
|
+
if attributes.key?(:'client_cert')
|
|
262
|
+
self.client_cert = attributes[:'client_cert']
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
if attributes.key?(:'metadata_only')
|
|
@@ -276,26 +276,26 @@ module PulpAnsibleClient
|
|
|
276
276
|
def list_invalid_properties
|
|
277
277
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
278
278
|
invalid_properties = Array.new
|
|
279
|
-
if @url.nil?
|
|
280
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
|
281
|
-
end
|
|
282
|
-
|
|
283
279
|
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
284
280
|
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
285
281
|
end
|
|
286
282
|
|
|
287
|
-
if @name.nil?
|
|
288
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
289
|
-
end
|
|
290
|
-
|
|
291
283
|
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
292
284
|
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
|
293
285
|
end
|
|
294
286
|
|
|
287
|
+
if @name.nil?
|
|
288
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
289
|
+
end
|
|
290
|
+
|
|
295
291
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
296
292
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
297
293
|
end
|
|
298
294
|
|
|
295
|
+
if @url.nil?
|
|
296
|
+
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
|
297
|
+
end
|
|
298
|
+
|
|
299
299
|
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
300
300
|
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
|
301
301
|
end
|
|
@@ -311,11 +311,11 @@ module PulpAnsibleClient
|
|
|
311
311
|
# @return true if the model is valid
|
|
312
312
|
def valid?
|
|
313
313
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
314
|
-
return false if @url.nil?
|
|
315
314
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
316
|
-
return false if @name.nil?
|
|
317
315
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
316
|
+
return false if @name.nil?
|
|
318
317
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
318
|
+
return false if @url.nil?
|
|
319
319
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
320
320
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
|
321
321
|
true
|
|
@@ -376,26 +376,26 @@ module PulpAnsibleClient
|
|
|
376
376
|
def ==(o)
|
|
377
377
|
return true if self.equal?(o)
|
|
378
378
|
self.class == o.class &&
|
|
379
|
-
client_cert == o.client_cert &&
|
|
380
|
-
headers == o.headers &&
|
|
381
|
-
url == o.url &&
|
|
382
|
-
tls_validation == o.tls_validation &&
|
|
383
|
-
pulp_created == o.pulp_created &&
|
|
384
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
385
379
|
sock_read_timeout == o.sock_read_timeout &&
|
|
386
|
-
|
|
380
|
+
pulp_labels == o.pulp_labels &&
|
|
387
381
|
connect_timeout == o.connect_timeout &&
|
|
388
|
-
|
|
382
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
383
|
+
name == o.name &&
|
|
384
|
+
proxy_url == o.proxy_url &&
|
|
385
|
+
tls_validation == o.tls_validation &&
|
|
386
|
+
ca_cert == o.ca_cert &&
|
|
389
387
|
download_concurrency == o.download_concurrency &&
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
388
|
+
max_retries == o.max_retries &&
|
|
389
|
+
pulp_created == o.pulp_created &&
|
|
390
|
+
url == o.url &&
|
|
393
391
|
prn == o.prn &&
|
|
394
|
-
|
|
392
|
+
hidden_fields == o.hidden_fields &&
|
|
393
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
|
394
|
+
pulp_href == o.pulp_href &&
|
|
395
395
|
total_timeout == o.total_timeout &&
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
396
|
+
headers == o.headers &&
|
|
397
|
+
rate_limit == o.rate_limit &&
|
|
398
|
+
client_cert == o.client_cert &&
|
|
399
399
|
metadata_only == o.metadata_only &&
|
|
400
400
|
git_ref == o.git_ref
|
|
401
401
|
end
|
|
@@ -409,7 +409,7 @@ module PulpAnsibleClient
|
|
|
409
409
|
# Calculates hash code according to all attributes.
|
|
410
410
|
# @return [Integer] Hash code
|
|
411
411
|
def hash
|
|
412
|
-
[
|
|
412
|
+
[sock_read_timeout, pulp_labels, connect_timeout, pulp_last_updated, name, proxy_url, tls_validation, ca_cert, download_concurrency, max_retries, pulp_created, url, prn, hidden_fields, sock_connect_timeout, pulp_href, total_timeout, headers, rate_limit, client_cert, metadata_only, git_ref].hash
|
|
413
413
|
end
|
|
414
414
|
|
|
415
415
|
# Builds the object from hash
|
|
@@ -16,12 +16,12 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for Role versions.
|
|
18
18
|
class AnsibleRole
|
|
19
|
-
# A URI of a repository the new content unit should be associated with.
|
|
20
|
-
attr_accessor :repository
|
|
21
|
-
|
|
22
19
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
23
20
|
attr_accessor :pulp_labels
|
|
24
21
|
|
|
22
|
+
# A URI of a repository the new content unit should be associated with.
|
|
23
|
+
attr_accessor :repository
|
|
24
|
+
|
|
25
25
|
# Artifact file representing the physical content
|
|
26
26
|
attr_accessor :artifact
|
|
27
27
|
|
|
@@ -34,8 +34,8 @@ module PulpAnsibleClient
|
|
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
35
|
def self.attribute_map
|
|
36
36
|
{
|
|
37
|
-
:'repository' => :'repository',
|
|
38
37
|
:'pulp_labels' => :'pulp_labels',
|
|
38
|
+
:'repository' => :'repository',
|
|
39
39
|
:'artifact' => :'artifact',
|
|
40
40
|
:'version' => :'version',
|
|
41
41
|
:'name' => :'name',
|
|
@@ -51,8 +51,8 @@ module PulpAnsibleClient
|
|
|
51
51
|
# Attribute type mapping.
|
|
52
52
|
def self.openapi_types
|
|
53
53
|
{
|
|
54
|
-
:'repository' => :'String',
|
|
55
54
|
:'pulp_labels' => :'Hash<String, String>',
|
|
55
|
+
:'repository' => :'String',
|
|
56
56
|
:'artifact' => :'String',
|
|
57
57
|
:'version' => :'String',
|
|
58
58
|
:'name' => :'String',
|
|
@@ -81,16 +81,16 @@ module PulpAnsibleClient
|
|
|
81
81
|
h[k.to_sym] = v
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
if attributes.key?(:'repository')
|
|
85
|
-
self.repository = attributes[:'repository']
|
|
86
|
-
end
|
|
87
|
-
|
|
88
84
|
if attributes.key?(:'pulp_labels')
|
|
89
85
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
90
86
|
self.pulp_labels = value
|
|
91
87
|
end
|
|
92
88
|
end
|
|
93
89
|
|
|
90
|
+
if attributes.key?(:'repository')
|
|
91
|
+
self.repository = attributes[:'repository']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
94
|
if attributes.key?(:'artifact')
|
|
95
95
|
self.artifact = attributes[:'artifact']
|
|
96
96
|
else
|
|
@@ -213,8 +213,8 @@ module PulpAnsibleClient
|
|
|
213
213
|
def ==(o)
|
|
214
214
|
return true if self.equal?(o)
|
|
215
215
|
self.class == o.class &&
|
|
216
|
-
repository == o.repository &&
|
|
217
216
|
pulp_labels == o.pulp_labels &&
|
|
217
|
+
repository == o.repository &&
|
|
218
218
|
artifact == o.artifact &&
|
|
219
219
|
version == o.version &&
|
|
220
220
|
name == o.name &&
|
|
@@ -230,7 +230,7 @@ module PulpAnsibleClient
|
|
|
230
230
|
# Calculates hash code according to all attributes.
|
|
231
231
|
# @return [Integer] Hash code
|
|
232
232
|
def hash
|
|
233
|
-
[
|
|
233
|
+
[pulp_labels, repository, artifact, version, name, namespace].hash
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
# Builds the object from hash
|
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for Role versions.
|
|
18
18
|
class AnsibleRoleResponse
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# Timestamp of creation.
|
|
22
|
-
attr_accessor :pulp_created
|
|
19
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
20
|
+
attr_accessor :pulp_labels
|
|
23
21
|
|
|
24
22
|
# The Pulp Resource Name (PRN).
|
|
25
23
|
attr_accessor :prn
|
|
26
24
|
|
|
27
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
25
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
31
26
|
attr_accessor :pulp_last_updated
|
|
32
27
|
|
|
28
|
+
attr_accessor :pulp_href
|
|
29
|
+
|
|
33
30
|
# Artifact file representing the physical content
|
|
34
31
|
attr_accessor :artifact
|
|
35
32
|
|
|
33
|
+
# Timestamp of creation.
|
|
34
|
+
attr_accessor :pulp_created
|
|
35
|
+
|
|
36
36
|
attr_accessor :version
|
|
37
37
|
|
|
38
38
|
attr_accessor :name
|
|
@@ -42,12 +42,12 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
|
-
:'pulp_href' => :'pulp_href',
|
|
46
|
-
:'pulp_created' => :'pulp_created',
|
|
47
|
-
:'prn' => :'prn',
|
|
48
45
|
:'pulp_labels' => :'pulp_labels',
|
|
46
|
+
:'prn' => :'prn',
|
|
49
47
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
48
|
+
:'pulp_href' => :'pulp_href',
|
|
50
49
|
:'artifact' => :'artifact',
|
|
50
|
+
:'pulp_created' => :'pulp_created',
|
|
51
51
|
:'version' => :'version',
|
|
52
52
|
:'name' => :'name',
|
|
53
53
|
:'namespace' => :'namespace'
|
|
@@ -62,12 +62,12 @@ module PulpAnsibleClient
|
|
|
62
62
|
# Attribute type mapping.
|
|
63
63
|
def self.openapi_types
|
|
64
64
|
{
|
|
65
|
-
:'pulp_href' => :'String',
|
|
66
|
-
:'pulp_created' => :'Time',
|
|
67
|
-
:'prn' => :'String',
|
|
68
65
|
:'pulp_labels' => :'Hash<String, String>',
|
|
66
|
+
:'prn' => :'String',
|
|
69
67
|
:'pulp_last_updated' => :'Time',
|
|
68
|
+
:'pulp_href' => :'String',
|
|
70
69
|
:'artifact' => :'String',
|
|
70
|
+
:'pulp_created' => :'Time',
|
|
71
71
|
:'version' => :'String',
|
|
72
72
|
:'name' => :'String',
|
|
73
73
|
:'namespace' => :'String'
|
|
@@ -95,34 +95,34 @@ module PulpAnsibleClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'pulp_href')
|
|
99
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
if attributes.key?(:'pulp_created')
|
|
103
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if attributes.key?(:'prn')
|
|
107
|
-
self.prn = attributes[:'prn']
|
|
108
|
-
end
|
|
109
|
-
|
|
110
98
|
if attributes.key?(:'pulp_labels')
|
|
111
99
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
112
100
|
self.pulp_labels = value
|
|
113
101
|
end
|
|
114
102
|
end
|
|
115
103
|
|
|
104
|
+
if attributes.key?(:'prn')
|
|
105
|
+
self.prn = attributes[:'prn']
|
|
106
|
+
end
|
|
107
|
+
|
|
116
108
|
if attributes.key?(:'pulp_last_updated')
|
|
117
109
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
118
110
|
end
|
|
119
111
|
|
|
112
|
+
if attributes.key?(:'pulp_href')
|
|
113
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
114
|
+
end
|
|
115
|
+
|
|
120
116
|
if attributes.key?(:'artifact')
|
|
121
117
|
self.artifact = attributes[:'artifact']
|
|
122
118
|
else
|
|
123
119
|
self.artifact = nil
|
|
124
120
|
end
|
|
125
121
|
|
|
122
|
+
if attributes.key?(:'pulp_created')
|
|
123
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
126
|
if attributes.key?(:'version')
|
|
127
127
|
self.version = attributes[:'version']
|
|
128
128
|
else
|
|
@@ -182,12 +182,12 @@ module PulpAnsibleClient
|
|
|
182
182
|
def ==(o)
|
|
183
183
|
return true if self.equal?(o)
|
|
184
184
|
self.class == o.class &&
|
|
185
|
-
pulp_href == o.pulp_href &&
|
|
186
|
-
pulp_created == o.pulp_created &&
|
|
187
|
-
prn == o.prn &&
|
|
188
185
|
pulp_labels == o.pulp_labels &&
|
|
186
|
+
prn == o.prn &&
|
|
189
187
|
pulp_last_updated == o.pulp_last_updated &&
|
|
188
|
+
pulp_href == o.pulp_href &&
|
|
190
189
|
artifact == o.artifact &&
|
|
190
|
+
pulp_created == o.pulp_created &&
|
|
191
191
|
version == o.version &&
|
|
192
192
|
name == o.name &&
|
|
193
193
|
namespace == o.namespace
|
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
|
202
202
|
# Calculates hash code according to all attributes.
|
|
203
203
|
# @return [Integer] Hash code
|
|
204
204
|
def hash
|
|
205
|
-
[
|
|
205
|
+
[pulp_labels, prn, pulp_last_updated, pulp_href, artifact, pulp_created, version, name, namespace].hash
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
# Builds the object from hash
|