cloudsmith-api 0.53.3 → 0.53.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -4
  3. data/README.md +4 -4
  4. data/build.json +1 -1
  5. data/docs/EntitlementsCreate.md +3 -0
  6. data/docs/EntitlementsPartialUpdate.md +3 -0
  7. data/docs/EntitlementsRefresh.md +3 -0
  8. data/docs/RepositoryToken.md +4 -0
  9. data/docs/RepositoryTokenRefresh.md +4 -0
  10. data/docs/RepositoryTokenSyncTokens.md +4 -0
  11. data/lib/cloudsmith-api/models/entitlements_create.rb +31 -1
  12. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +31 -1
  13. data/lib/cloudsmith-api/models/entitlements_refresh.rb +31 -1
  14. data/lib/cloudsmith-api/models/repository_token.rb +41 -1
  15. data/lib/cloudsmith-api/models/repository_token_refresh.rb +41 -1
  16. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +41 -1
  17. data/lib/cloudsmith-api/version.rb +1 -1
  18. data/spec/models/entitlements_create_spec.rb +18 -0
  19. data/spec/models/entitlements_partial_update_spec.rb +18 -0
  20. data/spec/models/entitlements_refresh_spec.rb +18 -0
  21. data/spec/models/repository_token_refresh_spec.rb +24 -0
  22. data/spec/models/repository_token_spec.rb +24 -0
  23. data/spec/models/repository_token_sync_tokens_spec.rb +24 -0
  24. data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.4.gem +0 -0
  25. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  26. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  27. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
  28. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack.rb +0 -0
  29. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/json.rb +5 -18
  30. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/util.rb +0 -0
  31. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.4/lib/crack/version.rb +3 -0
  32. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/xml.rb +0 -0
  33. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  34. data/vendor/bundle/ruby/2.6.0/specifications/{crack-0.4.3.gemspec → crack-0.4.4.gemspec} +3 -15
  35. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  36. metadata +102 -177
  37. data/vendor/bundle/ruby/2.6.0/bin/safe_yaml +0 -27
  38. data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.3.gem +0 -0
  39. data/vendor/bundle/ruby/2.6.0/cache/safe_yaml-1.0.5.gem +0 -0
  40. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.gitignore +0 -8
  41. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.travis.yml +0 -14
  42. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/Gemfile +0 -5
  43. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/History +0 -25
  44. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/LICENSE +0 -20
  45. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/README.md +0 -46
  46. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/crack.gemspec +0 -20
  47. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/lib/crack/version.rb +0 -3
  48. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/bootstrap +0 -21
  49. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/release +0 -42
  50. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test +0 -25
  51. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/large_dataset.json +0 -139988
  52. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-firefox.json +0 -1
  53. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-ie.json +0 -1
  54. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/hash_test.rb +0 -26
  55. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/json_test.rb +0 -91
  56. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/parser_test.rb +0 -27
  57. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/string_test.rb +0 -31
  58. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/test_helper.rb +0 -3
  59. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/xml_test.rb +0 -514
  60. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.gitignore +0 -3
  61. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.travis.yml +0 -48
  62. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +0 -154
  63. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +0 -11
  64. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +0 -22
  65. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +0 -191
  66. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile +0 -26
  67. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bin/safe_yaml +0 -75
  68. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +0 -11
  69. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +0 -94
  70. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +0 -34
  71. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +0 -36
  72. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +0 -181
  73. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +0 -37
  74. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +0 -12
  75. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +0 -26
  76. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +0 -99
  77. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +0 -52
  78. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +0 -94
  79. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -29
  80. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +0 -39
  81. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +0 -36
  82. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
  83. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +0 -38
  84. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +0 -41
  85. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +0 -21
  86. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +0 -13
  87. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +0 -33
  88. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +0 -26
  89. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +0 -18
  90. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +0 -17
  91. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +0 -47
  92. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +0 -3
  93. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +0 -38
  94. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +0 -19
  95. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.2.yaml +0 -2
  96. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.3.yaml +0 -2
  97. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue48.txt +0 -20
  98. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue49.yml +0 -0
  99. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/libyaml_checker_spec.rb +0 -69
  100. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/psych_resolver_spec.rb +0 -10
  101. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/resolver_specs.rb +0 -278
  102. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/safe_yaml_spec.rb +0 -731
  103. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/spec_helper.rb +0 -42
  104. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/store_spec.rb +0 -57
  105. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/support/exploitable_back_door.rb +0 -29
  106. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/syck_resolver_spec.rb +0 -10
  107. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/base64_spec.rb +0 -11
  108. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_date_spec.rb +0 -60
  109. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_float_spec.rb +0 -42
  110. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_integer_spec.rb +0 -64
  111. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_symbol_spec.rb +0 -51
  112. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/yaml_spec.rb +0 -15
  113. data/vendor/bundle/ruby/2.6.0/specifications/safe_yaml-1.0.5.gemspec +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f996e5d0ec7be4e13c9f3016ed1c90b9662aaa3fcbf6e17faa7509a53e0af5eb
