pulp_ansible_client 0.16.2 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -22
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +230 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +4 -2
- data/docs/CollectionVersionResponse.md +6 -4
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +2 -6
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +2 -6
- data/docs/ContentCollectionVersionsApi.md +6 -10
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +2 -6
- data/docs/DistributionsAnsibleApi.md +230 -6
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NamespaceLink.md +19 -0
- data/docs/NamespaceLinkResponse.md +19 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PaginatedCollectionVersionSearchListResponseList.md +21 -0
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +23 -0
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +23 -0
- data/docs/PatchedansibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/PatchedansibleAnsibleRepository.md +3 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/RemotesCollectionApi.md +238 -6
- data/docs/RemotesGitApi.md +230 -6
- data/docs/RemotesRoleApi.md +230 -6
- data/docs/RepositoriesAnsibleApi.md +450 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
- data/docs/Repository.md +25 -0
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +6 -4
- data/docs/VersionsApi.md +10 -10
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +270 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +8 -14
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +270 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +209 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +8 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +531 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb +229 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +197 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +501 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +217 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +283 -9
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +270 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +270 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +542 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +359 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +402 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +23 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark.rb +258 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark_response.rb +268 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +13 -4
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +359 -0
- data/lib/pulp_ansible_client/models/collection_version_copy_move.rb +242 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +16 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -5
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +279 -0
- data/lib/pulp_ansible_client/models/collection_version_search_list_response.rb +287 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_ansible_client/models/namespace_link.rb +282 -0
- data/lib/pulp_ansible_client/models/namespace_link_response.rb +264 -0
- data/lib/pulp_ansible_client/models/nested_role.rb +253 -0
- data/lib/pulp_ansible_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_ansible_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_ansible_client/models/paginated_collection_version_search_list_response_list.rb +226 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +350 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +14 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/repository.rb +306 -0
- data/lib/pulp_ansible_client/models/repository_response.rb +309 -0
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +12 -5
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +32 -0
- data/spec/api/ansible_collections_api_spec.rb +51 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -5
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +51 -3
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +77 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +131 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +83 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +75 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +126 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +81 -0
- data/spec/api/remotes_collection_api_spec.rb +55 -3
- data/spec/api/remotes_git_api_spec.rb +51 -3
- data/spec/api/remotes_role_api_spec.rb +51 -3
- data/spec/api/repositories_ansible_api_spec.rb +99 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_ansible_namespace_metadata_response_spec.rb +95 -0
- data/spec/models/ansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_mark_response_spec.rb +59 -0
- data/spec/models/ansible_collection_version_mark_spec.rb +47 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- 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_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/collection_namespace_response_spec.rb +6 -0
- data/spec/models/collection_summary_response_spec.rb +95 -0
- data/spec/models/collection_version_copy_move_spec.rb +53 -0
- data/spec/models/collection_version_list_response_spec.rb +6 -0
- data/spec/models/collection_version_response_spec.rb +6 -0
- data/spec/models/collection_version_search_list_response_spec.rb +77 -0
- data/spec/models/collection_version_search_list_spec.rb +71 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/namespace_link_response_spec.rb +47 -0
- data/spec/models/namespace_link_spec.rb +47 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/paginated_collection_version_search_list_response_list_spec.rb +53 -0
- data/spec/models/paginatedansible_ansible_namespace_metadata_response_list_spec.rb +59 -0
- data/spec/models/paginatedansible_collection_version_mark_response_list_spec.rb +59 -0
- data/spec/models/patchedansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/repository_response_spec.rb +89 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- data/spec/models/unpaginated_collection_version_response_spec.rb +6 -0
- metadata +231 -103
@@ -0,0 +1,366 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpAnsibleClient
|
16
|
+
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
|
+
class TaskResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
20
|
+
# Timestamp of creation.
|
21
|
+
attr_accessor :pulp_created
|
22
|
+
|
23
|
+
# The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'.
|
24
|
+
attr_accessor :state
|
25
|
+
|
26
|
+
# The name of task.
|
27
|
+
attr_accessor :name
|
28
|
+
|
29
|
+
# The logging correlation id associated with this task
|
30
|
+
attr_accessor :logging_cid
|
31
|
+
|
32
|
+
# Timestamp of the when this task started execution.
|
33
|
+
attr_accessor :started_at
|
34
|
+
|
35
|
+
# Timestamp of the when this task stopped execution.
|
36
|
+
attr_accessor :finished_at
|
37
|
+
|
38
|
+
# A JSON Object of a fatal error encountered during the execution of this task.
|
39
|
+
attr_accessor :error
|
40
|
+
|
41
|
+
# The worker associated with this task. This field is empty if a worker is not yet assigned.
|
42
|
+
attr_accessor :worker
|
43
|
+
|
44
|
+
# The parent task that spawned this task.
|
45
|
+
attr_accessor :parent_task
|
46
|
+
|
47
|
+
# Any tasks spawned by this task.
|
48
|
+
attr_accessor :child_tasks
|
49
|
+
|
50
|
+
# The task group that this task is a member of.
|
51
|
+
attr_accessor :task_group
|
52
|
+
|
53
|
+
attr_accessor :progress_reports
|
54
|
+
|
55
|
+
# Resources created by this task.
|
56
|
+
attr_accessor :created_resources
|
57
|
+
|
58
|
+
# A list of resources required by that task.
|
59
|
+
attr_accessor :reserved_resources_record
|
60
|
+
|
61
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
62
|
+
def self.attribute_map
|
63
|
+
{
|
64
|
+
:'pulp_href' => :'pulp_href',
|
65
|
+
:'pulp_created' => :'pulp_created',
|
66
|
+
:'state' => :'state',
|
67
|
+
:'name' => :'name',
|
68
|
+
:'logging_cid' => :'logging_cid',
|
69
|
+
:'started_at' => :'started_at',
|
70
|
+
:'finished_at' => :'finished_at',
|
71
|
+
:'error' => :'error',
|
72
|
+
:'worker' => :'worker',
|
73
|
+
:'parent_task' => :'parent_task',
|
74
|
+
:'child_tasks' => :'child_tasks',
|
75
|
+
:'task_group' => :'task_group',
|
76
|
+
:'progress_reports' => :'progress_reports',
|
77
|
+
:'created_resources' => :'created_resources',
|
78
|
+
:'reserved_resources_record' => :'reserved_resources_record'
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
82
|
+
# Attribute type mapping.
|
83
|
+
def self.openapi_types
|
84
|
+
{
|
85
|
+
:'pulp_href' => :'String',
|
86
|
+
:'pulp_created' => :'DateTime',
|
87
|
+
:'state' => :'String',
|
88
|
+
:'name' => :'String',
|
89
|
+
:'logging_cid' => :'String',
|
90
|
+
:'started_at' => :'DateTime',
|
91
|
+
:'finished_at' => :'DateTime',
|
92
|
+
:'error' => :'Hash<String, Object>',
|
93
|
+
:'worker' => :'String',
|
94
|
+
:'parent_task' => :'String',
|
95
|
+
:'child_tasks' => :'Array<String>',
|
96
|
+
:'task_group' => :'String',
|
97
|
+
:'progress_reports' => :'Array<ProgressReportResponse>',
|
98
|
+
:'created_resources' => :'Array<String>',
|
99
|
+
:'reserved_resources_record' => :'Array<String>'
|
100
|
+
}
|
101
|
+
end
|
102
|
+
|
103
|
+
# List of attributes with nullable: true
|
104
|
+
def self.openapi_nullable
|
105
|
+
Set.new([
|
106
|
+
])
|
107
|
+
end
|
108
|
+
|
109
|
+
# Initializes the object
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
def initialize(attributes = {})
|
112
|
+
if (!attributes.is_a?(Hash))
|
113
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::TaskResponse` initialize method"
|
114
|
+
end
|
115
|
+
|
116
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
117
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
118
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
119
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::TaskResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
120
|
+
end
|
121
|
+
h[k.to_sym] = v
|
122
|
+
}
|
123
|
+
|
124
|
+
if attributes.key?(:'pulp_href')
|
125
|
+
self.pulp_href = attributes[:'pulp_href']
|
126
|
+
end
|
127
|
+
|
128
|
+
if attributes.key?(:'pulp_created')
|
129
|
+
self.pulp_created = attributes[:'pulp_created']
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.key?(:'state')
|
133
|
+
self.state = attributes[:'state']
|
134
|
+
end
|
135
|
+
|
136
|
+
if attributes.key?(:'name')
|
137
|
+
self.name = attributes[:'name']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'logging_cid')
|
141
|
+
self.logging_cid = attributes[:'logging_cid']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.key?(:'started_at')
|
145
|
+
self.started_at = attributes[:'started_at']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'finished_at')
|
149
|
+
self.finished_at = attributes[:'finished_at']
|
150
|
+
end
|
151
|
+
|
152
|
+
if attributes.key?(:'error')
|
153
|
+
if (value = attributes[:'error']).is_a?(Hash)
|
154
|
+
self.error = value
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
if attributes.key?(:'worker')
|
159
|
+
self.worker = attributes[:'worker']
|
160
|
+
end
|
161
|
+
|
162
|
+
if attributes.key?(:'parent_task')
|
163
|
+
self.parent_task = attributes[:'parent_task']
|
164
|
+
end
|
165
|
+
|
166
|
+
if attributes.key?(:'child_tasks')
|
167
|
+
if (value = attributes[:'child_tasks']).is_a?(Array)
|
168
|
+
self.child_tasks = value
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes.key?(:'task_group')
|
173
|
+
self.task_group = attributes[:'task_group']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.key?(:'progress_reports')
|
177
|
+
if (value = attributes[:'progress_reports']).is_a?(Array)
|
178
|
+
self.progress_reports = value
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
if attributes.key?(:'created_resources')
|
183
|
+
if (value = attributes[:'created_resources']).is_a?(Array)
|
184
|
+
self.created_resources = value
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes.key?(:'reserved_resources_record')
|
189
|
+
if (value = attributes[:'reserved_resources_record']).is_a?(Array)
|
190
|
+
self.reserved_resources_record = value
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
196
|
+
# @return Array for valid properties with the reasons
|
197
|
+
def list_invalid_properties
|
198
|
+
invalid_properties = Array.new
|
199
|
+
if @name.nil?
|
200
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
201
|
+
end
|
202
|
+
|
203
|
+
if @logging_cid.nil?
|
204
|
+
invalid_properties.push('invalid value for "logging_cid", logging_cid cannot be nil.')
|
205
|
+
end
|
206
|
+
|
207
|
+
invalid_properties
|
208
|
+
end
|
209
|
+
|
210
|
+
# Check to see if the all the properties in the model are valid
|
211
|
+
# @return true if the model is valid
|
212
|
+
def valid?
|
213
|
+
return false if @name.nil?
|
214
|
+
return false if @logging_cid.nil?
|
215
|
+
true
|
216
|
+
end
|
217
|
+
|
218
|
+
# Checks equality by comparing each attribute.
|
219
|
+
# @param [Object] Object to be compared
|
220
|
+
def ==(o)
|
221
|
+
return true if self.equal?(o)
|
222
|
+
self.class == o.class &&
|
223
|
+
pulp_href == o.pulp_href &&
|
224
|
+
pulp_created == o.pulp_created &&
|
225
|
+
state == o.state &&
|
226
|
+
name == o.name &&
|
227
|
+
logging_cid == o.logging_cid &&
|
228
|
+
started_at == o.started_at &&
|
229
|
+
finished_at == o.finished_at &&
|
230
|
+
error == o.error &&
|
231
|
+
worker == o.worker &&
|
232
|
+
parent_task == o.parent_task &&
|
233
|
+
child_tasks == o.child_tasks &&
|
234
|
+
task_group == o.task_group &&
|
235
|
+
progress_reports == o.progress_reports &&
|
236
|
+
created_resources == o.created_resources &&
|
237
|
+
reserved_resources_record == o.reserved_resources_record
|
238
|
+
end
|
239
|
+
|
240
|
+
# @see the `==` method
|
241
|
+
# @param [Object] Object to be compared
|
242
|
+
def eql?(o)
|
243
|
+
self == o
|
244
|
+
end
|
245
|
+
|
246
|
+
# Calculates hash code according to all attributes.
|
247
|
+
# @return [Integer] Hash code
|
248
|
+
def hash
|
249
|
+
[pulp_href, pulp_created, state, name, logging_cid, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, reserved_resources_record].hash
|
250
|
+
end
|
251
|
+
|
252
|
+
# Builds the object from hash
|
253
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
254
|
+
# @return [Object] Returns the model itself
|
255
|
+
def self.build_from_hash(attributes)
|
256
|
+
new.build_from_hash(attributes)
|
257
|
+
end
|
258
|
+
|
259
|
+
# Builds the object from hash
|
260
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
261
|
+
# @return [Object] Returns the model itself
|
262
|
+
def build_from_hash(attributes)
|
263
|
+
return nil unless attributes.is_a?(Hash)
|
264
|
+
self.class.openapi_types.each_pair do |key, type|
|
265
|
+
if type =~ /\AArray<(.*)>/i
|
266
|
+
# check to ensure the input is an array given that the attribute
|
267
|
+
# is documented as an array but the input is not
|
268
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
269
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
270
|
+
end
|
271
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
272
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
273
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
274
|
+
end
|
275
|
+
|
276
|
+
self
|
277
|
+
end
|
278
|
+
|
279
|
+
# Deserializes the data based on type
|
280
|
+
# @param string type Data type
|
281
|
+
# @param string value Value to be deserialized
|
282
|
+
# @return [Object] Deserialized data
|
283
|
+
def _deserialize(type, value)
|
284
|
+
case type.to_sym
|
285
|
+
when :DateTime
|
286
|
+
DateTime.parse(value)
|
287
|
+
when :Date
|
288
|
+
Date.parse(value)
|
289
|
+
when :String
|
290
|
+
value.to_s
|
291
|
+
when :Integer
|
292
|
+
value.to_i
|
293
|
+
when :Float
|
294
|
+
value.to_f
|
295
|
+
when :Boolean
|
296
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
297
|
+
true
|
298
|
+
else
|
299
|
+
false
|
300
|
+
end
|
301
|
+
when :Object
|
302
|
+
# generic object (usually a Hash), return directly
|
303
|
+
value
|
304
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
305
|
+
inner_type = Regexp.last_match[:inner_type]
|
306
|
+
value.map { |v| _deserialize(inner_type, v) }
|
307
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
308
|
+
k_type = Regexp.last_match[:k_type]
|
309
|
+
v_type = Regexp.last_match[:v_type]
|
310
|
+
{}.tap do |hash|
|
311
|
+
value.each do |k, v|
|
312
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
else # model
|
316
|
+
PulpAnsibleClient.const_get(type).build_from_hash(value)
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
# Returns the string representation of the object
|
321
|
+
# @return [String] String presentation of the object
|
322
|
+
def to_s
|
323
|
+
to_hash.to_s
|
324
|
+
end
|
325
|
+
|
326
|
+
# to_body is an alias to to_hash (backward compatibility)
|
327
|
+
# @return [Hash] Returns the object in the form of hash
|
328
|
+
def to_body
|
329
|
+
to_hash
|
330
|
+
end
|
331
|
+
|
332
|
+
# Returns the object in the form of hash
|
333
|
+
# @return [Hash] Returns the object in the form of hash
|
334
|
+
def to_hash
|
335
|
+
hash = {}
|
336
|
+
self.class.attribute_map.each_pair do |attr, param|
|
337
|
+
value = self.send(attr)
|
338
|
+
if value.nil?
|
339
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
340
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
341
|
+
end
|
342
|
+
|
343
|
+
hash[param] = _to_hash(value)
|
344
|
+
end
|
345
|
+
hash
|
346
|
+
end
|
347
|
+
|
348
|
+
# Outputs non-array value in the form of hash
|
349
|
+
# For object, use to_hash. Otherwise, just return the value
|
350
|
+
# @param [Object] value Any valid value
|
351
|
+
# @return [Hash] Returns the value in the form of hash
|
352
|
+
def _to_hash(value)
|
353
|
+
if value.is_a?(Array)
|
354
|
+
value.compact.map { |v| _to_hash(v) }
|
355
|
+
elsif value.is_a?(Hash)
|
356
|
+
{}.tap do |hash|
|
357
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
358
|
+
end
|
359
|
+
elsif value.respond_to? :to_hash
|
360
|
+
value.to_hash
|
361
|
+
else
|
362
|
+
value
|
363
|
+
end
|
364
|
+
end
|
365
|
+
end
|
366
|
+
end
|
@@ -17,7 +17,6 @@ module PulpAnsibleClient
|
|
17
17
|
class UnpaginatedCollectionVersionResponse
|
18
18
|
attr_accessor :version
|
19
19
|
|
20
|
-
# Get href.
|
21
20
|
attr_accessor :href
|
22
21
|
|
23
22
|
attr_accessor :created_at
|
@@ -26,11 +25,12 @@ module PulpAnsibleClient
|
|
26
25
|
|
27
26
|
attr_accessor :requires_ansible
|
28
27
|
|
28
|
+
attr_accessor :marks
|
29
|
+
|
29
30
|
attr_accessor :artifact
|
30
31
|
|
31
32
|
attr_accessor :collection
|
32
33
|
|
33
|
-
# Get artifact download URL.
|
34
34
|
attr_accessor :download_url
|
35
35
|
|
36
36
|
attr_accessor :name
|
@@ -41,10 +41,8 @@ module PulpAnsibleClient
|
|
41
41
|
|
42
42
|
attr_accessor :metadata
|
43
43
|
|
44
|
-
# Get the git URL.
|
45
44
|
attr_accessor :git_url
|
46
45
|
|
47
|
-
# Get the git commit sha.
|
48
46
|
attr_accessor :git_commit_sha
|
49
47
|
|
50
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -55,6 +53,7 @@ module PulpAnsibleClient
|
|
55
53
|
:'created_at' => :'created_at',
|
56
54
|
:'updated_at' => :'updated_at',
|
57
55
|
:'requires_ansible' => :'requires_ansible',
|
56
|
+
:'marks' => :'marks',
|
58
57
|
:'artifact' => :'artifact',
|
59
58
|
:'collection' => :'collection',
|
60
59
|
:'download_url' => :'download_url',
|
@@ -75,6 +74,7 @@ module PulpAnsibleClient
|
|
75
74
|
:'created_at' => :'DateTime',
|
76
75
|
:'updated_at' => :'DateTime',
|
77
76
|
:'requires_ansible' => :'String',
|
77
|
+
:'marks' => :'Array<String>',
|
78
78
|
:'artifact' => :'ArtifactRefResponse',
|
79
79
|
:'collection' => :'CollectionRefResponse',
|
80
80
|
:'download_url' => :'String',
|
@@ -129,6 +129,12 @@ module PulpAnsibleClient
|
|
129
129
|
self.requires_ansible = attributes[:'requires_ansible']
|
130
130
|
end
|
131
131
|
|
132
|
+
if attributes.key?(:'marks')
|
133
|
+
if (value = attributes[:'marks']).is_a?(Array)
|
134
|
+
self.marks = value
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
132
138
|
if attributes.key?(:'artifact')
|
133
139
|
self.artifact = attributes[:'artifact']
|
134
140
|
end
|
@@ -214,6 +220,7 @@ module PulpAnsibleClient
|
|
214
220
|
created_at == o.created_at &&
|
215
221
|
updated_at == o.updated_at &&
|
216
222
|
requires_ansible == o.requires_ansible &&
|
223
|
+
marks == o.marks &&
|
217
224
|
artifact == o.artifact &&
|
218
225
|
collection == o.collection &&
|
219
226
|
download_url == o.download_url &&
|
@@ -234,7 +241,7 @@ module PulpAnsibleClient
|
|
234
241
|
# Calculates hash code according to all attributes.
|
235
242
|
# @return [Integer] Hash code
|
236
243
|
def hash
|
237
|
-
[version, href, created_at, updated_at, requires_ansible, artifact, collection, download_url, name, namespace, signatures, metadata, git_url, git_commit_sha].hash
|
244
|
+
[version, href, created_at, updated_at, requires_ansible, marks, artifact, collection, download_url, name, namespace, signatures, metadata, git_url, git_commit_sha].hash
|
238
245
|
end
|
239
246
|
|
240
247
|
# Builds the object from hash
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -19,6 +19,8 @@ require 'pulp_ansible_client/configuration'
|
|
19
19
|
# Models
|
20
20
|
require 'pulp_ansible_client/models/ansible_ansible_distribution'
|
21
21
|
require 'pulp_ansible_client/models/ansible_ansible_distribution_response'
|
22
|
+
require 'pulp_ansible_client/models/ansible_ansible_namespace_metadata'
|
23
|
+
require 'pulp_ansible_client/models/ansible_ansible_namespace_metadata_response'
|
22
24
|
require 'pulp_ansible_client/models/ansible_ansible_repository'
|
23
25
|
require 'pulp_ansible_client/models/ansible_ansible_repository_response'
|
24
26
|
require 'pulp_ansible_client/models/ansible_collection'
|
@@ -27,11 +29,14 @@ require 'pulp_ansible_client/models/ansible_collection_remote_response'
|
|
27
29
|
require 'pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields'
|
28
30
|
require 'pulp_ansible_client/models/ansible_collection_response'
|
29
31
|
require 'pulp_ansible_client/models/ansible_collection_version'
|
32
|
+
require 'pulp_ansible_client/models/ansible_collection_version_mark'
|
33
|
+
require 'pulp_ansible_client/models/ansible_collection_version_mark_response'
|
30
34
|
require 'pulp_ansible_client/models/ansible_collection_version_response'
|
31
35
|
require 'pulp_ansible_client/models/ansible_collection_version_signature'
|
32
36
|
require 'pulp_ansible_client/models/ansible_collection_version_signature_response'
|
33
37
|
require 'pulp_ansible_client/models/ansible_git_remote'
|
34
38
|
require 'pulp_ansible_client/models/ansible_git_remote_response'
|
39
|
+
require 'pulp_ansible_client/models/ansible_repository_mark'
|
35
40
|
require 'pulp_ansible_client/models/ansible_repository_rebuild'
|
36
41
|
require 'pulp_ansible_client/models/ansible_repository_signature'
|
37
42
|
require 'pulp_ansible_client/models/ansible_repository_sync_url'
|
@@ -49,9 +54,13 @@ require 'pulp_ansible_client/models/collection_namespace_response'
|
|
49
54
|
require 'pulp_ansible_client/models/collection_one_shot'
|
50
55
|
require 'pulp_ansible_client/models/collection_ref_response'
|
51
56
|
require 'pulp_ansible_client/models/collection_response'
|
57
|
+
require 'pulp_ansible_client/models/collection_summary_response'
|
58
|
+
require 'pulp_ansible_client/models/collection_version_copy_move'
|
52
59
|
require 'pulp_ansible_client/models/collection_version_docs_response'
|
53
60
|
require 'pulp_ansible_client/models/collection_version_list_response'
|
54
61
|
require 'pulp_ansible_client/models/collection_version_response'
|
62
|
+
require 'pulp_ansible_client/models/collection_version_search_list'
|
63
|
+
require 'pulp_ansible_client/models/collection_version_search_list_response'
|
55
64
|
require 'pulp_ansible_client/models/content_summary_response'
|
56
65
|
require 'pulp_ansible_client/models/copy'
|
57
66
|
require 'pulp_ansible_client/models/galaxy_collection'
|
@@ -59,10 +68,17 @@ require 'pulp_ansible_client/models/galaxy_collection_response'
|
|
59
68
|
require 'pulp_ansible_client/models/galaxy_collection_version_response'
|
60
69
|
require 'pulp_ansible_client/models/galaxy_role_response'
|
61
70
|
require 'pulp_ansible_client/models/galaxy_role_version_response'
|
71
|
+
require 'pulp_ansible_client/models/my_permissions_response'
|
72
|
+
require 'pulp_ansible_client/models/namespace_link'
|
73
|
+
require 'pulp_ansible_client/models/namespace_link_response'
|
74
|
+
require 'pulp_ansible_client/models/nested_role'
|
75
|
+
require 'pulp_ansible_client/models/nested_role_response'
|
76
|
+
require 'pulp_ansible_client/models/object_roles_response'
|
62
77
|
require 'pulp_ansible_client/models/paginated_collection_response_list'
|
63
78
|
require 'pulp_ansible_client/models/paginated_collection_response_list_links'
|
64
79
|
require 'pulp_ansible_client/models/paginated_collection_response_list_meta'
|
65
80
|
require 'pulp_ansible_client/models/paginated_collection_version_list_response_list'
|
81
|
+
require 'pulp_ansible_client/models/paginated_collection_version_search_list_response_list'
|
66
82
|
require 'pulp_ansible_client/models/paginated_galaxy_collection_response_list'
|
67
83
|
require 'pulp_ansible_client/models/paginated_galaxy_collection_version_response_list'
|
68
84
|
require 'pulp_ansible_client/models/paginated_galaxy_role_response_list'
|
@@ -70,25 +86,33 @@ require 'pulp_ansible_client/models/paginated_galaxy_role_version_response_list'
|
|
70
86
|
require 'pulp_ansible_client/models/paginated_repository_version_response_list'
|
71
87
|
require 'pulp_ansible_client/models/paginated_tag_response_list'
|
72
88
|
require 'pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list'
|
89
|
+
require 'pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list'
|
73
90
|
require 'pulp_ansible_client/models/paginatedansible_ansible_repository_response_list'
|
74
91
|
require 'pulp_ansible_client/models/paginatedansible_collection_remote_response_list'
|
75
92
|
require 'pulp_ansible_client/models/paginatedansible_collection_response_list'
|
93
|
+
require 'pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list'
|
76
94
|
require 'pulp_ansible_client/models/paginatedansible_collection_version_response_list'
|
77
95
|
require 'pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list'
|
78
96
|
require 'pulp_ansible_client/models/paginatedansible_git_remote_response_list'
|
79
97
|
require 'pulp_ansible_client/models/paginatedansible_role_remote_response_list'
|
80
98
|
require 'pulp_ansible_client/models/paginatedansible_role_response_list'
|
81
99
|
require 'pulp_ansible_client/models/patchedansible_ansible_distribution'
|
100
|
+
require 'pulp_ansible_client/models/patchedansible_ansible_namespace_metadata'
|
82
101
|
require 'pulp_ansible_client/models/patchedansible_ansible_repository'
|
83
102
|
require 'pulp_ansible_client/models/patchedansible_collection_remote'
|
84
103
|
require 'pulp_ansible_client/models/patchedansible_git_remote'
|
85
104
|
require 'pulp_ansible_client/models/patchedansible_role_remote'
|
86
105
|
require 'pulp_ansible_client/models/policy_enum'
|
106
|
+
require 'pulp_ansible_client/models/progress_report_response'
|
87
107
|
require 'pulp_ansible_client/models/repair'
|
88
108
|
require 'pulp_ansible_client/models/repo_metadata_response'
|
109
|
+
require 'pulp_ansible_client/models/repository'
|
89
110
|
require 'pulp_ansible_client/models/repository_add_remove_content'
|
111
|
+
require 'pulp_ansible_client/models/repository_response'
|
90
112
|
require 'pulp_ansible_client/models/repository_version_response'
|
91
113
|
require 'pulp_ansible_client/models/tag_response'
|
114
|
+
require 'pulp_ansible_client/models/task'
|
115
|
+
require 'pulp_ansible_client/models/task_response'
|
92
116
|
require 'pulp_ansible_client/models/unpaginated_collection_version_response'
|
93
117
|
|
94
118
|
# APIs
|
@@ -98,8 +122,10 @@ require 'pulp_ansible_client/api/api_collections_api'
|
|
98
122
|
require 'pulp_ansible_client/api/api_roles_api'
|
99
123
|
require 'pulp_ansible_client/api/collection_import_api'
|
100
124
|
require 'pulp_ansible_client/api/content_collection_deprecations_api'
|
125
|
+
require 'pulp_ansible_client/api/content_collection_marks_api'
|
101
126
|
require 'pulp_ansible_client/api/content_collection_signatures_api'
|
102
127
|
require 'pulp_ansible_client/api/content_collection_versions_api'
|
128
|
+
require 'pulp_ansible_client/api/content_namespaces_api'
|
103
129
|
require 'pulp_ansible_client/api/content_roles_api'
|
104
130
|
require 'pulp_ansible_client/api/distributions_ansible_api'
|
105
131
|
require 'pulp_ansible_client/api/galaxy_detail_api'
|
@@ -112,6 +138,7 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_collections_api'
|
|
112
138
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api'
|
113
139
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api'
|
114
140
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api'
|
141
|
+
require 'pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api'
|
115
142
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api'
|
116
143
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api'
|
117
144
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api'
|
@@ -120,6 +147,8 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_coll
|
|
120
147
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api'
|
121
148
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api'
|
122
149
|
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api'
|
150
|
+
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api'
|
151
|
+
require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api'
|
123
152
|
require 'pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api'
|
124
153
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_api'
|
125
154
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_api'
|
@@ -129,6 +158,7 @@ require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api'
|
|
129
158
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api'
|
130
159
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api'
|
131
160
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api'
|
161
|
+
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api'
|
132
162
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api'
|
133
163
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api'
|
134
164
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api'
|
@@ -137,6 +167,8 @@ require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_cont
|
|
137
167
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api'
|
138
168
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api'
|
139
169
|
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api'
|
170
|
+
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api'
|
171
|
+
require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api'
|
140
172
|
require 'pulp_ansible_client/api/pulp_ansible_tags_api'
|
141
173
|
require 'pulp_ansible_client/api/remotes_collection_api'
|
142
174
|
require 'pulp_ansible_client/api/remotes_git_api'
|
@@ -32,6 +32,18 @@ describe 'AnsibleCollectionsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_role
|
36
|
+
# Add a role for this object to users/groups.
|
37
|
+
# @param ansible_collection_href
|
38
|
+
# @param nested_role
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [NestedRoleResponse]
|
41
|
+
describe 'add_role test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
35
47
|
# unit tests for list
|
36
48
|
# List collections
|
37
49
|
# Viewset for Ansible Collections.
|
@@ -40,9 +52,7 @@ describe 'AnsibleCollectionsApi' do
|
|
40
52
|
# @option opts [String] :name
|
41
53
|
# @option opts [String] :namespace
|
42
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
44
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
55
|
+
# @option opts [Array<String>] :ordering Ordering
|
46
56
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
57
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
58
|
# @return [PaginatedansibleCollectionResponseList]
|
@@ -52,6 +62,44 @@ describe 'AnsibleCollectionsApi' do
|
|
52
62
|
end
|
53
63
|
end
|
54
64
|
|
65
|
+
# unit tests for list_roles
|
66
|
+
# List roles assigned to this object.
|
67
|
+
# @param ansible_collection_href
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
|
+
# @return [ObjectRolesResponse]
|
72
|
+
describe 'list_roles test' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# unit tests for my_permissions
|
79
|
+
# List permissions available to the current user on this object.
|
80
|
+
# @param ansible_collection_href
|
81
|
+
# @param [Hash] opts the optional parameters
|
82
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
83
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
84
|
+
# @return [MyPermissionsResponse]
|
85
|
+
describe 'my_permissions test' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# unit tests for remove_role
|
92
|
+
# Remove a role for this object from users/groups.
|
93
|
+
# @param ansible_collection_href
|
94
|
+
# @param nested_role
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [NestedRoleResponse]
|
97
|
+
describe 'remove_role test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
55
103
|
# unit tests for upload_collection
|
56
104
|
# Upload a collection
|
57
105
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
@@ -50,9 +50,7 @@ describe 'ContentCollectionDeprecationsApi' do
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @option opts [Integer] :limit Number of results to return per page.
|
52
52
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
53
|
-
# @option opts [Array<String>] :ordering Ordering
|
54
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
|
+
# @option opts [Array<String>] :ordering Ordering
|
56
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
57
55
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
58
56
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|