pulp_ansible_client 0.28.8 → 0.29.0

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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleDistribution.md +3 -5
  4. data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
  5. data/docs/AnsibleCollectionVersionResponse.md +12 -4
  6. data/docs/AnsibleGitRemote.md +22 -22
  7. data/docs/AnsibleGitRemoteResponse.md +24 -24
  8. data/docs/AnsibleRole.md +2 -2
  9. data/docs/AnsibleRoleResponse.md +4 -4
  10. data/docs/ContentCollectionVersionsApi.md +8 -8
  11. data/docs/PatchedansibleAnsibleDistribution.md +3 -5
  12. data/docs/PatchedansibleGitRemote.md +22 -22
  13. data/docs/RemotesGitApi.md +2 -2
  14. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
  15. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  16. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  17. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
  18. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
  19. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  20. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  21. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +62 -20
  22. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +189 -189
  23. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +131 -131
  24. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  25. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
  26. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
  27. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +184 -184
  28. data/lib/pulp_ansible_client/version.rb +1 -1
  29. data/spec/api/content_collection_versions_api_spec.rb +4 -4
  30. data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -28
  31. data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
  32. data/spec/models/ansible_collection_version_response_spec.rb +30 -6
  33. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  34. data/spec/models/ansible_git_remote_spec.rb +18 -18
  35. data/spec/models/ansible_role_response_spec.rb +6 -6
  36. data/spec/models/ansible_role_spec.rb +2 -2
  37. data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
  38. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  39. metadata +122 -122
@@ -22,11 +22,6 @@ module PulpAnsibleClient
22
22
  # An optional content-guard.
23
23
  attr_accessor :content_guard
24
24
 
25
- # Whether this distribution should be shown in the content app.
26
- attr_accessor :hidden
27
-
28
- attr_accessor :pulp_labels
29
-
30
25
  # A unique name. Ex, `rawhide` and `stable`.
31
26
  attr_accessor :name
32
27
 
@@ -36,16 +31,17 @@ module PulpAnsibleClient
36
31
  # RepositoryVersion to be served
37
32
  attr_accessor :repository_version
38
33
 
34
+ attr_accessor :pulp_labels
35
+
39
36
  # Attribute mapping from ruby-style variable name to JSON key.
40
37
  def self.attribute_map
41
38
  {
42
39
  :'base_path' => :'base_path',
43
40
  :'content_guard' => :'content_guard',
44
- :'hidden' => :'hidden',
45
- :'pulp_labels' => :'pulp_labels',
46
41
  :'name' => :'name',
47
42
  :'repository' => :'repository',
48
- :'repository_version' => :'repository_version'
43
+ :'repository_version' => :'repository_version',
44
+ :'pulp_labels' => :'pulp_labels'
49
45
  }
50
46
  end
51
47
 
@@ -59,11 +55,10 @@ module PulpAnsibleClient
59
55
  {
60
56
  :'base_path' => :'String',
61
57
  :'content_guard' => :'String',
62
- :'hidden' => :'Boolean',
63
- :'pulp_labels' => :'Hash<String, String>',
64
58
  :'name' => :'String',
65
59
  :'repository' => :'String',
66
- :'repository_version' => :'String'
60
+ :'repository_version' => :'String',
61
+ :'pulp_labels' => :'Hash<String, String>'
67
62
  }
68
63
  end
69
64
 
@@ -72,7 +67,7 @@ module PulpAnsibleClient
72
67
  Set.new([
73
68
  :'content_guard',
74
69
  :'repository',
75
- :'repository_version'
70
+ :'repository_version',
76
71
  ])
77
72
  end
78
73
 
@@ -99,18 +94,6 @@ module PulpAnsibleClient
99
94
  self.content_guard = attributes[:'content_guard']
100
95
  end
101
96
 
102
- if attributes.key?(:'hidden')
103
- self.hidden = attributes[:'hidden']
104
- else
105
- self.hidden = false
106
- end
107
-
108
- if attributes.key?(:'pulp_labels')
109
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
- self.pulp_labels = value
111
- end
112
- end
113
-
114
97
  if attributes.key?(:'name')
115
98
  self.name = attributes[:'name']
116
99
  end
@@ -122,6 +105,12 @@ module PulpAnsibleClient
122
105
  if attributes.key?(:'repository_version')
123
106
  self.repository_version = attributes[:'repository_version']
124
107
  end
108
+
109
+ if attributes.key?(:'pulp_labels')
110
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
+ self.pulp_labels = value
112
+ end
113
+ end
125
114
  end
126
115
 
127
116
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -184,11 +173,10 @@ module PulpAnsibleClient
184
173
  self.class == o.class &&
185
174
  base_path == o.base_path &&
186
175
  content_guard == o.content_guard &&
187
- hidden == o.hidden &&
188
- pulp_labels == o.pulp_labels &&
189
176
  name == o.name &&
190
177
  repository == o.repository &&
191
- repository_version == o.repository_version
178
+ repository_version == o.repository_version &&
179
+ pulp_labels == o.pulp_labels
192
180
  end
193
181
 
194
182
  # @see the `==` method
@@ -200,7 +188,7 @@ module PulpAnsibleClient
200
188
  # Calculates hash code according to all attributes.
201
189
  # @return [Integer] Hash code
202
190
  def hash
203
- [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
191
+ [base_path, content_guard, name, repository, repository_version, pulp_labels].hash
204
192
  end
205
193
 
206
194
  # Builds the object from hash