4
- data.tar.gz: 3318eeb1beb67d059495c331a153d09a37927ddaf03e57b6e4f5fc46fd54bcd8
3
+ metadata.gz: 2b5645ffac2a3edf33816150623d3e1bce1caeee0f1652e711b0a5d15fd77845
4
+ data.tar.gz: b302eb5b3af8127dbc900954f4a214157d1176370764191458cbddd73274c185
5
5
  SHA512:
6
- metadata.gz: 574ffdd8e566b23b8f83647e5b5d1873cc1af328fe633bc2aa35e8610c6c71659a3a6ffd895f7f7fbd74cdddf426b8c2829f0f7256eedd72947238314ebc0ef7
7
- data.tar.gz: 7162da48657aefcb777756b18c73bf42b4bb6cb4c26670c56f4f57af5b4ed20eb2e613f96da80d30036c27c11ba5ffbcef8396927d7e5a60f068a310aa115c58
6
+ metadata.gz: 7687560813a1c4ff8bcf1ea8b275c01c4b569c5cf4806f2869fda5654c29098b8768d3e5c5dade279eecce64ec8875ebe68a5fbf5483b3ef6e4c70ea3c517cc8
7
+ data.tar.gz: bf99d70692182c8f4d2bba16fd6057d6884686afc9464f6a17f1899b625d72fc6087b9138c65543590b0d8f07b699ddc4e4218d5e8ef0c2bc390fa4cf5e74615
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudsmith-api (0.53.3)
4
+ cloudsmith-api (0.53.17)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -17,8 +17,7 @@ GEM
17
17
  sys-uname
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
20
- crack (0.4.3)
21
- safe_yaml (~> 1.0.0)
20
+ crack (0.4.4)
22
21
  diff-lcs (1.4.4)
23
22
  ethon (0.12.0)
24
23
  ffi (>= 1.3.0)
@@ -40,7 +39,6 @@ GEM
40
39
  diff-lcs (>= 1.2.0, < 2.0)
41
40
  rspec-support (~> 3.9.0)
42
41
  rspec-support (3.9.3)
43
- safe_yaml (1.0.5)
44
42
  sys-uname (1.2.1)
45
43
  ffi (>= 1.0.0)
