Class: UU::ObjectStore::ObjectStoreRepository::ObjectStoreRepositoryAttributes

Inherits:
UU::OS::REST::DTO
  • Object
show all
Defined in:
uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb

Overview

DTO representing object store repository attributes.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::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

- (String) code

Code of the object store repository.

Returns:

  • (String)


21
22
23
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 21

def code
  @code
end

- (String) connection_uri

Connection URI for repository storage database.

Returns:

  • (String)


41
42
43
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 41

def connection_uri
  @connection_uri
end

- (Fixnum) current_size

Current total size of the object store repository (in megabytes).

Returns:

  • (Fixnum)


33
34
35
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 33

def current_size
  @current_size
end

- (String) description

Description of the object store repository.

Returns:

  • (String)


25
26
27
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 25

def description
  @description
end

- (Fixnum) max_size

Maximum size of the object store repository (in megabytes).

Returns:

  • (Fixnum)


29
30
31
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 29

def max_size
  @max_size
end

- (String) name

Name of the object store repository.

Returns:

  • (String)


17
18
19
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 17

def name
  @name
end

- (Fixnum) object_store_count

Current count of object stores in repository.

Returns:

  • (Fixnum)


37
38
39
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 37

def object_store_count
  @object_store_count
end

- (UU::OS::UESURI) uri

URI of the object store repository.

Returns:



13
14
15
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_attributes.rb', line 13

def uri
  @uri
end