pulp_ansible_client 0.20.6 → 0.20.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) 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 +3 -3
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleCollectionsApi.md +1 -1
  7. data/docs/AnsibleCopyApi.md +1 -1
  8. data/docs/AnsibleGitRemote.md +26 -26
  9. data/docs/AnsibleGitRemoteResponse.md +24 -24
  10. data/docs/AnsibleRoleResponse.md +3 -3
  11. data/docs/ApiCollectionsApi.md +1 -1
  12. data/docs/{PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md → ApiPluginAnsibleSearchCollectionVersionsApi.md} +18 -17
  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 +1 -1
  18. data/docs/ContentCollectionVersionsApi.md +3 -3
  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 +26 -26
  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/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  44. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  45. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  46. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  47. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  48. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
  49. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  54. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
  55. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  56. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -3
  63. data/docs/PulpAnsibleTagsApi.md +1 -1
  64. data/docs/RemotesCollectionApi.md +1 -1
  65. data/docs/RemotesGitApi.md +1 -1
  66. data/docs/RemotesRoleApi.md +1 -1
  67. data/docs/RepositoriesAnsibleApi.md +1 -1
  68. data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
  69. data/docs/VersionsApi.md +1 -1
  70. 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
  71. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  72. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -0
  73. data/lib/pulp_ansible_client/configuration.rb +2 -2
  74. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  75. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  76. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  77. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  78. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
  79. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -220
  80. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
  81. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  82. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  83. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  84. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  85. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +216 -216
  86. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  87. data/lib/pulp_ansible_client/version.rb +1 -1
  88. data/lib/pulp_ansible_client.rb +1 -1
  89. 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
  90. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  91. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -0
  92. data/spec/configuration_spec.rb +3 -3
  93. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  94. data/spec/models/ansible_collection_version_spec.rb +4 -4
  95. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  96. data/spec/models/ansible_git_remote_spec.rb +20 -20
  97. data/spec/models/ansible_role_response_spec.rb +3 -3
  98. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  99. metadata +148 -148
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
- attr_accessor :pulp_href
19
-
20
18
  # Timestamp of creation.
21
19
  attr_accessor :pulp_created
22
20
 
23
21
  # Artifact file representing the physical content
24
22
  attr_accessor :artifact
25
23
 
24
+ attr_accessor :pulp_href
25
+
26
26
  attr_accessor :version
27
27
 
28
28
  attr_accessor :name
@@ -32,9 +32,9 @@ module PulpAnsibleClient
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'pulp_href' => :'pulp_href',
36
35
  :'pulp_created' => :'pulp_created',
37
36
  :'artifact' => :'artifact',
37
+ :'pulp_href' => :'pulp_href',
38
38
  :'version' => :'version',
39
39
  :'name' => :'name',
40
40
  :'namespace' => :'namespace'
@@ -44,9 +44,9 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'pulp_href' => :'String',
48
47
  :'pulp_created' => :'DateTime',
49
48
  :'artifact' => :'String',
49
+ :'pulp_href' => :'String',
50
50
  :'version' => :'String',
51
51
  :'name' => :'String',
52
52
  :'namespace' => :'String'
@@ -74,10 +74,6 @@ module PulpAnsibleClient
74
74
  h[k.to_sym] = v
75
75
  }
76
76
 
77
- if attributes.key?(:'pulp_href')
78
- self.pulp_href = attributes[:'pulp_href']
79
- end
80
-
81
77
  if attributes.key?(:'pulp_created')
82
78
  self.pulp_created = attributes[:'pulp_created']
83
79
  end
@@ -86,6 +82,10 @@ module PulpAnsibleClient
86
82
  self.artifact = attributes[:'artifact']
87
83
  end
88
84
 
85
+ if attributes.key?(:'pulp_href')
86
+ self.pulp_href = attributes[:'pulp_href']
87
+ end
88
+
89
89
  if attributes.key?(:'version')
90
90
  self.version = attributes[:'version']
91
91
  end
@@ -137,9 +137,9 @@ module PulpAnsibleClient
137
137
  def ==(o)
138
138
  return true if self.equal?(o)
139
139
  self.class == o.class &&
140
- pulp_href == o.pulp_href &&
141
140
  pulp_created == o.pulp_created &&
142
141
  artifact == o.artifact &&
142
+ pulp_href == o.pulp_href &&
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
- [pulp_href, pulp_created, artifact, version, name, namespace].hash
157
+ [pulp_created, artifact, pulp_href, 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.0
360
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
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.')
361
361
  end
362
362
 
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.')
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.')
365
365
  end
366
366
 
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.')
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.')
369
369
  end
370
370
 
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.')
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.')
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.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
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
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.0
538
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
537
+ if !total_timeout.nil? && total_timeout < 0
538
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 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.0
548
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
547
+ if !connect_timeout.nil? && connect_timeout < 0
548
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 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.0
558
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
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.'
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.0
568
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
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.'
569
569
  end
570
570
 
571
571
  @sock_read_timeout = sock_read_timeout