46
44
  typhoeus (1.4.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: 0.53.3
10
+ - Package version: 0.53.17
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-0.53.3.gem
27
+ gem install ./cloudsmith-api-0.53.17.gem
28
28
  ```
29
- (for development, run `gem install --dev ./cloudsmith-api-0.53.3.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./cloudsmith-api-0.53.17.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', '~> 0.53.3'
35
+ gem 'cloudsmith-api', '~> 0.53.17'
36
36
 
37
37
  ### Install from Git
38
38
 
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": "0.53.3",
11
+ "gemVersion": "0.53.17",
12
12
  "hideGenerationTimestamp": true,
13
13
  "moduleName": "CloudsmithApi",
14
14
  "sortParamsByRequiredFlag": true
@@ -4,6 +4,8 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
7
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
8
+ **limit_bandwidth_unit** | **String** | None | [optional]
7
9
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
8
10
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
9
11
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -12,6 +14,7 @@ Name | Type | Description | Notes
12
14
  **limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
13
15
  **metadata** | **Object** | None | [optional]
14
16
  **name** | **String** | None |
17
+ **scheduled_reset_period** | **String** | None | [optional]
15
18
  **token** | **String** | None | [optional]
16
19
 
17
20
 
@@ -4,6 +4,8 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
7
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
8
+ **limit_bandwidth_unit** | **String** | None | [optional]
7
9
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
8
10
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
9
11
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -12,6 +14,7 @@ Name | Type | Description | Notes
12
14
  **limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
13
15
  **metadata** | **Object** | None | [optional]
14
16
  **name** | **String** | None | [optional]
17
+ **scheduled_reset_period** | **String** | None | [optional]
15
18
  **token** | **String** | None | [optional]
16
19
 
17
20
 
@@ -4,6 +4,8 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
7
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
8
+ **limit_bandwidth_unit** | **String** | None | [optional]
7
9
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
8
10
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
9
11
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -11,6 +13,7 @@ Name | Type | Description | Notes
11
13
  **limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
12
14
  **limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
13
15
  **metadata** | **Object** | None | [optional]
16
+ **scheduled_reset_period** | **String** | None | [optional]
14
17
  **token** | **String** | None | [optional]
15
18
 
16
19
 
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
13
13
  **identifier** | **Integer** | | [optional]
14
14
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
15
15
  **is_limited** | **BOOLEAN** | | [optional]
16
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
17
+ **limit_bandwidth_unit** | **String** | | [optional]
16
18
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
17
19
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
18
20
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -22,6 +24,8 @@ Name | Type | Description | Notes
22
24
  **metadata** | **Object** | | [optional]
23
25
  **name** | **String** | |
24
26
  **refresh_url** | **String** | | [optional]
27
+ **scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
28
+ **scheduled_reset_period** | **String** | | [optional]
25
29
  **self_url** | **String** | | [optional]
26
30
  **slug_perm** | **String** | | [optional]
27
31
  **token** | **String** | | [optional]
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
13
13
  **identifier** | **Integer** | | [optional]
14
14
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
15
15
  **is_limited** | **BOOLEAN** | | [optional]
16
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
17
+ **limit_bandwidth_unit** | **String** | | [optional]
16
18
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
17
19
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
18
20
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -22,6 +24,8 @@ Name | Type | Description | Notes
22
24
  **metadata** | **Object** | | [optional]
23
25
  **name** | **String** | | [optional]
24
26
  **refresh_url** | **String** | | [optional]
27
+ **scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
28
+ **scheduled_reset_period** | **String** | | [optional]
25
29
  **self_url** | **String** | | [optional]
26
30
  **slug_perm** | **String** | | [optional]
27
31
  **token** | **String** | | [optional]
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
13
13
  **identifier** | **Integer** | | [optional]
14
14
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
15
15
  **is_limited** | **BOOLEAN** | | [optional]
16
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
17
+ **limit_bandwidth_unit** | **String** | | [optional]
16
18
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
17
19
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
18
20
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -22,6 +24,8 @@ Name | Type | Description | Notes
22
24
  **metadata** | **String** | | [optional]
23
25
  **name** | **String** | | [optional]
24
26
  **refresh_url** | **String** | | [optional]
27
+ **scheduled_reset_at** | **String** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional]
28
+ **scheduled_reset_period** | **String** | | [optional]
25
29
  **self_url** | **String** | | [optional]
26
30
  **slug_perm** | **String** | | [optional]
27
31
  **token** | **String** | | [optional]
@@ -18,6 +18,12 @@ module CloudsmithApi
18
18
  # If enabled, the token will allow downloads based on configured restrictions (if any).
19
19
  attr_accessor :is_active
20
20
 
21
+ # The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
22
+ attr_accessor :limit_bandwidth
23
+
24
+ # None
25
+ attr_accessor :limit_bandwidth_unit
26
+
21
27
  # The starting date/time the token is allowed to be used from.
22
28
  attr_accessor :limit_date_range_from
23
29
 
@@ -42,6 +48,9 @@ module CloudsmithApi
42
48
  # None
43
49
  attr_accessor :name
44
50
 
51
+ # None
52
+ attr_accessor :scheduled_reset_period
53
+
45
54
  # None
46
55
  attr_accessor :token
47
56
 
@@ -50,6 +59,8 @@ module CloudsmithApi
50
59
  def self.attribute_map
51
60
  {
52
61
  :'is_active' => :'is_active',
62
+ :'limit_bandwidth' => :'limit_bandwidth',
63
+ :'limit_bandwidth_unit' => :'limit_bandwidth_unit',
53
64
  :'limit_date_range_from' => :'limit_date_range_from',
54
65
  :'limit_date_range_to' => :'limit_date_range_to',
55
66
  :'limit_num_clients' => :'limit_num_clients',
@@ -58,6 +69,7 @@ module CloudsmithApi
58
69
  :'limit_path_query' => :'limit_path_query',
59
70
  :'metadata' => :'metadata',
60
71
  :'name' => :'name',
72
+ :'scheduled_reset_period' => :'scheduled_reset_period',
61
73
  :'token' => :'token'
62
74
  }
