pulpcore_client 3.28.29 → 3.28.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +157 -155
  3. data/docs/AccessPoliciesApi.md +26 -26
  4. data/docs/ArtifactDistributionResponse.md +9 -9
  5. data/docs/ArtifactsApi.md +21 -21
  6. data/docs/ContentApi.md +8 -8
  7. data/docs/ContentguardsApi.md +8 -8
  8. data/docs/ContentguardsContentRedirectApi.md +51 -51
  9. data/docs/ContentguardsRbacApi.md +51 -51
  10. data/docs/DistributionsApi.md +8 -8
  11. data/docs/DistributionsArtifactsApi.md +11 -11
  12. data/docs/DocsApiJsonApi.md +61 -0
  13. data/docs/DocsApiYamlApi.md +61 -0
  14. data/docs/DomainsApi.md +31 -31
  15. data/docs/ExportersFilesystemApi.md +31 -31
  16. data/docs/ExportersFilesystemExportsApi.md +21 -21
  17. data/docs/ExportersPulpApi.md +31 -31
  18. data/docs/ExportersPulpExportsApi.md +21 -21
  19. data/docs/GroupsApi.md +51 -51
  20. data/docs/GroupsRolesApi.md +21 -21
  21. data/docs/GroupsUsersApi.md +16 -16
  22. data/docs/ImportersPulpApi.md +31 -31
  23. data/docs/ImportersPulpImportCheckApi.md +1 -1
  24. data/docs/ImportersPulpImportsApi.md +21 -21
  25. data/docs/OrphansApi.md +6 -6
  26. data/docs/OrphansCleanupApi.md +6 -6
  27. data/docs/PublicationsApi.md +8 -8
  28. data/docs/RemoteResponseHiddenFields.md +2 -2
  29. data/docs/RemotesApi.md +8 -8
  30. data/docs/RepairApi.md +6 -6
  31. data/docs/RepositoriesApi.md +8 -8
  32. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  33. data/docs/RepositoryVersionsApi.md +6 -6
  34. data/docs/RolesApi.md +31 -31
  35. data/docs/SigningServicesApi.md +11 -11
  36. data/docs/StatusApi.md +1 -1
  37. data/docs/TaskGroupsApi.md +11 -11
  38. data/docs/TaskSchedulesApi.md +31 -31
  39. data/docs/TasksApi.md +96 -96
  40. data/docs/UploadsApi.md +51 -51
  41. data/docs/UpstreamPulpsApi.md +36 -36
  42. data/docs/UsersApi.md +31 -31
  43. data/docs/UsersRolesApi.md +21 -21
  44. data/docs/WorkersApi.md +11 -11
  45. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  46. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  47. data/lib/pulpcore_client/api/content_api.rb +8 -8
  48. data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
  49. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  50. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  51. data/lib/pulpcore_client/api/distributions_api.rb +8 -8
  52. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  53. data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
  54. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
  55. data/lib/pulpcore_client/api/domains_api.rb +37 -37
  56. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  57. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  58. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  59. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  60. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  61. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  62. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  63. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  64. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  65. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  66. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  67. data/lib/pulpcore_client/api/publications_api.rb +7 -11
  68. data/lib/pulpcore_client/api/remotes_api.rb +7 -11
  69. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  70. data/lib/pulpcore_client/api/repositories_api.rb +7 -11
  71. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  72. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  73. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  74. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  75. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  76. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  77. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  78. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  79. data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
  80. data/lib/pulpcore_client/api/users_api.rb +37 -37
  81. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  82. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  83. data/lib/pulpcore_client/configuration.rb +3 -3
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +48 -48
  85. data/lib/pulpcore_client/models/remote_response.rb +20 -20
  86. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
  87. data/lib/pulpcore_client/version.rb +1 -1
  88. data/lib/pulpcore_client.rb +2 -0
  89. data/spec/api/access_policies_api_spec.rb +10 -10
  90. data/spec/api/artifacts_api_spec.rb +8 -8
  91. data/spec/api/content_api_spec.rb +3 -3
  92. data/spec/api/contentguards_api_spec.rb +3 -3
  93. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  94. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  95. data/spec/api/distributions_api_spec.rb +3 -3
  96. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  97. data/spec/api/docs_api_json_api_spec.rb +48 -0
  98. data/spec/api/docs_api_yaml_api_spec.rb +48 -0
  99. data/spec/api/domains_api_spec.rb +12 -12
  100. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  101. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  102. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  103. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  104. data/spec/api/groups_api_spec.rb +20 -20
  105. data/spec/api/groups_roles_api_spec.rb +8 -8
  106. data/spec/api/groups_users_api_spec.rb +6 -6
  107. data/spec/api/importers_pulp_api_spec.rb +12 -12
  108. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  109. data/spec/api/orphans_api_spec.rb +2 -2
  110. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  111. data/spec/api/publications_api_spec.rb +3 -3
  112. data/spec/api/remotes_api_spec.rb +3 -3
  113. data/spec/api/repair_api_spec.rb +2 -2
  114. data/spec/api/repositories_api_spec.rb +3 -3
  115. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  116. data/spec/api/repository_versions_api_spec.rb +2 -2
  117. data/spec/api/roles_api_spec.rb +12 -12
  118. data/spec/api/signing_services_api_spec.rb +4 -4
  119. data/spec/api/task_groups_api_spec.rb +4 -4
  120. data/spec/api/task_schedules_api_spec.rb +12 -12
  121. data/spec/api/tasks_api_spec.rb +29 -29
  122. data/spec/api/uploads_api_spec.rb +20 -20
  123. data/spec/api/upstream_pulps_api_spec.rb +14 -14
  124. data/spec/api/users_api_spec.rb +12 -12
  125. data/spec/api/users_roles_api_spec.rb +8 -8
  126. data/spec/api/workers_api_spec.rb +4 -4
  127. data/spec/configuration_spec.rb +3 -3
  128. data/spec/models/artifact_distribution_response_spec.rb +7 -7
  129. metadata +163 -155
