pulpcore_client 3.39.17 → 3.39.19

Sign up to get free protection for your applications and to get access to all the features.
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 +8 -8
  5. data/docs/ArtifactsApi.md +1 -1
  6. data/docs/ContentApi.md +5 -5
  7. data/docs/ContentguardsApi.md +5 -5
  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 +1 -1
  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/contentguards_api.rb +6 -6
  46. data/lib/pulpcore_client/api/distributions_api.rb +6 -6
  47. data/lib/pulpcore_client/api/publications_api.rb +4 -12
  48. data/lib/pulpcore_client/api/remotes_api.rb +4 -12
  49. data/lib/pulpcore_client/api/repositories_api.rb +4 -12
  50. data/lib/pulpcore_client/configuration.rb +2 -2
  51. data/lib/pulpcore_client/models/artifact_distribution_response.rb +34 -34
  52. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  53. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
  54. data/lib/pulpcore_client/version.rb +1 -1
  55. data/spec/api/content_api_spec.rb +2 -2
  56. data/spec/api/contentguards_api_spec.rb +2 -2
  57. data/spec/api/distributions_api_spec.rb +2 -2
  58. data/spec/api/publications_api_spec.rb +2 -2
  59. data/spec/api/remotes_api_spec.rb +2 -2
  60. data/spec/api/repositories_api_spec.rb +2 -2
  61. data/spec/configuration_spec.rb +3 -3
  62. data/spec/models/artifact_distribution_response_spec.rb +5 -5
  63. metadata +161 -161
@@ -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 * &#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
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
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 * &#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
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
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", "file.file"]
69
+ allowable_values = ["core.publishedmetadata"]
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", "file.file"]
73
+ allowable_values = ["core.publishedmetadata"]
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
@@ -36,8 +36,8 @@ module PulpcoreClient
36
36
  # @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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
37
37
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
38
38
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
39
- # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
40
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
39
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header
40
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header
41
41
  # @option opts [String] :q
42
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
43
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -64,8 +64,8 @@ module PulpcoreClient
64
64
  # @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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
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 * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
68
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
67
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header
68
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header
69
69
  # @option opts [String] :q
70
70
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
71
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -78,11 +78,11 @@ module PulpcoreClient
78
78
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
79
79
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
80
80
  end
81
- allowable_values = ["certguard.rhsm", "certguard.x509", "core.content_redirect", "core.header", "core.rbac"]
81
+ allowable_values = ["core.content_redirect", "core.header", "core.rbac"]
82
82
  if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
83
83
  fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
84
84
  end
85
- allowable_values = ["certguard.rhsm", "certguard.x509", "core.content_redirect", "core.header", "core.rbac"]
85
+ allowable_values = ["core.content_redirect", "core.header", "core.rbac"]
86
86
  if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
87
87
  fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
88
88
  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 * &#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
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
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 * &#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
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
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", "file.file"]
97
+ allowable_values = ["core.artifact"]
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", "file.file"]
101
+ allowable_values = ["core.artifact"]
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 * &#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
38
+ # @option opts [String] :pulp_type Pulp type
39
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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 * &#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
67
+ # @option opts [String] :pulp_type Pulp type
68
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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,14 +80,6 @@ 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
91
83
  # resource path
92
84
  local_var_path = '/pulp/api/v3/publications/'
93
85
 
@@ -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 * &#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
46
+ # @option opts [String] :pulp_type Pulp type
47
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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 * &#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
81
+ # @option opts [String] :pulp_type Pulp type
82
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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,14 +92,6 @@ 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
103
95
  # resource path
104
96
  local_var_path = '/pulp/api/v3/remotes/'
105
97
 
@@ -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 * &#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
41
+ # @option opts [String] :pulp_type Pulp type
42
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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 * &#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
81
+ # @option opts [String] :pulp_type Pulp type
82
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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,14 +102,6 @@ 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
113
105
  # resource path
114
106
  local_var_path = '/pulp/api/v3/repositories/'
115
107
 
@@ -128,7 +128,7 @@ module PulpcoreClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'pulp'
131
+ @host = 'localhost'
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://pulp/",
213
+ url: "http://localhost:24817/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -15,53 +15,53 @@ 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
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
20
20
 
21
21
  # An optional content-guard.
22
22
  attr_accessor :content_guard
23
23
 
24
- attr_accessor :pulp_href
24
+ # A unique name. Ex, `rawhide` and `stable`.
25
+ attr_accessor :name
26
+
27
+ attr_accessor :pulp_labels
25
28
 
26
29
  # Timestamp of creation.
27
30
  attr_accessor :pulp_created
28
31
 
29
- # Whether this distribution should be shown in the content app.
30
- attr_accessor :hidden
31
-
32
32
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
33
  attr_accessor :base_path
34
34
 
35
35
  # The URL for accessing the publication as defined by this distribution.
36
36
  attr_accessor :base_url
37
37
 
38
- attr_accessor :pulp_labels
38
+ attr_accessor :pulp_href
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
+ :'hidden' => :'hidden',
44
44
  :'content_guard' => :'content_guard',
45
- :'pulp_href' => :'pulp_href',
45
+ :'name' => :'name',
46
+ :'pulp_labels' => :'pulp_labels',
46
47
  :'pulp_created' => :'pulp_created',