63
75
  end
@@ -66,6 +78,8 @@ module CloudsmithApi
66
78
  def self.swagger_types
67
79
  {
68
80
  :'is_active' => :'BOOLEAN',
81
+ :'limit_bandwidth' => :'Integer',
82
+ :'limit_bandwidth_unit' => :'String',
69
83
  :'limit_date_range_from' => :'String',
70
84
  :'limit_date_range_to' => :'String',
71
85
  :'limit_num_clients' => :'Integer',
@@ -74,6 +88,7 @@ module CloudsmithApi
74
88
  :'limit_path_query' => :'String',
75
89
  :'metadata' => :'Object',
76
90
  :'name' => :'String',
91
+ :'scheduled_reset_period' => :'String',
77
92
  :'token' => :'String'
78
93
  }
79
94
  end
@@ -90,6 +105,14 @@ module CloudsmithApi
90
105
  self.is_active = attributes[:'is_active']
91
106
  end
92
107
 
108
+ if attributes.has_key?(:'limit_bandwidth')
109
+ self.limit_bandwidth = attributes[:'limit_bandwidth']
110
+ end
111
+
112
+ if attributes.has_key?(:'limit_bandwidth_unit')
113
+ self.limit_bandwidth_unit = attributes[:'limit_bandwidth_unit']
114
+ end
115
+
93
116
  if attributes.has_key?(:'limit_date_range_from')
94
117
  self.limit_date_range_from = attributes[:'limit_date_range_from']
95
118
  end
@@ -122,6 +145,10 @@ module CloudsmithApi
122
145
  self.name = attributes[:'name']
123
146
  end
124
147
 
148
+ if attributes.has_key?(:'scheduled_reset_period')
149
+ self.scheduled_reset_period = attributes[:'scheduled_reset_period']
150
+ end
151
+
125
152
  if attributes.has_key?(:'token')
126
153
  self.token = attributes[:'token']
127
154
  end
@@ -152,6 +179,8 @@ module CloudsmithApi
152
179
  return true if self.equal?(o)
153
180
  self.class == o.class &&
154
181
  is_active == o.is_active &&
182
+ limit_bandwidth == o.limit_bandwidth &&
183
+ limit_bandwidth_unit == o.limit_bandwidth_unit &&
155
184
  limit_date_range_from == o.limit_date_range_from &&
156
185
  limit_date_range_to == o.limit_date_range_to &&
157
186
  limit_num_clients == o.limit_num_clients &&
@@ -160,6 +189,7 @@ module CloudsmithApi
160
189
  limit_path_query == o.limit_path_query &&
161
190
  metadata == o.metadata &&
162
191
  name == o.name &&
192
+ scheduled_reset_period == o.scheduled_reset_period &&
163
193
  token == o.token
164
194
  end
165
195
 
@@ -172,7 +202,7 @@ module CloudsmithApi
172
202
  # Calculates hash code according to all attributes.
173
203
  # @return [Fixnum] Hash code
174
204
  def hash
175
- [is_active, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, token].hash
205
+ [is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_period, token].hash
176
206
  end
177
207
 
178
208
  # Builds the object from hash
@@ -18,6 +18,12 @@ module CloudsmithApi
18
18
  # If enabled, the token will allow downloads based on configured restrictions (if any).
19
19
  attr_accessor :is_active
20
20
 
21
+ # The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
22
+ attr_accessor :limit_bandwidth
23
+
24
+ # None
25
+ attr_accessor :limit_bandwidth_unit
26
+
21
27
  # The starting date/time the token is allowed to be used from.
22
28
  attr_accessor :limit_date_range_from
23
29
 
@@ -42,6 +48,9 @@ module CloudsmithApi
42
48
  # None
43
49
  attr_accessor :name
44
50
 
51
+ # None
52
+ attr_accessor :scheduled_reset_period
53
+
45
54
  # None
46
55
  attr_accessor :token
47
56
 
@@ -50,6 +59,8 @@ module CloudsmithApi
50
59
  def self.attribute_map
