pulp_ansible_client 0.21.6 → 0.21.8

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.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  4. data/docs/AnsibleCollectionRemoteResponse.md +2 -2
  5. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  6. data/docs/AnsibleCollectionVersion.md +5 -5
  7. data/docs/AnsibleCollectionVersionResponse.md +6 -4
  8. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  9. data/docs/AnsibleCollectionsApi.md +1 -1
  10. data/docs/AnsibleCopyApi.md +1 -1
  11. data/docs/AnsibleGitRemote.md +28 -28
  12. data/docs/AnsibleGitRemoteResponse.md +30 -30
  13. data/docs/AnsibleRole.md +3 -3
  14. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  15. data/docs/AnsibleRoleResponse.md +5 -3
  16. data/docs/ApiCollectionsApi.md +1 -1
  17. data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
  18. data/docs/ApiRolesApi.md +1 -1
  19. data/docs/CollectionImportApi.md +1 -1
  20. data/docs/ContentCollectionDeprecationsApi.md +1 -1
  21. data/docs/ContentCollectionMarksApi.md +1 -1
  22. data/docs/ContentCollectionSignaturesApi.md +1 -1
  23. data/docs/ContentCollectionVersionsApi.md +5 -5
  24. data/docs/ContentNamespacesApi.md +1 -1
  25. data/docs/ContentRolesApi.md +1 -1
  26. data/docs/DistributionsAnsibleApi.md +1 -1
  27. data/docs/GalaxyDetailApi.md +1 -1
  28. data/docs/PaginatedGalaxyCollectionResponseList.md +2 -2
  29. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +2 -2
  30. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  31. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  32. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  33. data/docs/PaginatedTagResponseList.md +2 -2
  34. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  35. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  36. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  37. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  38. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  39. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  40. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  41. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  42. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  43. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  44. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  45. data/docs/PatchedansibleGitRemote.md +28 -28
  46. data/docs/PulpAnsibleApiApi.md +1 -1
  47. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  48. data/docs/PulpAnsibleApiV3Api.md +1 -1
  49. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  50. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  51. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  52. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  53. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  54. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  55. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
  56. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  57. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  58. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  59. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  60. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  61. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  62. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  63. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  64. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  65. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  66. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  67. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  68. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  69. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  70. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  71. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  72. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  73. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  74. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  75. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  76. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  77. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  78. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  79. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  80. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  81. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  82. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  83. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  84. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
  85. data/docs/PulpAnsibleTagsApi.md +1 -1
  86. data/docs/RemotesCollectionApi.md +1 -1
  87. data/docs/RemotesGitApi.md +1 -1
  88. data/docs/RemotesRoleApi.md +1 -1
  89. data/docs/RepositoriesAnsibleApi.md +1 -1
  90. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  91. data/docs/RepositoryResponse.md +2 -0
  92. data/docs/RepositoryVersionResponse.md +2 -0
  93. data/docs/VersionsApi.md +1 -1
  94. data/lib/pulp_ansible_client/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb → api_plugin_ansible_search_collection_versions_api.rb} +26 -24
  95. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
  97. data/lib/pulp_ansible_client/configuration.rb +2 -2
  98. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  99. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  100. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +31 -31
  101. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  102. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
  103. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +24 -14
  104. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  105. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +247 -247
  106. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +170 -170
  107. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  108. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  109. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +31 -31
  110. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -10
  111. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +10 -0
  112. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +10 -0
  113. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  114. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  115. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  116. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  117. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  118. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  119. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  120. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  121. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  122. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  123. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  124. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  125. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  126. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  127. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  128. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  129. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
  130. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  131. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  132. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  133. data/lib/pulp_ansible_client/version.rb +1 -1
  134. data/lib/pulp_ansible_client.rb +1 -1
  135. data/spec/api/{pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb → api_plugin_ansible_search_collection_versions_api_spec.rb} +9 -8
  136. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  137. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
  138. data/spec/configuration_spec.rb +3 -3
  139. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  140. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  141. data/spec/models/ansible_collection_version_response_spec.rb +8 -2
  142. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  143. data/spec/models/ansible_collection_version_spec.rb +4 -4
  144. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  145. data/spec/models/ansible_git_remote_spec.rb +19 -19
  146. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  147. data/spec/models/ansible_role_response_spec.rb +9 -3
  148. data/spec/models/ansible_role_spec.rb +2 -2
  149. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  150. data/spec/models/repository_response_spec.rb +6 -0
  151. data/spec/models/repository_version_response_spec.rb +6 -0
  152. metadata +144 -144
@@ -304,20 +304,20 @@ module PulpAnsibleClient
304
304
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
305
305
  end
306
306
 
307
- if !@total_timeout.nil? && @total_timeout < 0.0
308
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
307
+ if !@total_timeout.nil? && @total_timeout < 0
308
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
309
309
  end
