cloudsmith-api 2.0.11 → 2.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +13 -4
  4. data/build.json +1 -1
  5. data/docs/ReposApi.md +377 -0
  6. data/docs/StatusBasic.md +1 -1
  7. data/docs/SwiftPackageUpload.md +1 -1
  8. data/docs/SwiftPackageUploadRequest.md +1 -0
  9. data/docs/SwiftUpstream.md +23 -0
  10. data/docs/SwiftUpstreamRequest.md +20 -0
  11. data/docs/SwiftUpstreamRequestPatch.md +20 -0
  12. data/lib/cloudsmith-api/api/repos_api.rb +395 -0
  13. data/lib/cloudsmith-api/models/status_basic.rb +1 -1
  14. data/lib/cloudsmith-api/models/swift_package_upload.rb +5 -0
  15. data/lib/cloudsmith-api/models/swift_package_upload_request.rb +16 -1
  16. data/lib/cloudsmith-api/models/swift_upstream.rb +393 -0
  17. data/lib/cloudsmith-api/models/swift_upstream_request.rb +365 -0
  18. data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +355 -0
  19. data/lib/cloudsmith-api/version.rb +1 -1
  20. data/lib/cloudsmith-api.rb +3 -0
  21. data/spec/api/repos_api_spec.rb +87 -0
  22. data/spec/models/swift_package_upload_request_spec.rb +6 -0
  23. data/spec/models/swift_upstream_request_patch_spec.rb +121 -0
  24. data/spec/models/swift_upstream_request_spec.rb +121 -0
  25. data/spec/models/swift_upstream_spec.rb +139 -0
  26. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.7.gem +0 -0
  27. data/vendor/bundle/ruby/2.6.0/cache/json-2.7.2.gem +0 -0
  28. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.5.gem +0 -0
  29. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
  30. data/vendor/bundle/ruby/2.6.0/{gems/bigdecimal-3.1.6/ext/bigdecimal → extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7}/bigdecimal.so +0 -0
  31. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem_make.out +6 -6
  32. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/mkmf.log +10 -10
  33. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
  34. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
  35. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem_make.out +5 -5
  36. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/generator.so +0 -0
  37. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/parser.so +0 -0
  38. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/mkmf.log +2 -2
  39. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/Makefile +2 -2
  40. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.c +1 -1
  41. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.o +0 -0
  42. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6/lib → bigdecimal-3.1.7/ext/bigdecimal}/bigdecimal.so +0 -0
  43. data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.o +0 -0
  44. data/vendor/bundle/ruby/2.6.0/{extensions/x86_64-linux/2.6.0/bigdecimal-3.1.6 → gems/bigdecimal-3.1.7/lib}/bigdecimal.so +0 -0
  45. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
  46. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/README.md +0 -9
  47. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/Makefile +2 -2
  48. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/Makefile +2 -2
  49. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.c +36 -6
  50. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.o +0 -0
  51. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.so +0 -0
  52. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/Makefile +2 -2
  53. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.o +0 -0
  54. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/parser.so +0 -0
  55. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/ostruct.rb +5 -2
  56. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/common.rb +2 -1
  57. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/generator.so +0 -0
  58. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/parser.so +0 -0
  59. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/generic_object.rb +6 -2
  60. data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/version.rb +1 -1
  61. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/CHANGELOG.md +7 -1
  62. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/LICENSE.txt +1 -1
  63. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/README.md +1 -1
  64. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/data/list.txt +239 -80
  65. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/domain.rb +1 -1
  66. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/errors.rb +1 -1
  67. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/list.rb +1 -1
  68. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/rule.rb +1 -1
  69. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/version.rb +2 -2
  70. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix.rb +1 -1
  71. data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.1.6.gemspec → bigdecimal-3.1.7.gemspec} +3 -3
  72. data/vendor/bundle/ruby/2.6.0/specifications/{json-2.7.1.gemspec → json-2.7.2.gemspec} +0 -0
  73. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-5.0.4.gemspec → public_suffix-5.0.5.gemspec} +4 -4
  74. metadata +116 -104
  75. data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.6.gem +0 -0
  76. data/vendor/bundle/ruby/2.6.0/cache/json-2.7.1.gem +0 -0
  77. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.4.gem +0 -0
  78. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/generator.so +0 -0
  79. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/parser.so +0 -0
  80. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
  81. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
  82. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
  83. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
  84. data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
  85. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem.build_complete +0 -0
  86. /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem.build_complete +0 -0
  87. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/LICENSE +0 -0
  88. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/bigdecimal.gemspec +0 -0
  89. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/.sitearchdir.time +0 -0
  90. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.h +0 -0
  91. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bits.h +0 -0
  92. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/extconf.rb +0 -0
  93. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/feature.h +0 -0
  94. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing/dtoa.c +0 -0
  95. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.c +0 -0
  96. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.h +0 -0
  97. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/static_assert.h +0 -0
  98. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/jacobian.rb +0 -0
  99. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/ludcmp.rb +0 -0
  100. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/math.rb +0 -0
  101. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/newton.rb +0 -0
  102. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/util.rb +0 -0
  103. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal.rb +0 -0
  104. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/linear.rb +0 -0
  105. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/nlsolve.rb +0 -0
  106. /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/pi.rb +0 -0
  107. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/CHANGES.md +0 -0
  108. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/LICENSE +0 -0
  109. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
  110. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  111. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/depend +0 -0
  112. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/extconf.rb +0 -0
  113. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.h +0 -0
  114. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  115. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/depend +0 -0
  116. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/extconf.rb +0 -0
  117. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.c +0 -0
  118. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.h +0 -0
  119. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.rl +0 -0
  120. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/extconf.rb +0 -0
  121. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/json.gemspec +0 -0
  122. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/bigdecimal.rb +0 -0
  123. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/complex.rb +0 -0
  124. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/core.rb +0 -0
  125. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date.rb +0 -0
  126. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date_time.rb +0 -0
  127. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/exception.rb +0 -0
  128. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/range.rb +0 -0
  129. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/rational.rb +0 -0
  130. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/regexp.rb +0 -0
  131. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/set.rb +0 -0
  132. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/struct.rb +0 -0
  133. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/symbol.rb +0 -0
  134. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/time.rb +0 -0
  135. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/ext.rb +0 -0
  136. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/generator.rb +0 -0
  137. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/parser.rb +0 -0
  138. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure.rb +0 -0
  139. /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json.rb +0 -0
  140. /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/.yardopts +0 -0
  141. /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/2.0-Upgrade.md +0 -0
  142. /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/SECURITY.md +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 301c6394885fe697c84c46e2f8bb07c033aee5f132767708ca754ac0efbfc854
