pulpcore_client 3.39.21 → 3.40.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 (63) 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 +9 -9
  5. data/docs/ArtifactsApi.md +1 -1
  6. data/docs/ContentApi.md +5 -5
  7. data/docs/ContentguardsApi.md +1 -1
  8. data/docs/ContentguardsContentRedirectApi.md +1 -1
  9. data/docs/ContentguardsHeaderApi.md +1 -1
  10. data/docs/ContentguardsRbacApi.md +1 -1
  11. data/docs/DistributionsApi.md +5 -5
  12. data/docs/DistributionsArtifactsApi.md +1 -1
  13. data/docs/DomainsApi.md +1 -1
  14. data/docs/ExportersFilesystemApi.md +1 -1
  15. data/docs/ExportersFilesystemExportsApi.md +1 -1
  16. data/docs/ExportersPulpApi.md +1 -1
  17. data/docs/ExportersPulpExportsApi.md +1 -1
  18. data/docs/GroupsApi.md +1 -1
  19. data/docs/GroupsRolesApi.md +1 -1
  20. data/docs/GroupsUsersApi.md +1 -1
  21. data/docs/ImportersPulpApi.md +1 -1
  22. data/docs/ImportersPulpImportCheckApi.md +1 -1
  23. data/docs/ImportersPulpImportsApi.md +1 -1
  24. data/docs/OrphansApi.md +1 -1
  25. data/docs/OrphansCleanupApi.md +1 -1
  26. data/docs/PublicationsApi.md +5 -5
  27. data/docs/RemoteResponseHiddenFields.md +2 -2
  28. data/docs/RemotesApi.md +5 -5
  29. data/docs/RepairApi.md +1 -1
  30. data/docs/RepositoriesApi.md +5 -5
  31. data/docs/RepositoriesReclaimSpaceApi.md +1 -1
  32. data/docs/RepositoryVersionsApi.md +1 -1
  33. data/docs/RolesApi.md +1 -1
  34. data/docs/SigningServicesApi.md +1 -1
  35. data/docs/StatusApi.md +1 -1
  36. data/docs/TaskGroupsApi.md +1 -1
  37. data/docs/TaskSchedulesApi.md +1 -1
  38. data/docs/TasksApi.md +3 -3
  39. data/docs/UploadsApi.md +1 -1
  40. data/docs/UpstreamPulpsApi.md +1 -1
  41. data/docs/UsersApi.md +1 -1
  42. data/docs/UsersRolesApi.md +1 -1
  43. data/docs/WorkersApi.md +1 -1
  44. data/lib/pulpcore_client/api/content_api.rb +6 -6
  45. data/lib/pulpcore_client/api/distributions_api.rb +6 -6
  46. data/lib/pulpcore_client/api/publications_api.rb +12 -4
  47. data/lib/pulpcore_client/api/remotes_api.rb +12 -4
  48. data/lib/pulpcore_client/api/repositories_api.rb +12 -4
  49. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  50. data/lib/pulpcore_client/configuration.rb +2 -2
  51. data/lib/pulpcore_client/models/artifact_distribution_response.rb +43 -43
  52. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  53. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
  54. data/lib/pulpcore_client/version.rb +1 -1
  55. data/spec/api/content_api_spec.rb +2 -2
  56. data/spec/api/distributions_api_spec.rb +2 -2
  57. data/spec/api/publications_api_spec.rb +2 -2
  58. data/spec/api/remotes_api_spec.rb +2 -2
  59. data/spec/api/repositories_api_spec.rb +2 -2
  60. data/spec/api/tasks_api_spec.rb +1 -1
  61. data/spec/configuration_spec.rb +3 -3
  62. data/spec/models/artifact_distribution_response_spec.rb +8 -8
  63. metadata +155 -155
@@ -27,8 +27,8 @@ module PulpcoreClient
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
28
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
29
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
- # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
31
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
30
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
31
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
32
32
  # @option opts [String] :q
33
33
  # @option opts [String] :repository_version Repository Version referenced by HREF
34
34
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -49,8 +49,8 @@ module PulpcoreClient
49
49
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
50
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
51
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
52
- # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
53
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
52
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
53
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
54
54
  # @option opts [String] :q
