pulp_ansible_client 0.30.0 → 0.30.1
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 +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositorySyncURL.md +1 -1
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +4 -0
- data/docs/ContentCollectionMarksApi.md +4 -0
- data/docs/ContentCollectionSignaturesApi.md +4 -0
- data/docs/ContentCollectionVersionsApi.md +14 -10
- data/docs/ContentNamespacesApi.md +4 -0
- data/docs/ContentRolesApi.md +4 -0
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +21 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +254 -254
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
- data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/nested_role.rb +1 -1
- data/lib/pulp_ansible_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -249
- 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 +1 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +2 -0
- data/spec/api/content_collection_marks_api_spec.rb +2 -0
- data/spec/api/content_collection_signatures_api_spec.rb +2 -0
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +2 -0
- data/spec/api/content_roles_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +125 -125
|
@@ -19,16 +19,16 @@ module PulpAnsibleClient
|
|
|
19
19
|
# Artifact file representing the physical content
|
|
20
20
|
attr_accessor :artifact
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
# The Pulp Resource Name (PRN).
|
|
23
|
+
attr_accessor :prn
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_created
|
|
25
|
+
attr_accessor :pulp_href
|
|
26
26
|
|
|
27
27
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
28
|
attr_accessor :pulp_labels
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
30
|
+
# Timestamp of creation.
|
|
31
|
+
attr_accessor :pulp_created
|
|
32
32
|
|
|
33
33
|
attr_accessor :vuln_report
|
|
34
34
|
|
|
@@ -45,10 +45,10 @@ module PulpAnsibleClient
|
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
47
|
:'artifact' => :'artifact',
|
|
48
|
+
:'prn' => :'prn',
|
|
48
49
|
:'pulp_href' => :'pulp_href',
|
|
49
|
-
:'pulp_created' => :'pulp_created',
|
|
50
50
|
:'pulp_labels' => :'pulp_labels',
|
|
51
|
-
:'
|
|
51
|
+
:'pulp_created' => :'pulp_created',
|
|
52
52
|
:'vuln_report' => :'vuln_report',
|
|
53
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
54
54
|
:'version' => :'version',
|
|
@@ -66,10 +66,10 @@ module PulpAnsibleClient
|
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
68
|
:'artifact' => :'String',
|
|
69
|
+
:'prn' => :'String',
|
|
69
70
|
:'pulp_href' => :'String',
|
|
70
|
-
:'pulp_created' => :'Time',
|
|
71
71
|
:'pulp_labels' => :'Hash<String, String>',
|
|
72
|
-
:'
|
|
72
|
+
:'pulp_created' => :'Time',
|
|
73
73
|
:'vuln_report' => :'String',
|
|
74
74
|
:'pulp_last_updated' => :'Time',
|
|
75
75
|
:'version' => :'String',
|
|
@@ -105,12 +105,12 @@ module PulpAnsibleClient
|
|
|
105
105
|
self.artifact = nil
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
108
|
+
if attributes.key?(:'prn')
|
|
109
|
+
self.prn = attributes[:'prn']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'pulp_href')
|
|
113
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
if attributes.key?(:'pulp_labels')
|
|
@@ -119,8 +119,8 @@ module PulpAnsibleClient
|
|
|
119
119
|
end
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
122
|
+
if attributes.key?(:'pulp_created')
|
|
123
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'vuln_report')
|
|
@@ -191,10 +191,10 @@ module PulpAnsibleClient
|
|
|
191
191
|
return true if self.equal?(o)
|
|
192
192
|
self.class == o.class &&
|
|
193
193
|
artifact == o.artifact &&
|
|
194
|
+
prn == o.prn &&
|
|
194
195
|
pulp_href == o.pulp_href &&
|
|
195
|
-
pulp_created == o.pulp_created &&
|
|
196
196
|
pulp_labels == o.pulp_labels &&
|
|
197
|
-
|
|
197
|
+
pulp_created == o.pulp_created &&
|
|
198
198
|
vuln_report == o.vuln_report &&
|
|
199
199
|
pulp_last_updated == o.pulp_last_updated &&
|
|
200
200
|
version == o.version &&
|
|
@@ -211,7 +211,7 @@ module PulpAnsibleClient
|
|
|
211
211
|
# Calculates hash code according to all attributes.
|
|
212
212
|
# @return [Integer] Hash code
|
|
213
213
|
def hash
|
|
214
|
-
[artifact,
|
|
214
|
+
[artifact, prn, pulp_href, pulp_labels, pulp_created, vuln_report, pulp_last_updated, version, name, namespace].hash
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# Builds the object from hash
|
|
@@ -33,7 +33,7 @@ module PulpAnsibleClient
|
|
|
33
33
|
# Timestamp of creation.
|
|
34
34
|
attr_accessor :pulp_created
|
|
35
35
|
|
|
36
|
-
# A JSON field with data about the contents.
|
|
36
|
+
# A JSON field with data about the contents. (Deliberately left empty in summary view.)
|
|
37
37
|
attr_accessor :contents
|
|
38
38
|
|
|
39
39
|
# A dict declaring Collections that this collection requires to be installed for it to be usable.
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRole
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRoleResponse
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|