pulp_ansible_client 0.30.0 → 0.30.2

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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersionResponse.md +6 -6
  4. data/docs/AnsibleGitRemote.md +24 -24
  5. data/docs/AnsibleGitRemoteResponse.md +22 -22
  6. data/docs/AnsibleRepositorySyncURL.md +1 -1
  7. data/docs/AnsibleRole.md +2 -2
  8. data/docs/AnsibleRoleResponse.md +6 -6
  9. data/docs/CollectionSummaryResponse.md +1 -1
  10. data/docs/ContentCollectionDeprecationsApi.md +4 -0
  11. data/docs/ContentCollectionMarksApi.md +4 -0
  12. data/docs/ContentCollectionSignaturesApi.md +4 -0
  13. data/docs/ContentCollectionVersionsApi.md +10 -6
  14. data/docs/ContentNamespacesApi.md +4 -0
  15. data/docs/ContentRolesApi.md +4 -0
  16. data/docs/PatchedansibleGitRemote.md +24 -24
  17. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -0
  18. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
  19. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -0
  20. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
  21. data/docs/RemotesGitApi.md +2 -2
  22. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +6 -0
  23. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +6 -0
  24. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +6 -0
  25. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +15 -9
  26. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -0
  27. data/lib/pulp_ansible_client/api/content_roles_api.rb +6 -0
  28. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -0
  29. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
  30. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -0
  31. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
  32. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +27 -27
  33. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +242 -242
  34. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -145
  35. data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
  36. data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
  37. data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
  38. data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
  39. data/lib/pulp_ansible_client/models/nested_role.rb +1 -1
  40. data/lib/pulp_ansible_client/models/nested_role_response.rb +1 -1
  41. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +235 -235
  42. data/lib/pulp_ansible_client/models/repository.rb +1 -1
  43. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
  44. data/lib/pulp_ansible_client/models/repository_response.rb +1 -1
  45. data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
  46. data/lib/pulp_ansible_client/version.rb +1 -1
  47. data/spec/api/content_collection_deprecations_api_spec.rb +2 -0
  48. data/spec/api/content_collection_marks_api_spec.rb +2 -0
  49. data/spec/api/content_collection_signatures_api_spec.rb +2 -0
  50. data/spec/api/content_collection_versions_api_spec.rb +5 -3
  51. data/spec/api/content_namespaces_api_spec.rb +2 -0
  52. data/spec/api/content_roles_api_spec.rb +2 -0
  53. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -0
  54. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
  55. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -0
  56. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
  57. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  58. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  59. data/spec/models/ansible_git_remote_spec.rb +19 -19
  60. data/spec/models/ansible_role_response_spec.rb +5 -5
  61. data/spec/models/ansible_role_spec.rb +3 -3
  62. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  63. metadata +127 -127
@@ -16,25 +16,25 @@ require 'time'
16
16
  module PulpAnsibleClient
17
17
  # A serializer for Role versions.
18
18
  class AnsibleRoleResponse
19
- # Artifact file representing the physical content
20
- attr_accessor :artifact
19
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
20
+ attr_accessor :pulp_labels
21
21
 
22
22
  attr_accessor :pulp_href
23
23
 
24
24
  # Timestamp of creation.
25
25
  attr_accessor :pulp_created
26
26
 
27
- # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
- attr_accessor :pulp_labels
29
-
30
- # The Pulp Resource Name (PRN).
31
- attr_accessor :prn
27
+ # Artifact file representing the physical content
28
+ attr_accessor :artifact
32
29
 
33
30
  attr_accessor :vuln_report
34
31
 
35
32
  # 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.
36
33
  attr_accessor :pulp_last_updated
37
34
 
35
+ # The Pulp Resource Name (PRN).
36
+ attr_accessor :prn
37
+
38
38
  attr_accessor :version
39
39
 
40
40
  attr_accessor :name
@@ -44,13 +44,13 @@ module PulpAnsibleClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'artifact' => :'artifact',
47
+ :'pulp_labels' => :'pulp_labels',
48
48
  :'pulp_href' => :'pulp_href',
49
49
  :'pulp_created' => :'pulp_created',