55
55
  # @option opts [String] :repository_version Repository Version referenced by HREF
56
56
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -66,11 +66,11 @@ module PulpcoreClient
66
66
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
67
67
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
68
68
  end
69
- allowable_values = ["core.publishedmetadata"]
69
+ allowable_values = ["core.publishedmetadata", "file.file"]
70
70
  if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
71
71
  fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
72
72
  end
73
- allowable_values = ["core.publishedmetadata"]
73
+ allowable_values = ["core.publishedmetadata", "file.file"]
74
74
  if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
75
75
  fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
76
76
  end
@@ -41,8 +41,8 @@ module PulpcoreClient
41
41
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
42
42
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
43
43
  # @option opts [String] :pulp_label_select Filter labels by search string
44
- # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact
45
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact
44
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
45
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
46
46
  # @option opts [String] :q
47
47
  # @option opts [String] :repository Filter results where repository matches value
48
48
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -77,8 +77,8 @@ module PulpcoreClient
77
77
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
78
78
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
79
79
  # @option opts [String] :pulp_label_select Filter labels by search string
80
- # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact
81
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact
80
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
81
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
82
82
  # @option opts [String] :q
83
83
  # @option opts [String] :repository Filter results where repository matches value
84
84
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -94,11 +94,11 @@ module PulpcoreClient
94
94
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
95
95
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
96
96
  end
97
- allowable_values = ["core.artifact"]
97
+ allowable_values = ["core.artifact", "file.file"]
98
98
  if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
99
99
  fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
100
100
  end
101
- allowable_values = ["core.artifact"]
101
+ allowable_values = ["core.artifact", "file.file"]
102
102
  if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
103
103
  fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
104
104
  end
@@ -35,8 +35,8 @@ module PulpcoreClient
35
35
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
36
36
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
37
37
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
38
- # @option opts [String] :pulp_type Pulp type
39
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
38
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
39
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
40
40
  # @option opts [String] :q
41
41
  # @option opts [String] :repository Repository referenced by HREF
42
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -64,8 +64,8 @@ module PulpcoreClient
64
64
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
65
65
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
66
66
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
67
- # @option opts [String] :pulp_type Pulp type
68
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
67
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
68
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
69
69
  # @option opts [String] :q
70
70
  # @option opts [String] :repository Repository referenced by HREF
71
71
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -80,6 +80,14 @@ 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'] && !allowable_values.include?(opts[:'pulp_type'])
85
+ fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
86
+ end
87
+ allowable_values = ["file.file"]
88
+ if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
89
+ fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
90
+ end
83
91
  # resource path
84
92
  local_var_path = '/pulp/api/v3/publications/'
85
93
 
@@ -43,8 +43,8 @@ module PulpcoreClient
43
43
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
44
44
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
45
45
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
46
- # @option opts [String] :pulp_type Pulp type
47
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
46
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
47
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
48
48
  # @option opts [String] :q
49
49
  # @option opts [Array<String>] :fields A list of fields to include in the response.
50
50
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -78,8 +78,8 @@ module PulpcoreClient
78
78
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
79
79
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
80
80
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
81
- # @option opts [String] :pulp_type Pulp type
82
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
81
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
82
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
83
83
  # @option opts [String] :q
84
84
  # @option opts [Array<String>] :fields A list of fields to include in the response.
85
85
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -92,6 +92,14 @@ module PulpcoreClient
92
92
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
93
93
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
94
94
  end
95
+ allowable_values = ["file.file"]
96
+ if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
97
+ fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
98
+ end
99
+ allowable_values = ["file.file"]
100
+ if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
101
+ fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
102
+ end
95
103
  # resource path
96
104
  local_var_path = '/pulp/api/v3/remotes/'
97
105
 
@@ -38,8 +38,8 @@ module PulpcoreClient
38
38
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
39
39
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
40
40
  # @option opts [String] :pulp_label_select Filter labels by search string
41
- # @option opts [String] :pulp_type Pulp type
42
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
41
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
42
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
43
43
  # @option opts [String] :q