4
- data.tar.gz: 31343fcb5bd8c7764df4dfecf4c77ccbc7823c6f4d3f591dc1cd0d7d17bab4fb
3
+ metadata.gz: 4c833c768d004ed32d3a579f34686a60652ef5a154028842fae6dd212a6771f9
4
+ data.tar.gz: ba253220086c37759f0a53f702deddd3bf451cddb2f9615c13189566bc304f64
5
5
  SHA512:
6
- metadata.gz: 2a2f019002a2a30799a4edb9a767062f2fdfd8651815bf17ec30b4f4fa899b8d1c20d4996ac8f8a5c95b307fa517ad5e4bedd5d8981c4739430f9d3626233f1e
7
- data.tar.gz: d5092d5e8afa1d5af03ee46f2ca225b40922a1f5d8ad282ae29070d53f49f852f0673ceaba7c14346ada0975bf047f844550b258cdd1bbc1cc2af423b741d483
6
+ metadata.gz: b88b2fdbbee0fb349a42f7bed6755753de18228e7a36561182785a298006b4976c22eea104377bb47cf49fd192f044dd8d04ea90f491d07a8ce096e7d9083ca6
7
+ data.tar.gz: 1472980c29c5ea8251dfc1239ae9ac0e6bf9e359a318a27ec6eba224b9280f01394e8bf91115ce8805c056ce3fc5817fb156572aec832b003b99b5942a3ad595
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudsmith-api (2.0.11)
4
+ cloudsmith-api (2.0.12)
5
5
  addressable (~> 2.3, >= 2.3.0)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
@@ -18,7 +18,7 @@ GEM
18
18
  sys-uname
