pulp_ansible_client 0.29.9 → 0.30.1

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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionRemote.md +3 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +2 -0
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleGitRemote.md +26 -26
  7. data/docs/AnsibleGitRemoteResponse.md +24 -24
  8. data/docs/AnsibleRepositorySyncURL.md +1 -1
  9. data/docs/AnsibleRole.md +4 -4
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/CollectionSummaryResponse.md +1 -1
  12. data/docs/ContentCollectionDeprecationsApi.md +4 -0
  13. data/docs/ContentCollectionMarksApi.md +4 -0
  14. data/docs/ContentCollectionSignaturesApi.md +4 -0
  15. data/docs/ContentCollectionVersionsApi.md +12 -8
  16. data/docs/ContentNamespacesApi.md +4 -0
  17. data/docs/ContentRolesApi.md +4 -0
  18. data/docs/PatchedansibleCollectionRemote.md +3 -1
  19. data/docs/PatchedansibleGitRemote.md +26 -26
  20. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -0
  21. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
  22. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -0
  23. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
  24. data/docs/RemotesCollectionApi.md +2 -2
  25. data/docs/RemotesGitApi.md +2 -2
  26. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +6 -0
  27. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +6 -0
  28. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +6 -0
  29. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +18 -12
  30. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -0
  31. data/lib/pulp_ansible_client/api/content_roles_api.rb +6 -0
  32. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -0
  33. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
  34. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -0
  35. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
  36. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +3 -3
  37. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +30 -4
  38. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
  39. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +20 -20
  40. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +227 -227
  41. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +158 -158
  42. data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
  43. data/lib/pulp_ansible_client/models/ansible_role.rb +18 -18
  44. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
  45. data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
  46. data/lib/pulp_ansible_client/models/nested_role.rb +1 -1
  47. data/lib/pulp_ansible_client/models/nested_role_response.rb +1 -1
  48. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +30 -4
  49. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
  50. data/lib/pulp_ansible_client/models/repository.rb +1 -1
  51. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
  52. data/lib/pulp_ansible_client/models/repository_response.rb +1 -1
  53. data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
  54. data/lib/pulp_ansible_client/version.rb +1 -1
  55. data/spec/api/content_collection_deprecations_api_spec.rb +2 -0
  56. data/spec/api/content_collection_marks_api_spec.rb +2 -0
  57. data/spec/api/content_collection_signatures_api_spec.rb +2 -0
  58. data/spec/api/content_collection_versions_api_spec.rb +6 -4
  59. data/spec/api/content_namespaces_api_spec.rb +2 -0
  60. data/spec/api/content_roles_api_spec.rb +2 -0
  61. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -0
  62. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
  63. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -0
  64. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
  65. data/spec/api/remotes_collection_api_spec.rb +1 -1
  66. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  67. data/spec/models/ansible_collection_remote_spec.rb +6 -0
  68. data/spec/models/ansible_collection_version_response_spec.rb +6 -6
  69. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  70. data/spec/models/ansible_git_remote_spec.rb +18 -18
  71. data/spec/models/ansible_role_response_spec.rb +6 -6
  72. data/spec/models/ansible_role_spec.rb +4 -4
  73. data/spec/models/patchedansible_collection_remote_spec.rb +6 -0
  74. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  75. metadata +125 -125
@@ -107,6 +107,7 @@ module PulpAnsibleClient
107
107
  # @param path [String]
108
108
  # @param [Hash] opts the optional parameters
109
109
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
+ # @option opts [Array<String>] :added_between
110
111
  # @option opts [Integer] :limit Number of results to return per page.
111
112
  # @option opts [String] :name2
112
113
  # @option opts [String] :namespace2
@@ -118,6 +119,7 @@ module PulpAnsibleClient
118
119
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
119
120
  # @option opts [String] :pulp_label_select Filter labels by search string
120
121
  # @option opts [String] :q
122
+ # @option opts [Array<String>] :removed_between
121
123
  # @option opts [String] :repository_version
122
124
  # @option opts [String] :repository_version_added
123
125
  # @option opts [String] :repository_version_removed
@@ -137,6 +139,7 @@ module PulpAnsibleClient
137
139
  # @param path [String]
138
140
  # @param [Hash] opts the optional parameters
139
141
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
142
+ # @option opts [Array<String>] :added_between
140
143
  # @option opts [Integer] :limit Number of results to return per page.
141
144
  # @option opts [String] :name2