44
44
  # @option opts [String] :remote Foreign Key referenced by HREF
45
45
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
@@ -78,8 +78,8 @@ module PulpcoreClient
78
78
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
79
79
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
80
80
  # @option opts [String] :pulp_label_select Filter labels by search string
81
- # @option opts [String] :pulp_type Pulp type
82
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
81
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
82
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
83
83
  # @option opts [String] :q
84
84
  # @option opts [String] :remote Foreign Key referenced by HREF
85
85
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
@@ -102,6 +102,14 @@ module PulpcoreClient
102
102
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
103
103
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
104
104
  end
105
+ allowable_values = ["file.file"]
106
+ if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
107
+ fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
108
+ end
109
+ allowable_values = ["file.file"]
110
+ if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
111
+ fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
112
+ end
105
113
  # resource path
106
114
  local_var_path = '/pulp/api/v3/repositories/'
107
115
 
@@ -170,7 +170,7 @@ module PulpcoreClient
170
170
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
171
171
  # @option opts [String] :name__ne Filter results where name not equal to value
172
172
  # @option opts [Integer] :offset The initial index from which to return the results.
173
- # @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;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc 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)
173
+ # @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;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc 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)
174
174
  # @option opts [String] :parent_task Filter results where parent_task matches value
175
175
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
176
176
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -222,7 +222,7 @@ module PulpcoreClient
222
222
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
223
223
  # @option opts [String] :name__ne Filter results where name not equal to value
224
224
  # @option opts [Integer] :offset The initial index from which to return the results.
225
- # @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;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc 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)
225
+ # @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;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc 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)
226
226
  # @option opts [String] :parent_task Filter results where parent_task matches value
227
227
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
228
228
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -252,7 +252,7 @@ module PulpcoreClient
252
252
  if @api_client.config.debugging
253
253
  @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
254
254
  end
