Class: UU::UDS::Bucket::BlobAttributes

Inherits:
OS::REST::DTO show all
Defined in:
uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb

Overview

DTO representing blob attributes.

Instance Attribute Summary (collapse)

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.

Parameters:

Returns:



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.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

  • (String)

Returns:

  • (String)


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.

Parameters:

Returns:



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).

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


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).

Parameters:

  • (Fixnum)

Returns:

  • (Fixnum)


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).

Parameters:

  • (String, Time)

Returns:

  • (String)


49
50
51
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 49

def timestamp
  @timestamp
end

- (UU::OS::UESURI) uri

URI of the blob.

Parameters:

Returns:



14
15
16
# File 'uu_uds-0.26.16/lib/uu/uds/bucket/blob_attributes.rb', line 14

def uri
  @uri
end