pulp_ansible_client 0.20.9 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -8
  3. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  4. data/docs/AnsibleCollectionVersion.md +4 -4
  5. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  6. data/docs/AnsibleCollectionVersionSignature.md +3 -1
  7. data/docs/AnsibleCollectionsApi.md +1 -1
  8. data/docs/AnsibleCopyApi.md +1 -1
  9. data/docs/AnsibleGitRemote.md +25 -25
  10. data/docs/AnsibleGitRemoteResponse.md +22 -22
  11. data/docs/AnsibleRoleResponse.md +2 -2
  12. data/docs/ApiCollectionsApi.md +1 -1
  13. data/docs/ApiRolesApi.md +1 -1
  14. data/docs/CollectionImportApi.md +1 -1
  15. data/docs/ContentCollectionDeprecationsApi.md +1 -1
  16. data/docs/ContentCollectionMarksApi.md +1 -1
  17. data/docs/ContentCollectionSignaturesApi.md +8 -6
  18. data/docs/ContentCollectionVersionsApi.md +5 -5
  19. data/docs/ContentNamespacesApi.md +1 -1
  20. data/docs/ContentRolesApi.md +1 -1
  21. data/docs/DistributionsAnsibleApi.md +1 -1
  22. data/docs/GalaxyDetailApi.md +1 -1
  23. data/docs/PatchedansibleGitRemote.md +25 -25
  24. data/docs/PulpAnsibleApiApi.md +1 -1
  25. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  26. data/docs/PulpAnsibleApiV3Api.md +1 -1
  27. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  28. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  29. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
  30. data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
  32. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  33. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
  34. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  43. data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
  44. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  45. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  46. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  47. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  48. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
  64. data/docs/PulpAnsibleTagsApi.md +1 -1
  65. data/docs/RemotesCollectionApi.md +1 -1
  66. data/docs/RemotesGitApi.md +1 -1
  67. data/docs/RemotesRoleApi.md +1 -1
  68. data/docs/RepositoriesAnsibleApi.md +1 -1
  69. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  70. data/docs/TagResponse.md +3 -1
  71. data/docs/VersionsApi.md +1 -1
  72. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +9 -10
  73. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -5
  74. data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
  75. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
  76. data/lib/pulp_ansible_client/configuration.rb +2 -2
  77. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  78. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  79. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
  80. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +12 -12
  81. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  82. data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +12 -7
  83. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +227 -227
  84. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +135 -135
  85. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  86. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  87. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  88. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  89. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
  90. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  91. data/lib/pulp_ansible_client/models/tag_response.rb +13 -4
  92. data/lib/pulp_ansible_client/version.rb +1 -1
  93. data/lib/pulp_ansible_client.rb +1 -1
  94. data/spec/api/content_collection_signatures_api_spec.rb +2 -1
  95. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  96. data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
  97. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
  98. data/spec/configuration_spec.rb +3 -3
  99. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  100. data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
  101. data/spec/models/ansible_collection_version_spec.rb +4 -4
  102. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  103. data/spec/models/ansible_git_remote_spec.rb +18 -18
  104. data/spec/models/ansible_role_response_spec.rb +2 -2
  105. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  106. data/spec/models/tag_response_spec.rb +6 -0
  107. metadata +147 -147
@@ -18,11 +18,11 @@ module PulpAnsibleClient
18
18
  # Artifact file representing the physical content
19
19
  attr_accessor :artifact
20
20
 
21
+ attr_accessor :pulp_href
22
+
21
23
  # Timestamp of creation.
22
24
  attr_accessor :pulp_created
23
25
 
24
- attr_accessor :pulp_href
25
-
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'artifact' => :'artifact',
36
- :'pulp_created' => :'pulp_created',
37
36
  :'pulp_href' => :'pulp_href',
37
+ :'pulp_created' => :'pulp_created',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
40
40
  :'namespace' => :'namespace'
@@ -45,8 +45,8 @@ module PulpAnsibleClient
45
45
  def self.openapi_types
