pulp_ansible_client 0.25.1 → 0.25.2
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 +8 -5
- data/docs/AnsibleCollectionVersionResponse.md +4 -12
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +28 -14
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +12 -4
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +12 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +2 -0
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +30 -14
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +24 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +3 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +18 -3
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -63
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +219 -219
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +8 -3
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +1 -0
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -1
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +5 -29
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +123 -123
|
@@ -19,61 +19,61 @@ module PulpAnsibleClient
|
|
|
19
19
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
|
20
20
|
attr_accessor :max_retries
|
|
21
21
|
|
|
22
|
-
# The Pulp Resource Name (PRN).
|
|
23
|
-
attr_accessor :prn
|
|
24
|
-
|
|
25
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
26
|
-
attr_accessor :connect_timeout
|
|
27
|
-
|
|
28
|
-
# List of hidden (write only) fields
|
|
29
|
-
attr_accessor :hidden_fields
|
|
30
|
-
|
|
31
|
-
# Limits requests per second for each concurrent downloader
|
|
32
|
-
attr_accessor :rate_limit
|
|
33
|
-
|
|
34
|
-
# If True, TLS peer validation must be performed.
|
|
35
|
-
attr_accessor :tls_validation
|
|
36
|
-
|
|
37
|
-
# Timestamp of creation.
|
|
38
|
-
attr_accessor :pulp_created
|
|
39
|
-
|
|
40
22
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
|
41
23
|
attr_accessor :download_concurrency
|
|
42
24
|
|
|
43
|
-
|
|
44
|
-
attr_accessor :headers
|
|
25
|
+
attr_accessor :pulp_labels
|
|
45
26
|
|
|
46
|
-
# The
|
|
47
|
-
attr_accessor :
|
|
27
|
+
# 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.
|
|
28
|
+
attr_accessor :sock_read_timeout
|
|
48
29
|
|
|
49
30
|
# The proxy URL. Format: scheme://host:port
|
|
50
31
|
attr_accessor :proxy_url
|
|
51
32
|
|
|
52
|
-
|
|
33
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
34
|
+
attr_accessor :connect_timeout
|
|
35
|
+
|
|
36
|
+
# Timestamp of the most recent update of the remote.
|
|
37
|
+
attr_accessor :pulp_last_updated
|
|
38
|
+
|
|
39
|
+
# The URL of an external content source.
|
|
40
|
+
attr_accessor :url
|
|
53
41
|
|
|
54
42
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
|
55
43
|
attr_accessor :total_timeout
|
|
56
44
|
|
|
57
|
-
# 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.
|
|
58
|
-
attr_accessor :sock_read_timeout
|
|
59
|
-
|
|
60
45
|
# A PEM encoded client certificate used for authentication.
|
|
61
46
|
attr_accessor :client_cert
|
|
62
47
|
|
|
63
|
-
#
|
|
64
|
-
attr_accessor :
|
|
48
|
+
# List of hidden (write only) fields
|
|
49
|
+
attr_accessor :hidden_fields
|
|
65
50
|
|
|
66
|
-
|
|
51
|
+
# The Pulp Resource Name (PRN).
|
|
52
|
+
attr_accessor :prn
|
|
53
|
+
|
|
54
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
55
|
+
attr_accessor :ca_cert
|
|
67
56
|
|
|
68
57
|
# 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.
|
|
69
58
|
attr_accessor :sock_connect_timeout
|
|
70
59
|
|
|
60
|
+
attr_accessor :pulp_href
|
|
61
|
+
|
|
62
|
+
# Timestamp of creation.
|
|
63
|
+
attr_accessor :pulp_created
|
|
64
|
+
|
|
65
|
+
# Headers for aiohttp.Clientsession
|
|
66
|
+
attr_accessor :headers
|
|
67
|
+
|
|
68
|
+
# If True, TLS peer validation must be performed.
|
|
69
|
+
attr_accessor :tls_validation
|
|
70
|
+
|
|
71
|
+
# Limits requests per second for each concurrent downloader
|
|
72
|
+
attr_accessor :rate_limit
|
|
73
|
+
|
|
71
74
|
# A unique name for this remote.
|
|
72
75
|
attr_accessor :name
|
|
73
76
|
|
|
74
|
-
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
|
75
|
-
attr_accessor :ca_cert
|
|
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
|
|
79
79
|
|
|
@@ -84,25 +84,25 @@ module PulpAnsibleClient
|
|
|
84
84
|
def self.attribute_map
|
|
85
85
|
{
|
|
86
86
|
:'max_retries' => :'max_retries',
|
|
87
|
-
:'prn' => :'prn',
|
|
88
|
-
:'connect_timeout' => :'connect_timeout',
|
|
89
|
-
:'hidden_fields' => :'hidden_fields',
|
|
90
|
-
:'rate_limit' => :'rate_limit',
|
|
91
|
-
:'tls_validation' => :'tls_validation',
|
|
92
|
-
:'pulp_created' => :'pulp_created',
|
|
93
87
|
:'download_concurrency' => :'download_concurrency',
|
|
94
|
-
:'headers' => :'headers',
|
|
95
|
-
:'url' => :'url',
|
|
96
|
-
:'proxy_url' => :'proxy_url',
|
|
97
88
|
:'pulp_labels' => :'pulp_labels',
|
|
98
|
-
:'total_timeout' => :'total_timeout',
|
|
99
89
|
:'sock_read_timeout' => :'sock_read_timeout',
|
|
100
|
-
:'
|
|
90
|
+
:'proxy_url' => :'proxy_url',
|
|
91
|
+
:'connect_timeout' => :'connect_timeout',
|
|
101
92
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
102
|
-
:'
|
|
93
|
+
:'url' => :'url',
|
|
94
|
+
:'total_timeout' => :'total_timeout',
|
|
95
|
+
:'client_cert' => :'client_cert',
|
|
96
|
+
:'hidden_fields' => :'hidden_fields',
|
|
97
|
+
:'prn' => :'prn',
|
|
98
|
+
:'ca_cert' => :'ca_cert',
|
|
103
99
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
|
100
|
+
:'pulp_href' => :'pulp_href',
|
|
101
|
+
:'pulp_created' => :'pulp_created',
|
|
102
|
+
:'headers' => :'headers',
|
|
103
|
+
:'tls_validation' => :'tls_validation',
|
|
104
|
+
:'rate_limit' => :'rate_limit',
|
|
104
105
|
:'name' => :'name',
|
|
105
|
-
:'ca_cert' => :'ca_cert',
|
|
106
106
|
:'metadata_only' => :'metadata_only',
|
|
107
107
|
:'git_ref' => :'git_ref'
|
|
108
108
|
}
|
|
@@ -117,25 +117,25 @@ module PulpAnsibleClient
|
|
|
117
117
|
def self.openapi_types
|
|
118
118
|
{
|
|
119
119
|
:'max_retries' => :'Integer',
|
|
120
|
-
:'prn' => :'String',
|
|
121
|
-
:'connect_timeout' => :'Float',
|
|
122
|
-
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
|
|
123
|
-
:'rate_limit' => :'Integer',
|
|
124
|
-
:'tls_validation' => :'Boolean',
|
|
125
|
-
:'pulp_created' => :'Time',
|
|
126
120
|
:'download_concurrency' => :'Integer',
|
|
127
|
-
:'headers' => :'Array<Object>',
|
|
128
|
-
:'url' => :'String',
|
|
129
|
-
:'proxy_url' => :'String',
|
|
130
121
|
:'pulp_labels' => :'Hash<String, String>',
|
|
131
|
-
:'total_timeout' => :'Float',
|
|
132
122
|
:'sock_read_timeout' => :'Float',
|
|
133
|
-
:'
|
|
123
|
+
:'proxy_url' => :'String',
|
|
124
|
+
:'connect_timeout' => :'Float',
|
|
134
125
|
:'pulp_last_updated' => :'Time',
|
|
135
|
-
:'
|
|
126
|
+
:'url' => :'String',
|
|
127
|
+
:'total_timeout' => :'Float',
|
|
128
|
+
:'client_cert' => :'String',
|
|
129
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
|
|
130
|
+
:'prn' => :'String',
|
|
131
|
+
:'ca_cert' => :'String',
|
|
136
132
|
:'sock_connect_timeout' => :'Float',
|
|
133
|
+
:'pulp_href' => :'String',
|
|
134
|
+
:'pulp_created' => :'Time',
|
|
135
|
+
:'headers' => :'Array<Object>',
|
|
136
|
+
:'tls_validation' => :'Boolean',
|
|
137
|
+
:'rate_limit' => :'Integer',
|
|
137
138
|
:'name' => :'String',
|
|
138
|
-
:'ca_cert' => :'String',
|
|
139
139
|
:'metadata_only' => :'Boolean',
|
|
140
140
|
:'git_ref' => :'String'
|
|
141
141
|
}
|
|
@@ -145,15 +145,15 @@ module PulpAnsibleClient
|
|
|
145
145
|
def self.openapi_nullable
|
|
146
146
|
Set.new([
|
|
147
147
|
:'max_retries',
|
|
148
|
-
:'connect_timeout',
|
|
149
|
-
:'rate_limit',
|
|
150
148
|
:'download_concurrency',
|
|
149
|
+
:'sock_read_timeout',
|
|
151
150
|
:'proxy_url',
|
|
151
|
+
:'connect_timeout',
|
|
152
152
|
:'total_timeout',
|
|
153
|
-
:'sock_read_timeout',
|
|
154
153
|
:'client_cert',
|
|
155
|
-
:'sock_connect_timeout',
|
|
156
154
|
:'ca_cert',
|
|
155
|
+
:'sock_connect_timeout',
|
|
156
|
+
:'rate_limit',
|
|
157
157
|
])
|
|
158
158
|
end
|
|
159
159
|
|
|
@@ -176,40 +176,30 @@ module PulpAnsibleClient
|
|
|
176
176
|
self.max_retries = attributes[:'max_retries']
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
self.
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
if attributes.key?(:'connect_timeout')
|
|
184
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
|
179
|
+
if attributes.key?(:'download_concurrency')
|
|
180
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
|
185
181
|
end
|
|
186
182
|
|
|
187
|
-
if attributes.key?(:'
|
|
188
|
-
if (value = attributes[:'
|
|
189
|
-
self.
|
|
183
|
+
if attributes.key?(:'pulp_labels')
|
|
184
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
185
|
+
self.pulp_labels = value
|
|
190
186
|
end
|
|
191
187
|
end
|
|
192
188
|
|
|
193
|
-
if attributes.key?(:'
|
|
194
|
-
self.
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
if attributes.key?(:'tls_validation')
|
|
198
|
-
self.tls_validation = attributes[:'tls_validation']
|
|
189
|
+
if attributes.key?(:'sock_read_timeout')
|
|
190
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
|
199
191
|
end
|
|
200
192
|
|
|
201
|
-
if attributes.key?(:'
|
|
202
|
-
self.
|
|
193
|
+
if attributes.key?(:'proxy_url')
|
|
194
|
+
self.proxy_url = attributes[:'proxy_url']
|
|
203
195
|
end
|
|
204
196
|
|
|
205
|
-
if attributes.key?(:'
|
|
206
|
-
self.
|
|
197
|
+
if attributes.key?(:'connect_timeout')
|
|
198
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
|
207
199
|
end
|
|
208
200
|
|
|
209
|
-
if attributes.key?(:'
|
|
210
|
-
|
|
211
|
-
self.headers = value
|
|
212
|
-
end
|
|
201
|
+
if attributes.key?(:'pulp_last_updated')
|
|
202
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
213
203
|
end
|
|
214
204
|
|
|
215
205
|
if attributes.key?(:'url')
|
|
@@ -218,38 +208,52 @@ module PulpAnsibleClient
|
|
|
218
208
|
self.url = nil
|
|
219
209
|
end
|
|
220
210
|
|
|
221
|
-
if attributes.key?(:'
|
|
222
|
-
self.
|
|
211
|
+
if attributes.key?(:'total_timeout')
|
|
212
|
+
self.total_timeout = attributes[:'total_timeout']
|
|
223
213
|
end
|
|
224
214
|
|
|
225
|
-
if attributes.key?(:'
|
|
226
|
-
|
|
227
|
-
self.pulp_labels = value
|
|
228
|
-
end
|
|
215
|
+
if attributes.key?(:'client_cert')
|
|
216
|
+
self.client_cert = attributes[:'client_cert']
|
|
229
217
|
end
|
|
230
218
|
|
|
231
|
-
if attributes.key?(:'
|
|
232
|
-
|
|
219
|
+
if attributes.key?(:'hidden_fields')
|
|
220
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
|
221
|
+
self.hidden_fields = value
|
|
222
|
+
end
|
|
233
223
|
end
|
|
234
224
|
|
|
235
|
-
if attributes.key?(:'
|
|
236
|
-
self.
|
|
225
|
+
if attributes.key?(:'prn')
|
|
226
|
+
self.prn = attributes[:'prn']
|
|
237
227
|
end
|
|
238
228
|
|
|
239
|
-
if attributes.key?(:'
|
|
240
|
-
self.
|
|
229
|
+
if attributes.key?(:'ca_cert')
|
|
230
|
+
self.ca_cert = attributes[:'ca_cert']
|
|
241
231
|
end
|
|
242
232
|
|
|
243
|
-
if attributes.key?(:'
|
|
244
|
-
self.
|
|
233
|
+
if attributes.key?(:'sock_connect_timeout')
|
|
234
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
|
245
235
|
end
|
|
246
236
|
|
|
247
237
|
if attributes.key?(:'pulp_href')
|
|
248
238
|
self.pulp_href = attributes[:'pulp_href']
|
|
249
239
|
end
|
|
250
240
|
|
|
251
|
-
if attributes.key?(:'
|
|
252
|
-
self.
|
|
241
|
+
if attributes.key?(:'pulp_created')
|
|
242
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
if attributes.key?(:'headers')
|
|
246
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
|
247
|
+
self.headers = value
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'tls_validation')
|
|
252
|
+
self.tls_validation = attributes[:'tls_validation']
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if attributes.key?(:'rate_limit')
|
|
256
|
+
self.rate_limit = attributes[:'rate_limit']
|
|
253
257
|
end
|
|
254
258
|
|
|
255
259
|
if attributes.key?(:'name')
|
|
@@ -258,10 +262,6 @@ module PulpAnsibleClient
|
|
|
258
262
|
self.name = nil
|
|
259
263
|
end
|
|
260
264
|
|
|
261
|
-
if attributes.key?(:'ca_cert')
|
|
262
|
-
self.ca_cert = attributes[:'ca_cert']
|
|
263
|
-
end
|
|
264
|
-
|
|
265
265
|
if attributes.key?(:'metadata_only')
|
|
266
266
|
self.metadata_only = attributes[:'metadata_only']
|
|
267
267
|
end
|
|
@@ -276,14 +276,18 @@ 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 !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
280
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
|
281
|
-
end
|
|
282
|
-
|
|
283
279
|
if !@download_concurrency.nil? && @download_concurrency < 1
|
|
284
280
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
|
285
281
|
end
|
|
286
282
|
|
|
283
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
284
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
288
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
|
289
|
+
end
|
|
290
|
+
|
|
287
291
|
if @url.nil?
|
|
288
292
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
|
289
293
|
end
|
|
@@ -292,10 +296,6 @@ module PulpAnsibleClient
|
|
|
292
296
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
|
293
297
|
end
|
|
294
298
|
|
|
295
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
296
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
|
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,26 +311,16 @@ 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 !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
315
314
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
|
315
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
316
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
|
316
317
|
return false if @url.nil?
|
|
317
318
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
|
318
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
|
319
319
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
|
320
320
|
return false if @name.nil?
|
|
321
321
|
true
|
|
322
322
|
end
|
|
323
323
|
|
|
324
|
-
# Custom attribute writer method with validation
|
|
325
|
-
# @param [Object] connect_timeout Value to be assigned
|
|
326
|
-
def connect_timeout=(connect_timeout)
|
|
327
|
-
if !connect_timeout.nil? && connect_timeout < 0.0
|
|
328
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
@connect_timeout = connect_timeout
|
|
332
|
-
end
|
|
333
|
-
|
|
334
324
|
# Custom attribute writer method with validation
|
|
335
325
|
# @param [Object] download_concurrency Value to be assigned
|
|
336
326
|
def download_concurrency=(download_concurrency)
|
|
@@ -341,16 +331,6 @@ module PulpAnsibleClient
|
|
|
341
331
|
@download_concurrency = download_concurrency
|
|
342
332
|
end
|
|
343
333
|
|
|
344
|
-
# Custom attribute writer method with validation
|
|
345
|
-
# @param [Object] total_timeout Value to be assigned
|
|
346
|
-
def total_timeout=(total_timeout)
|
|
347
|
-
if !total_timeout.nil? && total_timeout < 0.0
|
|
348
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
|
349
|
-
end
|
|
350
|
-
|
|
351
|
-
@total_timeout = total_timeout
|
|
352
|
-
end
|
|
353
|
-
|
|
354
334
|
# Custom attribute writer method with validation
|
|
355
335
|
# @param [Object] sock_read_timeout Value to be assigned
|
|
356
336
|
def sock_read_timeout=(sock_read_timeout)
|
|
@@ -361,6 +341,26 @@ module PulpAnsibleClient
|
|
|
361
341
|
@sock_read_timeout = sock_read_timeout
|
|
362
342
|
end
|
|
363
343
|
|
|
344
|
+
# Custom attribute writer method with validation
|
|
345
|
+
# @param [Object] connect_timeout Value to be assigned
|
|
346
|
+
def connect_timeout=(connect_timeout)
|
|
347
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
|
348
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
@connect_timeout = connect_timeout
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# Custom attribute writer method with validation
|
|
355
|
+
# @param [Object] total_timeout Value to be assigned
|
|
356
|
+
def total_timeout=(total_timeout)
|
|
357
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
|
358
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
@total_timeout = total_timeout
|
|
362
|
+
end
|
|
363
|
+
|
|
364
364
|
# Custom attribute writer method with validation
|
|
365
365
|
# @param [Object] sock_connect_timeout Value to be assigned
|
|
366
366
|
def sock_connect_timeout=(sock_connect_timeout)
|
|
@@ -377,25 +377,25 @@ module PulpAnsibleClient
|
|
|
377
377
|
return true if self.equal?(o)
|
|
378
378
|
self.class == o.class &&
|
|
379
379
|
max_retries == o.max_retries &&
|
|
380
|
-
prn == o.prn &&
|
|
381
|
-
connect_timeout == o.connect_timeout &&
|
|
382
|
-
hidden_fields == o.hidden_fields &&
|
|
383
|
-
rate_limit == o.rate_limit &&
|
|
384
|
-
tls_validation == o.tls_validation &&
|
|
385
|
-
pulp_created == o.pulp_created &&
|
|
386
380
|
download_concurrency == o.download_concurrency &&
|
|
387
|
-
headers == o.headers &&
|
|
388
|
-
url == o.url &&
|
|
389
|
-
proxy_url == o.proxy_url &&
|
|
390
381
|
pulp_labels == o.pulp_labels &&
|
|
391
|
-
total_timeout == o.total_timeout &&
|
|
392
382
|
sock_read_timeout == o.sock_read_timeout &&
|
|
393
|
-
|
|
383
|
+
proxy_url == o.proxy_url &&
|
|
384
|
+
connect_timeout == o.connect_timeout &&
|
|
394
385
|
pulp_last_updated == o.pulp_last_updated &&
|
|
395
|
-
|
|
386
|
+
url == o.url &&
|
|
387
|
+
total_timeout == o.total_timeout &&
|
|
388
|
+
client_cert == o.client_cert &&
|
|
389
|
+
hidden_fields == o.hidden_fields &&
|
|
390
|
+
prn == o.prn &&
|
|
391
|
+
ca_cert == o.ca_cert &&
|
|
396
392
|
sock_connect_timeout == o.sock_connect_timeout &&
|
|
393
|
+
pulp_href == o.pulp_href &&
|
|
394
|
+
pulp_created == o.pulp_created &&
|
|
395
|
+
headers == o.headers &&
|
|
396
|
+
tls_validation == o.tls_validation &&
|
|
397
|
+
rate_limit == o.rate_limit &&
|
|
397
398
|
name == o.name &&
|
|
398
|
-
ca_cert == o.ca_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
|
-
[max_retries,
|
|
412
|
+
[max_retries, download_concurrency, pulp_labels, sock_read_timeout, proxy_url, connect_timeout, pulp_last_updated, url, total_timeout, client_cert, hidden_fields, prn, ca_cert, sock_connect_timeout, pulp_href, pulp_created, headers, tls_validation, rate_limit, name, metadata_only, git_ref].hash
|
|
413
413
|
end
|
|
414
414
|
|
|
415
415
|
# 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
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
20
|
-
attr_accessor :pulp_labels
|
|
21
|
-
|
|
22
19
|
# The Pulp Resource Name (PRN).
|
|
23
20
|
attr_accessor :prn
|
|
24
21
|
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
23
|
+
attr_accessor :pulp_labels
|
|
24
|
+
|
|
25
25
|
# Artifact file representing the physical content
|
|
26
26
|
attr_accessor :artifact
|
|
27
27
|
|
|
28
|
+
# Timestamp of creation.
|
|
29
|
+
attr_accessor :pulp_created
|
|
30
|
+
|
|
28
31
|
# 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.
|
|
29
32
|
attr_accessor :pulp_last_updated
|
|
30
33
|
|
|
31
34
|
attr_accessor :pulp_href
|
|
32
35
|
|
|
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_labels' => :'pulp_labels',
|
|
46
45
|
:'prn' => :'prn',
|
|
46
|
+
:'pulp_labels' => :'pulp_labels',
|
|
47
47
|
:'artifact' => :'artifact',
|
|
48
|
+
:'pulp_created' => :'pulp_created',
|
|
48
49
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
49
50
|
:'pulp_href' => :'pulp_href',
|
|
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_labels' => :'Hash<String, String>',
|
|
66
65
|
:'prn' => :'String',
|
|
66
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
67
67
|
:'artifact' => :'String',
|
|
68
|
+
:'pulp_created' => :'Time',
|
|
68
69
|
:'pulp_last_updated' => :'Time',
|
|
69
70
|
:'pulp_href' => :'String',
|
|
70
|
-
:'pulp_created' => :'Time',
|
|
71
71
|
:'version' => :'String',
|
|
72
72
|
:'name' => :'String',
|
|
73
73
|
:'namespace' => :'String'
|
|
@@ -95,22 +95,26 @@ module PulpAnsibleClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
if attributes.key?(:'prn')
|
|
99
|
+
self.prn = attributes[:'prn']
|
|
100
|
+
end
|
|
101
|
+
|
|
98
102
|
if attributes.key?(:'pulp_labels')
|
|
99
103
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
100
104
|
self.pulp_labels = value
|
|
101
105
|
end
|
|
102
106
|
end
|
|
103
107
|
|
|
104
|
-
if attributes.key?(:'prn')
|
|
105
|
-
self.prn = attributes[:'prn']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
108
|
if attributes.key?(:'artifact')
|
|
109
109
|
self.artifact = attributes[:'artifact']
|
|
110
110
|
else
|
|
111
111
|
self.artifact = nil
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
+
if attributes.key?(:'pulp_created')
|
|
115
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
116
|
+
end
|
|
117
|
+
|
|
114
118
|
if attributes.key?(:'pulp_last_updated')
|
|
115
119
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
116
120
|
end
|
|
@@ -119,10 +123,6 @@ module PulpAnsibleClient
|
|
|
119
123
|
self.pulp_href = attributes[:'pulp_href']
|
|
120
124
|
end
|
|
121
125
|
|
|
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_labels == o.pulp_labels &&
|
|
186
185
|
prn == o.prn &&
|
|
186
|
+
pulp_labels == o.pulp_labels &&
|
|
187
187
|
artifact == o.artifact &&
|
|
188
|
+
pulp_created == o.pulp_created &&
|
|
188
189
|
pulp_last_updated == o.pulp_last_updated &&
|
|
189
190
|
pulp_href == o.pulp_href &&
|
|
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
|
+
[prn, pulp_labels, artifact, pulp_created, pulp_last_updated, pulp_href, version, name, namespace].hash
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
# Builds the object from hash
|