19
19
  autotest-growl (0.2.16)
20
20
  autotest-rails-pure (4.1.2)
21
- bigdecimal (3.1.6)
21
+ bigdecimal (3.1.7)
22
22
  crack (1.0.0)
23
23
  bigdecimal
24
24
  rexml
@@ -27,8 +27,8 @@ GEM
27
27
  ffi (>= 1.15.0)
28
28
  ffi (1.16.3)
29
29
  hashdiff (1.1.0)
30
- json (2.7.1)
31
- public_suffix (5.0.4)
30
+ json (2.7.2)
31
+ public_suffix (5.0.5)
32
32
  rake (12.3.3)
33
33
  rexml (3.2.6)
34
34
  rspec (3.13.0)
data/README.md CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 2.0.11
10
+ - Package version: 2.0.12
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
13
13
 
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cloudsmith-api-2.0.11.gem
27
+ gem install ./cloudsmith-api-2.0.12.gem
28
28
  ```
29
- (for development, run `gem install --dev ./cloudsmith-api-2.0.11.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./cloudsmith-api-2.0.12.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'cloudsmith-api', '~> 2.0.11'
35
+ gem 'cloudsmith-api', '~> 2.0.12'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -324,6 +324,12 @@ Class | Method | HTTP request | Description
324
324
  *CloudsmithApi::ReposApi* | [**repos_upstream_ruby_partial_update**](docs/ReposApi.md#repos_upstream_ruby_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository.
325
325
  *CloudsmithApi::ReposApi* | [**repos_upstream_ruby_read**](docs/ReposApi.md#repos_upstream_ruby_read) | **GET** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository.
326
326
  *CloudsmithApi::ReposApi* | [**repos_upstream_ruby_update**](docs/ReposApi.md#repos_upstream_ruby_update) | **PUT** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository.
327
+ *CloudsmithApi::ReposApi* | [**repos_upstream_swift_create**](docs/ReposApi.md#repos_upstream_swift_create) | **POST** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository.
328
+ *CloudsmithApi::ReposApi* | [**repos_upstream_swift_delete**](docs/ReposApi.md#repos_upstream_swift_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository.
329
+ *CloudsmithApi::ReposApi* | [**repos_upstream_swift_list**](docs/ReposApi.md#repos_upstream_swift_list) | **GET** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository.
330
+ *CloudsmithApi::ReposApi* | [**repos_upstream_swift_partial_update**](docs/ReposApi.md#repos_upstream_swift_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Partially update a Swift upstream config for this repository.
331
+ *CloudsmithApi::ReposApi* | [**repos_upstream_swift_read**](docs/ReposApi.md#repos_upstream_swift_read) | **GET** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Retrieve a Swift upstream config for this repository.
332
+ *CloudsmithApi::ReposApi* | [**repos_upstream_swift_update**](docs/ReposApi.md#repos_upstream_swift_update) | **PUT** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Update a Swift upstream config for this repository.
327
333
  *CloudsmithApi::ReposApi* | [**repos_user_list**](docs/ReposApi.md#repos_user_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
328
334
  *CloudsmithApi::StatusApi* | [**status_check_basic**](docs/StatusApi.md#status_check_basic) | **GET** /status/check/basic/ | Endpoint to check basic API connectivity.
329
335
  *CloudsmithApi::StorageRegionsApi* | [**storage_regions_list**](docs/StorageRegionsApi.md#storage_regions_list) | **GET** /storage-regions/ | Get a list of all available storage regions.
@@ -548,6 +554,9 @@ Class | Method | HTTP request | Description
548
554
  - [CloudsmithApi::StorageUsageRaw](docs/StorageUsageRaw.md)
549
555
  - [CloudsmithApi::SwiftPackageUpload](docs/SwiftPackageUpload.md)
550
556
  - [CloudsmithApi::SwiftPackageUploadRequest](docs/SwiftPackageUploadRequest.md)
557
+ - [CloudsmithApi::SwiftUpstream](docs/SwiftUpstream.md)
558
+ - [CloudsmithApi::SwiftUpstreamRequest](docs/SwiftUpstreamRequest.md)
559
+ - [CloudsmithApi::SwiftUpstreamRequestPatch](docs/SwiftUpstreamRequestPatch.md)
551
560
  - [CloudsmithApi::Tags](docs/Tags.md)
552
561
  - [CloudsmithApi::TerraformPackageUpload](docs/TerraformPackageUpload.md)
553
562
  - [CloudsmithApi::TerraformPackageUploadRequest](docs/TerraformPackageUploadRequest.md)
data/build.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "gemName": "cloudsmith-api",
9
9
  "gemRequiredRubyVersion": ">= 1.9",
10
10
  "gemSummary": "Cloudsmith API",
11
- "gemVersion": "2.0.11",
11
+ "gemVersion": "2.0.12",
12
12
  "hideGenerationTimestamp": true,
13
13
  "moduleName": "CloudsmithApi",
14
14
  "sortParamsByRequiredFlag": true
data/docs/ReposApi.md CHANGED
@@ -90,6 +90,12 @@ Method | HTTP request | Description
90
90
  [**repos_upstream_ruby_partial_update**](ReposApi.md#repos_upstream_ruby_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository.
91
91
  [**repos_upstream_ruby_read**](ReposApi.md#repos_upstream_ruby_read) | **GET** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository.
92
92
  [**repos_upstream_ruby_update**](ReposApi.md#repos_upstream_ruby_update) | **PUT** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository.
93
+ [**repos_upstream_swift_create**](ReposApi.md#repos_upstream_swift_create) | **POST** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository.
94
+ [**repos_upstream_swift_delete**](ReposApi.md#repos_upstream_swift_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository.
95
+ [**repos_upstream_swift_list**](ReposApi.md#repos_upstream_swift_list) | **GET** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository.
96
+ [**repos_upstream_swift_partial_update**](ReposApi.md#repos_upstream_swift_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Partially update a Swift upstream config for this repository.
97
+ [**repos_upstream_swift_read**](ReposApi.md#repos_upstream_swift_read) | **GET** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Retrieve a Swift upstream config for this repository.
98
+ [**repos_upstream_swift_update**](ReposApi.md#repos_upstream_swift_update) | **PUT** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Update a Swift upstream config for this repository.
93
99
  [**repos_user_list**](ReposApi.md#repos_user_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
94
100
 
95
101
 
@@ -5359,6 +5365,377 @@ Name | Type | Description | Notes
5359
5365
 
5360
5366
 
5361
5367
 
5368
+ # **repos_upstream_swift_create**
5369
+ > SwiftUpstream repos_upstream_swift_create(owner, identifier, opts)
5370
+
5371
+ Create a Swift upstream config for this repository.
5372
+
5373
+ Create a Swift upstream config for this repository.
5374
+
5375
+ ### Example
5376
+ ```ruby
5377
+ # load the gem
5378
+ require 'cloudsmith-api'
5379
+ # setup authorization
5380
+ CloudsmithApi.configure do |config|
5381
+ # Configure API key authorization: apikey
5382
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
5383
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5384
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
5385
+ end
5386
+
5387
+ api_instance = CloudsmithApi::ReposApi.new
5388
+
5389
+ owner = 'owner_example' # String |
5390
+
5391
+ identifier = 'identifier_example' # String |
5392
+
5393
+ opts = {
5394
+ data: CloudsmithApi::SwiftUpstreamRequest.new # SwiftUpstreamRequest |
5395
+ }
5396
+
5397
+ begin
5398
+ #Create a Swift upstream config for this repository.
5399
+ result = api_instance.repos_upstream_swift_create(owner, identifier, opts)
5400
+ p result
5401
+ rescue CloudsmithApi::ApiError => e
5402
+ puts "Exception when calling ReposApi->repos_upstream_swift_create: #{e}"
5403
+ end
5404
+ ```
5405
+
5406
+ ### Parameters
5407
+
5408
+ Name | Type | Description | Notes
5409
+ ------------- | ------------- | ------------- | -------------
5410
+ **owner** | **String**| |
5411
+ **identifier** | **String**| |
5412
+ **data** | [**SwiftUpstreamRequest**](SwiftUpstreamRequest.md)| | [optional]
5413
+
5414
+ ### Return type
5415
+
5416
+ [**SwiftUpstream**](SwiftUpstream.md)
5417
+
5418
+ ### Authorization
5419
+
5420
+ [apikey](../README.md#apikey)
5421
+
5422
+ ### HTTP request headers
5423
+
5424
+ - **Content-Type**: application/json
5425
+ - **Accept**: application/json
5426
+
5427
+
5428
+
5429
+ # **repos_upstream_swift_delete**
5430
+ > repos_upstream_swift_delete(owner, identifier, slug_perm)
5431
+
5432
+ Delete a Swift upstream config for this repository.
5433
+
5434
+ Delete a Swift upstream config for this repository.
5435
+
5436
+ ### Example
5437
+ ```ruby
5438
+ # load the gem
5439
+ require 'cloudsmith-api'
5440
+ # setup authorization
5441
+ CloudsmithApi.configure do |config|
5442
+ # Configure API key authorization: apikey
5443
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
5444
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5445
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
5446
+ end
5447
+
5448
+ api_instance = CloudsmithApi::ReposApi.new
5449
+
5450
+ owner = 'owner_example' # String |
5451
+
5452
+ identifier = 'identifier_example' # String |
5453
+
5454
+ slug_perm = 'slug_perm_example' # String |
5455
+
5456
+
5457
+ begin
5458
+ #Delete a Swift upstream config for this repository.
5459
+ api_instance.repos_upstream_swift_delete(owner, identifier, slug_perm)
5460
+ rescue CloudsmithApi::ApiError => e
5461
+ puts "Exception when calling ReposApi->repos_upstream_swift_delete: #{e}"
5462
+ end
5463
+ ```
5464
+
5465
+ ### Parameters
5466
+
5467
+ Name | Type | Description | Notes
5468
+ ------------- | ------------- | ------------- | -------------
5469
+ **owner** | **String**| |
5470
+ **identifier** | **String**| |
5471
+ **slug_perm** | **String**| |
5472
+
5473
+ ### Return type
5474
+
5475
+ nil (empty response body)
5476
+
5477
+ ### Authorization
5478
+
5479
+ [apikey](../README.md#apikey)
5480
+
5481
+ ### HTTP request headers
5482
+
5483
+ - **Content-Type**: application/json
5484
+ - **Accept**: application/json
5485
+
5486
+
5487
+
5488
+ # **repos_upstream_swift_list**
5489
+ > Array<SwiftUpstream> repos_upstream_swift_list(owner, identifier, opts)
5490
+
5491
+ List Swift upstream configs for this repository.
5492
+
5493
+ List Swift upstream configs for this repository.
5494
+
5495
+ ### Example
5496
+ ```ruby
5497
+ # load the gem
5498
+ require 'cloudsmith-api'
5499
+ # setup authorization
5500
+ CloudsmithApi.configure do |config|
5501
+ # Configure API key authorization: apikey
5502
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
5503
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5504
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
5505
+ end
5506
+
5507
+ api_instance = CloudsmithApi::ReposApi.new
5508
+
5509
+ owner = 'owner_example' # String |
5510
+
5511
+ identifier = 'identifier_example' # String |
5512
+
5513
+ opts = {
5514
+ page: 56, # Integer | A page number within the paginated result set.
5515
+ page_size: 56 # Integer | Number of results to return per page.
5516
+ }
5517
+
5518
+ begin
5519
+ #List Swift upstream configs for this repository.
5520
+ result = api_instance.repos_upstream_swift_list(owner, identifier, opts)
5521
+ p result
5522
+ rescue CloudsmithApi::ApiError => e
5523
+ puts "Exception when calling ReposApi->repos_upstream_swift_list: #{e}"
5524
+ end
5525
+ ```
5526
+
5527
+ ### Parameters
5528
+
5529
+ Name | Type | Description | Notes
5530
+ ------------- | ------------- | ------------- | -------------
5531
+ **owner** | **String**| |
5532
+ **identifier** | **String**| |
5533
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
5534
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
5535
+
5536
+ ### Return type
5537
+
5538
+ [**Array<SwiftUpstream>**](SwiftUpstream.md)
5539
+
5540
+ ### Authorization
5541
+
5542
+ [apikey](../README.md#apikey)
5543
+
5544
+ ### HTTP request headers
5545
+
5546
+ - **Content-Type**: application/json
5547
+ - **Accept**: application/json
5548
+
5549
+
5550
+
5551
+ # **repos_upstream_swift_partial_update**
5552
+ > SwiftUpstream repos_upstream_swift_partial_update(owner, identifier, slug_perm, opts)
5553
+
5554
+ Partially update a Swift upstream config for this repository.
5555
+
5556
+ Partially update a Swift upstream config for this repository.
5557
+
5558
+ ### Example
5559
+ ```ruby
5560
+ # load the gem
5561
+ require 'cloudsmith-api'
5562
+ # setup authorization
5563
+ CloudsmithApi.configure do |config|
5564
+ # Configure API key authorization: apikey
5565
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
5566
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5567
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
5568
+ end
5569
+
5570
+ api_instance = CloudsmithApi::ReposApi.new
5571
+
5572
+ owner = 'owner_example' # String |
5573
+
5574
+ identifier = 'identifier_example' # String |
5575
+
5576
+ slug_perm = 'slug_perm_example' # String |
5577
+
5578
+ opts = {
5579
+ data: CloudsmithApi::SwiftUpstreamRequestPatch.new # SwiftUpstreamRequestPatch |
5580
+ }
5581
+
5582
+ begin
5583
+ #Partially update a Swift upstream config for this repository.
5584
+ result = api_instance.repos_upstream_swift_partial_update(owner, identifier, slug_perm, opts)
5585
+ p result
5586
+ rescue CloudsmithApi::ApiError => e
5587
+ puts "Exception when calling ReposApi->repos_upstream_swift_partial_update: #{e}"
5588
+ end
5589
+ ```
5590
+
5591
+ ### Parameters
5592
+
5593
+ Name | Type | Description | Notes
5594
+ ------------- | ------------- | ------------- | -------------
5595
+ **owner** | **String**| |
5596
+ **identifier** | **String**| |
5597
+ **slug_perm** | **String**| |
5598
+ **data** | [**SwiftUpstreamRequestPatch**](SwiftUpstreamRequestPatch.md)| | [optional]
5599
+
5600
+ ### Return type
5601
+
5602
+ [**SwiftUpstream**](SwiftUpstream.md)
5603
+
5604
+ ### Authorization
5605
+
5606
+ [apikey](../README.md#apikey)
5607
+
5608
+ ### HTTP request headers
5609
+
5610
+ - **Content-Type**: application/json
5611
+ - **Accept**: application/json
5612
+
5613
+
5614
+
5615
+ # **repos_upstream_swift_read**
5616
+ > SwiftUpstream repos_upstream_swift_read(owner, identifier, slug_perm)
5617
+
5618
+ Retrieve a Swift upstream config for this repository.
5619
+
5620
+ Retrieve a Swift upstream config for this repository.
5621
+
5622
+ ### Example
5623
+ ```ruby
5624
+ # load the gem
5625
+ require 'cloudsmith-api'
5626
+ # setup authorization
5627
+ CloudsmithApi.configure do |config|
5628
+ # Configure API key authorization: apikey
5629
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
5630
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5631
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
5632
+ end
5633
+
5634
+ api_instance = CloudsmithApi::ReposApi.new
5635
+
5636
+ owner = 'owner_example' # String |
5637
+
5638
+ identifier = 'identifier_example' # String |
5639
+
5640
+ slug_perm = 'slug_perm_example' # String |
5641
+
5642
+
5643
+ begin
5644
+ #Retrieve a Swift upstream config for this repository.
5645
+ result = api_instance.repos_upstream_swift_read(owner, identifier, slug_perm)
5646
+ p result
5647
+ rescue CloudsmithApi::ApiError => e
5648
+ puts "Exception when calling ReposApi->repos_upstream_swift_read: #{e}"
5649
+ end
5650
+ ```
5651
+
5652
+ ### Parameters
5653
+
5654
+ Name | Type | Description | Notes
5655
+ ------------- | ------------- | ------------- | -------------
5656
+ **owner** | **String**| |
5657
+ **identifier** | **String**| |
5658
+ **slug_perm** | **String**| |
5659
+
5660
+ ### Return type
5661
+
5662
+ [**SwiftUpstream**](SwiftUpstream.md)
5663
+
5664
+ ### Authorization
5665
+
5666
+ [apikey](../README.md#apikey)
5667
+
5668
+ ### HTTP request headers
5669
+
5670
+ - **Content-Type**: application/json
5671
+ - **Accept**: application/json
5672
+
5673
+
5674
+
5675
+ # **repos_upstream_swift_update**
5676
+ > SwiftUpstream repos_upstream_swift_update(owner, identifier, slug_perm, opts)
5677
+
5678
+ Update a Swift upstream config for this repository.
5679
+
5680
+ Update a Swift upstream config for this repository.
5681
+
5682
+ ### Example
5683
+ ```ruby
5684
+ # load the gem
5685
+ require 'cloudsmith-api'
5686
+ # setup authorization
5687
+ CloudsmithApi.configure do |config|
5688
+ # Configure API key authorization: apikey
5689
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
5690
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5691
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
5692
+ end
5693
+
5694
+ api_instance = CloudsmithApi::ReposApi.new
5695
+
5696
+ owner = 'owner_example' # String |
5697
+
5698
+ identifier = 'identifier_example' # String |
5699
+
5700
+ slug_perm = 'slug_perm_example' # String |
5701
+
5702
+ opts = {
5703
+ data: CloudsmithApi::SwiftUpstreamRequest.new # SwiftUpstreamRequest |
5704
+ }
5705
+
5706
+ begin
5707
+ #Update a Swift upstream config for this repository.
5708
+ result = api_instance.repos_upstream_swift_update(owner, identifier, slug_perm, opts)
5709
+ p result
5710
+ rescue CloudsmithApi::ApiError => e
5711
+ puts "Exception when calling ReposApi->repos_upstream_swift_update: #{e}"
5712
+ end
5713
+ ```
5714
+
5715
+ ### Parameters
5716
+
5717
+ Name | Type | Description | Notes
5718
+ ------------- | ------------- | ------------- | -------------
5719
+ **owner** | **String**| |
5720
+ **identifier** | **String**| |
5721
+ **slug_perm** | **String**| |
5722
+ **data** | [**SwiftUpstreamRequest**](SwiftUpstreamRequest.md)| | [optional]
5723
+
5724
+ ### Return type
5725
+
5726
+ [**SwiftUpstream**](SwiftUpstream.md)
5727
+
5728
+ ### Authorization
5729
+
5730
+ [apikey](../README.md#apikey)
5731
+
5732
+ ### HTTP request headers
5733
+
5734
+ - **Content-Type**: application/json
5735
+ - **Accept**: application/json
5736
+
5737
+
5738
+
5362
5739
  # **repos_user_list**
5363
5740
  > Array<Repository> repos_user_list(opts)
5364
5741
 
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.373.1']
7
+ **version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.389.2']
8
8
 
9
9
 
@@ -34,7 +34,7 @@ Name | Type | Description | Notes
34
34
  **is_sync_in_progress** | **BOOLEAN** | | [optional]
35
35
  **license** | **String** | The license of this package. | [optional]
36
36
  **license_url** | **String** | The license URL of this package. | [optional]
37
- **name** | **String** | The name of this package. | [optional]
37
+ **name** | **String** | The name of this package. |
38
38
  **namespace** | **String** | | [optional]
39
39
  **namespace_url** | **String** | | [optional]
40
40
  **num_files** | **Integer** | | [optional]
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **author_name** | **String** | The name of the author of the package. | [optional]
7
7
  **author_org** | **String** | The organization of the author. | [optional]
8
8
  **license_url** | **String** | The license URL of this package. | [optional]
9
+ **name** | **String** | The name of this package. |
9
10
  **package_file** | **String** | The primary file for the package. |
10
11
  **readme_url** | **String** | The URL of the readme for the package. | [optional]
11
12
  **repository_url** | **String** | The URL of the SCM repository for the package. | [optional]
@@ -0,0 +1,23 @@
1
+ # CloudsmithApi::SwiftUpstream
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::SwiftUpstreamRequest
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::SwiftUpstreamRequestPatch
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
+