pulp_ansible_client 0.22.7 → 0.22.8

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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleAnsibleDistribution.md +5 -3
  4. data/docs/AnsibleAnsibleDistributionResponse.md +12 -4
  5. data/docs/AnsibleCollectionVersion.md +7 -7
  6. data/docs/AnsibleCollectionVersionResponse.md +7 -7
  7. data/docs/AnsibleGitRemote.md +26 -26
  8. data/docs/AnsibleGitRemoteResponse.md +28 -28
  9. data/docs/AnsibleRole.md +3 -3
  10. data/docs/AnsibleRoleResponse.md +5 -5
  11. data/docs/ContentCollectionVersionsApi.md +6 -6
  12. data/docs/PatchedansibleAnsibleDistribution.md +5 -3
  13. data/docs/PatchedansibleGitRemote.md +26 -26
  14. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  15. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +28 -16
  16. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
  17. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +28 -28
  18. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -25
  19. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +229 -229
  20. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
  21. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  22. data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
  23. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
  24. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
  25. data/lib/pulp_ansible_client/version.rb +1 -1
  26. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  27. data/spec/models/ansible_ansible_distribution_response_spec.rb +28 -4
  28. data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
  29. data/spec/models/ansible_collection_version_response_spec.rb +4 -4
  30. data/spec/models/ansible_collection_version_spec.rb +5 -5
  31. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  32. data/spec/models/ansible_git_remote_spec.rb +20 -20
  33. data/spec/models/ansible_role_response_spec.rb +4 -4
  34. data/spec/models/ansible_role_spec.rb +2 -2
  35. data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
  36. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  37. metadata +129 -129
@@ -21,6 +21,11 @@ module PulpAnsibleClient
21
21
  # An optional content-guard.
22
22
  attr_accessor :content_guard
23
23
 
24
+ # Whether this distribution should be shown in the content app.
25
+ attr_accessor :hidden
26
+
27
+ attr_accessor :pulp_labels
28
+
24
29
  # A unique name. Ex, `rawhide` and `stable`.
25
30
  attr_accessor :name
26
31
 
@@ -30,17 +35,16 @@ module PulpAnsibleClient
30
35
  # RepositoryVersion to be served
31
36
  attr_accessor :repository_version
32
37
 
33
- attr_accessor :pulp_labels
34
-
35
38
  # Attribute mapping from ruby-style variable name to JSON key.
36
39
  def self.attribute_map
37
40
  {
38
41
  :'base_path' => :'base_path',
39
42
  :'content_guard' => :'content_guard',
43
+ :'hidden' => :'hidden',
44
+ :'pulp_labels' => :'pulp_labels',
40
45
  :'name' => :'name',
41
46
  :'repository' => :'repository',
42
- :'repository_version' => :'repository_version',
43
- :'pulp_labels' => :'pulp_labels'
47
+ :'repository_version' => :'repository_version'
44
48
  }
45
49
  end
46
50
 
@@ -49,10 +53,11 @@ module PulpAnsibleClient
49
53
  {
50
54
  :'base_path' => :'String',
51
55
  :'content_guard' => :'String',
56
+ :'hidden' => :'Boolean',
57
+ :'pulp_labels' => :'Hash<String, String>',
52
58
  :'name' => :'String',
53
59
  :'repository' => :'String',
54
- :'repository_version' => :'String',
55
- :'pulp_labels' => :'Hash<String, String>'
60
+ :'repository_version' => :'String'
56
61
  }
57
62
  end
58
63
 
@@ -61,7 +66,7 @@ module PulpAnsibleClient
61
66
  Set.new([
62
67
  :'content_guard',
63
68
  :'repository',
64
- :'repository_version',
69
+ :'repository_version'
65
70
  ])
66
71
  end
67
72
 
@@ -88,6 +93,18 @@ module PulpAnsibleClient
88
93
  self.content_guard = attributes[:'content_guard']
89
94
  end
90
95
 
96
+ if attributes.key?(:'hidden')
97
+ self.hidden = attributes[:'hidden']
98
+ else
99
+ self.hidden = false
100
+ end
101
+
102
+ if attributes.key?(:'pulp_labels')
103
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
+ self.pulp_labels = value
105
+ end
106
+ end
107
+
91
108
  if attributes.key?(:'name')
92
109
  self.name = attributes[:'name']
93
110
  end
@@ -99,12 +116,6 @@ module PulpAnsibleClient
99
116
  if attributes.key?(:'repository_version')
100
117
  self.repository_version = attributes[:'repository_version']
101
118
  end
102
-
103
- if attributes.key?(:'pulp_labels')
104
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
105
- self.pulp_labels = value
106
- end
107
- end
108
119
  end
109
120
 
110
121
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -157,10 +168,11 @@ module PulpAnsibleClient
157
168
  self.class == o.class &&
158
169
  base_path == o.base_path &&
159
170
  content_guard == o.content_guard &&
171
+ hidden == o.hidden &&
172
+ pulp_labels == o.pulp_labels &&
160
173
  name == o.name &&
161
174
  repository == o.repository &&
162
- repository_version == o.repository_version &&
163
- pulp_labels == o.pulp_labels
175
+ repository_version == o.repository_version
164
176
  end
165
177
 
166
178
  # @see the `==` method
@@ -172,7 +184,7 @@ module PulpAnsibleClient
172
184
  # Calculates hash code according to all attributes.
173
185
  # @return [Integer] Hash code
174
186
  def hash
175
- [base_path, content_guard, name, repository, repository_version, pulp_labels].hash
187
+ [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
176
188
  end
177
189
 
178
190
  # Builds the object from hash