51
60
  {
52
61
  :'is_active' => :'is_active',
62
+ :'limit_bandwidth' => :'limit_bandwidth',
63
+ :'limit_bandwidth_unit' => :'limit_bandwidth_unit',
53
64
  :'limit_date_range_from' => :'limit_date_range_from',
54
65
  :'limit_date_range_to' => :'limit_date_range_to',
55
66
  :'limit_num_clients' => :'limit_num_clients',
@@ -58,6 +69,7 @@ module CloudsmithApi
58
69
  :'limit_path_query' => :'limit_path_query',
59
70
  :'metadata' => :'metadata',
60
71
  :'name' => :'name',
72
+ :'scheduled_reset_period' => :'scheduled_reset_period',
61
73
  :'token' => :'token'
62
74
  }
63
75
  end
@@ -66,6 +78,8 @@ module CloudsmithApi
66
78
  def self.swagger_types
67
79
  {
68
80
  :'is_active' => :'BOOLEAN',
81
+ :'limit_bandwidth' => :'Integer',
82
+ :'limit_bandwidth_unit' => :'String',
69
83
  :'limit_date_range_from' => :'String',
70
84
  :'limit_date_range_to' => :'String',
71
85
  :'limit_num_clients' => :'Integer',
@@ -74,6 +88,7 @@ module CloudsmithApi
74
88
  :'limit_path_query' => :'String',
75
89
  :'metadata' => :'Object',
76
90
  :'name' => :'String',
91
+ :'scheduled_reset_period' => :'String',
77
92
  :'token' => :'String'
78
93
  }
79
94
  end
@@ -90,6 +105,14 @@ module CloudsmithApi
90
105
  self.is_active = attributes[:'is_active']
91
106
  end
92
107
 
108
+ if attributes.has_key?(:'limit_bandwidth')
109
+ self.limit_bandwidth = attributes[:'limit_bandwidth']
110
+ end
111
+
112
+ if attributes.has_key?(:'limit_bandwidth_unit')
113
+ self.limit_bandwidth_unit = attributes[:'limit_bandwidth_unit']
114
+ end
115
+
93
116
  if attributes.has_key?(:'limit_date_range_from')
94
117
  self.limit_date_range_from = attributes[:'limit_date_range_from']
95
118
  end
@@ -122,6 +145,10 @@ module CloudsmithApi
122
145
  self.name = attributes[:'name']
123
146
  end
124
147
 
148
+ if attributes.has_key?(:'scheduled_reset_period')
149
+ self.scheduled_reset_period = attributes[:'scheduled_reset_period']
150
+ end
151
+
125
152
  if attributes.has_key?(:'token')
126
153
  self.token = attributes[:'token']
127
154
  end
@@ -147,6 +174,8 @@ module CloudsmithApi
147
174
  return true if self.equal?(o)
148
175
  self.class == o.class &&
149
176
  is_active == o.is_active &&
177
+ limit_bandwidth == o.limit_bandwidth &&
178
+ limit_bandwidth_unit == o.limit_bandwidth_unit &&
150
179
  limit_date_range_from == o.limit_date_range_from &&
151
180
  limit_date_range_to == o.limit_date_range_to &&
152
181
  limit_num_clients == o.limit_num_clients &&
@@ -155,6 +184,7 @@ module CloudsmithApi
155
184
  limit_path_query == o.limit_path_query &&
156
185
  metadata == o.metadata &&
157
186
  name == o.name &&
187
+ scheduled_reset_period == o.scheduled_reset_period &&
158
188
  token == o.token
159
189
  end
160
190
 
@@ -167,7 +197,7 @@ module CloudsmithApi
167
197
  # Calculates hash code according to all attributes.
168
198
  # @return [Fixnum] Hash code
169
199
  def hash
170
- [is_active, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, token].hash
200
+ [is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, name, scheduled_reset_period, token].hash
171
201
  end
172
202
 
173
203
  # Builds the object from hash
@@ -18,6 +18,12 @@ module CloudsmithApi
18
18
  # If enabled, the token will allow downloads based on configured restrictions (if any).
19
19
  attr_accessor :is_active
20
20
 
21
+ # The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point.
22
+ attr_accessor :limit_bandwidth
23
+
24
+ # None
25
+ attr_accessor :limit_bandwidth_unit
26
+
21
27
  # The starting date/time the token is allowed to be used from.
22
28
  attr_accessor :limit_date_range_from
23
29
 
@@ -39,6 +45,9 @@ module CloudsmithApi
39
45
  # None
40
46
  attr_accessor :metadata
41
47
 
