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
430 431 432 |
# File 'lib/fizzy/generated/types.rb', line 430 def byte_size @byte_size end |
#checksum ⇒ Object (readonly)
Returns the value of attribute checksum
430 431 432 |
# File 'lib/fizzy/generated/types.rb', line 430 def checksum @checksum end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
430 431 432 |
# File 'lib/fizzy/generated/types.rb', line 430 def content_type @content_type end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename
430 431 432 |
# File 'lib/fizzy/generated/types.rb', line 430 def filename @filename end |
Class Method Details
.from_json(data) ⇒ Object
432 433 434 435 436 437 438 439 |
# File 'lib/fizzy/generated/types.rb', line 432 def self.from_json(data) new( filename: data["filename"], content_type: data["content_type"], byte_size: data["byte_size"], checksum: data["checksum"] ) end |