pulp_ansible_client 0.24.6 → 0.24.7
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 -4
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- 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 +24 -24
- 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 -21
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +138 -138
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
- 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 -5
- 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 +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +126 -126
@@ -16,37 +16,31 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for Git Collection Remotes.
|
18
18
|
class AnsibleGitRemoteResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# Timestamp of the most recent update of the remote.
|
20
|
+
attr_accessor :pulp_last_updated
|
21
21
|
|
22
22
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
23
23
|
attr_accessor :max_retries
|
24
24
|
|
25
|
-
|
26
|
-
attr_accessor :prn
|
27
|
-
|
28
|
-
# A PEM encoded client certificate used for authentication.
|
29
|
-
attr_accessor :client_cert
|
30
|
-
|
31
|
-
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
32
|
-
attr_accessor :connect_timeout
|
25
|
+
attr_accessor :pulp_href
|
33
26
|
|
34
|
-
#
|
35
|
-
attr_accessor :
|
27
|
+
# Total number of simultaneous connections. If not set then the default value will be used.
|
28
|
+
attr_accessor :download_concurrency
|
36
29
|
|
37
30
|
# The URL of an external content source.
|
38
31
|
attr_accessor :url
|
39
32
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
33
|
+
# 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.
|
34
|
+
attr_accessor :sock_read_timeout
|
42
35
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
36
|
+
# The proxy URL. Format: scheme://host:port
|
37
|
+
attr_accessor :proxy_url
|
45
38
|
|
46
|
-
#
|
47
|
-
attr_accessor :
|
39
|
+
# The Pulp Resource Name (PRN).
|
40
|
+
attr_accessor :prn
|
48
41
|
|
49
|
-
|
42
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
43
|
+
attr_accessor :connect_timeout
|
50
44
|
|
51
45
|
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
52
46
|
attr_accessor :ca_cert
|
@@ -54,25 +48,31 @@ module PulpAnsibleClient
|
|
54
48
|
# 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.
|
55
49
|
attr_accessor :sock_connect_timeout
|
56
50
|
|
51
|
+
# A unique name for this remote.
|
52
|
+
attr_accessor :name
|
53
|
+
|
54
|
+
# A PEM encoded client certificate used for authentication.
|
55
|
+
attr_accessor :client_cert
|
56
|
+
|
57
57
|
attr_accessor :pulp_labels
|
58
58
|
|
59
|
-
#
|
60
|
-
attr_accessor :
|
59
|
+
# Timestamp of creation.
|
60
|
+
attr_accessor :pulp_created
|
61
61
|
|
62
|
-
#
|
63
|
-
attr_accessor :
|
62
|
+
# Limits requests per second for each concurrent downloader
|
63
|
+
attr_accessor :rate_limit
|
64
64
|
|
65
|
-
#
|
66
|
-
attr_accessor :
|
65
|
+
# List of hidden (write only) fields
|
66
|
+
attr_accessor :hidden_fields
|
67
67
|
|
68
|
-
#
|
69
|
-
attr_accessor :
|
68
|
+
# Headers for aiohttp.Clientsession
|
69
|
+
attr_accessor :headers
|
70
70
|
|
71
|
-
#
|
72
|
-
attr_accessor :
|
71
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
72
|
+
attr_accessor :total_timeout
|
73
73
|
|
74
|
-
#
|
75
|
-
attr_accessor :
|
74
|
+
# If True, TLS peer validation must be performed.
|
75
|
+
attr_accessor :tls_validation
|
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
|
-
:'
|
86
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
87
87
|
:'max_retries' => :'max_retries',
|
88
|
+
:'pulp_href' => :'pulp_href',
|
89
|
+
:'download_concurrency' => :'download_concurrency',
|
90
|
+
:'url' => :'url',
|
91
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
92
|
+
:'proxy_url' => :'proxy_url',
|
88
93
|
:'prn' => :'prn',
|
89
|
-
:'client_cert' => :'client_cert',
|
90
94
|
:'connect_timeout' => :'connect_timeout',
|
91
|
-
:'rate_limit' => :'rate_limit',
|
92
|
-
:'url' => :'url',
|
93
|
-
:'headers' => :'headers',
|
94
|
-
:'download_concurrency' => :'download_concurrency',
|
95
|
-
:'hidden_fields' => :'hidden_fields',
|
96
|
-
:'pulp_href' => :'pulp_href',
|
97
95
|
:'ca_cert' => :'ca_cert',
|
98
96
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
97
|
+
:'name' => :'name',
|
98
|
+
:'client_cert' => :'client_cert',
|
99
99
|
:'pulp_labels' => :'pulp_labels',
|
100
|
+
:'pulp_created' => :'pulp_created',
|
101
|
+
:'rate_limit' => :'rate_limit',
|
102
|
+
:'hidden_fields' => :'hidden_fields',
|
103
|
+
:'headers' => :'headers',
|
100
104
|
:'total_timeout' => :'total_timeout',
|
101
105
|
:'tls_validation' => :'tls_validation',
|
102
|
-
:'proxy_url' => :'proxy_url',
|
103
|
-
:'name' => :'name',
|
104
|
-
:'pulp_created' => :'pulp_created',
|
105
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
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
|
-
:'
|
119
|
+
:'pulp_last_updated' => :'Time',
|
120
120
|
:'max_retries' => :'Integer',
|
121
|
+
:'pulp_href' => :'String',
|
122
|
+
:'download_concurrency' => :'Integer',
|
123
|
+
:'url' => :'String',
|
124
|
+
:'sock_read_timeout' => :'Float',
|
125
|
+
:'proxy_url' => :'String',
|
121
126
|
:'prn' => :'String',
|
122
|
-
:'client_cert' => :'String',
|
123
127
|
:'connect_timeout' => :'Float',
|
124
|
-
:'rate_limit' => :'Integer',
|
125
|
-
:'url' => :'String',
|
126
|
-
:'headers' => :'Array<Object>',
|
127
|
-
:'download_concurrency' => :'Integer',
|
128
|
-
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
|
129
|
-
:'pulp_href' => :'String',
|
130
128
|
:'ca_cert' => :'String',
|
131
129
|
:'sock_connect_timeout' => :'Float',
|
130
|
+
:'name' => :'String',
|
131
|
+
:'client_cert' => :'String',
|
132
132
|
:'pulp_labels' => :'Hash<String, String>',
|
133
|
+
:'pulp_created' => :'Time',
|
134
|
+
:'rate_limit' => :'Integer',
|
135
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>',
|
136
|
+
:'headers' => :'Array<Object>',
|
133
137
|
:'total_timeout' => :'Float',
|
134
138
|
:'tls_validation' => :'Boolean',
|
135
|
-
:'proxy_url' => :'String',
|
136
|
-
:'name' => :'String',
|
137
|
-
:'pulp_created' => :'Time',
|
138
|
-
:'pulp_last_updated' => :'Time',
|
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
|
-
:'sock_read_timeout',
|
148
147
|
:'max_retries',
|
149
|
-
:'client_cert',
|
150
|
-
:'connect_timeout',
|
151
|
-
:'rate_limit',
|
152
148
|
:'download_concurrency',
|
149
|
+
:'sock_read_timeout',
|
150
|
+
:'proxy_url',
|
151
|
+
:'connect_timeout',
|
153
152
|
:'ca_cert',
|
154
153
|
:'sock_connect_timeout',
|
154
|
+
:'client_cert',
|
155
|
+
:'rate_limit',
|
155
156
|
:'total_timeout',
|
156
|
-
:'proxy_url',
|
157
157
|
])
|
158
158
|
end
|
159
159
|
|
@@ -172,28 +172,20 @@ module PulpAnsibleClient
|
|
172
172
|
h[k.to_sym] = v
|
173
173
|
}
|
174
174
|
|
175
|
-
if attributes.key?(:'
|
176
|
-
self.
|
175
|
+
if attributes.key?(:'pulp_last_updated')
|
176
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
177
177
|
end
|
178
178
|
|
179
179
|
if attributes.key?(:'max_retries')
|
180
180
|
self.max_retries = attributes[:'max_retries']
|
181
181
|
end
|
182
182
|
|
183
|
-
if attributes.key?(:'
|
184
|
-
self.
|
185
|
-
end
|
186
|
-
|
187
|
-
if attributes.key?(:'client_cert')
|
188
|
-
self.client_cert = attributes[:'client_cert']
|
189
|
-
end
|
190
|
-
|
191
|
-
if attributes.key?(:'connect_timeout')
|
192
|
-
self.connect_timeout = attributes[:'connect_timeout']
|
183
|
+
if attributes.key?(:'pulp_href')
|
184
|
+
self.pulp_href = attributes[:'pulp_href']
|
193
185
|
end
|
194
186
|
|
195
|
-
if attributes.key?(:'
|
196
|
-
self.
|
187
|
+
if attributes.key?(:'download_concurrency')
|
188
|
+
self.download_concurrency = attributes[:'download_concurrency']
|
197
189
|
end
|
198
190
|
|
199
191
|
if attributes.key?(:'url')
|
@@ -202,24 +194,20 @@ module PulpAnsibleClient
|
|
202
194
|
self.url = nil
|
203
195
|
end
|
204
196
|
|
205
|
-
if attributes.key?(:'
|
206
|
-
|
207
|
-
self.headers = value
|
208
|
-
end
|
197
|
+
if attributes.key?(:'sock_read_timeout')
|
198
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
209
199
|
end
|
210
200
|
|
211
|
-
if attributes.key?(:'
|
212
|
-
self.
|
201
|
+
if attributes.key?(:'proxy_url')
|
202
|
+
self.proxy_url = attributes[:'proxy_url']
|
213
203
|
end
|
214
204
|
|
215
|
-
if attributes.key?(:'
|
216
|
-
|
217
|
-
self.hidden_fields = value
|
218
|
-
end
|
205
|
+
if attributes.key?(:'prn')
|
206
|
+
self.prn = attributes[:'prn']
|
219
207
|
end
|
220
208
|
|
221
|
-
if attributes.key?(:'
|
222
|
-
self.
|
209
|
+
if attributes.key?(:'connect_timeout')
|
210
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
223
211
|
end
|
224
212
|
|
225
213
|
if attributes.key?(:'ca_cert')
|
@@ -230,36 +218,48 @@ module PulpAnsibleClient
|
|
230
218
|
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
231
219
|
end
|
232
220
|
|
221
|
+
if attributes.key?(:'name')
|
222
|
+
self.name = attributes[:'name']
|
223
|
+
else
|
224
|
+
self.name = nil
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'client_cert')
|
228
|
+
self.client_cert = attributes[:'client_cert']
|
229
|
+
end
|
230
|
+
|
233
231
|
if attributes.key?(:'pulp_labels')
|
234
232
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
235
233
|
self.pulp_labels = value
|
236
234
|
end
|
237
235
|
end
|
238
236
|
|
239
|
-
if attributes.key?(:'
|
240
|
-
self.
|
237
|
+
if attributes.key?(:'pulp_created')
|
238
|
+
self.pulp_created = attributes[:'pulp_created']
|
241
239
|
end
|
242
240
|
|
243
|
-
if attributes.key?(:'
|
244
|
-
self.
|
241
|
+
if attributes.key?(:'rate_limit')
|
242
|
+
self.rate_limit = attributes[:'rate_limit']
|
245
243
|
end
|
246
244
|
|
247
|
-
if attributes.key?(:'
|
248
|
-
|
245
|
+
if attributes.key?(:'hidden_fields')
|
246
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
247
|
+
self.hidden_fields = value
|
248
|
+
end
|
249
249
|
end
|
250
250
|
|
251
|
-
if attributes.key?(:'
|
252
|
-
|
253
|
-
|
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?(:'total_timeout')
|
258
|
+
self.total_timeout = attributes[:'total_timeout']
|
259
259
|
end
|
260
260
|
|
261
|
-
if attributes.key?(:'
|
262
|
-
self.
|
261
|
+
if attributes.key?(:'tls_validation')
|
262
|
+
self.tls_validation = attributes[:'tls_validation']
|
263
263
|
end
|
264
264
|
|
265
265
|
if attributes.key?(:'metadata_only')
|
@@ -276,34 +276,34 @@ 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 !@
|
280
|
-
invalid_properties.push('invalid value for "
|
281
|
-
end
|
282
|
-
|
283
|
-
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
284
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
279
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
280
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
285
281
|
end
|
286
282
|
|
287
283
|
if @url.nil?
|
288
284
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
289
285
|
end
|
290
286
|
|
291
|
-
if !@
|
292
|
-
invalid_properties.push('invalid value for "
|
287
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
288
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
293
289
|
end
|
294
290
|
|
295
|
-
if !@
|
296
|
-
invalid_properties.push('invalid value for "
|
291
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
292
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
297
293
|
end
|
298
294
|
|
299
|
-
if !@
|
300
|
-
invalid_properties.push('invalid value for "
|
295
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
296
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
301
297
|
end
|
302
298
|
|
303
299
|
if @name.nil?
|
304
300
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
305
301
|
end
|
306
302
|
|
303
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
304
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
305
|
+
end
|
306
|
+
|
307
307
|
invalid_properties
|
308
308
|
end
|
309
309
|
|
@@ -311,16 +311,26 @@ 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 !@download_concurrency.nil? && @download_concurrency < 1
|
315
|
+
return false if @url.nil?
|
314
316
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
315
317
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
316
|
-
return false if @url.nil?
|
317
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
318
318
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
319
|
-
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
320
319
|
return false if @name.nil?
|
320
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
321
321
|
true
|
322
322
|
end
|
323
323
|
|
324
|
+
# Custom attribute writer method with validation
|
325
|
+
# @param [Object] download_concurrency Value to be assigned
|
326
|
+
def download_concurrency=(download_concurrency)
|
327
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
328
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
329
|
+
end
|
330
|
+
|
331
|
+
@download_concurrency = download_concurrency
|
332
|
+
end
|
333
|
+
|
324
334
|
# Custom attribute writer method with validation
|
325
335
|
# @param [Object] sock_read_timeout Value to be assigned
|
326
336
|
def sock_read_timeout=(sock_read_timeout)
|
@@ -341,16 +351,6 @@ module PulpAnsibleClient
|
|
341
351
|
@connect_timeout = connect_timeout
|
342
352
|
end
|
343
353
|
|
344
|
-
# Custom attribute writer method with validation
|
345
|
-
# @param [Object] download_concurrency Value to be assigned
|
346
|
-
def download_concurrency=(download_concurrency)
|
347
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
348
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
349
|
-
end
|
350
|
-
|
351
|
-
@download_concurrency = download_concurrency
|
352
|
-
end
|
353
|
-
|
354
354
|
# Custom attribute writer method with validation
|
355
355
|
# @param [Object] sock_connect_timeout Value to be assigned
|
356
356
|
def sock_connect_timeout=(sock_connect_timeout)
|
@@ -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
|
-
|
379
|
+
pulp_last_updated == o.pulp_last_updated &&
|
380
380
|
max_retries == o.max_retries &&
|
381
|
+
pulp_href == o.pulp_href &&
|
382
|
+
download_concurrency == o.download_concurrency &&
|
383
|
+
url == o.url &&
|
384
|
+
sock_read_timeout == o.sock_read_timeout &&
|
385
|
+
proxy_url == o.proxy_url &&
|
381
386
|
prn == o.prn &&
|
382
|
-
client_cert == o.client_cert &&
|
383
387
|
connect_timeout == o.connect_timeout &&
|
384
|
-
rate_limit == o.rate_limit &&
|
385
|
-
url == o.url &&
|
386
|
-
headers == o.headers &&
|
387
|
-
download_concurrency == o.download_concurrency &&
|
388
|
-
hidden_fields == o.hidden_fields &&
|
389
|
-
pulp_href == o.pulp_href &&
|
390
388
|
ca_cert == o.ca_cert &&
|
391
389
|
sock_connect_timeout == o.sock_connect_timeout &&
|
390
|
+
name == o.name &&
|
391
|
+
client_cert == o.client_cert &&
|
392
392
|
pulp_labels == o.pulp_labels &&
|
393
|
+
pulp_created == o.pulp_created &&
|
394
|
+
rate_limit == o.rate_limit &&
|
395
|
+
hidden_fields == o.hidden_fields &&
|
396
|
+
headers == o.headers &&
|
393
397
|
total_timeout == o.total_timeout &&
|
394
398
|
tls_validation == o.tls_validation &&
|
395
|
-
proxy_url == o.proxy_url &&
|
396
|
-
name == o.name &&
|
397
|
-
pulp_created == o.pulp_created &&
|
398
|
-
pulp_last_updated == o.pulp_last_updated &&
|
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
|
+
[pulp_last_updated, max_retries, pulp_href, download_concurrency, url, sock_read_timeout, proxy_url, prn, connect_timeout, ca_cert, sock_connect_timeout, name, client_cert, pulp_labels, pulp_created, rate_limit, hidden_fields, headers, total_timeout, tls_validation, 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 dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
20
|
-
attr_accessor :pulp_labels
|
21
|
-
|
22
19
|
# A URI of a repository the new content unit should be associated with.
|
23
20
|
attr_accessor :repository
|
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
|
|
@@ -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
|
-
:'pulp_labels' => :'pulp_labels',
|
38
37
|
:'repository' => :'repository',
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
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
|
-
:'pulp_labels' => :'Hash<String, String>',
|
55
54
|
:'repository' => :'String',
|
55
|
+
:'pulp_labels' => :'Hash<String, 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
|
+
|
84
88
|
if attributes.key?(:'pulp_labels')
|
85
89
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
86
90
|
self.pulp_labels = value
|
87
91
|
end
|
88
92
|
end
|
89
93
|
|
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
|
-
pulp_labels == o.pulp_labels &&
|
217
216
|
repository == o.repository &&
|
217
|
+
pulp_labels == o.pulp_labels &&
|
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
|
+
[repository, pulp_labels, 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
|
-
|
19
|
+
# 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.
|
20
|
+
attr_accessor :pulp_last_updated
|
20
21
|
|
21
|
-
|
22
|
-
attr_accessor :pulp_labels
|
22
|
+
attr_accessor :pulp_href
|
23
23
|
|
24
24
|
# The Pulp Resource Name (PRN).
|
25
25
|
attr_accessor :prn
|
26
26
|
|
27
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
28
|
+
attr_accessor :pulp_labels
|
29
|
+
|
27
30
|
# Artifact file representing the physical content
|
28
31
|
attr_accessor :artifact
|
29
32
|
|
30
33
|
# Timestamp of creation.
|
31
34
|
attr_accessor :pulp_created
|
32
35
|
|
33
|
-
# 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.
|
34
|
-
attr_accessor :pulp_last_updated
|
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_last_updated' => :'pulp_last_updated',
|
45
46
|
:'pulp_href' => :'pulp_href',
|
46
|
-
:'pulp_labels' => :'pulp_labels',
|
47
47
|
:'prn' => :'prn',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
48
49
|
:'artifact' => :'artifact',
|
49
50
|
:'pulp_created' => :'pulp_created',
|
50
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
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_last_updated' => :'Time',
|
65
66
|
:'pulp_href' => :'String',
|
66
|
-
:'pulp_labels' => :'Hash<String, String>',
|
67
67
|
:'prn' => :'String',
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
68
69
|
:'artifact' => :'String',
|
69
70
|
:'pulp_created' => :'Time',
|
70
|
-
:'pulp_last_updated' => :'Time',
|
71
71
|
:'version' => :'String',
|
72
72
|
:'name' => :'String',
|
73
73
|
:'namespace' => :'String'
|
@@ -95,20 +95,24 @@ module PulpAnsibleClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
+
if attributes.key?(:'pulp_last_updated')
|
99
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
100
|
+
end
|
101
|
+
|
98
102
|
if attributes.key?(:'pulp_href')
|
99
103
|
self.pulp_href = attributes[:'pulp_href']
|
100
104
|
end
|
101
105
|
|
106
|
+
if attributes.key?(:'prn')
|
107
|
+
self.prn = attributes[:'prn']
|
108
|
+
end
|
109
|
+
|
102
110
|
if attributes.key?(:'pulp_labels')
|
103
111
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
104
112
|
self.pulp_labels = value
|
105
113
|
end
|
106
114
|
end
|
107
115
|
|
108
|
-
if attributes.key?(:'prn')
|
109
|
-
self.prn = attributes[:'prn']
|
110
|
-
end
|
111
|
-
|
112
116
|
if attributes.key?(:'artifact')
|
113
117
|
self.artifact = attributes[:'artifact']
|
114
118
|
else
|
@@ -119,10 +123,6 @@ module PulpAnsibleClient
|
|
119
123
|
self.pulp_created = attributes[:'pulp_created']
|
120
124
|
end
|
121
125
|
|
122
|
-
if attributes.key?(:'pulp_last_updated')
|
123
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
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_last_updated == o.pulp_last_updated &&
|
185
186
|
pulp_href == o.pulp_href &&
|
186
|
-
pulp_labels == o.pulp_labels &&
|
187
187
|
prn == o.prn &&
|
188
|
+
pulp_labels == o.pulp_labels &&
|
188
189
|
artifact == o.artifact &&
|
189
190
|
pulp_created == o.pulp_created &&
|
190
|
-
pulp_last_updated == o.pulp_last_updated &&
|
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_last_updated, pulp_href, prn, pulp_labels, artifact, pulp_created, version, name, namespace].hash
|
206
206
|
end
|
207
207
|
|
208
208
|
# Builds the object from hash
|