46
46
  {
47
47
  :'artifact' => :'String',
48
- :'pulp_created' => :'DateTime',
49
48
  :'pulp_href' => :'String',
49
+ :'pulp_created' => :'DateTime',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -78,14 +78,14 @@ module PulpAnsibleClient
78
78
  self.artifact = attributes[:'artifact']
79
79
  end
80
80
 
81
- if attributes.key?(:'pulp_created')
82
- self.pulp_created = attributes[:'pulp_created']
83
- end
84
-
85
81
  if attributes.key?(:'pulp_href')
86
82
  self.pulp_href = attributes[:'pulp_href']
87
83
  end
88
84
 
85
+ if attributes.key?(:'pulp_created')
86
+ self.pulp_created = attributes[:'pulp_created']
87
+ end
88
+
89
89
  if attributes.key?(:'version')
90
90
  self.version = attributes[:'version']
91
91
  end
@@ -138,8 +138,8 @@ module PulpAnsibleClient
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
140
  artifact == o.artifact &&
141
- pulp_created == o.pulp_created &&
142
141
  pulp_href == o.pulp_href &&
142
+ pulp_created == o.pulp_created &&
143
143
  version == o.version &&
144
144
  name == o.name &&
145
145
  namespace == o.namespace
@@ -154,7 +154,7 @@ module PulpAnsibleClient
154
154
  # Calculates hash code according to all attributes.
155
155
  # @return [Integer] Hash code
156
156
  def hash
157
- [artifact, pulp_created, pulp_href, version, name, namespace].hash
157
+ [artifact, pulp_href, pulp_created, version, name, namespace].hash
158
158
  end
159
159
 
160
160
  # Builds the object from hash
@@ -356,20 +356,20 @@ module PulpAnsibleClient
356
356
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
357
357
  end
358
358
 
359
- if !@total_timeout.nil? && @total_timeout < 0
360
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
359
+ if !@total_timeout.nil? && @total_timeout < 0.0
360
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
361
361
  end
362
362
 
363
- if !@connect_timeout.nil? && @connect_timeout < 0
364
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
363
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
364
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
365
365
  end
366
366
 
367
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
368
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
367
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
368
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
369
369
  end
370
370
 
371
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
372
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
371
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
372
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
373
373
  end
374
374
 
375
375
  if !@requirements_file.nil? && @requirements_file.to_s.length < 1
@@ -409,10 +409,10 @@ module PulpAnsibleClient
409
409
  return false if !@username.nil? && @username.to_s.length < 1
410
410
  return false if !@password.nil? && @password.to_s.length < 1
411
411
  return false if !@download_concurrency.nil? && @download_concurrency < 1
412
- return false if !@total_timeout.nil? && @total_timeout < 0
413
- return false if !@connect_timeout.nil? && @connect_timeout < 0
414
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
415
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
412
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
413
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
414
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
415
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
416
416
  return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
417
417
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
418
418
  return false if !@auth_url.nil? && @auth_url.to_s.length < 1
@@ -534,8 +534,8 @@ module PulpAnsibleClient
534
534
  # Custom attribute writer method with validation
535
535
  # @param [Object] total_timeout Value to be assigned
536
536
  def total_timeout=(total_timeout)
537
- if !total_timeout.nil? && total_timeout < 0
538
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
537
+ if !total_timeout.nil? && total_timeout < 0.0
538
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
539
539
  end
540
540
 
541
541
  @total_timeout = total_timeout
@@ -544,8 +544,8 @@ module PulpAnsibleClient
544
544
  # Custom attribute writer method with validation
545
545
  # @param [Object] connect_timeout Value to be assigned
546
546
  def connect_timeout=(connect_timeout)
547
- if !connect_timeout.nil? && connect_timeout < 0
548
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
547
+ if !connect_timeout.nil? && connect_timeout < 0.0
548
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
549
549
  end
550
550
 
551
551
  @connect_timeout = connect_timeout
@@ -554,8 +554,8 @@ module PulpAnsibleClient
554
554
  # Custom attribute writer method with validation
555
555
  # @param [Object] sock_connect_timeout Value to be assigned
556
556
  def sock_connect_timeout=(sock_connect_timeout)
557
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
558
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
557
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
558
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
559
559
  end
560
560
 
561
561
  @sock_connect_timeout = sock_connect_timeout
@@ -564,8 +564,8 @@ module PulpAnsibleClient
564
564
  # Custom attribute writer method with validation
565
565
  # @param [Object] sock_read_timeout Value to be assigned
566
566
  def sock_read_timeout=(sock_read_timeout)
567
- if !sock_read_timeout.nil? && sock_read_timeout < 0
568
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
567
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
568
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
569
569
  end
570
570
 
571
571
  @sock_read_timeout = sock_read_timeout