volcano-sdk 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/volcano/version.rb +1 -1
- data/sig/upload_session_status.rbs +30 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 996a8ecfd643f51784fd18e65dd5a0970d240d3e05373274bcc557667d4a6e64
|
|
4
|
+
data.tar.gz: 5f3b45d40b6e3dc23e5febecdfd955f2e15e9e34b22e2595323a79bfef260421
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9863db542f28fee58617a6f038767cee70fde34ddf1e3c84f85ac35753363f2c9afc2300314ed1d6dff2acd19a4cc26f49986717eee7008d6c558fb75690dc4f
|
|
7
|
+
data.tar.gz: bd1a32e6a2d33d207edbd35d2d84f3f97978478cda933b7391cfc73383691a8f74dfc3f278a8f9986ea4a7d6ea14758fdff999bbf0dcc6ff381e6ebc72bd47ac
|
data/lib/volcano/version.rb
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Volcano
|
|
2
|
+
class UploadSessionStatus < Data
|
|
3
|
+
attr_reader session_id: String
|
|
4
|
+
attr_reader status: String
|
|
5
|
+
attr_reader path: String
|
|
6
|
+
attr_reader content_type: String
|
|
7
|
+
attr_reader total_size: Integer
|
|
8
|
+
attr_reader part_size: Integer
|
|
9
|
+
attr_reader total_parts: Integer
|
|
10
|
+
attr_reader parts_uploaded: Integer
|
|
11
|
+
attr_reader bytes_uploaded: Integer
|
|
12
|
+
attr_reader parts: Array[UploadPart]
|
|
13
|
+
attr_reader expires_at: Time
|
|
14
|
+
attr_reader created_at: Time
|
|
15
|
+
|
|
16
|
+
def self.new: (String session_id, String status, String path, String content_type, Integer total_size, Integer part_size, Integer total_parts, Integer parts_uploaded, Integer bytes_uploaded, Array[UploadPart] parts, Time expires_at, Time created_at) -> UploadSessionStatus
|
|
17
|
+
| (session_id: String, status: String, path: String, content_type: String, total_size: Integer, part_size: Integer, total_parts: Integer, parts_uploaded: Integer, bytes_uploaded: Integer, parts: Array[UploadPart], expires_at: Time, created_at: Time) -> UploadSessionStatus
|
|
18
|
+
def self.[]: (String session_id, String status, String path, String content_type, Integer total_size, Integer part_size, Integer total_parts, Integer parts_uploaded, Integer bytes_uploaded, Array[UploadPart] parts, Time expires_at, Time created_at) -> UploadSessionStatus
|
|
19
|
+
| (session_id: String, status: String, path: String, content_type: String, total_size: Integer, part_size: Integer, total_parts: Integer, parts_uploaded: Integer, bytes_uploaded: Integer, parts: Array[UploadPart], expires_at: Time, created_at: Time) -> UploadSessionStatus
|
|
20
|
+
def self.members: () -> [:session_id, :status, :path, :content_type, :total_size, :part_size, :total_parts, :parts_uploaded, :bytes_uploaded, :parts, :expires_at, :created_at]
|
|
21
|
+
|
|
22
|
+
def initialize: (session_id: String, status: String, path: String, content_type: String, total_size: Integer, part_size: Integer, total_parts: Integer, parts_uploaded: Integer, bytes_uploaded: Integer, parts: Array[UploadPart], expires_at: Time, created_at: Time) -> void
|
|
23
|
+
def members: () -> [:session_id, :status, :path, :content_type, :total_size, :part_size, :total_parts, :parts_uploaded, :bytes_uploaded, :parts, :expires_at, :created_at]
|
|
24
|
+
def with: (?session_id: String, ?status: String, ?path: String, ?content_type: String, ?total_size: Integer, ?part_size: Integer, ?total_parts: Integer, ?parts_uploaded: Integer, ?bytes_uploaded: Integer, ?parts: Array[UploadPart], ?expires_at: Time, ?created_at: Time) -> UploadSessionStatus
|
|
25
|
+
def to_h: () -> { session_id: String, status: String, path: String, content_type: String, total_size: Integer, part_size: Integer, total_parts: Integer, parts_uploaded: Integer, bytes_uploaded: Integer, parts: Array[UploadPart], expires_at: Time, created_at: Time }
|
|
26
|
+
| [K, V] () { (Symbol, String | Integer | Array[UploadPart] | Time) -> [K, V] } -> Hash[K, V]
|
|
27
|
+
def deconstruct: () -> [String, String, String, String, Integer, Integer, Integer, Integer, Integer, Array[UploadPart], Time, Time]
|
|
28
|
+
def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, String | Integer | Array[UploadPart] | Time]
|
|
29
|
+
end
|
|
30
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: volcano-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kong
|
|
@@ -613,6 +613,7 @@ files:
|
|
|
613
613
|
- sig/session.rbs
|
|
614
614
|
- sig/sign_up_result.rbs
|
|
615
615
|
- sig/upload_records.rbs
|
|
616
|
+
- sig/upload_session_status.rbs
|
|
616
617
|
homepage: https://github.com/Kong/volcano-sdk-ruby
|
|
617
618
|
licenses:
|
|
618
619
|
- Apache-2.0
|