Class: Fizzy::Types::CreateDirectUploadRequestContent
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::CreateDirectUploadRequestContent
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#byte_size ⇒ Object
readonly
Returns the value of attribute byte_size.
-
#checksum ⇒ Object
readonly
Returns the value of attribute checksum.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Class Method Summary collapse
Instance Attribute Details
#byte_size ⇒ Object (readonly)
Returns the value of attribute byte_size
419 420 421 |
# File 'lib/fizzy/generated/types.rb', line 419 def byte_size @byte_size end |
#checksum ⇒ Object (readonly)
Returns the value of attribute checksum
419 420 421 |
# File 'lib/fizzy/generated/types.rb', line 419 def checksum @checksum end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
419 420 421 |
# File 'lib/fizzy/generated/types.rb', line 419 def content_type @content_type end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename
419 420 421 |
# File 'lib/fizzy/generated/types.rb', line 419 def filename @filename end |
Class Method Details
.from_json(data) ⇒ Object
421 422 423 424 425 426 427 428 |
# File 'lib/fizzy/generated/types.rb', line 421 def self.from_json(data) new( filename: data["filename"], content_type: data["content_type"], byte_size: data["byte_size"], checksum: data["checksum"] ) end |