Class: UU::UDS::Bucket::BlobAttributes
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::UDS::Bucket::BlobAttributes
- Defined in:
- uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb
Overview
DTO representing blob attributes.
Instance Attribute Summary (collapse)
-
- (UU::OS::UESURI) application_uri
URI of application which created this blob.
-
- (String) checksum
Binary data MD5 checksum.
-
- (String) content_type
Binary data content-type.
-
- (String) encoding
Binary data encoding.
-
- (String) name
Binary data logical name or file name.
-
- (UU::OS::UESURI) owner_uri
URI of person who created this blob.
-
- (Fixnum) size
Binary data size (in bytes).
-
- (Fixnum) timeout
Time (in milliseconds) after which blob will be automatically deleted (depends on configuration of bucket where blob is placed).
-
- (String) timestamp
Time when blob was created (in ISO format).
-
- (UU::OS::UESURI) uri
URI of the blob.
Method Summary
Methods inherited from OS::REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (UU::OS::UESURI) application_uri
URI of application which created this blob.
44 45 46 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 44 def application_uri @application_uri end |
- (String) checksum
Binary data MD5 checksum.
59 60 61 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 59 def checksum @checksum end |
- (String) content_type
Binary data content-type.
24 25 26 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 24 def content_type @content_type end |
- (String) encoding
Binary data encoding.
29 30 31 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 29 def encoding @encoding end |
- (String) name
Binary data logical name or file name.
19 20 21 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 19 def name @name end |
- (UU::OS::UESURI) owner_uri
URI of person who created this blob.
39 40 41 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 39 def owner_uri @owner_uri end |
- (Fixnum) size
Binary data size (in bytes).
34 35 36 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 34 def size @size end |
- (Fixnum) timeout
Time (in milliseconds) after which blob will be automatically deleted (depends on configuration of bucket where blob is placed).
54 55 56 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 54 def timeout @timeout end |
- (String) timestamp
Time when blob was created (in ISO format).
49 50 51 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 49 def @timestamp end |
- (UU::OS::UESURI) uri
URI of the blob.
14 15 16 |
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 14 def uri @uri end |