@@ -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.28.29'
14
+ VERSION = '3.28.30'
15
15
  end
@@ -157,6 +157,8 @@ require 'pulpcore_client/api/contentguards_content_redirect_api'
157
157
  require 'pulpcore_client/api/contentguards_rbac_api'
158
158
  require 'pulpcore_client/api/distributions_api'
159
159
  require 'pulpcore_client/api/distributions_artifacts_api'
160
+ require 'pulpcore_client/api/docs_api_json_api'
161
+ require 'pulpcore_client/api/docs_api_yaml_api'
160
162
  require 'pulpcore_client/api/domains_api'
161
163
  require 'pulpcore_client/api/exporters_filesystem_api'
162
164
  require 'pulpcore_client/api/exporters_filesystem_exports_api'
@@ -32,7 +32,7 @@ describe 'AccessPoliciesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for list
35
+ # unit tests for access_policies_list
36
36
  # List access policys
37
37
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
38
38
  # @param [Hash] opts the optional parameters
@@ -50,26 +50,26 @@ describe 'AccessPoliciesApi' do
50
50
  # @option opts [Array<String>] :fields A list of fields to include in the response.
51
51
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
52
52
  # @return [PaginatedAccessPolicyResponseList]
53
- describe 'list test' do
53
+ describe 'access_policies_list test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- # unit tests for partial_update
59
+ # unit tests for access_policies_partial_update
60
60
  # Update an access policy
61
61
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
62
62
  # @param access_policy_href
63
63
  # @param patched_access_policy
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @return [AccessPolicyResponse]
66
- describe 'partial_update test' do
66
+ describe 'access_policies_partial_update test' do
67
67
  it 'should work' do
68
68
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
69
  end
70
70
  end
71
71
 
72
- # unit tests for read
72
+ # unit tests for access_policies_read
73
73
  # Inspect an access policy
74
74
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
75
75
  # @param access_policy_href
@@ -77,31 +77,31 @@ describe 'AccessPoliciesApi' do
77
77
  # @option opts [Array<String>] :fields A list of fields to include in the response.
78
78
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
79
79
  # @return [AccessPolicyResponse]
80
- describe 'read test' do
80
+ describe 'access_policies_read test' do
81
81
  it 'should work' do
82
82
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
83
  end
84
84
  end
85
85
 
86
- # unit tests for reset
86
+ # unit tests for access_policies_reset
87
87
  # Reset the access policy to its uncustomized default value.
88
88
  # @param access_policy_href
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AccessPolicyResponse]
91
- describe 'reset test' do
91
+ describe 'access_policies_reset test' do
92
92
  it 'should work' do
93
93
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
94
  end
95
95
  end
96
96
 
97
- # unit tests for update
97
+ # unit tests for access_policies_update
98
98
  # Update an access policy
99
99
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
100
100
  # @param access_policy_href
101
101
  # @param access_policy
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @return [AccessPolicyResponse]
104
- describe 'update test' do
104
+ describe 'access_policies_update test' do
105
105
  it 'should work' do