310
310
 
311
- if !@connect_timeout.nil? && @connect_timeout < 0.0
312
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
311
+ if !@connect_timeout.nil? && @connect_timeout < 0
312
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
313
313
  end
314
314
 
315
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
316
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
315
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
316
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
317
317
  end
318
318
 
319
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
320
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
319
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
320
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
321
321
  end
322
322
 
323
323
  invalid_properties
@@ -337,10 +337,10 @@ module PulpAnsibleClient
337
337
  return false if !@username.nil? && @username.to_s.length < 1
338
338
  return false if !@password.nil? && @password.to_s.length < 1
339
339
  return false if !@download_concurrency.nil? && @download_concurrency < 1
340
- return false if !@total_timeout.nil? && @total_timeout < 0.0
341
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
342
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
343
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
340
+ return false if !@total_timeout.nil? && @total_timeout < 0
341
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
342
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
343
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
344
344
  true
345
345
  end
346
346
 
@@ -457,8 +457,8 @@ module PulpAnsibleClient
457
457
  # Custom attribute writer method with validation
458
458
  # @param [Object] total_timeout Value to be assigned
459
459
  def total_timeout=(total_timeout)
460
- if !total_timeout.nil? && total_timeout < 0.0
461
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
460
+ if !total_timeout.nil? && total_timeout < 0
461
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
462
462
  end
463
463
 
464
464
  @total_timeout = total_timeout
@@ -467,8 +467,8 @@ module PulpAnsibleClient
467
467
  # Custom attribute writer method with validation
468
468
  # @param [Object] connect_timeout Value to be assigned
469
469
  def connect_timeout=(connect_timeout)
470
- if !connect_timeout.nil? && connect_timeout < 0.0
471
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
470
+ if !connect_timeout.nil? && connect_timeout < 0
471
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
472
472
  end
473
473
 
474
474
  @connect_timeout = connect_timeout
@@ -477,8 +477,8 @@ module PulpAnsibleClient
477
477
  # Custom attribute writer method with validation
478
478
  # @param [Object] sock_connect_timeout Value to be assigned
479
479
  def sock_connect_timeout=(sock_connect_timeout)
480
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
481
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
480
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
481
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
482
482
  end
483
483
 
484
484
  @sock_connect_timeout = sock_connect_timeout
@@ -487,8 +487,8 @@ module PulpAnsibleClient
487
487
  # Custom attribute writer method with validation
488
488
  # @param [Object] sock_read_timeout Value to be assigned
489
489
  def sock_read_timeout=(sock_read_timeout)
490
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
491
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
490
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
491
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
492
492
  end
493
493
 
494
494
  @sock_read_timeout = sock_read_timeout
@@ -20,6 +20,9 @@ module PulpAnsibleClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  attr_accessor :versions_href
24
27
 
25
28
  attr_accessor :pulp_labels