142
145
  # @option opts [String] :namespace2
@@ -148,6 +151,7 @@ module PulpAnsibleClient
148
151
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
149
152
  # @option opts [String] :pulp_label_select Filter labels by search string
150
153
  # @option opts [String] :q
154
+ # @option opts [Array<String>] :removed_between
151
155
  # @option opts [String] :repository_version
152
156
  # @option opts [String] :repository_version_added
153
157
  # @option opts [String] :repository_version_removed
@@ -181,6 +185,7 @@ module PulpAnsibleClient
181
185
 
182
186
  # query parameters
183
187
  query_params = opts[:query_params] || {}
188
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
184
189
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
185
190
  query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
186
191
  query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
@@ -192,6 +197,7 @@ module PulpAnsibleClient
192
197
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
193
198
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
194
199
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
200
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
195
201
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
196
202
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
197
203
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -114,6 +114,7 @@ module PulpAnsibleClient
114
114
  # @param path [String]
115
115
  # @param [Hash] opts the optional parameters
116
116
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
117
+ # @option opts [Array<String>] :added_between
117
118
  # @option opts [Integer] :limit Number of results to return per page.
118
119
  # @option opts [String] :name2
119
120
  # @option opts [String] :namespace2
@@ -125,6 +126,7 @@ module PulpAnsibleClient
125
126
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
126
127
  # @option opts [String] :pulp_label_select Filter labels by search string
127
128
  # @option opts [String] :q
129
+ # @option opts [Array<String>] :removed_between
128
130
  # @option opts [String] :repository_version
129
131
  # @option opts [String] :repository_version_added
130
132
  # @option opts [String] :repository_version_removed
@@ -145,6 +147,7 @@ module PulpAnsibleClient
145
147
  # @param path [String]
146
148
  # @param [Hash] opts the optional parameters
147
149
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
150
+ # @option opts [Array<String>] :added_between
148
151
  # @option opts [Integer] :limit Number of results to return per page.
149
152
  # @option opts [String] :name2
150
153
  # @option opts [String] :namespace2
@@ -156,6 +159,7 @@ module PulpAnsibleClient
156
159
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
157
160
  # @option opts [String] :pulp_label_select Filter labels by search string
158
161
  # @option opts [String] :q
162
+ # @option opts [Array<String>] :removed_between
159
163
  # @option opts [String] :repository_version
160
164
  # @option opts [String] :repository_version_added
161
165
  # @option opts [String] :repository_version_removed
@@ -193,6 +197,7 @@ module PulpAnsibleClient
193
197
 
194
198
  # query parameters
195
199
  query_params = opts[:query_params] || {}
200
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
196
201
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
197
202
  query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
198
203
  query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
@@ -204,6 +209,7 @@ module PulpAnsibleClient
204
209
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
205
210
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
206
211
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
212
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
207
213
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
208
214
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
209
215
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -100,6 +100,7 @@ module PulpAnsibleClient
100
100
  # @param namespace [String]
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
103
+ # @option opts [Array<String>] :added_between
103
104
  # @option opts [Integer] :limit Number of results to return per page.
104
105
  # @option opts [String] :name2
105
106
  # @option opts [String] :namespace2
@@ -111,6 +112,7 @@ module PulpAnsibleClient
111
112
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
112
113
  # @option opts [String] :pulp_label_select Filter labels by search string
113
114
  # @option opts [String] :q
115
+ # @option opts [Array<String>] :removed_between
114
116
  # @option opts [String] :repository_version
115
117
  # @option opts [String] :repository_version_added
116
118
  # @option opts [String] :repository_version_removed
@@ -129,6 +131,7 @@ module PulpAnsibleClient
129
131
  # @param namespace [String]
130
132
  # @param [Hash] opts the optional parameters
131
133
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
134
+ # @option opts [Array<String>] :added_between
132
135
  # @option opts [Integer] :limit Number of results to return per page.
133
136
  # @option opts [String] :name2
134
137
  # @option opts [String] :namespace2
@@ -140,6 +143,7 @@ module PulpAnsibleClient
140
143
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
141
144
  # @option opts [String] :pulp_label_select Filter labels by search string
142
145
  # @option opts [String] :q
146
+ # @option opts [Array<String>] :removed_between
143
147
  # @option opts [String] :repository_version
144
148
  # @option opts [String] :repository_version_added
145
149
  # @option opts [String] :repository_version_removed
@@ -169,6 +173,7 @@ module PulpAnsibleClient
169
173
 