106
106
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
107
  end
@@ -32,7 +32,7 @@ describe 'ArtifactsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for create
35
+ # unit tests for artifacts_create
36
36
  # Create an artifact
37
37
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
38
38
  # @param file The stored file.
@@ -45,25 +45,25 @@ describe 'ArtifactsApi' do
45
45
  # @option opts [String] :sha384 The SHA-384 checksum of the file if available.
46
46
  # @option opts [String] :sha512 The SHA-512 checksum of the file if available.
47
47
  # @return [ArtifactResponse]
48
- describe 'create test' do
48
+ describe 'artifacts_create test' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
51
  end
52
52
  end
53
53
 
54
- # unit tests for delete
54
+ # unit tests for artifacts_delete
55
55
  # Delete an artifact
56
56
  # Remove Artifact only if it is not associated with any Content.
57
57
  # @param artifact_href
58
58
  # @param [Hash] opts the optional parameters
59
59
  # @return [nil]
60
- describe 'delete test' do
60
+ describe 'artifacts_delete test' do
61
61
  it 'should work' do
62
62
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
63
  end
64
64
  end
65
65
 
66
- # unit tests for list
66
+ # unit tests for artifacts_list
67
67
  # List artifacts
68
68
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
69
69
  # @param [Hash] opts the optional parameters
@@ -82,13 +82,13 @@ describe 'ArtifactsApi' do
82
82
  # @option opts [Array<String>] :fields A list of fields to include in the response.
83
83
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
84
84
  # @return [PaginatedArtifactResponseList]
85
- describe 'list test' do
85
+ describe 'artifacts_list test' do
86
86
  it 'should work' do
87
87
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
88
  end
89
89
  end
90
90
 
91
- # unit tests for read
91
+ # unit tests for artifacts_read
92
92
  # Inspect an artifact
93
93
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
94
94
  # @param artifact_href
@@ -96,7 +96,7 @@ describe 'ArtifactsApi' do
96
96
  # @option opts [Array<String>] :fields A list of fields to include in the response.
97
97
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
98
  # @return [ArtifactResponse]
99
- describe 'read test' do
99
+ describe 'artifacts_read test' do
100
100
  it 'should work' do
101
101
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
102
  end
@@ -32,7 +32,7 @@ describe 'ContentApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for list
35
+ # unit tests for content_list
36
36
  # List content
37
37
  # Endpoint to list all content.
38
38
  # @param [Hash] opts the optional parameters
