cloudsmith-api 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +104 -4
  4. data/build.json +1 -1
  5. data/docs/DartUpstream.md +23 -0
  6. data/docs/DartUpstreamRequest.md +20 -0
  7. data/docs/DartUpstreamRequestPatch.md +20 -0
  8. data/docs/DebUpstream.md +27 -0
  9. data/docs/DebUpstreamRequest.md +24 -0
  10. data/docs/DebUpstreamRequestPatch.md +24 -0
  11. data/docs/DockerUpstream.md +23 -0
  12. data/docs/DockerUpstreamRequest.md +20 -0
  13. data/docs/DockerUpstreamRequestPatch.md +20 -0
  14. data/docs/HelmUpstream.md +23 -0
  15. data/docs/HelmUpstreamRequest.md +20 -0
  16. data/docs/HelmUpstreamRequestPatch.md +20 -0
  17. data/docs/MavenUpstream.md +23 -0
  18. data/docs/MavenUpstreamRequest.md +20 -0
  19. data/docs/MavenUpstreamRequestPatch.md +20 -0
  20. data/docs/NpmUpstream.md +23 -0
  21. data/docs/NpmUpstreamRequest.md +20 -0
  22. data/docs/NpmUpstreamRequestPatch.md +20 -0
  23. data/docs/NugetUpstream.md +23 -0
  24. data/docs/NugetUpstreamRequest.md +20 -0
  25. data/docs/NugetUpstreamRequestPatch.md +20 -0
  26. data/docs/OrgsApi.md +374 -0
  27. data/docs/PackageLicensePolicyEvaluationRequest.md +14 -0
  28. data/docs/PackageLicensePolicyEvaluationRequestRequest.md +7 -0
  29. data/docs/PackageVulnerabilityPolicyEvaluationRequest.md +14 -0
  30. data/docs/PackageVulnerabilityPolicyEvaluationRequestRequest.md +7 -0
  31. data/docs/PythonUpstream.md +23 -0
  32. data/docs/PythonUpstreamRequest.md +20 -0
  33. data/docs/PythonUpstreamRequestPatch.md +20 -0
  34. data/docs/ReposApi.md +3770 -0
  35. data/docs/RpmUpstream.md +25 -0
  36. data/docs/RpmUpstreamRequest.md +22 -0
  37. data/docs/RpmUpstreamRequestPatch.md +22 -0
  38. data/docs/RubyUpstream.md +23 -0
  39. data/docs/RubyUpstreamRequest.md +20 -0
  40. data/docs/RubyUpstreamRequestPatch.md +20 -0
  41. data/docs/StatusBasic.md +1 -1
  42. data/lib/cloudsmith-api/api/orgs_api.rb +388 -0
  43. data/lib/cloudsmith-api/api/repos_api.rb +3950 -0
  44. data/lib/cloudsmith-api/models/dart_upstream.rb +393 -0
  45. data/lib/cloudsmith-api/models/dart_upstream_request.rb +365 -0
  46. data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +355 -0
  47. data/lib/cloudsmith-api/models/deb_upstream.rb +440 -0
  48. data/lib/cloudsmith-api/models/deb_upstream_request.rb +412 -0
  49. data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +397 -0
  50. data/lib/cloudsmith-api/models/docker_upstream.rb +393 -0
  51. data/lib/cloudsmith-api/models/docker_upstream_request.rb +365 -0
  52. data/lib/cloudsmith-api/models/docker_upstream_request_patch.rb +355 -0
  53. data/lib/cloudsmith-api/models/helm_upstream.rb +393 -0
  54. data/lib/cloudsmith-api/models/helm_upstream_request.rb +365 -0
  55. data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +355 -0
  56. data/lib/cloudsmith-api/models/maven_upstream.rb +393 -0
  57. data/lib/cloudsmith-api/models/maven_upstream_request.rb +365 -0
  58. data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +355 -0
  59. data/lib/cloudsmith-api/models/npm_upstream.rb +393 -0
  60. data/lib/cloudsmith-api/models/npm_upstream_request.rb +365 -0
  61. data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +355 -0
  62. data/lib/cloudsmith-api/models/nuget_upstream.rb +393 -0
  63. data/lib/cloudsmith-api/models/nuget_upstream_request.rb +365 -0
  64. data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +355 -0
  65. data/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb +274 -0
  66. data/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb +175 -0
  67. data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb +274 -0
  68. data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb +175 -0
  69. data/lib/cloudsmith-api/models/python_upstream.rb +393 -0
  70. data/lib/cloudsmith-api/models/python_upstream_request.rb +365 -0
  71. data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +355 -0
  72. data/lib/cloudsmith-api/models/rpm_upstream.rb +418 -0
  73. data/lib/cloudsmith-api/models/rpm_upstream_request.rb +390 -0
  74. data/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb +375 -0
  75. data/lib/cloudsmith-api/models/ruby_upstream.rb +393 -0
  76. data/lib/cloudsmith-api/models/ruby_upstream_request.rb +365 -0
  77. data/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb +355 -0
  78. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  79. data/lib/cloudsmith-api/version.rb +1 -1
  80. data/lib/cloudsmith-api.rb +34 -0
  81. data/spec/api/orgs_api_spec.rb +86 -0
  82. data/spec/api/repos_api_spec.rb +870 -0
  83. data/spec/models/dart_upstream_request_patch_spec.rb +121 -0
  84. data/spec/models/dart_upstream_request_spec.rb +121 -0
  85. data/spec/models/dart_upstream_spec.rb +139 -0
  86. data/spec/models/deb_upstream_request_patch_spec.rb +145 -0
  87. data/spec/models/deb_upstream_request_spec.rb +145 -0
  88. data/spec/models/deb_upstream_spec.rb +163 -0
  89. data/spec/models/docker_upstream_request_patch_spec.rb +121 -0
  90. data/spec/models/docker_upstream_request_spec.rb +121 -0
  91. data/spec/models/docker_upstream_spec.rb +139 -0
  92. data/spec/models/helm_upstream_request_patch_spec.rb +121 -0
  93. data/spec/models/helm_upstream_request_spec.rb +121 -0
  94. data/spec/models/helm_upstream_spec.rb +139 -0
  95. data/spec/models/maven_upstream_request_patch_spec.rb +121 -0
  96. data/spec/models/maven_upstream_request_spec.rb +121 -0
  97. data/spec/models/maven_upstream_spec.rb +139 -0
  98. data/spec/models/npm_upstream_request_patch_spec.rb +121 -0
  99. data/spec/models/npm_upstream_request_spec.rb +121 -0
  100. data/spec/models/npm_upstream_spec.rb +139 -0
  101. data/spec/models/nuget_upstream_request_patch_spec.rb +121 -0
  102. data/spec/models/nuget_upstream_request_spec.rb +121 -0
  103. data/spec/models/nuget_upstream_spec.rb +139 -0
  104. data/spec/models/package_license_policy_evaluation_request_request_spec.rb +35 -0
  105. data/spec/models/package_license_policy_evaluation_request_spec.rb +81 -0
  106. data/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb +35 -0
  107. data/spec/models/package_vulnerability_policy_evaluation_request_spec.rb +81 -0
  108. data/spec/models/python_upstream_request_patch_spec.rb +121 -0
  109. data/spec/models/python_upstream_request_spec.rb +121 -0
  110. data/spec/models/python_upstream_spec.rb +139 -0
  111. data/spec/models/rpm_upstream_request_patch_spec.rb +133 -0
  112. data/spec/models/rpm_upstream_request_spec.rb +133 -0
  113. data/spec/models/rpm_upstream_spec.rb +151 -0
  114. data/spec/models/ruby_upstream_request_patch_spec.rb +121 -0
  115. data/spec/models/ruby_upstream_request_spec.rb +121 -0
  116. data/spec/models/ruby_upstream_spec.rb +139 -0
  117. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.1.gem +0 -0
  118. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
  119. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
  120. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
  121. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
  122. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  123. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
  124. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
  125. data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
  126. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/Changelog.md +9 -1
  127. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/shell_out.rb +3 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/version.rb +1 -1
  129. data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support.rb +8 -2
  130. data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.12.0.gemspec → rspec-support-3.12.1.gemspec} +5 -5
  131. metadata +176 -40
  132. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.0.gem +0 -0
  133. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/LICENSE.md +0 -0
  134. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/README.md +0 -0
  135. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/caller_filter.rb +0 -0
  136. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/comparable_version.rb +0 -0
  137. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/differ.rb +0 -0
  138. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/directory_maker.rb +0 -0
  139. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/encoded_string.rb +0 -0
  140. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  141. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/hunk_generator.rb +0 -0
  142. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/matcher_definition.rb +0 -0
  143. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/method_signature_verifier.rb +0 -0
  144. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/mutex.rb +0 -0
  145. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/object_formatter.rb +0 -0
  146. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  147. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  148. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/ruby_features.rb +0 -0
  149. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/location.rb +0 -0
  150. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/node.rb +0 -0
  151. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/token.rb +0 -0
  152. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source.rb +0 -0
  153. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  154. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  155. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  156. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  157. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  158. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  159. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  160. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  161. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  162. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec.rb +0 -0
  163. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/warnings.rb +0 -0
  164. /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
