pulp_ansible_client 0.22.1 → 0.22.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +6 -4
- data/docs/AnsibleCollectionVersionResponse.md +12 -10
- data/docs/AnsibleCollectionVersionSignature.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +4 -2
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -22
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleRemoteResponse.md +2 -0
- data/docs/AnsibleRoleResponse.md +7 -5
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +10 -8
- data/docs/ContentCollectionMarksApi.md +10 -8
- data/docs/ContentCollectionSignaturesApi.md +13 -9
- data/docs/ContentCollectionVersionsApi.md +14 -10
- data/docs/ContentNamespacesApi.md +10 -8
- data/docs/ContentRolesApi.md +10 -8
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/RemotesCollectionApi.md +4 -2
- data/docs/RemotesGitApi.md +4 -2
- data/docs/RemotesRoleApi.md +4 -2
- data/docs/RepositoriesAnsibleApi.md +8 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +8 -6
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +22 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +40 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -23
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -136
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -18
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
- data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
- data/spec/api/content_collection_marks_api_spec.rb +5 -4
- data/spec/api/content_collection_signatures_api_spec.rb +6 -4
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -4
- data/spec/api/content_roles_api_spec.rb +5 -4
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +2 -1
- data/spec/api/remotes_git_api_spec.rb +2 -1
- data/spec/api/remotes_role_api_spec.rb +2 -1
- data/spec/api/repositories_ansible_api_spec.rb +4 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +10 -4
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +8 -2
- data/spec/models/ansible_git_remote_response_spec.rb +24 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +10 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_version_search_list_spec.rb +0 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +127 -127
@@ -15,16 +15,19 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
|
+
|
21
|
+
# 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.
|
22
|
+
attr_accessor :pulp_last_updated
|
23
|
+
|
18
24
|
# Timestamp of creation.
|
19
25
|
attr_accessor :pulp_created
|
20
26
|
|
21
27
|
attr_accessor :pulp_href
|
22
28
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
25
|
-
|
26
|
-
# Artifact file representing the physical content
|
27
|
-
attr_accessor :artifact
|
29
|
+
# The Pulp Resource Name (PRN).
|
30
|
+
attr_accessor :prn
|
28
31
|
|
29
32
|
attr_accessor :version
|
30
33
|
|
@@ -35,10 +38,11 @@ module PulpAnsibleClient
|
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
41
|
+
:'artifact' => :'artifact',
|
42
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
38
43
|
:'pulp_created' => :'pulp_created',
|
39
44
|
:'pulp_href' => :'pulp_href',
|
40
|
-
:'
|
41
|
-
:'artifact' => :'artifact',
|
45
|
+
:'prn' => :'prn',
|
42
46
|
:'version' => :'version',
|
43
47
|
:'name' => :'name',
|
44
48
|
:'namespace' => :'namespace'
|
@@ -48,10 +52,11 @@ module PulpAnsibleClient
|
|
48
52
|
# Attribute type mapping.
|
49
53
|
def self.openapi_types
|
50
54
|
{
|
55
|
+
:'artifact' => :'String',
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
51
57
|
:'pulp_created' => :'DateTime',
|
52
58
|
:'pulp_href' => :'String',
|
53
|
-
:'
|
54
|
-
:'artifact' => :'String',
|
59
|
+
:'prn' => :'String',
|
55
60
|
:'version' => :'String',
|
56
61
|
:'name' => :'String',
|
57
62
|
:'namespace' => :'String'
|
@@ -79,6 +84,14 @@ module PulpAnsibleClient
|
|
79
84
|
h[k.to_sym] = v
|
80
85
|
}
|
81
86
|
|
87
|
+
if attributes.key?(:'artifact')
|
88
|
+
self.artifact = attributes[:'artifact']
|
89
|
+
end
|
90
|
+
|
91
|
+
if attributes.key?(:'pulp_last_updated')
|
92
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
93
|
+
end
|
94
|
+
|
82
95
|
if attributes.key?(:'pulp_created')
|
83
96
|
self.pulp_created = attributes[:'pulp_created']
|
84
97
|
end
|
@@ -87,12 +100,8 @@ module PulpAnsibleClient
|
|
87
100
|
self.pulp_href = attributes[:'pulp_href']
|
88
101
|
end
|
89
102
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
92
|
-
end
|
93
|
-
|
94
|
-
if attributes.key?(:'artifact')
|
95
|
-
self.artifact = attributes[:'artifact']
|
103
|
+
if attributes.key?(:'prn')
|
104
|
+
self.prn = attributes[:'prn']
|
96
105
|
end
|
97
106
|
|
98
107
|
if attributes.key?(:'version')
|
@@ -146,10 +155,11 @@ module PulpAnsibleClient
|
|
146
155
|
def ==(o)
|
147
156
|
return true if self.equal?(o)
|
148
157
|
self.class == o.class &&
|
158
|
+
artifact == o.artifact &&
|
159
|
+
pulp_last_updated == o.pulp_last_updated &&
|
149
160
|
pulp_created == o.pulp_created &&
|
150
161
|
pulp_href == o.pulp_href &&
|
151
|
-
|
152
|
-
artifact == o.artifact &&
|
162
|
+
prn == o.prn &&
|
153
163
|
version == o.version &&
|
154
164
|
name == o.name &&
|
155
165
|
namespace == o.namespace
|
@@ -164,7 +174,7 @@ module PulpAnsibleClient
|
|
164
174
|
# Calculates hash code according to all attributes.
|
165
175
|
# @return [Integer] Hash code
|
166
176
|
def hash
|
167
|
-
[pulp_created, pulp_href,
|
177
|
+
[artifact, pulp_last_updated, pulp_created, pulp_href, prn, version, name, namespace].hash
|
168
178
|
end
|
169
179
|
|
170
180
|
# Builds the object from hash
|
@@ -68,8 +68,8 @@ module PulpAnsibleClient
|
|
68
68
|
:'version' => :'String',
|
69
69
|
:'requires_ansible' => :'String',
|
70
70
|
:'pulp_created' => :'DateTime',
|
71
|
-
:'contents' => :'
|
72
|
-
:'dependencies' => :'
|
71
|
+
:'contents' => :'Object',
|
72
|
+
:'dependencies' => :'Object',
|
73
73
|
:'description' => :'String',
|
74
74
|
:'tags' => :'Array<AnsibleTagResponse>'
|
75
75
|
}
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
97
97
|
:'metadata' => :'CollectionMetadataResponse',
|
98
98
|
:'git_url' => :'String',
|
99
99
|
:'git_commit_sha' => :'String',
|
100
|
-
:'manifest' => :'
|
101
|
-
:'files' => :'
|
100
|
+
:'manifest' => :'Object',
|
101
|
+
:'files' => :'Object'
|
102
102
|
}
|
103
103
|
end
|
104
104
|
|
@@ -17,9 +17,6 @@ module PulpAnsibleClient
|
|
17
17
|
class CollectionVersionSearchList
|
18
18
|
attr_accessor :repository
|
19
19
|
|
20
|
-
# Collection Version serializer without docs blob.
|
21
|
-
attr_accessor :collection_version
|
22
|
-
|
23
20
|
attr_accessor :namespace_metadata
|
24
21
|
|
25
22
|
attr_accessor :is_highest
|
@@ -32,7 +29,6 @@ module PulpAnsibleClient
|
|
32
29
|
def self.attribute_map
|
33
30
|
{
|
34
31
|
:'repository' => :'repository',
|
35
|
-
:'collection_version' => :'collection_version',
|
36
32
|
:'namespace_metadata' => :'namespace_metadata',
|
37
33
|
:'is_highest' => :'is_highest',
|
38
34
|
:'is_deprecated' => :'is_deprecated',
|
@@ -44,7 +40,6 @@ module PulpAnsibleClient
|
|
44
40
|
def self.openapi_types
|
45
41
|
{
|
46
42
|
:'repository' => :'Repository',
|
47
|
-
:'collection_version' => :'Object',
|
48
43
|
:'namespace_metadata' => :'AnsibleAnsibleNamespaceMetadata',
|
49
44
|
:'is_highest' => :'Boolean',
|
50
45
|
:'is_deprecated' => :'Boolean',
|
@@ -78,10 +73,6 @@ module PulpAnsibleClient
|
|
78
73
|
self.repository = attributes[:'repository']
|
79
74
|
end
|
80
75
|
|
81
|
-
if attributes.key?(:'collection_version')
|
82
|
-
self.collection_version = attributes[:'collection_version']
|
83
|
-
end
|
84
|
-
|
85
76
|
if attributes.key?(:'namespace_metadata')
|
86
77
|
self.namespace_metadata = attributes[:'namespace_metadata']
|
87
78
|
end
|
@@ -107,10 +98,6 @@ module PulpAnsibleClient
|
|
107
98
|
invalid_properties.push('invalid value for "repository", repository cannot be nil.')
|
108
99
|
end
|
109
100
|
|
110
|
-
if @collection_version.nil?
|
111
|
-
invalid_properties.push('invalid value for "collection_version", collection_version cannot be nil.')
|
112
|
-
end
|
113
|
-
|
114
101
|
if @is_highest.nil?
|
115
102
|
invalid_properties.push('invalid value for "is_highest", is_highest cannot be nil.')
|
116
103
|
end
|
@@ -130,7 +117,6 @@ module PulpAnsibleClient
|
|
130
117
|
# @return true if the model is valid
|
131
118
|
def valid?
|
132
119
|
return false if @repository.nil?
|
133
|
-
return false if @collection_version.nil?
|
134
120
|
return false if @is_highest.nil?
|
135
121
|
return false if @is_deprecated.nil?
|
136
122
|
return false if @is_signed.nil?
|
@@ -143,7 +129,6 @@ module PulpAnsibleClient
|
|
143
129
|
return true if self.equal?(o)
|
144
130
|
self.class == o.class &&
|
145
131
|
repository == o.repository &&
|
146
|
-
collection_version == o.collection_version &&
|
147
132
|
namespace_metadata == o.namespace_metadata &&
|
148
133
|
is_highest == o.is_highest &&
|
149
134
|
is_deprecated == o.is_deprecated &&
|
@@ -159,7 +144,7 @@ module PulpAnsibleClient
|
|
159
144
|
# Calculates hash code according to all attributes.
|
160
145
|
# @return [Integer] Hash code
|
161
146
|
def hash
|
162
|
-
[repository,
|
147
|
+
[repository, namespace_metadata, is_highest, is_deprecated, is_signed].hash
|
163
148
|
end
|
164
149
|
|
165
150
|
# Builds the object from hash
|