170
174
  # query parameters
171
175
  query_params = opts[:query_params] || {}
176
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
172
177
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
173
178
  query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
174
179
  query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
@@ -180,6 +185,7 @@ module PulpAnsibleClient
180
185
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
181
186
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
182
187
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
188
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
183
189
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
184
190
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
185
191
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -107,6 +107,7 @@ module PulpAnsibleClient
107
107
  # @param namespace [String]
108
108
  # @param [Hash] opts the optional parameters
109
109
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
+ # @option opts [Array<String>] :added_between
110
111
  # @option opts [Integer] :limit Number of results to return per page.
111
112
  # @option opts [String] :name2
112
113
  # @option opts [String] :namespace2
@@ -118,6 +119,7 @@ module PulpAnsibleClient
118
119
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
119
120
  # @option opts [String] :pulp_label_select Filter labels by search string
120
121
  # @option opts [String] :q
122
+ # @option opts [Array<String>] :removed_between
121
123
  # @option opts [String] :repository_version
122
124
  # @option opts [String] :repository_version_added
123
125
  # @option opts [String] :repository_version_removed
@@ -137,6 +139,7 @@ module PulpAnsibleClient
137
139
  # @param namespace [String]
138
140
  # @param [Hash] opts the optional parameters
139
141
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
142
+ # @option opts [Array<String>] :added_between
140
143
  # @option opts [Integer] :limit Number of results to return per page.
141
144
  # @option opts [String] :name2
142
145
  # @option opts [String] :namespace2
@@ -148,6 +151,7 @@ module PulpAnsibleClient
148
151
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
149
152
  # @option opts [String] :pulp_label_select Filter labels by search string
150
153
  # @option opts [String] :q
154
+ # @option opts [Array<String>] :removed_between
151
155
  # @option opts [String] :repository_version
152
156
  # @option opts [String] :repository_version_added
153
157
  # @option opts [String] :repository_version_removed
@@ -181,6 +185,7 @@ module PulpAnsibleClient
181
185
 
182
186
  # query parameters
183
187
  query_params = opts[:query_params] || {}
188
+ query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
184
189
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
185
190
  query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
186
191
  query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
@@ -192,6 +197,7 @@ module PulpAnsibleClient
192
197
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
193
198
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
194
199
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
200
+ query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
195
201
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
196
202
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
197
203
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -248,7 +248,7 @@ module PulpAnsibleClient
248
248
  # @option opts [String] :name__regex Filter results where name matches regex value
249
249
  # @option opts [String] :name__startswith Filter results where name starts with value
250
250
  # @option opts [Integer] :offset The initial index from which to return the results.
251
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
251
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;sync_highest_versions&#x60; - Sync highest versions * &#x60;-sync_highest_versions&#x60; - Sync highest versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
252
252
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
253
253
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
254
254
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -288,7 +288,7 @@ module PulpAnsibleClient
288
288
  # @option opts [String] :name__regex Filter results where name matches regex value
289
289
  # @option opts [String] :name__startswith Filter results where name starts with value
290
290
  # @option opts [Integer] :offset The initial index from which to return the results.
291
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
291
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;sync_highest_versions&#x60; - Sync highest versions * &#x60;-sync_highest_versions&#x60; - Sync highest versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
292
292
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
293
293
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
294
294
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -312,7 +312,7 @@ module PulpAnsibleClient
312
312
  if @api_client.config.debugging
313
313
  @api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
314
314
  end
