pulpcore_client 3.28.39 → 3.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 (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AccessPoliciesApi.md +1 -1
  4. data/docs/ArtifactDistributionResponse.md +8 -8
  5. data/docs/ArtifactsApi.md +1 -1
  6. data/docs/ContentApi.md +3 -3
  7. data/docs/ContentguardsApi.md +3 -3
  8. data/docs/ContentguardsContentRedirectApi.md +1 -1
  9. data/docs/ContentguardsRbacApi.md +1 -1
  10. data/docs/DistributionsApi.md +4 -4
  11. data/docs/DistributionsArtifactsApi.md +2 -2
  12. data/docs/DomainsApi.md +1 -1
  13. data/docs/ExportersFilesystemApi.md +1 -1
  14. data/docs/ExportersFilesystemExportsApi.md +1 -1
  15. data/docs/ExportersPulpApi.md +1 -1
  16. data/docs/ExportersPulpExportsApi.md +1 -1
  17. data/docs/GroupsApi.md +1 -1
  18. data/docs/GroupsRolesApi.md +2 -2
  19. data/docs/GroupsUsersApi.md +1 -1
  20. data/docs/ImportersPulpApi.md +1 -1
  21. data/docs/ImportersPulpImportCheckApi.md +1 -1
  22. data/docs/ImportersPulpImportsApi.md +1 -1
  23. data/docs/OrphansApi.md +1 -1
  24. data/docs/OrphansCleanupApi.md +1 -1
  25. data/docs/PaginatedAccessPolicyResponseList.md +2 -2
  26. data/docs/PaginatedArtifactDistributionResponseList.md +2 -2
  27. data/docs/PaginatedArtifactResponseList.md +2 -2
  28. data/docs/PaginatedContentGuardResponseList.md +2 -2
  29. data/docs/PaginatedContentRedirectContentGuardResponseList.md +2 -2
  30. data/docs/PaginatedDistributionResponseList.md +2 -2
  31. data/docs/PaginatedDomainResponseList.md +2 -2
  32. data/docs/PaginatedFilesystemExportResponseList.md +2 -2
  33. data/docs/PaginatedFilesystemExporterResponseList.md +2 -2
  34. data/docs/PaginatedGroupResponseList.md +2 -2
  35. data/docs/PaginatedGroupRoleResponseList.md +2 -2
  36. data/docs/PaginatedGroupUserResponseList.md +2 -2
  37. data/docs/PaginatedImportResponseList.md +2 -2
  38. data/docs/PaginatedMultipleArtifactContentResponseList.md +2 -2
  39. data/docs/PaginatedPublicationResponseList.md +2 -2
  40. data/docs/PaginatedPulpExportResponseList.md +2 -2
  41. data/docs/PaginatedPulpExporterResponseList.md +2 -2
  42. data/docs/PaginatedPulpImporterResponseList.md +2 -2
  43. data/docs/PaginatedRBACContentGuardResponseList.md +2 -2
  44. data/docs/PaginatedRemoteResponseList.md +2 -2
  45. data/docs/PaginatedRepositoryResponseList.md +2 -2
  46. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  47. data/docs/PaginatedRoleResponseList.md +2 -2
  48. data/docs/PaginatedSigningServiceResponseList.md +2 -2
  49. data/docs/PaginatedTaskGroupResponseList.md +2 -2
  50. data/docs/PaginatedTaskResponseList.md +2 -2
  51. data/docs/PaginatedTaskScheduleResponseList.md +2 -2
  52. data/docs/PaginatedUploadResponseList.md +2 -2
  53. data/docs/PaginatedUpstreamPulpResponseList.md +2 -2
  54. data/docs/PaginatedUserResponseList.md +2 -2
  55. data/docs/PaginatedUserRoleResponseList.md +2 -2
  56. data/docs/PaginatedWorkerResponseList.md +2 -2
  57. data/docs/PublicationsApi.md +3 -3
  58. data/docs/RemoteResponseHiddenFields.md +2 -2
  59. data/docs/RemotesApi.md +3 -3
  60. data/docs/RepairApi.md +1 -1
  61. data/docs/RepositoriesApi.md +4 -4
  62. data/docs/RepositoriesReclaimSpaceApi.md +1 -1
  63. data/docs/RepositoryVersionsApi.md +1 -1
  64. data/docs/RolesApi.md +1 -1
  65. data/docs/SigningServicesApi.md +1 -1
  66. data/docs/StatusApi.md +1 -1
  67. data/docs/TaskGroupsApi.md +1 -1
  68. data/docs/TaskSchedulesApi.md +1 -1
  69. data/docs/TasksApi.md +7 -7
  70. data/docs/UploadsApi.md +1 -1
  71. data/docs/UpstreamPulpsApi.md +3 -3
  72. data/docs/UsersApi.md +1 -1
  73. data/docs/UsersRolesApi.md +2 -2
  74. data/docs/WorkersApi.md +1 -1
  75. data/lib/pulpcore_client/api/content_api.rb +3 -3
  76. data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
  77. data/lib/pulpcore_client/api/distributions_api.rb +3 -3
  78. data/lib/pulpcore_client/api/publications_api.rb +6 -2
  79. data/lib/pulpcore_client/api/remotes_api.rb +6 -2
  80. data/lib/pulpcore_client/api/repositories_api.rb +6 -2
  81. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  82. data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
  83. data/lib/pulpcore_client/configuration.rb +3 -3
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
  85. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -10
  86. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -10
  87. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -10
  88. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -10
  89. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -10
  90. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -10
  91. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -10
  92. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -10
  93. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -10
  94. data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -10
  95. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -10
  96. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -10
  97. data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -10
  98. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -10
  99. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -10
  100. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -10
  101. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -10
  102. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -10
  103. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -10
  104. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +0 -10
  105. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -10
  106. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -10
  107. data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -10
  108. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -10
  109. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -10
  110. data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -10
  111. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -10
  112. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -10
  113. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -10
  114. data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -10
  115. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -10
  116. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -10
  117. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
  118. data/lib/pulpcore_client/version.rb +1 -1
  119. data/spec/api/content_api_spec.rb +1 -1
  120. data/spec/api/contentguards_api_spec.rb +1 -1
  121. data/spec/api/distributions_api_spec.rb +1 -1
  122. data/spec/api/publications_api_spec.rb +1 -1
  123. data/spec/api/remotes_api_spec.rb +1 -1
  124. data/spec/api/repositories_api_spec.rb +1 -1
  125. data/spec/api/tasks_api_spec.rb +1 -1
  126. data/spec/api/upstream_pulps_api_spec.rb +1 -1
  127. data/spec/configuration_spec.rb +3 -3
  128. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  129. metadata +160 -160
@@ -39,7 +39,7 @@ module PulpcoreClient
39
39
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
40
40
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
41
41
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
42
- # @option opts [Array<String>] :pulp_type__in Pulp type is in
42
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;file.file&#x60; - file.file
43
43
  # @option opts [Array<String>] :fields A list of fields to include in the response.
44
44
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
45
45
  # @return [PaginatedRemoteResponseList]
@@ -68,7 +68,7 @@ module PulpcoreClient
68
68
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
69
69
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
70
70
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
71
- # @option opts [Array<String>] :pulp_type__in Pulp type is in
71
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;file.file&#x60; - file.file
72
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
73
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
74
74
  # @return [Array<(PaginatedRemoteResponseList, Integer, Hash)>] PaginatedRemoteResponseList data, response status code and response headers
@@ -80,6 +80,10 @@ module PulpcoreClient
80
80
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
81
81
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
82
82
  end
83
+ allowable_values = ["file.file"]
84
+ if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
85
+ fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
86
+ end
83
87
  # resource path
84
88
  local_var_path = '/pulp/api/v3/remotes/'
85
89
 
@@ -34,7 +34,7 @@ module PulpcoreClient
34
34
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
35
35
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
36
36
  # @option opts [String] :pulp_label_select Filter labels by search string
37
- # @option opts [Array<String>] :pulp_type__in Pulp type is in
37
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;file.file&#x60; - file.file
38
38
  # @option opts [String] :remote Foreign Key referenced by HREF
39
39
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
40
40
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -68,7 +68,7 @@ module PulpcoreClient
68
68
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
69
69
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
70
70
  # @option opts [String] :pulp_label_select Filter labels by search string
71
- # @option opts [Array<String>] :pulp_type__in Pulp type is in
71
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;file.file&#x60; - file.file
72
72
  # @option opts [String] :remote Foreign Key referenced by HREF
73
73
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
74
74
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -90,6 +90,10 @@ module PulpcoreClient
90
90
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
91
91
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
92
92
  end
93
+ allowable_values = ["file.file"]
94
+ if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
95
+ fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
96
+ end
93
97
  # resource path
94
98
  local_var_path = '/pulp/api/v3/repositories/'
95
99
 
@@ -167,7 +167,7 @@ module PulpcoreClient
167
167
  # @option opts [String] :name__contains Filter results where name contains value
168
168
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
169
169
  # @option opts [Integer] :offset The initial index from which to return the results.
170
- # @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;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
170
+ # @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;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
171
171
  # @option opts [String] :parent_task Filter results where parent_task matches value
172
172
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
173
173
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -215,7 +215,7 @@ module PulpcoreClient
215
215
  # @option opts [String] :name__contains Filter results where name contains value
216
216
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
217
217
  # @option opts [Integer] :offset The initial index from which to return the results.
218
- # @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;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
218
+ # @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;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
219
219
  # @option opts [String] :parent_task Filter results where parent_task matches value
220
220
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
221
221
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -242,7 +242,7 @@ module PulpcoreClient
242
242
  if @api_client.config.debugging
243
243
  @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
244
244
  end
245
- allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state"]
245
+ allowable_values = ["-args", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "args", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
246
246
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
247
247
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
248
248
  end
@@ -353,7 +353,7 @@ module PulpcoreClient
353
353
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
354
354
  # @param upstream_pulp_href [String]
355
355
  # @param [Hash] opts the optional parameters
356
- # @return [TaskGroupOperationResponse]
356
+ # @return [AsyncOperationResponse]
357
357
  def replicate(upstream_pulp_href, opts = {})
358
358
  data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
359
359
  data
@@ -363,7 +363,7 @@ module PulpcoreClient
363
363
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
364
364
  # @param upstream_pulp_href [String]
365
365
  # @param [Hash] opts the optional parameters
366
- # @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
366
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
367
367
  def replicate_with_http_info(upstream_pulp_href, opts = {})
368
368
  if @api_client.config.debugging
369
369
  @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.replicate ...'
@@ -390,7 +390,7 @@ module PulpcoreClient
390
390
  post_body = opts[:body]
391
391
 
392
392
  # return_type
393
- return_type = opts[:return_type] || 'TaskGroupOperationResponse'
393
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
394
394
 
395
395
  # auth_names
396
396
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -127,8 +127,8 @@ module PulpcoreClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'http'
131
- @host = 'localhost'
130
+ @scheme = 'https'
131
+ @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpcoreClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://localhost:24817/",
213
+ url: "https://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -18,36 +18,36 @@ module PulpcoreClient
18
18
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
19
  attr_accessor :base_path
20
20
 
21
+ attr_accessor :pulp_labels
22
+
21
23
  # A unique name. Ex, `rawhide` and `stable`.
22
24
  attr_accessor :name
23
25
 
24
- # An optional content-guard.
25
- attr_accessor :content_guard
26
-
27
26
  attr_accessor :pulp_href
28
27
 
29
- attr_accessor :pulp_labels
30
-
31
- # The URL for accessing the publication as defined by this distribution.
32
- attr_accessor :base_url
28
+ # Timestamp of creation.
29
+ attr_accessor :pulp_created
33
30
 
34
31
  # Whether this distribution should be shown in the content app.
35
32
  attr_accessor :hidden
36
33
 
37
- # Timestamp of creation.
38
- attr_accessor :pulp_created
34
+ # The URL for accessing the publication as defined by this distribution.
35
+ attr_accessor :base_url
36
+
37
+ # An optional content-guard.
38
+ attr_accessor :content_guard
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
43
  :'base_path' => :'base_path',
44
+ :'pulp_labels' => :'pulp_labels',
44
45
  :'name' => :'name',
45
- :'content_guard' => :'content_guard',
46
46
  :'pulp_href' => :'pulp_href',
47
- :'pulp_labels' => :'pulp_labels',
48
- :'base_url' => :'base_url',
47
+ :'pulp_created' => :'pulp_created',
49
48
  :'hidden' => :'hidden',
50
- :'pulp_created' => :'pulp_created'
49
+ :'base_url' => :'base_url',
50
+ :'content_guard' => :'content_guard'
51
51
  }
52
52
  end
53
53
 
@@ -55,20 +55,20 @@ module PulpcoreClient
55
55
  def self.openapi_types
56
56
  {
57
57
  :'base_path' => :'String',
58
+ :'pulp_labels' => :'Hash<String, String>',
58
59
  :'name' => :'String',
59
- :'content_guard' => :'String',
60
60
  :'pulp_href' => :'String',
61
- :'pulp_labels' => :'Hash<String, String>',
62
- :'base_url' => :'String',
61
+ :'pulp_created' => :'DateTime',
63
62
  :'hidden' => :'Boolean',
64
- :'pulp_created' => :'DateTime'
63
+ :'base_url' => :'String',
64
+ :'content_guard' => :'String'
65
65
  }
66
66
  end
67
67
 
68
68
  # List of attributes with nullable: true
69
69
  def self.openapi_nullable
70
70
  Set.new([
71
- :'content_guard',
71
+ :'content_guard'
72
72
  ])
73
73
  end
74
74
 
@@ -91,26 +91,22 @@ module PulpcoreClient
91
91
  self.base_path = attributes[:'base_path']
92
92
  end
93
93
 
94
- if attributes.key?(:'name')
95
- self.name = attributes[:'name']
94
+ if attributes.key?(:'pulp_labels')
95
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
+ self.pulp_labels = value
97
+ end
96
98
  end
97
99
 
98
- if attributes.key?(:'content_guard')
99
- self.content_guard = attributes[:'content_guard']
100
+ if attributes.key?(:'name')
101
+ self.name = attributes[:'name']
100
102
  end
101
103
 
102
104
  if attributes.key?(:'pulp_href')
103
105
  self.pulp_href = attributes[:'pulp_href']
104
106
  end
105
107
 
106
- if attributes.key?(:'pulp_labels')
107
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
108
- self.pulp_labels = value
109
- end
110
- end
111
-
112
- if attributes.key?(:'base_url')
113
- self.base_url = attributes[:'base_url']
108
+ if attributes.key?(:'pulp_created')
109
+ self.pulp_created = attributes[:'pulp_created']
114
110
  end
115
111
 
116
112
  if attributes.key?(:'hidden')
@@ -119,8 +115,12 @@ module PulpcoreClient
119
115
  self.hidden = false
120
116
  end
121
117
 
122
- if attributes.key?(:'pulp_created')
123
- self.pulp_created = attributes[:'pulp_created']
118
+ if attributes.key?(:'base_url')
119
+ self.base_url = attributes[:'base_url']
120
+ end
121
+
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
124
124
  end
125
125
  end
126
126
 
@@ -153,13 +153,13 @@ module PulpcoreClient
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
155
  base_path == o.base_path &&
156
+ pulp_labels == o.pulp_labels &&
156
157
  name == o.name &&
157
- content_guard == o.content_guard &&
158
158
  pulp_href == o.pulp_href &&
159
- pulp_labels == o.pulp_labels &&
160
- base_url == o.base_url &&
159
+ pulp_created == o.pulp_created &&
161
160
  hidden == o.hidden &&
162
- pulp_created == o.pulp_created
161
+ base_url == o.base_url &&
162
+ content_guard == o.content_guard
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module PulpcoreClient
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Integer] Hash code
173
173
  def hash
174
- [base_path, name, content_guard, pulp_href, pulp_labels, base_url, hidden, pulp_created].hash
174
+ [base_path, pulp_labels, name, pulp_href, pulp_created, hidden, base_url, content_guard].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99