47
- :'hidden' => :'hidden',
48
48
  :'base_path' => :'base_path',
49
49
  :'base_url' => :'base_url',
50
- :'pulp_labels' => :'pulp_labels'
50
+ :'pulp_href' => :'pulp_href'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'name' => :'String',
57
+ :'hidden' => :'Boolean',
58
58
  :'content_guard' => :'String',
59
- :'pulp_href' => :'String',
59
+ :'name' => :'String',
60
+ :'pulp_labels' => :'Hash<String, String>',
60
61
  :'pulp_created' => :'DateTime',
61
- :'hidden' => :'Boolean',
62
62
  :'base_path' => :'String',
63
63
  :'base_url' => :'String',
64
- :'pulp_labels' => :'Hash<String, String>'
64
+ :'pulp_href' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -87,26 +87,28 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'name')
91
- self.name = attributes[:'name']
90
+ if attributes.key?(:'hidden')
91
+ self.hidden = attributes[:'hidden']
92
+ else
93
+ self.hidden = false
92
94
  end
93
95
 
94
96
  if attributes.key?(:'content_guard')
95
97
  self.content_guard = attributes[:'content_guard']
96
98
  end
97
99
 
98
- if attributes.key?(:'pulp_href')
99
- self.pulp_href = attributes[:'pulp_href']
100
+ if attributes.key?(:'name')
101
+ self.name = attributes[:'name']
100
102
  end
101
103
 
102
- if attributes.key?(:'pulp_created')
103
- self.pulp_created = attributes[:'pulp_created']
104
+ if attributes.key?(:'pulp_labels')
105
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
106
+ self.pulp_labels = value
107
+ end
104
108
  end
105
109
 
106
- if attributes.key?(:'hidden')
107
- self.hidden = attributes[:'hidden']
108
- else
109
- self.hidden = false
110
+ if attributes.key?(:'pulp_created')
111
+ self.pulp_created = attributes[:'pulp_created']
110
112
  end
111
113
 
112
114
  if attributes.key?(:'base_path')
@@ -117,10 +119,8 @@ module PulpcoreClient
117
119
  self.base_url = attributes[:'base_url']
118
120
  end
119
121
 
120
- if attributes.key?(:'pulp_labels')
121
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
- self.pulp_labels = value
123
- end
122
+ if attributes.key?(:'pulp_href')
123
+ self.pulp_href = attributes[:'pulp_href']
124
124
  end
125
125
  end
126
126
 
@@ -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
+ hidden == o.hidden &&
156
156
  content_guard == o.content_guard &&
157
- pulp_href == o.pulp_href &&
157
+ name == o.name &&
158
+ pulp_labels == o.pulp_labels &&
158
159
  pulp_created == o.pulp_created &&
159
- hidden == o.hidden &&
160
160
  base_path == o.base_path &&
161
161
  base_url == o.base_url &&
162
- pulp_labels == o.pulp_labels
162
+ pulp_href == o.pulp_href
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
- [name, content_guard, pulp_href, pulp_created, hidden, base_path, base_url, pulp_labels].hash
174
+ [hidden, content_guard, name, pulp_labels, pulp_created, base_path, base_url, pulp_href].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.0
263
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
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.')
264
264
  end
265
265
 
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.')
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.')
268
268
  end
269
269
 
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.')
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.')
272
272
  end
273
273
 
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.')
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.')
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.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
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
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.0
308
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
307
+ if !total_timeout.nil? && total_timeout < 0
308
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 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.0
318
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
317
+ if !connect_timeout.nil? && connect_timeout < 0
318
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 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.0
328
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
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.'
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.0
338
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
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.'
339
339
  end
340
340
 
341
341
  @sock_read_timeout = sock_read_timeout
@@ -68,12 +68,22 @@ 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
+
71
79
  invalid_properties
72
80
  end
73
81
 
74
82
  # Check to see if the all the properties in the model are valid
75
83
  # @return true if the model is valid
76
84
  def valid?
85
+ return false if @name.nil?
86
+ return false if @is_set.nil?
77
87
  true
78
88
  end
79
89
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.39.17'
14
+ VERSION = '3.39.19'
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 * &#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
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
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
@@ -50,8 +50,8 @@ describe 'ContentguardsApi' do
50
50
  # @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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
51
51
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
52
52
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
53
- # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
54
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
53
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header
54
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header
55
55
  # @option opts [String] :q
56
56
  # @option opts [Array<String>] :fields A list of fields to include in the response.
57
57
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -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 * &#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
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
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 * &#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
52
+ # @option opts [String] :pulp_type Pulp type
53
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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 * &#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
60
+ # @option opts [String] :pulp_type Pulp type
61
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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 * &#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
55
+ # @option opts [String] :pulp_type Pulp type
56
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas.
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
@@ -18,7 +18,7 @@ describe PulpcoreClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://pulp")
21
+ # uri = URI.parse("http://localhost:24817")
22
22
  # PulpcoreClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpcoreClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://pulp")
31
+ # expect(config.base_url).to eq("http://localhost:24817")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://pulp")
38
+ # expect(config.base_url).to eq("http://localhost:24817")
39
39
  end
40
40
  end
41
41
  end