315
- allowable_values = ["-auth_url", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-requirements_file", "-signed_only", "-sock_connect_timeout", "-sock_read_timeout", "-sync_dependencies", "-tls_validation", "-token", "-total_timeout", "-url", "-username", "auth_url", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "requirements_file", "signed_only", "sock_connect_timeout", "sock_read_timeout", "sync_dependencies", "tls_validation", "token", "total_timeout", "url", "username"]
315
+ allowable_values = ["-auth_url", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-requirements_file", "-signed_only", "-sock_connect_timeout", "-sock_read_timeout", "-sync_dependencies", "-sync_highest_versions", "-tls_validation", "-token", "-total_timeout", "-url", "-username", "auth_url", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "requirements_file", "signed_only", "sock_connect_timeout", "sock_read_timeout", "sync_dependencies", "sync_highest_versions", "tls_validation", "token", "total_timeout", "url", "username"]
316
316
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
317
317
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
318
318
  end
@@ -93,6 +93,9 @@ module PulpAnsibleClient
93
93
  # Sync only collections that have a signature
94
94
  attr_accessor :signed_only
95
95
 
96
+ # The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version.
97
+ attr_accessor :sync_highest_versions
98
+
96
99
  class EnumAttributeValidator
97
100
  attr_reader :datatype
98
101
  attr_reader :allowable_values
@@ -143,7 +146,8 @@ module PulpAnsibleClient
143
146
  :'auth_url' => :'auth_url',
144
147
  :'token' => :'token',
145
148
  :'sync_dependencies' => :'sync_dependencies',
146
- :'signed_only' => :'signed_only'
149
+ :'signed_only' => :'signed_only',
150
+ :'sync_highest_versions' => :'sync_highest_versions'
147
151
  }
148
152
  end
149
153
 
@@ -180,7 +184,8 @@ module PulpAnsibleClient
180
184
  :'auth_url' => :'String',
181
185
  :'token' => :'String',
182
186
  :'sync_dependencies' => :'Boolean',
183
- :'signed_only' => :'Boolean'
187
+ :'signed_only' => :'Boolean',
188
+ :'sync_highest_versions' => :'Integer'
184
189
  }
185
190
  end
186
191
 
@@ -205,6 +210,7 @@ module PulpAnsibleClient
205
210
  :'requirements_file',
206
211
  :'auth_url',
207
212
  :'token',
213
+ :'sync_highest_versions'
208
214
  ])
209
215
  end
210
216
 
@@ -334,6 +340,10 @@ module PulpAnsibleClient
334
340
  if attributes.key?(:'signed_only')
335
341
  self.signed_only = attributes[:'signed_only']
336
342
  end
343
+
344
+ if attributes.key?(:'sync_highest_versions')
345
+ self.sync_highest_versions = attributes[:'sync_highest_versions']
346
+ end
337
347
  end
338
348
 
339
349
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -429,6 +439,10 @@ module PulpAnsibleClient
429
439
  invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
430
440
  end
431
441
 
442
+ if !@sync_highest_versions.nil? && @sync_highest_versions < 1
443
+ invalid_properties.push('invalid value for "sync_highest_versions", must be greater than or equal to 1.')
444
+ end
445
+
432
446
  invalid_properties
433
447
  end
434
448
 
@@ -458,6 +472,7 @@ module PulpAnsibleClient
458
472
  return false if !@auth_url.nil? && @auth_url.to_s.length < 1
459
473
  return false if !@token.nil? && @token.to_s.length > 2000
460
474
  return false if !@token.nil? && @token.to_s.length < 1
475
+ return false if !@sync_highest_versions.nil? && @sync_highest_versions < 1
461
476
  true
462
477
  end
463
478
 
@@ -657,6 +672,16 @@ module PulpAnsibleClient
657
672
  @token = token
658
673
  end
659
674
 
675
+ # Custom attribute writer method with validation
676
+ # @param [Object] sync_highest_versions Value to be assigned
677
+ def sync_highest_versions=(sync_highest_versions)
678
+ if !sync_highest_versions.nil? && sync_highest_versions < 1
679
+ fail ArgumentError, 'invalid value for "sync_highest_versions", must be greater than or equal to 1.'
680
+ end
681
+
682
+ @sync_highest_versions = sync_highest_versions
683
+ end
684
+
660
685
  # Checks equality by comparing each attribute.
661
686
  # @param [Object] Object to be compared
662
687
  def ==(o)
@@ -687,7 +712,8 @@ module PulpAnsibleClient
687
712
  auth_url == o.auth_url &&
688
713
  token == o.token &&
689
714
  sync_dependencies == o.sync_dependencies &&
690
- signed_only == o.signed_only
715
+ signed_only == o.signed_only &&
716
+ sync_highest_versions == o.sync_highest_versions
691
717
  end
692
718
 
693
719
  # @see the `==` method
@@ -699,7 +725,7 @@ module PulpAnsibleClient
699
725
  # Calculates hash code according to all attributes.
700
726
  # @return [Integer] Hash code
701
727
  def hash
702
- [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, requirements_file, auth_url, token, sync_dependencies, signed_only].hash
728
+ [name, url, pulp_labels, policy, ca_cert, client_cert, client_key, tls_validation, proxy_url, proxy_username, proxy_password, username, password, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, requirements_file, auth_url, token, sync_dependencies, signed_only, sync_highest_versions].hash
703
729
  end