@@ -43,6 +46,7 @@ module PulpAnsibleClient
43
46
  {
44
47
  :'pulp_href' => :'pulp_href',
45
48
  :'pulp_created' => :'pulp_created',
49
+ :'pulp_last_updated' => :'pulp_last_updated',
46
50
  :'versions_href' => :'versions_href',
47
51
  :'pulp_labels' => :'pulp_labels',
48
52
  :'latest_version_href' => :'latest_version_href',
@@ -58,6 +62,7 @@ module PulpAnsibleClient
58
62
  {
59
63
  :'pulp_href' => :'String',
60
64
  :'pulp_created' => :'DateTime',
65
+ :'pulp_last_updated' => :'DateTime',
61
66
  :'versions_href' => :'String',
62
67
  :'pulp_labels' => :'Hash<String, String>',
63
68
  :'latest_version_href' => :'String',
@@ -100,6 +105,10 @@ module PulpAnsibleClient
100
105
  self.pulp_created = attributes[:'pulp_created']
101
106
  end
102
107
 
108
+ if attributes.key?(:'pulp_last_updated')
109
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
110
+ end
111
+
103
112
  if attributes.key?(:'versions_href')
104
113
  self.versions_href = attributes[:'versions_href']
105
114
  end
@@ -171,6 +180,7 @@ module PulpAnsibleClient
171
180
  self.class == o.class &&
172
181
  pulp_href == o.pulp_href &&
173
182
  pulp_created == o.pulp_created &&
183
+ pulp_last_updated == o.pulp_last_updated &&
174
184
  versions_href == o.versions_href &&
175
185
  pulp_labels == o.pulp_labels &&
176
186
  latest_version_href == o.latest_version_href &&
@@ -189,7 +199,7 @@ module PulpAnsibleClient
189
199
  # Calculates hash code according to all attributes.
190
200
  # @return [Integer] Hash code
191
201
  def hash
192
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
202
+ [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
193
203
  end
194
204
 
195
205
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpAnsibleClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # 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.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  attr_accessor :number
24
27
 
25
28
  attr_accessor :repository
@@ -35,6 +38,7 @@ module PulpAnsibleClient
35
38
  {
36
39
  :'pulp_href' => :'pulp_href',
37
40
  :'pulp_created' => :'pulp_created',
41
+ :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'number' => :'number',
39
43
  :'repository' => :'repository',
40
44
  :'base_version' => :'base_version',
@@ -47,6 +51,7 @@ module PulpAnsibleClient
47
51
  {
48
52
  :'pulp_href' => :'String',
49
53
  :'pulp_created' => :'DateTime',
54
+ :'pulp_last_updated' => :'DateTime',
50
55
  :'number' => :'Integer',
51
56
  :'repository' => :'String',
52
57
  :'base_version' => :'String',
@@ -83,6 +88,10 @@ module PulpAnsibleClient
83
88
  self.pulp_created = attributes[:'pulp_created']
84
89
  end
85
90
 
91
+ if attributes.key?(:'pulp_last_updated')
92
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
93
+ end
94
+
86
95
  if attributes.key?(:'number')
87
96
  self.number = attributes[:'number']
88
97
  end
@@ -120,6 +129,7 @@ module PulpAnsibleClient
120
129
  self.class == o.class &&
121
130
  pulp_href == o.pulp_href &&
122
131
  pulp_created == o.pulp_created &&
132
+ pulp_last_updated == o.pulp_last_updated &&
123
133
  number == o.number &&
124
134
  repository == o.repository &&
125
135
  base_version == o.base_version &&
@@ -135,7 +145,7 @@ module PulpAnsibleClient
135
145
  # Calculates hash code according to all attributes.
136
146
  # @return [Integer] Hash code
137
147
  def hash
138
- [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
148
+ [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
139
149
  end
140
150
 
141
151
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpAnsibleClient
14
- VERSION = '0.21.6'
14
+ VERSION = '0.21.8'
15
15
  end
@@ -122,6 +122,7 @@ require 'pulp_ansible_client/models/unset_label_response'
122
122
  require 'pulp_ansible_client/api/ansible_collections_api'
123
123
  require 'pulp_ansible_client/api/ansible_copy_api'
124
124
  require 'pulp_ansible_client/api/api_collections_api'
125
+ require 'pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api'
125
126
  require 'pulp_ansible_client/api/api_roles_api'
126
127
  require 'pulp_ansible_client/api/collection_import_api'
127
128
  require 'pulp_ansible_client/api/content_collection_deprecations_api'
@@ -151,7 +152,6 @@ require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_coll
151
152
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api'
152
153
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api'
153
154
  require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api'
154
- require 'pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api'
155
155
  require 'pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api'
156
156
  require 'pulp_ansible_client/api/pulp_ansible_default_api_api'
157
157
  require 'pulp_ansible_client/api/pulp_ansible_default_api_v3_api'
@@ -13,28 +13,29 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi
16
+ # Unit tests for PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
- describe 'PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
19
+ describe 'ApiPluginAnsibleSearchCollectionVersionsApi' do
20
20
  before do
21
21
  # run before each test
22
- @api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.new
22
+ @api_instance = PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi.new
23
23
  end
24
24
 
25
25
  after do
26
26
  # run after each test
27
27
  end
28
28
 
29
- describe 'test an instance of PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
30
- it 'should create an instance of PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
31
- expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi)
29
+ describe 'test an instance of ApiPluginAnsibleSearchCollectionVersionsApi' do
30
+ it 'should create an instance of ApiPluginAnsibleSearchCollectionVersionsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpAnsibleClient::ApiPluginAnsibleSearchCollectionVersionsApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for list
36
+ # List cross repository collection version indexs
36
37
  # A viewset for cross-repo searches.
37
- # @param path
38
+ # @param ansible_cross_repository_collection_version_index_href
38
39
  # @param [Hash] opts the optional parameters
39
40
  # @option opts [String] :dependency
40
41
  # @option opts [Boolean] :deprecated
@@ -70,7 +71,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi' do
70
71
 
71
72
  # unit tests for rebuild
72
73
  # A viewset for cross-repo searches.
73
- # @param path
74
+ # @param ansible_cross_repository_collection_version_index_href
74
75
  # @param collection_version_search_list
75
76
  # @param [Hash] opts the optional parameters
76
77
  # @return [CollectionVersionSearchListResponse]
@@ -36,10 +36,10 @@ describe 'ContentCollectionVersionsApi' do
36
36
  # Create a collection version
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
40
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
39
41
  # @option opts [String] :artifact Artifact file representing the physical content
40
42
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
41
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
- # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
43
43
  # @option opts [String] :expected_name The name of the collection.
44
44
  # @option opts [String] :expected_namespace The namespace of the collection.
45
45
  # @option opts [String] :expected_version The version of the collection.
@@ -33,6 +33,7 @@ describe 'PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for list
36
+ # List cross repository collection version indexs
36
37
  # A viewset for cross-repo searches.
37
38
  # @param [Hash] opts the optional parameters
38
39
  # @option opts [String] :dependency
@@ -18,7 +18,7 @@ describe PulpAnsibleClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://pulp")
21
+ # uri = URI.parse("http://localhost:24817")
22
22
  # PulpAnsibleClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpAnsibleClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://pulp")
31
+ # expect(config.base_url).to eq("http://localhost:24817")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://pulp")
38
+ # expect(config.base_url).to eq("http://localhost:24817")
39
39
  end
40
40
  end
41
41
  end
@@ -44,6 +44,12 @@ describe 'AnsibleAnsibleRepositoryResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "versions_href"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'AnsibleCollectionRemoteResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "name"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -86,12 +92,6 @@ describe 'AnsibleCollectionRemoteResponse' do
86
92
  end
87
93
  end
88
94
 
89
- describe 'test attribute "pulp_last_updated"' do
90
- it 'should work' do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
95
  describe 'test attribute "download_concurrency"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,7 +32,13 @@ describe 'AnsibleCollectionVersionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "artifact"' do
35
+ describe 'test attribute "pulp_href"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "pulp_last_updated"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
44
  end
@@ -44,7 +50,7 @@ describe 'AnsibleCollectionVersionResponse' do
44
50
  end
45
51
  end
46
52
 
47
- describe 'test attribute "pulp_href"' do
53
+ describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
56
  end
@@ -44,6 +44,12 @@ describe 'AnsibleCollectionVersionSignatureResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "signed_collection"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,25 +32,25 @@ describe 'AnsibleCollectionVersion' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionVersion)
33
33
  end
34
34
  end
35
- describe 'test attribute "artifact"' do
35
+ describe 'test attribute "upload"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "file"' do
41
+ describe 'test attribute "repository"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "repository"' do
47
+ describe 'test attribute "artifact"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "upload"' do
53
+ describe 'test attribute "file"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,19 +32,19 @@ describe 'AnsibleGitRemoteResponse' do
32
32
  expect(@instance).to be_instance_of(PulpAnsibleClient::AnsibleGitRemoteResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "tls_validation"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "client_cert"' do
47
+ describe 'test attribute "pulp_last_updated"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -56,91 +56,91 @@ describe 'AnsibleGitRemoteResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "max_retries"' do
59
+ describe 'test attribute "client_cert"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_last_updated"' do
65
+ describe 'test attribute "rate_limit"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "ca_cert"' do
71
+ describe 'test attribute "url"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "connect_timeout"' do
77
+ describe 'test attribute "headers"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "tls_validation"' do
83
+ describe 'test attribute "download_concurrency"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  end
87
87
  end
88
88
 
89
- describe 'test attribute "headers"' do
89
+ describe 'test attribute "ca_cert"' do
90
90
  it 'should work' do
91
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "sock_connect_timeout"' do
95
+ describe 'test attribute "total_timeout"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
98
  end
99
99
  end
100
100
 
101
- describe 'test attribute "url"' do
101
+ describe 'test attribute "connect_timeout"' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
104
  end
105
105
  end
106
106
 
107
- describe 'test attribute "hidden_fields"' do
107
+ describe 'test attribute "max_retries"' do
108
108
  it 'should work' do
109
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
110
  end
111
111
  end
112
112
 
113
- describe 'test attribute "rate_limit"' do
113
+ describe 'test attribute "proxy_url"' do
114
114
  it 'should work' do
115
115
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
116
  end
117
117
  end
118
118
 
119
- describe 'test attribute "sock_read_timeout"' do
119
+ describe 'test attribute "pulp_labels"' do
120
120
  it 'should work' do
121
121
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
122
  end
123
123
  end
124
124
 
125
- describe 'test attribute "pulp_href"' do
125
+ describe 'test attribute "sock_read_timeout"' do
126
126
  it 'should work' do
127
127
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
128
  end
129
129
  end
130
130
 
131
- describe 'test attribute "download_concurrency"' do
131
+ describe 'test attribute "name"' do
132
132
  it 'should work' do
133
133
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
134
  end
135
135
  end
136
136
 
137
- describe 'test attribute "proxy_url"' do
137
+ describe 'test attribute "hidden_fields"' do
138
138
  it 'should work' do
139
139
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
140
  end
141
141
  end
142
142
 
143
- describe 'test attribute "total_timeout"' do
143
+ describe 'test attribute "sock_connect_timeout"' do
144
144
  it 'should work' do
145
145
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
146
  end