50
- :'pulp_labels' => :'pulp_labels',
51
- :'prn' => :'prn',
50
+ :'artifact' => :'artifact',
52
51
  :'vuln_report' => :'vuln_report',
53
52
  :'pulp_last_updated' => :'pulp_last_updated',
53
+ :'prn' => :'prn',
54
54
  :'version' => :'version',
55
55
  :'name' => :'name',
56
56
  :'namespace' => :'namespace'
@@ -65,13 +65,13 @@ module PulpAnsibleClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'artifact' => :'String',
68
+ :'pulp_labels' => :'Hash<String, String>',
69
69
  :'pulp_href' => :'String',
70
70
  :'pulp_created' => :'Time',
71
- :'pulp_labels' => :'Hash<String, String>',
72
- :'prn' => :'String',
71
+ :'artifact' => :'String',
73
72
  :'vuln_report' => :'String',
74
73
  :'pulp_last_updated' => :'Time',
74
+ :'prn' => :'String',
75
75
  :'version' => :'String',
76
76
  :'name' => :'String',
77
77
  :'namespace' => :'String'
@@ -99,10 +99,10 @@ module PulpAnsibleClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'artifact')
103
- self.artifact = attributes[:'artifact']
104
- else
105
- self.artifact = nil
102
+ if attributes.key?(:'pulp_labels')
103
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
+ self.pulp_labels = value
105
+ end
106
106
  end
107
107
 
108
108
  if attributes.key?(:'pulp_href')
@@ -113,14 +113,10 @@ module PulpAnsibleClient
113
113
  self.pulp_created = attributes[:'pulp_created']
114
114
  end
115
115
 
116
- if attributes.key?(:'pulp_labels')
117
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
- self.pulp_labels = value
119
- end
120
- end
121
-
122
- if attributes.key?(:'prn')
123
- self.prn = attributes[:'prn']
116
+ if attributes.key?(:'artifact')
117
+ self.artifact = attributes[:'artifact']
118
+ else
119
+ self.artifact = nil
124
120
  end
125
121
 
126
122
  if attributes.key?(:'vuln_report')
@@ -131,6 +127,10 @@ module PulpAnsibleClient
131
127
  self.pulp_last_updated = attributes[:'pulp_last_updated']
132
128
  end
133
129
 
130
+ if attributes.key?(:'prn')
131
+ self.prn = attributes[:'prn']
132
+ end
133
+
134
134
  if attributes.key?(:'version')
135
135
  self.version = attributes[:'version']
136
136
  else
@@ -190,13 +190,13 @@ module PulpAnsibleClient
190
190
  def ==(o)
191
191
  return true if self.equal?(o)
192
192
  self.class == o.class &&
193
- artifact == o.artifact &&
193
+ pulp_labels == o.pulp_labels &&
194
194
  pulp_href == o.pulp_href &&
195
195
  pulp_created == o.pulp_created &&
196
- pulp_labels == o.pulp_labels &&
197
- prn == o.prn &&
196
+ artifact == o.artifact &&
198
197
  vuln_report == o.vuln_report &&
199
198
  pulp_last_updated == o.pulp_last_updated &&
199
+ prn == o.prn &&
200
200
  version == o.version &&
201
201
  name == o.name &&
202
202
  namespace == o.namespace
@@ -211,7 +211,7 @@ module PulpAnsibleClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [artifact, pulp_href, pulp_created, pulp_labels, prn, vuln_report, pulp_last_updated, version, name, namespace].hash
214
+ [pulp_labels, pulp_href, pulp_created, artifact, vuln_report, pulp_last_updated, prn, version, name, namespace].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -33,7 +33,7 @@ module PulpAnsibleClient
33
33
  # Timestamp of creation.
34
34
  attr_accessor :pulp_created
35
35
 
36
- # A JSON field with data about the contents.
36
+ # A JSON field with data about the contents. (Deliberately left empty in summary view.)
37
37
  attr_accessor :contents
38
38
 
39
39
  # A dict declaring Collections that this collection requires to be installed for it to be usable.
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpAnsibleClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRole
19
19
  attr_accessor :users
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module PulpAnsibleClient
17
- # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
17
+ # Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
18
18
  class NestedRoleResponse
19
19
  attr_accessor :users
20
20