@@ -41,14 +41,14 @@ 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 [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
44
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata
45
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
48
48
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
49
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [PaginatedMultipleArtifactContentResponseList]
51
- describe 'list test' do
51
+ describe 'content_list test' do
52
52
  it 'should work' do
53
53
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
54
  end
@@ -32,7 +32,7 @@ describe 'ContentguardsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for list
35
+ # unit tests for contentguards_list
36
36
  # List content guards
37
37
  # Endpoint to list all contentguards.
38
38
  # @param [Hash] opts the optional parameters
@@ -46,11 +46,11 @@ describe 'ContentguardsApi' do
46
46
  # @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)
47
47
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
48
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
49
- # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
49
+ # @option opts [Array<String>] :pulp_type__in Pulp type is in * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect
50
50
  # @option opts [Array<String>] :fields A list of fields to include in the response.
51
51
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
52
52
  # @return [PaginatedContentGuardResponseList]
53
- describe 'list test' do
53
+ describe 'contentguards_list test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,43 +32,43 @@ describe 'ContentguardsContentRedirectApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for add_role
35
+ # unit tests for contentguards_core_content_redirect_add_role
36
36
  # Add a role for this object to users/groups.
37
37
  # @param content_redirect_content_guard_href
38
38
  # @param nested_role
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [NestedRoleResponse]
41
- describe 'add_role test' do
41
+ describe 'contentguards_core_content_redirect_add_role test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- # unit tests for create
47
+ # unit tests for contentguards_core_content_redirect_create
48
48
  # Create a content redirect content guard
49
49
  # Content guard to protect preauthenticated redirects to the content app.
50
50
  # @param content_redirect_content_guard
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [ContentRedirectContentGuardResponse]
53
- describe 'create test' do
53
+ describe 'contentguards_core_content_redirect_create test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- # unit tests for delete
59
+ # unit tests for contentguards_core_content_redirect_delete
60
60
  # Delete a content redirect content guard
61
61
  # Content guard to protect preauthenticated redirects to the content app.
62
62
  # @param content_redirect_content_guard_href
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [nil]
65
- describe 'delete test' do
65
+ describe 'contentguards_core_content_redirect_delete test' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- # unit tests for list
71
+ # unit tests for contentguards_core_content_redirect_list
72
72
  # List content redirect content guards
73
73
  # Content guard to protect preauthenticated redirects to the content app.
74
74
  # @param [Hash] opts the optional parameters
@@ -85,52 +85,52 @@ describe 'ContentguardsContentRedirectApi' do
85
85
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
86
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
87
  # @return [PaginatedContentRedirectContentGuardResponseList]
88
- describe 'list test' do
88
+ describe 'contentguards_core_content_redirect_list test' do
89
89
  it 'should work' do
90
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
91
  end
92
92
  end
93
93
 
94
- # unit tests for list_roles
94
+ # unit tests for contentguards_core_content_redirect_list_roles
95
95
  # List roles assigned to this object.
96
96
  # @param content_redirect_content_guard_href
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @option opts [Array<String>] :fields A list of fields to include in the response.
99
99
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
100
  # @return [ObjectRolesResponse]
101
- describe 'list_roles test' do
101
+ describe 'contentguards_core_content_redirect_list_roles test' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
104
  end
105
105
  end
106
106
 
107
- # unit tests for my_permissions
107
+ # unit tests for contentguards_core_content_redirect_my_permissions
108
108
  # List permissions available to the current user on this object.
109
109
  # @param content_redirect_content_guard_href
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [Array<String>] :fields A list of fields to include in the response.
112
112
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
113
113
  # @return [MyPermissionsResponse]
114
- describe 'my_permissions test' do
114
+ describe 'contentguards_core_content_redirect_my_permissions test' do
115
115
  it 'should work' do
116
116
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
117
  end
118
118
  end
119
119
 
120
- # unit tests for partial_update
120
+ # unit tests for contentguards_core_content_redirect_partial_update
121
121
  # Update a content redirect content guard
122
122
  # Content guard to protect preauthenticated redirects to the content app.
123
123
  # @param content_redirect_content_guard_href
124
124
  # @param patched_content_redirect_content_guard
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @return [ContentRedirectContentGuardResponse]
127
- describe 'partial_update test' do
127
+ describe 'contentguards_core_content_redirect_partial_update test' do
128
128
  it 'should work' do
129
129
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
130
130
  end
131
131
  end
132
132
 
133
- # unit tests for read
133
+ # unit tests for contentguards_core_content_redirect_read
134
134
  # Inspect a content redirect content guard
135
135
  # Content guard to protect preauthenticated redirects to the content app.
136
136
  # @param content_redirect_content_guard_href
@@ -138,32 +138,32 @@ describe 'ContentguardsContentRedirectApi' do
138
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
139
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
140
  # @return [ContentRedirectContentGuardResponse]
141
- describe 'read test' do
141
+ describe 'contentguards_core_content_redirect_read test' do
142
142
  it 'should work' do
143
143
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
144
144
  end
145
145
  end
146
146
 
147
- # unit tests for remove_role
147
+ # unit tests for contentguards_core_content_redirect_remove_role
148
148
  # Remove a role for this object from users/groups.
149
149
  # @param content_redirect_content_guard_href
150
150
  # @param nested_role
151
151
  # @param [Hash] opts the optional parameters
152
152
  # @return [NestedRoleResponse]
153
- describe 'remove_role test' do
153
+ describe 'contentguards_core_content_redirect_remove_role test' do
154
154
  it 'should work' do
155
155
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
156
156
  end
157
157
  end
158
158
 
159
- # unit tests for update
159
+ # unit tests for contentguards_core_content_redirect_update
160
160
  # Update a content redirect content guard
161
161
  # Content guard to protect preauthenticated redirects to the content app.
162
162
  # @param content_redirect_content_guard_href
163
163
  # @param content_redirect_content_guard
164
164
  # @param [Hash] opts the optional parameters
165
165
  # @return [ContentRedirectContentGuardResponse]
166
- describe 'update test' do
166
+ describe 'contentguards_core_content_redirect_update test' do
167
167
  it 'should work' do
168
168
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
169
169
  end
@@ -32,43 +32,43 @@ describe 'ContentguardsRbacApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for add_role
35
+ # unit tests for contentguards_core_rbac_add_role
36
36
  # Add a role for this object to users/groups.
37
37
  # @param r_b_a_c_content_guard_href
38
38
  # @param nested_role
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [NestedRoleResponse]
41
- describe 'add_role test' do
41
+ describe 'contentguards_core_rbac_add_role test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- # unit tests for create
47
+ # unit tests for contentguards_core_rbac_create
48
48
  # Create a rbac content guard
49
49
  # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
50
50
  # @param rbac_content_guard
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [RBACContentGuardResponse]
53
- describe 'create test' do
53
+ describe 'contentguards_core_rbac_create test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- # unit tests for delete
59
+ # unit tests for contentguards_core_rbac_delete
60
60
  # Delete a rbac content guard
61
61
  # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
62
62
  # @param r_b_a_c_content_guard_href
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [nil]
65
- describe 'delete test' do
65
+ describe 'contentguards_core_rbac_delete test' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- # unit tests for list
71
+ # unit tests for contentguards_core_rbac_list
72
72
  # List rbac content guards
73
73
  # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
74
74
  # @param [Hash] opts the optional parameters
@@ -85,52 +85,52 @@ describe 'ContentguardsRbacApi' do
85
85
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
86
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
87
  # @return [PaginatedRBACContentGuardResponseList]
88
- describe 'list test' do
88
+ describe 'contentguards_core_rbac_list test' do
89
89
  it 'should work' do
90
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
91
  end
92
92
  end
93
93
 
94
- # unit tests for list_roles
94
+ # unit tests for contentguards_core_rbac_list_roles
95
95
  # List roles assigned to this object.
96
96
  # @param r_b_a_c_content_guard_href
97
97
  # @param [Hash] opts the optional parameters
98
98
  # @option opts [Array<String>] :fields A list of fields to include in the response.
99
99
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
100
  # @return [ObjectRolesResponse]
101
- describe 'list_roles test' do
101
+ describe 'contentguards_core_rbac_list_roles test' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
104
  end
105
105
  end
106
106
 
107
- # unit tests for my_permissions
107
+ # unit tests for contentguards_core_rbac_my_permissions
108
108
  # List permissions available to the current user on this object.
109
109
  # @param r_b_a_c_content_guard_href
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [Array<String>] :fields A list of fields to include in the response.
112
112
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
113
113
  # @return [MyPermissionsResponse]
114
- describe 'my_permissions test' do
114
+ describe 'contentguards_core_rbac_my_permissions test' do
115
115
  it 'should work' do
116
116
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
117
  end
118
118
  end
119
119
 
120
- # unit tests for partial_update
120
+ # unit tests for contentguards_core_rbac_partial_update
121
121
  # Update a rbac content guard
122
122
  # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
123
123
  # @param r_b_a_c_content_guard_href
124
124
  # @param patched_rbac_content_guard
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @return [RBACContentGuardResponse]
127
- describe 'partial_update test' do
127
+ describe 'contentguards_core_rbac_partial_update test' do
128
128
  it 'should work' do
129
129
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
130
130
  end
131
131
  end
132
132
 
133
- # unit tests for read
133
+ # unit tests for contentguards_core_rbac_read
134
134
  # Inspect a rbac content guard
135
135
  # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
136
136
  # @param r_b_a_c_content_guard_href
@@ -138,32 +138,32 @@ describe 'ContentguardsRbacApi' do
138
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
139
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
140
  # @return [RBACContentGuardResponse]
141
- describe 'read test' do
141
+ describe 'contentguards_core_rbac_read test' do
142
142
  it 'should work' do
143
143
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
144
144
  end
145
145
  end
146
146
 
147
- # unit tests for remove_role
147
+ # unit tests for contentguards_core_rbac_remove_role
148
148
  # Remove a role for this object from users/groups.
149
149
  # @param r_b_a_c_content_guard_href
150
150
  # @param nested_role
151
151
  # @param [Hash] opts the optional parameters
152
152
  # @return [NestedRoleResponse]
153
- describe 'remove_role test' do
153
+ describe 'contentguards_core_rbac_remove_role test' do
154
154
  it 'should work' do
155
155
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
156
156
  end
157
157
  end
158
158
 
159
- # unit tests for update
159
+ # unit tests for contentguards_core_rbac_update
160
160
  # Update a rbac content guard
161
161
  # Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
162
162
  # @param r_b_a_c_content_guard_href
163
163
  # @param rbac_content_guard
164
164
  # @param [Hash] opts the optional parameters
165
165
  # @return [RBACContentGuardResponse]
166
- describe 'update test' do
166
+ describe 'contentguards_core_rbac_update test' do
167
167
  it 'should work' do
168
168
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
169
169
  end