pulpcore_client 3.39.17 → 3.39.20

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 +10 -10
  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 +47 -47
  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 +6 -6
  63. metadata +159 -159
@@ -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
20
-
21
- # An optional content-guard.
22
- attr_accessor :content_guard
23
-
24
- attr_accessor :pulp_href
25
-
26
18
  # Timestamp of creation.
27
19
  attr_accessor :pulp_created
28
20
 
29
21
  # Whether this distribution should be shown in the content app.
30
22
  attr_accessor :hidden
31
23
 
24
+ attr_accessor :pulp_href
25
+
26
+ # An optional content-guard.
27
+ attr_accessor :content_guard
28
+
29
+ attr_accessor :pulp_labels
30
+
32
31
  # 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
32
  attr_accessor :base_path
34
33
 
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
+
35
37
  # The URL for accessing the publication as defined by this distribution.
36
38
  attr_accessor :base_url
37
39
 
38
- attr_accessor :pulp_labels
39
-
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'name' => :'name',
44
- :'content_guard' => :'content_guard',
45
- :'pulp_href' => :'pulp_href',
46
43
  :'pulp_created' => :'pulp_created',
47
44
  :'hidden' => :'hidden',
45
+ :'pulp_href' => :'pulp_href',
46
+ :'content_guard' => :'content_guard',
47
+ :'pulp_labels' => :'pulp_labels',
48
48
  :'base_path' => :'base_path',
49
- :'base_url' => :'base_url',
50
- :'pulp_labels' => :'pulp_labels'
49
+ :'name' => :'name',
50
+ :'base_url' => :'base_url'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'name' => :'String',
58
- :'content_guard' => :'String',
59
- :'pulp_href' => :'String',
60
57
  :'pulp_created' => :'DateTime',
61
58
  :'hidden' => :'Boolean',
59
+ :'pulp_href' => :'String',
60
+ :'content_guard' => :'String',
61
+ :'pulp_labels' => :'Hash<String, String>',
62
62
  :'base_path' => :'String',
63
- :'base_url' => :'String',
64
- :'pulp_labels' => :'Hash<String, String>'
63
+ :'name' => :'String',
64
+ :'base_url' => :'String'
65
65
  }
66
66
  end
67
67
 
@@ -87,18 +87,6 @@ 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
-
94
- if attributes.key?(:'content_guard')
95
- self.content_guard = attributes[:'content_guard']
96
- end
97
-
98
- if attributes.key?(:'pulp_href')
99
- self.pulp_href = attributes[:'pulp_href']
100
- end
101
-
102
90
  if attributes.key?(:'pulp_created')
103
91
  self.pulp_created = attributes[:'pulp_created']
104
92
  end
@@ -109,12 +97,12 @@ module PulpcoreClient
109
97
  self.hidden = false
110
98
  end
111
99
 
112
- if attributes.key?(:'base_path')
113
- self.base_path = attributes[:'base_path']
100
+ if attributes.key?(:'pulp_href')
101
+ self.pulp_href = attributes[:'pulp_href']
114
102
  end
115
103
 
116
- if attributes.key?(:'base_url')
117
- self.base_url = attributes[:'base_url']
104
+ if attributes.key?(:'content_guard')
105
+ self.content_guard = attributes[:'content_guard']
118
106
  end
119
107
 
120
108
  if attributes.key?(:'pulp_labels')
@@ -122,28 +110,40 @@ module PulpcoreClient
122
110
  self.pulp_labels = value
123
111
  end
124
112
  end
113
+
114
+ if attributes.key?(:'base_path')
115
+ self.base_path = attributes[:'base_path']
116
+ end
117
+
118
+ if attributes.key?(:'name')
119
+ self.name = attributes[:'name']
120
+ end
121
+
122
+ if attributes.key?(:'base_url')
123
+ self.base_url = attributes[:'base_url']
124
+ end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
128
128
  # @return Array for valid properties with the reasons
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
- if @name.nil?
132
- invalid_properties.push('invalid value for "name", name cannot be nil.')
133
- end
134
-
135
131
  if @base_path.nil?
136
132
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
137
133
  end
138
134
 
135
+ if @name.nil?
136
+ invalid_properties.push('invalid value for "name", name 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 @name.nil?
146
145
  return false if @base_path.nil?
146
+ return false if @name.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 &&
156
- content_guard == o.content_guard &&
157
- pulp_href == o.pulp_href &&
158
155
  pulp_created == o.pulp_created &&
159
156
  hidden == o.hidden &&
157
+ pulp_href == o.pulp_href &&
158
+ content_guard == o.content_guard &&
159
+ pulp_labels == o.pulp_labels &&
160
160
  base_path == o.base_path &&
161
- base_url == o.base_url &&
162
- pulp_labels == o.pulp_labels
161
+ name == o.name &&
162
+ base_url == o.base_url
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
+ [pulp_created, hidden, pulp_href, content_guard, pulp_labels, base_path, name, base_url].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.20'
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