@@ -0,0 +1,25 @@
1
+ # CloudsmithApi::RpmUpstream
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
10
+ **distro_version** | **String** | The distribution version that packages found on this upstream will be associated with. |
11
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
12
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
13
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
15
+ **include_sources** | **BOOLEAN** | When checked, source packages will be available from this upstream. | [optional]
16
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
17
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
18
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
19
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
20
+ **slug_perm** | **String** | | [optional]
21
+ **updated_at** | **DateTime** | | [optional]
22
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
23
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
24
+
25
+
@@ -0,0 +1,22 @@
1
+ # CloudsmithApi::RpmUpstreamRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **distro_version** | **String** | The distribution version that packages found on this upstream will be associated with. |
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **include_sources** | **BOOLEAN** | When checked, source packages will be available from this upstream. | [optional]
15
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
16
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
17
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
18
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
19
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
20
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
21
+
22
+
@@ -0,0 +1,22 @@
1
+ # CloudsmithApi::RpmUpstreamRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **distro_version** | **String** | The distribution version that packages found on this upstream will be associated with. | [optional]
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **include_sources** | **BOOLEAN** | When checked, source packages will be available from this upstream. | [optional]
15
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
16
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
17
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
18
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
19
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
20
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
21
+
22
+
@@ -0,0 +1,23 @@
1
+ # CloudsmithApi::RubyUpstream
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
10
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
11
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
12
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
14
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
15
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
16
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
17
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
18
+ **slug_perm** | **String** | | [optional]
19
+ **updated_at** | **DateTime** | | [optional]
20
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
21
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
22
+
23
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::RubyUpstreamRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
@@ -0,0 +1,20 @@
1
+ # CloudsmithApi::RubyUpstreamRequestPatch
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
7
+ **auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
8
+ **auth_username** | **String** | Username to provide with requests to upstream. | [optional]
9
+ **extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
10
+ **extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
11
+ **extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
12
+ **extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
13
+ **is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
14
+ **mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
15
+ **name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
16
+ **priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
17
+ **upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
18
+ **verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
19
+
20
+
data/docs/StatusBasic.md CHANGED
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **detail** | **String** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.']
7
- **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.283.1']
7
+ **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.290.2']
8
8
 
