pulp_ansible_client 0.22.1 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  5. data/docs/AnsibleCollectionRemoteResponse.md +2 -0
  6. data/docs/AnsibleCollectionVersion.md +7 -5
  7. data/docs/AnsibleCollectionVersionResponse.md +11 -9
  8. data/docs/AnsibleCollectionVersionSignature.md +2 -0
  9. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  10. data/docs/AnsibleCollectionsApi.md +4 -2
  11. data/docs/AnsibleGitRemote.md +29 -29
  12. data/docs/AnsibleGitRemoteResponse.md +26 -24
  13. data/docs/AnsibleRole.md +3 -3
  14. data/docs/AnsibleRoleRemoteResponse.md +2 -0
  15. data/docs/AnsibleRoleResponse.md +6 -4
  16. data/docs/CollectionImportDetailResponse.md +2 -2
  17. data/docs/CollectionSummaryResponse.md +2 -2
  18. data/docs/CollectionVersionDocsResponse.md +1 -1
  19. data/docs/CollectionVersionResponse.md +2 -2
  20. data/docs/CollectionVersionSearchList.md +0 -2
  21. data/docs/ContentCollectionDeprecationsApi.md +10 -8
  22. data/docs/ContentCollectionMarksApi.md +10 -8
  23. data/docs/ContentCollectionSignaturesApi.md +13 -9
  24. data/docs/ContentCollectionVersionsApi.md +16 -14
  25. data/docs/ContentNamespacesApi.md +10 -8
  26. data/docs/ContentRolesApi.md +10 -8
  27. data/docs/Copy.md +1 -1
  28. data/docs/DistributionsAnsibleApi.md +4 -2
  29. data/docs/PatchedansibleGitRemote.md +29 -29
  30. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -2
  31. data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -2
  32. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -10
  33. data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -2
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -10
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -2
  38. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -2
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +4 -2
  40. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -10
  41. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -2
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -10
  45. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -2
  46. data/docs/RemotesCollectionApi.md +4 -2
  47. data/docs/RemotesGitApi.md +4 -2
  48. data/docs/RemotesRoleApi.md +4 -2
  49. data/docs/RepositoriesAnsibleApi.md +8 -6
  50. data/docs/RepositoriesAnsibleVersionsApi.md +8 -6
  51. data/docs/RepositoryResponse.md +2 -0
  52. data/docs/RepositoryVersionResponse.md +2 -0
  53. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
  54. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
  55. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
  56. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
  57. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +25 -18
  58. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
  59. data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
  60. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
  62. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
  63. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -12
  64. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
  65. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
  66. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
  67. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -12
  68. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
  69. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -12
  72. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
  73. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
  74. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
  75. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -12
  76. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
  77. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
  78. data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
  79. data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
  80. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
  81. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
  82. data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
  83. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  84. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -1
  85. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +43 -18
  86. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -23
  87. data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
  88. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  89. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -248
  90. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +163 -153
  91. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  92. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -1
  93. data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -18
  94. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  95. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  96. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  97. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  98. data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
  99. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  100. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
  101. data/lib/pulp_ansible_client/models/repository.rb +1 -1
  102. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
  103. data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
  104. data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
  105. data/lib/pulp_ansible_client/version.rb +1 -1
  106. data/spec/api/ansible_collections_api_spec.rb +2 -1
  107. data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
  108. data/spec/api/content_collection_marks_api_spec.rb +5 -4
  109. data/spec/api/content_collection_signatures_api_spec.rb +6 -4
  110. data/spec/api/content_collection_versions_api_spec.rb +8 -7
  111. data/spec/api/content_namespaces_api_spec.rb +5 -4
  112. data/spec/api/content_roles_api_spec.rb +5 -4
  113. data/spec/api/distributions_ansible_api_spec.rb +2 -1
  114. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
  115. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
  116. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -5
  117. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
  118. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
  119. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
  120. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -5
  121. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
  122. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
  123. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
  124. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -5
  125. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
  126. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
  127. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
  128. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -5
  129. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
  130. data/spec/api/remotes_collection_api_spec.rb +2 -1
  131. data/spec/api/remotes_git_api_spec.rb +2 -1
  132. data/spec/api/remotes_role_api_spec.rb +2 -1
  133. data/spec/api/repositories_ansible_api_spec.rb +4 -3
  134. data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
  135. data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
  136. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  137. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  138. data/spec/models/ansible_collection_version_response_spec.rb +9 -3
  139. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  140. data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
  141. data/spec/models/ansible_collection_version_spec.rb +9 -3
  142. data/spec/models/ansible_git_remote_response_spec.rb +24 -18
  143. data/spec/models/ansible_git_remote_spec.rb +20 -20
  144. data/spec/models/ansible_role_remote_response_spec.rb +6 -0
  145. data/spec/models/ansible_role_response_spec.rb +9 -3
  146. data/spec/models/ansible_role_spec.rb +2 -2
  147. data/spec/models/collection_version_search_list_spec.rb +0 -6
  148. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  149. data/spec/models/repository_response_spec.rb +6 -0
  150. data/spec/models/repository_version_response_spec.rb +6 -0
  151. metadata +127 -127