48
+ # None
49
+ attr_accessor :scheduled_reset_period
50
+
42
51
  # None
43
52
  attr_accessor :token
44
53
 
@@ -47,6 +56,8 @@ module CloudsmithApi
47
56
  def self.attribute_map
48
57
  {
49
58
  :'is_active' => :'is_active',
59
+ :'limit_bandwidth' => :'limit_bandwidth',
60
+ :'limit_bandwidth_unit' => :'limit_bandwidth_unit',
50
61
  :'limit_date_range_from' => :'limit_date_range_from',
51
62
  :'limit_date_range_to' => :'limit_date_range_to',
52
63
  :'limit_num_clients' => :'limit_num_clients',
@@ -54,6 +65,7 @@ module CloudsmithApi
54
65
  :'limit_package_query' => :'limit_package_query',
55
66
  :'limit_path_query' => :'limit_path_query',
56
67
  :'metadata' => :'metadata',
68
+ :'scheduled_reset_period' => :'scheduled_reset_period',
57
69
  :'token' => :'token'
58
70
  }
59
71
  end
@@ -62,6 +74,8 @@ module CloudsmithApi
62
74
  def self.swagger_types
63
75
  {
64
76
  :'is_active' => :'BOOLEAN',
77
+ :'limit_bandwidth' => :'Integer',
78
+ :'limit_bandwidth_unit' => :'String',
65
79
  :'limit_date_range_from' => :'String',
66
80
  :'limit_date_range_to' => :'String',
67
81
  :'limit_num_clients' => :'Integer',
@@ -69,6 +83,7 @@ module CloudsmithApi
69
83
  :'limit_package_query' => :'String',
70
84
  :'limit_path_query' => :'String',
71
85
  :'metadata' => :'Object',
86
+ :'scheduled_reset_period' => :'String',
72
87
  :'token' => :'String'
73
88
  }
74
89
  end
@@ -85,6 +100,14 @@ module CloudsmithApi
85
100
  self.is_active = attributes[:'is_active']
86
101
  end
87
102
 
103
+ if attributes.has_key?(:'limit_bandwidth')
104
+ self.limit_bandwidth = attributes[:'limit_bandwidth']
105
+ end
106
+
107
+ if attributes.has_key?(:'limit_bandwidth_unit')
108
+ self.limit_bandwidth_unit = attributes[:'limit_bandwidth_unit']
109
+ end
110
+
88
111
  if attributes.has_key?(:'limit_date_range_from')
89
112
  self.limit_date_range_from = attributes[:'limit_date_range_from']
90
113
  end
@@ -113,6 +136,10 @@ module CloudsmithApi
113
136
  self.metadata = attributes[:'metadata']
114
137
  end
115
138
 
139
+ if attributes.has_key?(:'scheduled_reset_period')
140
+ self.scheduled_reset_period = attributes[:'scheduled_reset_period']
141
+ end
142
+
116
143
  if attributes.has_key?(:'token')
117
144
  self.token = attributes[:'token']
118
145
  end
@@ -138,6 +165,8 @@ module CloudsmithApi
138
165
  return true if self.equal?(o)
139
166
  self.class == o.class &&
140
167
  is_active == o.is_active &&
168
+ limit_bandwidth == o.limit_bandwidth &&
169
+ limit_bandwidth_unit == o.limit_bandwidth_unit &&
141
170
  limit_date_range_from == o.limit_date_range_from &&
142
171
  limit_date_range_to == o.limit_date_range_to &&
143
172
  limit_num_clients == o.limit_num_clients &&
@@ -145,6 +174,7 @@ module CloudsmithApi
145
174
  limit_package_query == o.limit_package_query &&
146
175
  limit_path_query == o.limit_path_query &&
147
176
  metadata == o.metadata &&
177
+ scheduled_reset_period == o.scheduled_reset_period &&
148
178
  token == o.token
149
179
  end
150
180
 
@@ -157,7 +187,7 @@ module CloudsmithApi
157
187
  # Calculates hash code according to all attributes.
158
188
  # @return [Fixnum] Hash code
159
189
  def hash
160
- [is_active, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, token].hash
190
+ [is_active, limit_bandwidth, limit_bandwidth_unit, limit_date_range_from, limit_date_range_to, limit_num_clients, limit_num_downloads, limit_package_query, limit_path_query, metadata, scheduled_reset_period, token].hash
161
191
  end
162
192
 
163
193
  # Builds the object from hash