255
- allowable_values = ["-args", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "args", "enc_args", "enc_kwargs", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
255
+ allowable_values = ["-enc_args", "-enc_kwargs", "-error", "-finished_at", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "enc_args", "enc_kwargs", "error", "finished_at", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
256
256
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
257
257
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
258
258
  end
@@ -128,7 +128,7 @@ module PulpcoreClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'localhost'
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: "http://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -15,60 +15,60 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
18
21
  # The URL for accessing the publication as defined by this distribution.
19
22
  attr_accessor :base_url
20
23
 
21
- attr_accessor :pulp_labels
24
+ # Timestamp of creation.
25
+ attr_accessor :pulp_created
22
26
 
23
- # An optional content-guard.
24
- attr_accessor :content_guard
27
+ attr_accessor :pulp_labels
25
28
 
26
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
30
  attr_accessor :base_path
28
31
 
32
+ attr_accessor :pulp_href
33
+
29
34
  # Whether this distribution should be shown in the content app.
30
35
  attr_accessor :hidden
31
36
 
32
- # Timestamp of creation.
33
- attr_accessor :pulp_created
34
-
35
- # A unique name. Ex, `rawhide` and `stable`.
36
- attr_accessor :name
37
-
38
- attr_accessor :pulp_href
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
+ :'name' => :'name',
43
44
  :'base_url' => :'base_url',
45
+ :'pulp_created' => :'pulp_created',
44
46
  :'pulp_labels' => :'pulp_labels',
45
- :'content_guard' => :'content_guard',
46
47
  :'base_path' => :'base_path',
48
+ :'pulp_href' => :'pulp_href',
47
49
  :'hidden' => :'hidden',
48
- :'pulp_created' => :'pulp_created',
49
- :'name' => :'name',
50
- :'pulp_href' => :'pulp_href'
50
+ :'content_guard' => :'content_guard'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
+ :'name' => :'String',
57
58
  :'base_url' => :'String',
59
+ :'pulp_created' => :'DateTime',
58
60
  :'pulp_labels' => :'Hash<String, String>',
59
- :'content_guard' => :'String',
60
61
  :'base_path' => :'String',
62
+ :'pulp_href' => :'String',
61
63
  :'hidden' => :'Boolean',
62
- :'pulp_created' => :'DateTime',
63
- :'name' => :'String',
64
- :'pulp_href' => :'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
 
@@ -87,40 +87,40 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
+ if attributes.key?(:'name')
91
+ self.name = attributes[:'name']
92
+ end
93
+
90
94
  if attributes.key?(:'base_url')
91
95
  self.base_url = attributes[:'base_url']
92
96
  end
93
97
 
98
+ if attributes.key?(:'pulp_created')
99
+ self.pulp_created = attributes[:'pulp_created']
100
+ end
101
+
94
102
  if attributes.key?(:'pulp_labels')
95
103
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
104
  self.pulp_labels = value
97
105
  end
98
106
  end
99
107
 
100
- if attributes.key?(:'content_guard')
101
- self.content_guard = attributes[:'content_guard']
102
- end
103
-
104
108
  if attributes.key?(:'base_path')
105
109
  self.base_path = attributes[:'base_path']
106
110
  end
107
111
 
112
+ if attributes.key?(:'pulp_href')
113
+ self.pulp_href = attributes[:'pulp_href']
114
+ end
115
+
108
116
  if attributes.key?(:'hidden')
109
117
  self.hidden = attributes[:'hidden']
110
118
  else
111
119
  self.hidden = false
112
120
  end
113
121
 
114
- if attributes.key?(:'pulp_created')
115
- self.pulp_created = attributes[:'pulp_created']
116
- end
117
-
118
- if attributes.key?(:'name')
119
- self.name = attributes[:'name']
120
- end
121
-
122
- if attributes.key?(:'pulp_href')
123
- self.pulp_href = attributes[:'pulp_href']
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
124
124
  end
125
125
  end
126
126
 
@@ -128,22 +128,22 @@ module PulpcoreClient
128
128
  # @return Array for valid properties with the reasons
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
- if @base_path.nil?
132
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
133
- end
134
-
135
131
  if @name.nil?
136
132
  invalid_properties.push('invalid value for "name", name cannot be nil.')
137
133
  end
138
134
 
135
+ if @base_path.nil?
136
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
137
+ end
138
+
139
139
  invalid_properties
140
140
  end
141
141
 
142
142
  # Check to see if the all the properties in the model are valid
143
143
  # @return true if the model is valid
144
144
  def valid?
145
- return false if @base_path.nil?
146
145
  return false if @name.nil?
146
+ return false if @base_path.nil?
147
147
  true
148
148
  end
149
149
 
@@ -152,14 +152,14 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
+ name == o.name &&
155
156
  base_url == o.base_url &&
157
+ pulp_created == o.pulp_created &&
156
158
  pulp_labels == o.pulp_labels &&
157
- content_guard == o.content_guard &&
158
159
  base_path == o.base_path &&
160
+ pulp_href == o.pulp_href &&
159
161
  hidden == o.hidden &&
160
- pulp_created == o.pulp_created &&
161
- name == o.name &&
162
- pulp_href == o.pulp_href
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_url, pulp_labels, content_guard, base_path, hidden, pulp_created, name, pulp_href].hash
174
+ [name, base_url, pulp_created, pulp_labels, base_path, pulp_href, hidden, content_guard].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -259,20 +259,20 @@ module PulpcoreClient
259
259
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
260
260
  end
261
261
 
262
- if !@total_timeout.nil? && @total_timeout < 0
263
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
262
+ if !@total_timeout.nil? && @total_timeout < 0.0
263
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
264
264
  end
265
265
 
266
- if !@connect_timeout.nil? && @connect_timeout < 0
267
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
266
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
267
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
268
268
  end
269
269
 
270
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
271
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
270
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
271
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
272
272
  end
273
273
 
274
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
275
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
274
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
275
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
276
276
  end
277
277
 
278
278
  invalid_properties
@@ -284,10 +284,10 @@ module PulpcoreClient
284
284
  return false if @name.nil?
285
285
  return false if @url.nil?
286
286
  return false if !@download_concurrency.nil? && @download_concurrency < 1
287
- return false if !@total_timeout.nil? && @total_timeout < 0
288
- return false if !@connect_timeout.nil? && @connect_timeout < 0
289
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
290
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
287
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
288
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
289
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
290
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
291
291
  true
292
292
  end
293
293
 
@@ -304,8 +304,8 @@ module PulpcoreClient
304
304
  # Custom attribute writer method with validation
305
305
  # @param [Object] total_timeout Value to be assigned
306
306
  def total_timeout=(total_timeout)
307
- if !total_timeout.nil? && total_timeout < 0
308
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
307
+ if !total_timeout.nil? && total_timeout < 0.0
308
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
309
309
  end
310
310
 
311
311
  @total_timeout = total_timeout
@@ -314,8 +314,8 @@ module PulpcoreClient
314
314
  # Custom attribute writer method with validation
315
315
  # @param [Object] connect_timeout Value to be assigned
316
316
  def connect_timeout=(connect_timeout)
317
- if !connect_timeout.nil? && connect_timeout < 0
318
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
317
+ if !connect_timeout.nil? && connect_timeout < 0.0
318
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
319
319
  end
320
320
 
321
321
  @connect_timeout = connect_timeout
@@ -324,8 +324,8 @@ module PulpcoreClient
324
324
  # Custom attribute writer method with validation
325
325
  # @param [Object] sock_connect_timeout Value to be assigned
326
326
  def sock_connect_timeout=(sock_connect_timeout)
327
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
328
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
327
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
328
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
329
329
  end
330
330
 
331
331
  @sock_connect_timeout = sock_connect_timeout
@@ -334,8 +334,8 @@ module PulpcoreClient
334
334
  # Custom attribute writer method with validation
335
335
  # @param [Object] sock_read_timeout Value to be assigned
336
336
  def sock_read_timeout=(sock_read_timeout)
337
- if !sock_read_timeout.nil? && sock_read_timeout < 0
338
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
337
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
338
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
339
339
  end
340
340
 
341
341
  @sock_read_timeout = sock_read_timeout
@@ -68,22 +68,12 @@ module PulpcoreClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @name.nil?
72
- invalid_properties.push('invalid value for "name", name cannot be nil.')
73
- end
74
-
75
- if @is_set.nil?
76
- invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
- end
78
-
79
71
  invalid_properties
80
72
  end
81
73
 
82
74
  # Check to see if the all the properties in the model are valid
83
75
  # @return true if the model is valid
84
76
  def valid?
85
- return false if @name.nil?
86
- return false if @is_set.nil?
87
77
  true
88
78
  end
89
79
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.39.21'
14
+ VERSION = '3.40.0'
15
15
  end
@@ -41,8 +41,8 @@ describe 'ContentApi' do
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
- # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
45
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
44
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
45
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
46
46
  # @option opts [String] :q
47
47
  # @option opts [String] :repository_version Repository Version referenced by HREF
48
48
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -55,8 +55,8 @@ describe 'DistributionsApi' do
55
55
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
56
56
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
57
57
  # @option opts [String] :pulp_label_select Filter labels by search string
58
- # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact
59
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact
58
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
59
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
60
60
  # @option opts [String] :q
61
61
  # @option opts [String] :repository Filter results where repository matches value
62
62
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -49,8 +49,8 @@ describe 'PublicationsApi' do
49
49
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
50
50
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
51
51
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
52
- # @option opts [String] :pulp_type Pulp type
53
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
52
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
53
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
54
54
  # @option opts [String] :q
55
55
  # @option opts [String] :repository Repository referenced by HREF
56
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -57,8 +57,8 @@ describe 'RemotesApi' do
57
57
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
58
58
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
59
59
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
60
- # @option opts [String] :pulp_type Pulp type
61
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
60
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
61
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
62
62
  # @option opts [String] :q
63
63
  # @option opts [Array<String>] :fields A list of fields to include in the response.
64
64
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -52,8 +52,8 @@ describe 'RepositoriesApi' do
52
52
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
53
53
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
54
54
  # @option opts [String] :pulp_label_select Filter labels by search string
55
- # @option opts [String] :pulp_type Pulp type
56
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
55
+ # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
56
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
57
57
  # @option opts [String] :q
58
58
  # @option opts [String] :remote Foreign Key referenced by HREF
59
59
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value