704
730
 
705
731
  # Builds the object from hash
@@ -89,6 +89,9 @@ module PulpAnsibleClient
89
89
  # Sync only collections that have a signature
90
90
  attr_accessor :signed_only
91
91
 
92
+ # The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version.
93
+ attr_accessor :sync_highest_versions
94
+
92
95
  attr_accessor :last_sync_task
93
96
 
94
97
  class EnumAttributeValidator
@@ -141,6 +144,7 @@ module PulpAnsibleClient
141
144
  :'auth_url' => :'auth_url',
142
145
  :'sync_dependencies' => :'sync_dependencies',
143
146
  :'signed_only' => :'signed_only',
147
+ :'sync_highest_versions' => :'sync_highest_versions',
144
148
  :'last_sync_task' => :'last_sync_task'
145
149
  }
146
150
  end
@@ -178,6 +182,7 @@ module PulpAnsibleClient
178
182
  :'auth_url' => :'String',
179
183
  :'sync_dependencies' => :'Boolean',
180
184
  :'signed_only' => :'Boolean',
185
+ :'sync_highest_versions' => :'Integer',
181
186
  :'last_sync_task' => :'String'
182
187
  }
183
188
  end
@@ -197,6 +202,7 @@ module PulpAnsibleClient
197
202
  :'rate_limit',
198
203
  :'requirements_file',
199
204
  :'auth_url',
205
+ :'sync_highest_versions',
200
206
  ])
201
207
  end
202
208
 
@@ -325,6 +331,10 @@ module PulpAnsibleClient
325
331
  self.signed_only = attributes[:'signed_only']
326
332
  end
327
333
 
334
+ if attributes.key?(:'sync_highest_versions')
335
+ self.sync_highest_versions = attributes[:'sync_highest_versions']
336
+ end
337
+
328
338
  if attributes.key?(:'last_sync_task')
329
339
  self.last_sync_task = attributes[:'last_sync_task']
330
340
  end
@@ -367,6 +377,10 @@ module PulpAnsibleClient
367
377
  invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
368
378
  end
369
379
 
380
+ if !@sync_highest_versions.nil? && @sync_highest_versions < 1
381
+ invalid_properties.push('invalid value for "sync_highest_versions", must be greater than or equal to 1.')
382
+ end
383
+
370
384
  invalid_properties
371
385
  end
372
386
 
@@ -382,6 +396,7 @@ module PulpAnsibleClient
382
396
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
383
397
  return false if !@download_concurrency.nil? && @download_concurrency < 1
384
398
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
399
+ return false if !@sync_highest_versions.nil? && @sync_highest_versions < 1
385
400
  true
386
401
  end
387
402
 
@@ -445,6 +460,16 @@ module PulpAnsibleClient
445
460
  @auth_url = auth_url
446
461
  end
447
462
 
463
+ # Custom attribute writer method with validation
464
+ # @param [Object] sync_highest_versions Value to be assigned
465
+ def sync_highest_versions=(sync_highest_versions)
466
+ if !sync_highest_versions.nil? && sync_highest_versions < 1
467
+ fail ArgumentError, 'invalid value for "sync_highest_versions", must be greater than or equal to 1.'
468
+ end
469
+
470
+ @sync_highest_versions = sync_highest_versions
471
+ end
472
+
448
473
  # Checks equality by comparing each attribute.
449
474
  # @param [Object] Object to be compared
450
475
  def ==(o)
@@ -475,6 +500,7 @@ module PulpAnsibleClient
475
500
  auth_url == o.auth_url &&
476
501
  sync_dependencies == o.sync_dependencies &&
477
502
  signed_only == o.signed_only &&
503
+ sync_highest_versions == o.sync_highest_versions &&
478
504
  last_sync_task == o.last_sync_task
479
505
  end
480
506
 
@@ -487,7 +513,7 @@ module PulpAnsibleClient
487
513
  # Calculates hash code according to all attributes.
488
514
  # @return [Integer] Hash code
489
515
  def hash
490
- [pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only, last_sync_task].hash
516
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, url, pulp_labels, policy, hidden_fields, ca_cert, client_cert, tls_validation, proxy_url, max_retries, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, download_concurrency, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only, sync_highest_versions, last_sync_task].hash
491
517
  end
492
518
 
493
519
  # Builds the object from hash
@@ -19,6 +19,11 @@ module PulpAnsibleClient
19
19
  # Artifact file representing the physical content