9
9
 
@@ -491,6 +491,200 @@ module CloudsmithApi
491
491
  end
492
492
  return data, status_code, headers
493
493
  end
494
+ # Create an evaluation request for this policy.
495
+ # Create an evaluation request for this policy.
496
+ # @param org
497
+ # @param policy_slug_perm
498
+ # @param [Hash] opts the optional parameters
499
+ # @option opts [PackageLicensePolicyEvaluationRequestRequest] :data
500
+ # @return [PackageLicensePolicyEvaluationRequest]
501
+ def orgs_license_policy_evaluation_create(org, policy_slug_perm, opts = {})
502
+ data, _status_code, _headers = orgs_license_policy_evaluation_create_with_http_info(org, policy_slug_perm, opts)
503
+ data
504
+ end
505
+
506
+ # Create an evaluation request for this policy.
507
+ # Create an evaluation request for this policy.
508
+ # @param org
509
+ # @param policy_slug_perm
510
+ # @param [Hash] opts the optional parameters
511
+ # @option opts [PackageLicensePolicyEvaluationRequestRequest] :data
512
+ # @return [Array<(PackageLicensePolicyEvaluationRequest, Fixnum, Hash)>] PackageLicensePolicyEvaluationRequest data, response status code and response headers
513
+ def orgs_license_policy_evaluation_create_with_http_info(org, policy_slug_perm, opts = {})
514
+ if @api_client.config.debugging
515
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_license_policy_evaluation_create ...'
516
+ end
517
+ # verify the required parameter 'org' is set
518
+ if @api_client.config.client_side_validation && org.nil?
519
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_license_policy_evaluation_create"
520
+ end
521
+ # verify the required parameter 'policy_slug_perm' is set
522
+ if @api_client.config.client_side_validation && policy_slug_perm.nil?
523
+ fail ArgumentError, "Missing the required parameter 'policy_slug_perm' when calling OrgsApi.orgs_license_policy_evaluation_create"
524
+ end
525
+ # resource path
526
+ local_var_path = '/orgs/{org}/license-policy/{policy_slug_perm}/evaluation/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'policy_slug_perm' + '}', policy_slug_perm.to_s)
527
+
528
+ # query parameters
529
+ query_params = {}
530
+
531
+ # header parameters
532
+ header_params = {}
533
+ # HTTP header 'Accept' (if needed)
534
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
535
+ # HTTP header 'Content-Type'
536
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
537
+
538
+ # form parameters
539
+ form_params = {}
540
+
541
+ # http body (model)
542
+ post_body = @api_client.object_to_http_body(opts[:'data'])
543
+ auth_names = ['apikey']
544
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
545
+ :header_params => header_params,
546
+ :query_params => query_params,
547
+ :form_params => form_params,
548
+ :body => post_body,
549
+ :auth_names => auth_names,
550
+ :return_type => 'PackageLicensePolicyEvaluationRequest')
551
+ if @api_client.config.debugging
552
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_license_policy_evaluation_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
553
+ end
554
+ return data, status_code, headers
555
+ end
556
+ # List evaluation requests for this policy.
557
+ # List evaluation requests for this policy.
558
+ # @param org
559
+ # @param policy_slug_perm
560
+ # @param [Hash] opts the optional parameters
561
+ # @option opts [Integer] :page A page number within the paginated result set.
562
+ # @option opts [Integer] :page_size Number of results to return per page.
563
+ # @return [Array<PackageLicensePolicyEvaluationRequest>]
564
+ def orgs_license_policy_evaluation_list(org, policy_slug_perm, opts = {})
565
+ data, _status_code, _headers = orgs_license_policy_evaluation_list_with_http_info(org, policy_slug_perm, opts)
566
+ data
567
+ end
568
+
569
+ # List evaluation requests for this policy.
570
+ # List evaluation requests for this policy.
571
+ # @param org
572
+ # @param policy_slug_perm
573
+ # @param [Hash] opts the optional parameters
574
+ # @option opts [Integer] :page A page number within the paginated result set.
575
+ # @option opts [Integer] :page_size Number of results to return per page.
576
+ # @return [Array<(Array<PackageLicensePolicyEvaluationRequest>, Fixnum, Hash)>] Array<PackageLicensePolicyEvaluationRequest> data, response status code and response headers
577
+ def orgs_license_policy_evaluation_list_with_http_info(org, policy_slug_perm, opts = {})
578
+ if @api_client.config.debugging
579
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_license_policy_evaluation_list ...'
580
+ end
581
+ # verify the required parameter 'org' is set
582
+ if @api_client.config.client_side_validation && org.nil?
583
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_license_policy_evaluation_list"
584
+ end
585
+ # verify the required parameter 'policy_slug_perm' is set
586
+ if @api_client.config.client_side_validation && policy_slug_perm.nil?
587
+ fail ArgumentError, "Missing the required parameter 'policy_slug_perm' when calling OrgsApi.orgs_license_policy_evaluation_list"
588
+ end
589
+ # resource path
590
+ local_var_path = '/orgs/{org}/license-policy/{policy_slug_perm}/evaluation/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'policy_slug_perm' + '}', policy_slug_perm.to_s)
591
+
592
+ # query parameters
593
+ query_params = {}
594
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
595
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
596
+
597
+ # header parameters
598
+ header_params = {}
599
+ # HTTP header 'Accept' (if needed)
600
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
601
+ # HTTP header 'Content-Type'
602
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
603
+
604
+ # form parameters
605
+ form_params = {}
606
+
607
+ # http body (model)
608
+ post_body = nil
609
+ auth_names = ['apikey']
610
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
611
+ :header_params => header_params,
612
+ :query_params => query_params,
613
+ :form_params => form_params,
614
+ :body => post_body,
615
+ :auth_names => auth_names,
616
+ :return_type => 'Array<PackageLicensePolicyEvaluationRequest>')
617
+ if @api_client.config.debugging
618
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_license_policy_evaluation_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
619
+ end
620
+ return data, status_code, headers
621
+ end
622
+ # Retrieve an evaluation request for this policy.
623
+ # Retrieve an evaluation request for this policy.
624
+ # @param org
625
+ # @param policy_slug_perm
626
+ # @param slug_perm
627
+ # @param [Hash] opts the optional parameters
628
+ # @return [PackageLicensePolicyEvaluationRequest]
629
+ def orgs_license_policy_evaluation_read(org, policy_slug_perm, slug_perm, opts = {})
630
+ data, _status_code, _headers = orgs_license_policy_evaluation_read_with_http_info(org, policy_slug_perm, slug_perm, opts)
631
+ data
632
+ end
633
+
634
+ # Retrieve an evaluation request for this policy.
635
+ # Retrieve an evaluation request for this policy.
636
+ # @param org
637
+ # @param policy_slug_perm
638
+ # @param slug_perm
639
+ # @param [Hash] opts the optional parameters
640
+ # @return [Array<(PackageLicensePolicyEvaluationRequest, Fixnum, Hash)>] PackageLicensePolicyEvaluationRequest data, response status code and response headers
641
+ def orgs_license_policy_evaluation_read_with_http_info(org, policy_slug_perm, slug_perm, opts = {})
642
+ if @api_client.config.debugging
643
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_license_policy_evaluation_read ...'
644
+ end
645
+ # verify the required parameter 'org' is set
646
+ if @api_client.config.client_side_validation && org.nil?
647
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_license_policy_evaluation_read"
648
+ end
649
+ # verify the required parameter 'policy_slug_perm' is set
650
+ if @api_client.config.client_side_validation && policy_slug_perm.nil?
651
+ fail ArgumentError, "Missing the required parameter 'policy_slug_perm' when calling OrgsApi.orgs_license_policy_evaluation_read"
652
+ end
653
+ # verify the required parameter 'slug_perm' is set
654
+ if @api_client.config.client_side_validation && slug_perm.nil?
655
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_license_policy_evaluation_read"
656
+ end
657
+ # resource path
658
+ local_var_path = '/orgs/{org}/license-policy/{policy_slug_perm}/evaluation/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'policy_slug_perm' + '}', policy_slug_perm.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
659
+
660
+ # query parameters
661
+ query_params = {}
662
+
663
+ # header parameters
664
+ header_params = {}
665
+ # HTTP header 'Accept' (if needed)
666
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
667
+ # HTTP header 'Content-Type'
668
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
669
+
670
+ # form parameters
671
+ form_params = {}
672
+
673
+ # http body (model)
674
+ post_body = nil
675
+ auth_names = ['apikey']
676
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
677
+ :header_params => header_params,
678
+ :query_params => query_params,
679
+ :form_params => form_params,
680
+ :body => post_body,
681
+ :auth_names => auth_names,
682
+ :return_type => 'PackageLicensePolicyEvaluationRequest')
683
+ if @api_client.config.debugging
684
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_license_policy_evaluation_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
685
+ end
686
+ return data, status_code, headers
687
+ end
494
688
  # Get a list of all package license policies.