@@ -15,17 +15,20 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
18
+ # The Pulp Resource Name (PRN).
19
+ attr_accessor :prn
20
+
21
+ # Artifact file representing the physical content
22
+ attr_accessor :artifact
20
23
 
21
24
  attr_accessor :pulp_href
22
25
 
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
28
+
23
29
  # 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
30
  attr_accessor :pulp_last_updated
25
31
 
26
- # Artifact file representing the physical content
27
- attr_accessor :artifact
28
-
29
32
  attr_accessor :version
30
33
 
31
34
  attr_accessor :name
@@ -35,10 +38,11 @@ module PulpAnsibleClient
35
38
  # Attribute mapping from ruby-style variable name to JSON key.
36
39
  def self.attribute_map
37
40
  {
38
- :'pulp_created' => :'pulp_created',
41
+ :'prn' => :'prn',
42
+ :'artifact' => :'artifact',
39
43
  :'pulp_href' => :'pulp_href',
44
+ :'pulp_created' => :'pulp_created',
40
45
  :'pulp_last_updated' => :'pulp_last_updated',
41
- :'artifact' => :'artifact',
42
46
  :'version' => :'version',
43
47
  :'name' => :'name',
44
48
  :'namespace' => :'namespace'
@@ -48,10 +52,11 @@ module PulpAnsibleClient
48
52
  # Attribute type mapping.
49
53
  def self.openapi_types
50
54
  {
51
- :'pulp_created' => :'DateTime',
55
+ :'prn' => :'String',
56
+ :'artifact' => :'String',
52
57
  :'pulp_href' => :'String',
58
+ :'pulp_created' => :'DateTime',
53
59
  :'pulp_last_updated' => :'DateTime',
54
- :'artifact' => :'String',
55
60
  :'version' => :'String',
56
61
  :'name' => :'String',
57
62
  :'namespace' => :'String'
@@ -79,20 +84,24 @@ module PulpAnsibleClient
79
84
  h[k.to_sym] = v
80
85
  }
81
86
 
82
- if attributes.key?(:'pulp_created')
83
- self.pulp_created = attributes[:'pulp_created']
87
+ if attributes.key?(:'prn')
88
+ self.prn = attributes[:'prn']
89
+ end
90
+
91
+ if attributes.key?(:'artifact')
92
+ self.artifact = attributes[:'artifact']
84
93
  end
85
94
 
86
95
  if attributes.key?(:'pulp_href')
87
96
  self.pulp_href = attributes[:'pulp_href']
88
97
  end
89
98
 
90
- if attributes.key?(:'pulp_last_updated')
91
- self.pulp_last_updated = attributes[:'pulp_last_updated']
99
+ if attributes.key?(:'pulp_created')
100
+ self.pulp_created = attributes[:'pulp_created']
92
101
  end
93
102
 
94
- if attributes.key?(:'artifact')
95
- self.artifact = attributes[:'artifact']
103
+ if attributes.key?(:'pulp_last_updated')
104
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
96
105
  end
97
106
 
98
107
  if attributes.key?(:'version')
@@ -146,10 +155,11 @@ module PulpAnsibleClient
146
155
  def ==(o)
147
156
  return true if self.equal?(o)
148
157
  self.class == o.class &&
149
- pulp_created == o.pulp_created &&
158
+ prn == o.prn &&
159
+ artifact == o.artifact &&
150
160
  pulp_href == o.pulp_href &&
161
+ pulp_created == o.pulp_created &&
151
162
  pulp_last_updated == o.pulp_last_updated &&
152
- artifact == o.artifact &&
153
163
  version == o.version &&
154
164
  name == o.name &&
155
165
  namespace == o.namespace
@@ -164,7 +174,7 @@ module PulpAnsibleClient
164
174
  # Calculates hash code according to all attributes.
165
175
  # @return [Integer] Hash code
166
176
  def hash
167
- [pulp_created, pulp_href, pulp_last_updated, artifact, version, name, namespace].hash
177
+ [prn, artifact, pulp_href, pulp_created, pulp_last_updated, version, name, namespace].hash
168
178
  end
169
179
 
170
180
  # Builds the object from hash
@@ -54,8 +54,8 @@ module PulpAnsibleClient
54
54
  :'updated_at' => :'DateTime',
55
55
  :'started_at' => :'DateTime',
56
56
  :'finished_at' => :'DateTime',
57
- :'error' => :'AnyType',
58
- :'messages' => :'AnyType'
57
+ :'error' => :'Object',
58
+ :'messages' => :'Object'
59
59
  }
60
60
  end
61
61
 