20
20
  attr_accessor :artifact
21
21
 
22
+ # The Pulp Resource Name (PRN).
23
+ attr_accessor :prn
24
+
25
+ attr_accessor :pulp_href
26
+
22
27
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
28
  attr_accessor :pulp_labels
24
29
 
@@ -30,11 +35,6 @@ module PulpAnsibleClient
30
35
  # 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.
31
36
  attr_accessor :pulp_last_updated
32
37
 
33
- # The Pulp Resource Name (PRN).
34
- attr_accessor :prn
35
-
36
- attr_accessor :pulp_href
37
-
38
38
  # The SHA-256 checksum if available.
39
39
  attr_accessor :sha256
40
40
 
@@ -98,12 +98,12 @@ module PulpAnsibleClient
98
98
  def self.attribute_map
99
99
  {
100
100
  :'artifact' => :'artifact',
101
+ :'prn' => :'prn',
102
+ :'pulp_href' => :'pulp_href',
101
103
  :'pulp_labels' => :'pulp_labels',
102
104
  :'pulp_created' => :'pulp_created',
103
105
  :'vuln_report' => :'vuln_report',
104
106
  :'pulp_last_updated' => :'pulp_last_updated',
105
- :'prn' => :'prn',
106
- :'pulp_href' => :'pulp_href',
107
107
  :'sha256' => :'sha256',
108
108
  :'md5' => :'md5',
109
109
  :'sha1' => :'sha1',
@@ -136,12 +136,12 @@ module PulpAnsibleClient
136
136
  def self.openapi_types
137
137
  {
138
138
  :'artifact' => :'String',
139
+ :'prn' => :'String',
140
+ :'pulp_href' => :'String',
139
141
  :'pulp_labels' => :'Hash<String, String>',
140
142
  :'pulp_created' => :'Time',
141
143
  :'vuln_report' => :'String',
142
144
  :'pulp_last_updated' => :'Time',
143
- :'prn' => :'String',
144
- :'pulp_href' => :'String',
145
145
  :'sha256' => :'String',
146
146
  :'md5' => :'String',
147
147
  :'sha1' => :'String',
@@ -191,6 +191,14 @@ module PulpAnsibleClient
191
191
  self.artifact = attributes[:'artifact']
192
192
  end
193
193
 
194
+ if attributes.key?(:'prn')
195
+ self.prn = attributes[:'prn']
196
+ end
197
+
198
+ if attributes.key?(:'pulp_href')
199
+ self.pulp_href = attributes[:'pulp_href']
200
+ end
201
+
194
202
  if attributes.key?(:'pulp_labels')
195
203
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
196
204
  self.pulp_labels = value
@@ -209,14 +217,6 @@ module PulpAnsibleClient
209
217
  self.pulp_last_updated = attributes[:'pulp_last_updated']
210
218
  end
211
219
 
212
- if attributes.key?(:'prn')
213
- self.prn = attributes[:'prn']
214
- end
215
-
216
- if attributes.key?(:'pulp_href')
217
- self.pulp_href = attributes[:'pulp_href']
218
- end
219
-
220
220
  if attributes.key?(:'sha256')
221
221
  self.sha256 = attributes[:'sha256']
222
222
  end
@@ -473,12 +473,12 @@ module PulpAnsibleClient
473
473
  return true if self.equal?(o)
474
474
  self.class == o.class &&
475
475
  artifact == o.artifact &&
476
+ prn == o.prn &&
477
+ pulp_href == o.pulp_href &&
476
478
  pulp_labels == o.pulp_labels &&
477
479
  pulp_created == o.pulp_created &&
478
480
  vuln_report == o.vuln_report &&
479
481
  pulp_last_updated == o.pulp_last_updated &&
480
- prn == o.prn &&
481
- pulp_href == o.pulp_href &&
482
482
  sha256 == o.sha256 &&
483
483
  md5 == o.md5 &&
484
484
  sha1 == o.sha1 &&
@@ -510,7 +510,7 @@ module PulpAnsibleClient
510
510
  # Calculates hash code according to all attributes.
511
511
  # @return [Integer] Hash code
512
512
  def hash
513
- [artifact, pulp_labels, pulp_created, vuln_report, pulp_last_updated, prn, pulp_href, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
513
+ [artifact, prn, pulp_href, pulp_labels, pulp_created, vuln_report, pulp_last_updated, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
514
514
  end
515
515
 
516
516
  # Builds the object from hash