495
689
  # Get a list of all package license policies.
496
690
  # @param org
@@ -2326,6 +2520,200 @@ module CloudsmithApi
2326
2520
  end
2327
2521
  return data, status_code, headers
2328
2522
  end
2523
+ # Create an evaluation request for this policy.
2524
+ # Create an evaluation request for this policy.
2525
+ # @param org
2526
+ # @param policy_slug_perm
2527
+ # @param [Hash] opts the optional parameters
2528
+ # @option opts [PackageVulnerabilityPolicyEvaluationRequestRequest] :data
2529
+ # @return [PackageVulnerabilityPolicyEvaluationRequest]
2530
+ def orgs_vulnerability_policy_evaluation_create(org, policy_slug_perm, opts = {})
2531
+ data, _status_code, _headers = orgs_vulnerability_policy_evaluation_create_with_http_info(org, policy_slug_perm, opts)
2532
+ data
2533
+ end
2534
+
2535
+ # Create an evaluation request for this policy.
2536
+ # Create an evaluation request for this policy.
2537
+ # @param org
2538
+ # @param policy_slug_perm
2539
+ # @param [Hash] opts the optional parameters
2540
+ # @option opts [PackageVulnerabilityPolicyEvaluationRequestRequest] :data
2541
+ # @return [Array<(PackageVulnerabilityPolicyEvaluationRequest, Fixnum, Hash)>] PackageVulnerabilityPolicyEvaluationRequest data, response status code and response headers
2542
+ def orgs_vulnerability_policy_evaluation_create_with_http_info(org, policy_slug_perm, opts = {})
2543
+ if @api_client.config.debugging
2544
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_vulnerability_policy_evaluation_create ...'
2545
+ end
2546
+ # verify the required parameter 'org' is set
2547
+ if @api_client.config.client_side_validation && org.nil?
2548
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_vulnerability_policy_evaluation_create"
2549
+ end
2550
+ # verify the required parameter 'policy_slug_perm' is set
2551
+ if @api_client.config.client_side_validation && policy_slug_perm.nil?
2552
+ fail ArgumentError, "Missing the required parameter 'policy_slug_perm' when calling OrgsApi.orgs_vulnerability_policy_evaluation_create"
2553
+ end
2554
+ # resource path
2555
+ local_var_path = '/orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'policy_slug_perm' + '}', policy_slug_perm.to_s)
2556
+
2557
+ # query parameters
2558
+ query_params = {}
2559
+
2560
+ # header parameters
2561
+ header_params = {}
2562
+ # HTTP header 'Accept' (if needed)
2563
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2564
+ # HTTP header 'Content-Type'
2565
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2566
+
2567
+ # form parameters
2568
+ form_params = {}
2569
+
2570
+ # http body (model)
2571
+ post_body = @api_client.object_to_http_body(opts[:'data'])
2572
+ auth_names = ['apikey']
2573
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2574
+ :header_params => header_params,
2575
+ :query_params => query_params,
2576
+ :form_params => form_params,
2577
+ :body => post_body,
2578
+ :auth_names => auth_names,
2579
+ :return_type => 'PackageVulnerabilityPolicyEvaluationRequest')
2580
+ if @api_client.config.debugging
2581
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_vulnerability_policy_evaluation_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2582
+ end
2583
+ return data, status_code, headers
2584
+ end
2585
+ # List evaluation requests for this policy.
2586
+ # List evaluation requests for this policy.
2587
+ # @param org
2588
+ # @param policy_slug_perm
2589
+ # @param [Hash] opts the optional parameters
2590
+ # @option opts [Integer] :page A page number within the paginated result set.
2591
+ # @option opts [Integer] :page_size Number of results to return per page.
2592
+ # @return [Array<PackageVulnerabilityPolicyEvaluationRequest>]
2593
+ def orgs_vulnerability_policy_evaluation_list(org, policy_slug_perm, opts = {})
2594
+ data, _status_code, _headers = orgs_vulnerability_policy_evaluation_list_with_http_info(org, policy_slug_perm, opts)
2595
+ data
2596
+ end
2597
+
2598
+ # List evaluation requests for this policy.
2599
+ # List evaluation requests for this policy.
2600
+ # @param org
2601
+ # @param policy_slug_perm
2602
+ # @param [Hash] opts the optional parameters
2603
+ # @option opts [Integer] :page A page number within the paginated result set.
2604
+ # @option opts [Integer] :page_size Number of results to return per page.
2605
+ # @return [Array<(Array<PackageVulnerabilityPolicyEvaluationRequest>, Fixnum, Hash)>] Array<PackageVulnerabilityPolicyEvaluationRequest> data, response status code and response headers
2606
+ def orgs_vulnerability_policy_evaluation_list_with_http_info(org, policy_slug_perm, opts = {})
2607
+ if @api_client.config.debugging
2608
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_vulnerability_policy_evaluation_list ...'
2609
+ end
2610
+ # verify the required parameter 'org' is set
2611
+ if @api_client.config.client_side_validation && org.nil?
2612
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_vulnerability_policy_evaluation_list"
2613
+ end
2614
+ # verify the required parameter 'policy_slug_perm' is set
2615
+ if @api_client.config.client_side_validation && policy_slug_perm.nil?
2616
+ fail ArgumentError, "Missing the required parameter 'policy_slug_perm' when calling OrgsApi.orgs_vulnerability_policy_evaluation_list"
2617
+ end
2618
+ # resource path
2619
+ local_var_path = '/orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'policy_slug_perm' + '}', policy_slug_perm.to_s)
2620
+
2621
+ # query parameters
2622
+ query_params = {}
2623
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
2624
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
2625
+
2626
+ # header parameters
2627
+ header_params = {}
2628
+ # HTTP header 'Accept' (if needed)
2629
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2630
+ # HTTP header 'Content-Type'
2631
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2632
+
2633
+ # form parameters
2634
+ form_params = {}
2635
+
2636
+ # http body (model)
2637
+ post_body = nil
2638
+ auth_names = ['apikey']
2639
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2640
+ :header_params => header_params,
2641
+ :query_params => query_params,
2642
+ :form_params => form_params,
2643
+ :body => post_body,
2644
+ :auth_names => auth_names,
2645
+ :return_type => 'Array<PackageVulnerabilityPolicyEvaluationRequest>')
2646
+ if @api_client.config.debugging
2647
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_vulnerability_policy_evaluation_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2648
+ end
2649
+ return data, status_code, headers
2650
+ end
2651
+ # Retrieve an evaluation request for this policy.
2652
+ # Retrieve an evaluation request for this policy.
2653
+ # @param org
2654
+ # @param policy_slug_perm
2655
+ # @param slug_perm
2656
+ # @param [Hash] opts the optional parameters
2657
+ # @return [PackageVulnerabilityPolicyEvaluationRequest]
2658
+ def orgs_vulnerability_policy_evaluation_read(org, policy_slug_perm, slug_perm, opts = {})
2659
+ data, _status_code, _headers = orgs_vulnerability_policy_evaluation_read_with_http_info(org, policy_slug_perm, slug_perm, opts)
2660
+ data
2661
+ end
2662
+
2663
+ # Retrieve an evaluation request for this policy.
2664
+ # Retrieve an evaluation request for this policy.
2665
+ # @param org
2666
+ # @param policy_slug_perm
2667
+ # @param slug_perm
2668
+ # @param [Hash] opts the optional parameters
2669
+ # @return [Array<(PackageVulnerabilityPolicyEvaluationRequest, Fixnum, Hash)>] PackageVulnerabilityPolicyEvaluationRequest data, response status code and response headers
2670
+ def orgs_vulnerability_policy_evaluation_read_with_http_info(org, policy_slug_perm, slug_perm, opts = {})
2671
+ if @api_client.config.debugging
2672
+ @api_client.config.logger.debug 'Calling API: OrgsApi.orgs_vulnerability_policy_evaluation_read ...'
2673
+ end
2674
+ # verify the required parameter 'org' is set
2675
+ if @api_client.config.client_side_validation && org.nil?
2676
+ fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_vulnerability_policy_evaluation_read"
2677
+ end
2678
+ # verify the required parameter 'policy_slug_perm' is set
2679
+ if @api_client.config.client_side_validation && policy_slug_perm.nil?
2680
+ fail ArgumentError, "Missing the required parameter 'policy_slug_perm' when calling OrgsApi.orgs_vulnerability_policy_evaluation_read"
2681
+ end
2682
+ # verify the required parameter 'slug_perm' is set
2683
+ if @api_client.config.client_side_validation && slug_perm.nil?
2684
+ fail ArgumentError, "Missing the required parameter 'slug_perm' when calling OrgsApi.orgs_vulnerability_policy_evaluation_read"
2685
+ end
2686
+ # resource path
2687
+ local_var_path = '/orgs/{org}/vulnerability-policy/{policy_slug_perm}/evaluation/{slug_perm}/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'policy_slug_perm' + '}', policy_slug_perm.to_s).sub('{' + 'slug_perm' + '}', slug_perm.to_s)
2688
+
2689
+ # query parameters
2690
+ query_params = {}
2691
+
2692
+ # header parameters
2693
+ header_params = {}
2694
+ # HTTP header 'Accept' (if needed)
2695
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2696
+ # HTTP header 'Content-Type'
2697
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2698
+
2699
+ # form parameters
2700
+ form_params = {}
2701
+
2702
+ # http body (model)
2703
+ post_body = nil
2704
+ auth_names = ['apikey']
2705
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2706
+ :header_params => header_params,
2707
+ :query_params => query_params,
2708
+ :form_params => form_params,
2709
+ :body => post_body,
2710
+ :auth_names => auth_names,
2711
+ :return_type => 'PackageVulnerabilityPolicyEvaluationRequest')
2712
+ if @api_client.config.debugging
2713
+ @api_client.config.logger.debug "API called: OrgsApi#orgs_vulnerability_policy_evaluation_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2714
+ end
2715
+ return data, status_code, headers
2716
+ end
2329
2717
  # Get a list of all package vulnerability policies.
2330
2718
  # Get a list of all package vulnerability policies.
2331
2719
  # @param org