@@ -68,8 +68,8 @@ module PulpAnsibleClient
68
68
  :'version' => :'String',
69
69
  :'requires_ansible' => :'String',
70
70
  :'pulp_created' => :'DateTime',
71
- :'contents' => :'AnyType',
72
- :'dependencies' => :'AnyType',
71
+ :'contents' => :'Object',
72
+ :'dependencies' => :'Object',
73
73
  :'description' => :'String',
74
74
  :'tags' => :'Array<AnsibleTagResponse>'
75
75
  }
@@ -27,7 +27,7 @@ module PulpAnsibleClient
27
27
  # Attribute type mapping.
28
28
  def self.openapi_types
29
29
  {
30
- :'docs_blob' => :'AnyType'
30
+ :'docs_blob' => :'Object'
31
31
  }
32
32
  end
33
33
 
@@ -97,8 +97,8 @@ module PulpAnsibleClient
97
97
  :'metadata' => :'CollectionMetadataResponse',
98
98
  :'git_url' => :'String',
99
99
  :'git_commit_sha' => :'String',
100
- :'manifest' => :'AnyType',
101
- :'files' => :'AnyType'
100
+ :'manifest' => :'Object',
101
+ :'files' => :'Object'
102
102
  }
103
103
  end
104
104
 
@@ -17,9 +17,6 @@ module PulpAnsibleClient
17
17
  class CollectionVersionSearchList
18
18
  attr_accessor :repository
19
19
 
20
- # Collection Version serializer without docs blob.
21
- attr_accessor :collection_version
22
-
23
20
  attr_accessor :namespace_metadata
24
21
 
25
22
  attr_accessor :is_highest
@@ -32,7 +29,6 @@ module PulpAnsibleClient
32
29
  def self.attribute_map
33
30
  {
34
31
  :'repository' => :'repository',
35
- :'collection_version' => :'collection_version',
36
32
  :'namespace_metadata' => :'namespace_metadata',
37
33
  :'is_highest' => :'is_highest',
38
34
  :'is_deprecated' => :'is_deprecated',
@@ -44,7 +40,6 @@ module PulpAnsibleClient
44
40
  def self.openapi_types
45
41
  {
46
42
  :'repository' => :'Repository',
47
- :'collection_version' => :'Object',
48
43
  :'namespace_metadata' => :'AnsibleAnsibleNamespaceMetadata',
49
44
  :'is_highest' => :'Boolean',
50
45
  :'is_deprecated' => :'Boolean',
@@ -78,10 +73,6 @@ module PulpAnsibleClient
78
73
  self.repository = attributes[:'repository']
79
74
  end
80
75
 
81
- if attributes.key?(:'collection_version')
82
- self.collection_version = attributes[:'collection_version']
83
- end
84
-
85
76
  if attributes.key?(:'namespace_metadata')
86
77
  self.namespace_metadata = attributes[:'namespace_metadata']
87
78
  end
@@ -107,10 +98,6 @@ module PulpAnsibleClient
107
98
  invalid_properties.push('invalid value for "repository", repository cannot be nil.')
108
99
  end
109
100
 
110
- if @collection_version.nil?
111
- invalid_properties.push('invalid value for "collection_version", collection_version cannot be nil.')
112
- end
113
-
114
101
  if @is_highest.nil?
115
102
  invalid_properties.push('invalid value for "is_highest", is_highest cannot be nil.')
116
103
  end
@@ -130,7 +117,6 @@ module PulpAnsibleClient
130
117
  # @return true if the model is valid
131
118
  def valid?
132
119
  return false if @repository.nil?
133
- return false if @collection_version.nil?
134
120
  return false if @is_highest.nil?
135
121
  return false if @is_deprecated.nil?
136
122
  return false if @is_signed.nil?
@@ -143,7 +129,6 @@ module PulpAnsibleClient
143
129
  return true if self.equal?(o)
144
130
  self.class == o.class &&
145
131
  repository == o.repository &&
146
- collection_version == o.collection_version &&
147
132
  namespace_metadata == o.namespace_metadata &&
148
133
  is_highest == o.is_highest &&
149
134
  is_deprecated == o.is_deprecated &&
@@ -159,7 +144,7 @@ module PulpAnsibleClient
159
144
  # Calculates hash code according to all attributes.
160
145
  # @return [Integer] Hash code
161
146
  def hash
162
- [repository, collection_version, namespace_metadata, is_highest, is_deprecated, is_signed].hash
147
+ [repository, namespace_metadata, is_highest, is_deprecated, is_signed].hash
163
148
  end
164
149
 
165
150
  # Builds the object from hash
@@ -28,7 +28,7 @@ module PulpAnsibleClient
28
28
  # Attribute type mapping.
29
29
  def self.openapi_types
30
30
  {
31
- :'config' => :'AnyType'
31
+ :'config' => :'Object'
32
32
  }
33
33
  end
34
34