pulp_ansible_client 0.25.6 → 0.26.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 +16 -8
- data/docs/AnsibleCollectionsApi.md +8 -26
- data/docs/AnsibleCopyApi.md +4 -8
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- 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 +18 -32
- 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 +26 -26
- 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 +6 -14
- 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 +6 -14
- 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 +6 -14
- 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 +6 -14
- 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/TagResponse.md +1 -1
- 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 +15 -30
- 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 +3 -12
- 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 +3 -12
- 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 +0 -15
- 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 +3 -12
- 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 +3 -12
- 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 +0 -15
- 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_collection_version_response.rb +73 -31
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +169 -169
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +33 -33
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +221 -221
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -0
- 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 +5 -10
- 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 +1 -4
- 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 +1 -4
- 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 +1 -4
- 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 +1 -4
- 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 +29 -5
- 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/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +125 -125
|
@@ -22,11 +22,6 @@ module PulpAnsibleClient
|
|
|
22
22
|
# An optional content-guard.
|
|
23
23
|
attr_accessor :content_guard
|
|
24
24
|
|
|
25
|
-
# Whether this distribution should be shown in the content app.
|
|
26
|
-
attr_accessor :hidden
|
|
27
|
-
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
25
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
26
|
attr_accessor :name
|
|
32
27
|
|
|
@@ -36,16 +31,17 @@ module PulpAnsibleClient
|
|
|
36
31
|
# RepositoryVersion to be served
|
|
37
32
|
attr_accessor :repository_version
|
|
38
33
|
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
39
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
37
|
def self.attribute_map
|
|
41
38
|
{
|
|
42
39
|
:'base_path' => :'base_path',
|
|
43
40
|
:'content_guard' => :'content_guard',
|
|
44
|
-
:'hidden' => :'hidden',
|
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
|
46
41
|
:'name' => :'name',
|
|
47
42
|
:'repository' => :'repository',
|
|
48
|
-
:'repository_version' => :'repository_version'
|
|
43
|
+
:'repository_version' => :'repository_version',
|
|
44
|
+
:'pulp_labels' => :'pulp_labels'
|
|
49
45
|
}
|
|
50
46
|
end
|
|
51
47
|
|
|
@@ -59,11 +55,10 @@ module PulpAnsibleClient
|
|
|
59
55
|
{
|
|
60
56
|
:'base_path' => :'String',
|
|
61
57
|
:'content_guard' => :'String',
|
|
62
|
-
:'hidden' => :'Boolean',
|
|
63
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
64
58
|
:'name' => :'String',
|
|
65
59
|
:'repository' => :'String',
|
|
66
|
-
:'repository_version' => :'String'
|
|
60
|
+
:'repository_version' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
67
62
|
}
|
|
68
63
|
end
|
|
69
64
|
|
|
@@ -72,7 +67,7 @@ module PulpAnsibleClient
|
|
|
72
67
|
Set.new([
|
|
73
68
|
:'content_guard',
|
|
74
69
|
:'repository',
|
|
75
|
-
:'repository_version'
|
|
70
|
+
:'repository_version',
|
|
76
71
|
])
|
|
77
72
|
end
|
|
78
73
|
|
|
@@ -101,18 +96,6 @@ module PulpAnsibleClient
|
|
|
101
96
|
self.content_guard = attributes[:'content_guard']
|
|
102
97
|
end
|
|
103
98
|
|
|
104
|
-
if attributes.key?(:'hidden')
|
|
105
|
-
self.hidden = attributes[:'hidden']
|
|
106
|
-
else
|
|
107
|
-
self.hidden = false
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.key?(:'pulp_labels')
|
|
111
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
112
|
-
self.pulp_labels = value
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
|
|
116
99
|
if attributes.key?(:'name')
|
|
117
100
|
self.name = attributes[:'name']
|
|
118
101
|
else
|
|
@@ -126,6 +109,12 @@ module PulpAnsibleClient
|
|
|
126
109
|
if attributes.key?(:'repository_version')
|
|
127
110
|
self.repository_version = attributes[:'repository_version']
|
|
128
111
|
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'pulp_labels')
|
|
114
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
115
|
+
self.pulp_labels = value
|
|
116
|
+
end
|
|
117
|
+
end
|
|
129
118
|
end
|
|
130
119
|
|
|
131
120
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -198,11 +187,10 @@ module PulpAnsibleClient
|
|
|
198
187
|
self.class == o.class &&
|
|
199
188
|
base_path == o.base_path &&
|
|
200
189
|
content_guard == o.content_guard &&
|
|
201
|
-
hidden == o.hidden &&
|
|
202
|
-
pulp_labels == o.pulp_labels &&
|
|
203
190
|
name == o.name &&
|
|
204
191
|
repository == o.repository &&
|
|
205
|
-
repository_version == o.repository_version
|
|
192
|
+
repository_version == o.repository_version &&
|
|
193
|
+
pulp_labels == o.pulp_labels
|
|
206
194
|
end
|
|
207
195
|
|
|
208
196
|
# @see the `==` method
|
|
@@ -214,7 +202,7 @@ module PulpAnsibleClient
|
|
|
214
202
|
# Calculates hash code according to all attributes.
|
|
215
203
|
# @return [Integer] Hash code
|
|
216
204
|
def hash
|
|
217
|
-
[base_path, content_guard,
|
|
205
|
+
[base_path, content_guard, name, repository, repository_version, pulp_labels].hash
|
|
218
206
|
end
|
|
219
207
|
|
|
220
208
|
# Builds the object from hash
|
|
@@ -18,57 +18,41 @@ module PulpAnsibleClient
|
|
|
18
18
|
class AnsibleAnsibleDistributionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
-
# The Pulp Resource Name (PRN).
|
|
22
|
-
attr_accessor :prn
|
|
23
|
-
|
|
24
21
|
# Timestamp of creation.
|
|
25
22
|
attr_accessor :pulp_created
|
|
26
23
|
|
|
27
|
-
# 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.
|
|
28
|
-
attr_accessor :pulp_last_updated
|
|
29
|
-
|
|
30
24
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
25
|
attr_accessor :base_path
|
|
32
26
|
|
|
33
27
|
# An optional content-guard.
|
|
34
28
|
attr_accessor :content_guard
|
|
35
29
|
|
|
36
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
37
|
-
attr_accessor :no_content_change_since
|
|
38
|
-
|
|
39
|
-
# Whether this distribution should be shown in the content app.
|
|
40
|
-
attr_accessor :hidden
|
|
41
|
-
|
|
42
|
-
attr_accessor :pulp_labels
|
|
43
|
-
|
|
44
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
45
31
|
attr_accessor :name
|
|
46
32
|
|
|
47
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
48
34
|
attr_accessor :repository
|
|
49
35
|
|
|
36
|
+
# RepositoryVersion to be served
|
|
37
|
+
attr_accessor :repository_version
|
|
38
|
+
|
|
50
39
|
# The URL of a Collection content source.
|
|
51
40
|
attr_accessor :client_url
|
|
52
41
|
|
|
53
|
-
|
|
54
|
-
attr_accessor :repository_version
|
|
42
|
+
attr_accessor :pulp_labels
|
|
55
43
|
|
|
56
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
45
|
def self.attribute_map
|
|
58
46
|
{
|
|
59
47
|
:'pulp_href' => :'pulp_href',
|
|
60
|
-
:'prn' => :'prn',
|
|
61
48
|
:'pulp_created' => :'pulp_created',
|
|
62
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
49
|
:'base_path' => :'base_path',
|
|
64
50
|
:'content_guard' => :'content_guard',
|
|
65
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
66
|
-
:'hidden' => :'hidden',
|
|
67
|
-
:'pulp_labels' => :'pulp_labels',
|
|
68
51
|
:'name' => :'name',
|
|
69
52
|
:'repository' => :'repository',
|
|
53
|
+
:'repository_version' => :'repository_version',
|
|
70
54
|
:'client_url' => :'client_url',
|
|
71
|
-
:'
|
|
55
|
+
:'pulp_labels' => :'pulp_labels'
|
|
72
56
|
}
|
|
73
57
|
end
|
|
74
58
|
|
|
@@ -81,18 +65,14 @@ module PulpAnsibleClient
|
|
|
81
65
|
def self.openapi_types
|
|
82
66
|
{
|
|
83
67
|
:'pulp_href' => :'String',
|
|
84
|
-
:'prn' => :'String',
|
|
85
68
|
:'pulp_created' => :'Time',
|
|
86
|
-
:'pulp_last_updated' => :'Time',
|
|
87
69
|
:'base_path' => :'String',
|
|
88
70
|
:'content_guard' => :'String',
|
|
89
|
-
:'no_content_change_since' => :'String',
|
|
90
|
-
:'hidden' => :'Boolean',
|
|
91
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
92
71
|
:'name' => :'String',
|
|
93
72
|
:'repository' => :'String',
|
|
73
|
+
:'repository_version' => :'String',
|
|
94
74
|
:'client_url' => :'String',
|
|
95
|
-
:'
|
|
75
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
96
76
|
}
|
|
97
77
|
end
|
|
98
78
|
|
|
@@ -101,7 +81,7 @@ module PulpAnsibleClient
|
|
|
101
81
|
Set.new([
|
|
102
82
|
:'content_guard',
|
|
103
83
|
:'repository',
|
|
104
|
-
:'repository_version'
|
|
84
|
+
:'repository_version',
|
|
105
85
|
])
|
|
106
86
|
end
|
|
107
87
|
|
|
@@ -124,18 +104,10 @@ module PulpAnsibleClient
|
|
|
124
104
|
self.pulp_href = attributes[:'pulp_href']
|
|
125
105
|
end
|
|
126
106
|
|
|
127
|
-
if attributes.key?(:'prn')
|
|
128
|
-
self.prn = attributes[:'prn']
|
|
129
|
-
end
|
|
130
|
-
|
|
131
107
|
if attributes.key?(:'pulp_created')
|
|
132
108
|
self.pulp_created = attributes[:'pulp_created']
|
|
133
109
|
end
|
|
134
110
|
|
|
135
|
-
if attributes.key?(:'pulp_last_updated')
|
|
136
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
137
|
-
end
|
|
138
|
-
|
|
139
111
|
if attributes.key?(:'base_path')
|
|
140
112
|
self.base_path = attributes[:'base_path']
|
|
141
113
|
else
|
|
@@ -146,22 +118,6 @@ module PulpAnsibleClient
|
|
|
146
118
|
self.content_guard = attributes[:'content_guard']
|
|
147
119
|
end
|
|
148
120
|
|
|
149
|
-
if attributes.key?(:'no_content_change_since')
|
|
150
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
if attributes.key?(:'hidden')
|
|
154
|
-
self.hidden = attributes[:'hidden']
|
|
155
|
-
else
|
|
156
|
-
self.hidden = false
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
if attributes.key?(:'pulp_labels')
|
|
160
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
161
|
-
self.pulp_labels = value
|
|
162
|
-
end
|
|
163
|
-
end
|
|
164
|
-
|
|
165
121
|
if attributes.key?(:'name')
|
|
166
122
|
self.name = attributes[:'name']
|
|
167
123
|
else
|
|
@@ -172,12 +128,18 @@ module PulpAnsibleClient
|
|
|
172
128
|
self.repository = attributes[:'repository']
|
|
173
129
|
end
|
|
174
130
|
|
|
131
|
+
if attributes.key?(:'repository_version')
|
|
132
|
+
self.repository_version = attributes[:'repository_version']
|
|
133
|
+
end
|
|
134
|
+
|
|
175
135
|
if attributes.key?(:'client_url')
|
|
176
136
|
self.client_url = attributes[:'client_url']
|
|
177
137
|
end
|
|
178
138
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
|
|
139
|
+
if attributes.key?(:'pulp_labels')
|
|
140
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
141
|
+
self.pulp_labels = value
|
|
142
|
+
end
|
|
181
143
|
end
|
|
182
144
|
end
|
|
183
145
|
|
|
@@ -212,18 +174,14 @@ module PulpAnsibleClient
|
|
|
212
174
|
return true if self.equal?(o)
|
|
213
175
|
self.class == o.class &&
|
|
214
176
|
pulp_href == o.pulp_href &&
|
|
215
|
-
prn == o.prn &&
|
|
216
177
|
pulp_created == o.pulp_created &&
|
|
217
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
218
178
|
base_path == o.base_path &&
|
|
219
179
|
content_guard == o.content_guard &&
|
|
220
|
-
no_content_change_since == o.no_content_change_since &&
|
|
221
|
-
hidden == o.hidden &&
|
|
222
|
-
pulp_labels == o.pulp_labels &&
|
|
223
180
|
name == o.name &&
|
|
224
181
|
repository == o.repository &&
|
|
182
|
+
repository_version == o.repository_version &&
|
|
225
183
|
client_url == o.client_url &&
|
|
226
|
-
|
|
184
|
+
pulp_labels == o.pulp_labels
|
|
227
185
|
end
|
|
228
186
|
|
|
229
187
|
# @see the `==` method
|
|
@@ -235,7 +193,7 @@ module PulpAnsibleClient
|
|
|
235
193
|
# Calculates hash code according to all attributes.
|
|
236
194
|
# @return [Integer] Hash code
|
|
237
195
|
def hash
|
|
238
|
-
[pulp_href,
|
|
196
|
+
[pulp_href, pulp_created, base_path, content_guard, name, repository, repository_version, client_url, pulp_labels].hash
|
|
239
197
|
end
|
|
240
198
|
|
|
241
199
|
# Builds the object from hash
|
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
|
|
19
|
+
# Artifact file representing the physical content
|
|
20
|
+
attr_accessor :artifact
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
22
|
+
# 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.
|
|
23
|
+
attr_accessor :pulp_last_updated
|
|
23
24
|
|
|
24
25
|
# Timestamp of creation.
|
|
25
26
|
attr_accessor :pulp_created
|
|
26
27
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
28
|
+
# The Pulp Resource Name (PRN).
|
|
29
|
+
attr_accessor :prn
|
|
30
|
+
|
|
31
|
+
attr_accessor :pulp_href
|
|
29
32
|
|
|
30
33
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
34
|
attr_accessor :pulp_labels
|
|
32
35
|
|
|
33
|
-
# Artifact file representing the physical content
|
|
34
|
-
attr_accessor :artifact
|
|
35
|
-
|
|
36
36
|
# The SHA-256 checksum if available.
|
|
37
37
|
attr_accessor :sha256
|
|
38
38
|
|
|
@@ -57,12 +57,24 @@ module PulpAnsibleClient
|
|
|
57
57
|
# A list of the CollectionVersion content's authors.
|
|
58
58
|
attr_accessor :authors
|
|
59
59
|
|
|
60
|
+
# A JSON field with data about the contents.
|
|
61
|
+
attr_accessor :contents
|
|
62
|
+
|
|
60
63
|
# A dict declaring Collections that this collection requires to be installed for it to be usable.
|
|
61
64
|
attr_accessor :dependencies
|
|
62
65
|
|
|
63
66
|
# A short summary description of the collection.
|
|
64
67
|
attr_accessor :description
|
|
65
68
|
|
|
69
|
+
# A JSON field holding the various documentation blobs in the collection.
|
|
70
|
+
attr_accessor :docs_blob
|
|
71
|
+
|
|
72
|
+
# A JSON field holding MANIFEST.json data.
|
|
73
|
+
attr_accessor :manifest
|
|
74
|
+
|
|
75
|
+
# A JSON field holding FILES.json data.
|
|
76
|
+
attr_accessor :files
|
|
77
|
+
|
|
66
78
|
# The URL to any online docs.
|
|
67
79
|
attr_accessor :documentation
|
|
68
80
|
|
|
@@ -95,12 +107,12 @@ module PulpAnsibleClient
|
|
|
95
107
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
96
108
|
def self.attribute_map
|
|
97
109
|
{
|
|
98
|
-
:'
|
|
99
|
-
:'prn' => :'prn',
|
|
100
|
-
:'pulp_created' => :'pulp_created',
|
|
110
|
+
:'artifact' => :'artifact',
|
|
101
111
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
112
|
+
:'pulp_created' => :'pulp_created',
|
|
113
|
+
:'prn' => :'prn',
|
|
114
|
+
:'pulp_href' => :'pulp_href',
|
|
102
115
|
:'pulp_labels' => :'pulp_labels',
|
|
103
|
-
:'artifact' => :'artifact',
|
|
104
116
|
:'sha256' => :'sha256',
|
|
105
117
|
:'md5' => :'md5',
|
|
106
118
|
:'sha1' => :'sha1',
|
|
@@ -109,8 +121,12 @@ module PulpAnsibleClient
|
|
|
109
121
|
:'sha512' => :'sha512',
|
|
110
122
|
:'id' => :'id',
|
|
111
123
|
:'authors' => :'authors',
|
|
124
|
+
:'contents' => :'contents',
|
|
112
125
|
:'dependencies' => :'dependencies',
|
|
113
126
|
:'description' => :'description',
|
|
127
|
+
:'docs_blob' => :'docs_blob',
|
|
128
|
+
:'manifest' => :'manifest',
|
|
129
|
+
:'files' => :'files',
|
|
114
130
|
:'documentation' => :'documentation',
|
|
115
131
|
:'homepage' => :'homepage',
|
|
116
132
|
:'issues' => :'issues',
|
|
@@ -132,12 +148,12 @@ module PulpAnsibleClient
|
|
|
132
148
|
# Attribute type mapping.
|
|
133
149
|
def self.openapi_types
|
|
134
150
|
{
|
|
135
|
-
:'
|
|
136
|
-
:'prn' => :'String',
|
|
137
|
-
:'pulp_created' => :'Time',
|
|
151
|
+
:'artifact' => :'String',
|
|
138
152
|
:'pulp_last_updated' => :'Time',
|
|
153
|
+
:'pulp_created' => :'Time',
|
|
154
|
+
:'prn' => :'String',
|
|
155
|
+
:'pulp_href' => :'String',
|
|
139
156
|
:'pulp_labels' => :'Hash<String, String>',
|
|
140
|
-
:'artifact' => :'String',
|
|
141
157
|
:'sha256' => :'String',
|
|
142
158
|
:'md5' => :'String',
|
|
143
159
|
:'sha1' => :'String',
|
|
@@ -146,8 +162,12 @@ module PulpAnsibleClient
|
|
|
146
162
|
:'sha512' => :'String',
|
|
147
163
|
:'id' => :'String',
|
|
148
164
|
:'authors' => :'Array<String>',
|
|
165
|
+
:'contents' => :'Array<Object>',
|
|
149
166
|
:'dependencies' => :'Object',
|
|
150
167
|
:'description' => :'String',
|
|
168
|
+
:'docs_blob' => :'Object',
|
|
169
|
+
:'manifest' => :'Object',
|
|
170
|
+
:'files' => :'Object',
|
|
151
171
|
:'documentation' => :'String',
|
|
152
172
|
:'homepage' => :'String',
|
|
153
173
|
:'issues' => :'String',
|
|
@@ -183,20 +203,24 @@ module PulpAnsibleClient
|
|
|
183
203
|
h[k.to_sym] = v
|
|
184
204
|
}
|
|
185
205
|
|
|
186
|
-
if attributes.key?(:'
|
|
187
|
-
self.
|
|
206
|
+
if attributes.key?(:'artifact')
|
|
207
|
+
self.artifact = attributes[:'artifact']
|
|
188
208
|
end
|
|
189
209
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
210
|
+
if attributes.key?(:'pulp_last_updated')
|
|
211
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
192
212
|
end
|
|
193
213
|
|
|
194
214
|
if attributes.key?(:'pulp_created')
|
|
195
215
|
self.pulp_created = attributes[:'pulp_created']
|
|
196
216
|
end
|
|
197
217
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
218
|
+
if attributes.key?(:'prn')
|
|
219
|
+
self.prn = attributes[:'prn']
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
if attributes.key?(:'pulp_href')
|
|
223
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
200
224
|
end
|
|
201
225
|
|
|
202
226
|
if attributes.key?(:'pulp_labels')
|
|
@@ -205,10 +229,6 @@ module PulpAnsibleClient
|
|
|
205
229
|
end
|
|
206
230
|
end
|
|
207
231
|
|
|
208
|
-
if attributes.key?(:'artifact')
|
|
209
|
-
self.artifact = attributes[:'artifact']
|
|
210
|
-
end
|
|
211
|
-
|
|
212
232
|
if attributes.key?(:'sha256')
|
|
213
233
|
self.sha256 = attributes[:'sha256']
|
|
214
234
|
end
|
|
@@ -243,6 +263,12 @@ module PulpAnsibleClient
|
|
|
243
263
|
end
|
|
244
264
|
end
|
|
245
265
|
|
|
266
|
+
if attributes.key?(:'contents')
|
|
267
|
+
if (value = attributes[:'contents']).is_a?(Array)
|
|
268
|
+
self.contents = value
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
|
|
246
272
|
if attributes.key?(:'dependencies')
|
|
247
273
|
self.dependencies = attributes[:'dependencies']
|
|
248
274
|
end
|
|
@@ -251,6 +277,18 @@ module PulpAnsibleClient
|
|
|
251
277
|
self.description = attributes[:'description']
|
|
252
278
|
end
|
|
253
279
|
|
|
280
|
+
if attributes.key?(:'docs_blob')
|
|
281
|
+
self.docs_blob = attributes[:'docs_blob']
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
if attributes.key?(:'manifest')
|
|
285
|
+
self.manifest = attributes[:'manifest']
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
if attributes.key?(:'files')
|
|
289
|
+
self.files = attributes[:'files']
|
|
290
|
+
end
|
|
291
|
+
|
|
254
292
|
if attributes.key?(:'documentation')
|
|
255
293
|
self.documentation = attributes[:'documentation']
|
|
256
294
|
end
|
|
@@ -464,12 +502,12 @@ module PulpAnsibleClient
|
|
|
464
502
|
def ==(o)
|
|
465
503
|
return true if self.equal?(o)
|
|
466
504
|
self.class == o.class &&
|
|
467
|
-
|
|
468
|
-
prn == o.prn &&
|
|
469
|
-
pulp_created == o.pulp_created &&
|
|
505
|
+
artifact == o.artifact &&
|
|
470
506
|
pulp_last_updated == o.pulp_last_updated &&
|
|
507
|
+
pulp_created == o.pulp_created &&
|
|
508
|
+
prn == o.prn &&
|
|
509
|
+
pulp_href == o.pulp_href &&
|
|
471
510
|
pulp_labels == o.pulp_labels &&
|
|
472
|
-
artifact == o.artifact &&
|
|
473
511
|
sha256 == o.sha256 &&
|
|
474
512
|
md5 == o.md5 &&
|
|
475
513
|
sha1 == o.sha1 &&
|
|
@@ -478,8 +516,12 @@ module PulpAnsibleClient
|
|
|
478
516
|
sha512 == o.sha512 &&
|
|
479
517
|
id == o.id &&
|
|
480
518
|
authors == o.authors &&
|
|
519
|
+
contents == o.contents &&
|
|
481
520
|
dependencies == o.dependencies &&
|
|
482
521
|
description == o.description &&
|
|
522
|
+
docs_blob == o.docs_blob &&
|
|
523
|
+
manifest == o.manifest &&
|
|
524
|
+
files == o.files &&
|
|
483
525
|
documentation == o.documentation &&
|
|
484
526
|
homepage == o.homepage &&
|
|
485
527
|
issues == o.issues &&
|
|
@@ -501,7 +543,7 @@ module PulpAnsibleClient
|
|
|
501
543
|
# Calculates hash code according to all attributes.
|
|
502
544
|
# @return [Integer] Hash code
|
|
503
545
|
def hash
|
|
504
|
-
[
|
|
546
|
+
[artifact, pulp_last_updated, pulp_created, prn, pulp_href, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
505
547
|
end
|
|
506
548
|
|
|
507
549
|
# Builds the object from hash
|