Class: UU::ObjectStore::ObjectStoreRepository::ObjectStoreRepositoryCreate
- Inherits:
-
UU::OS::REST::DTO
- Object
- UU::OS::REST::DTO
- UU::ObjectStore::ObjectStoreRepository::ObjectStoreRepositoryCreate
- Defined in:
- uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_create.rb
Overview
DTO for creation of the new object store repository.
Instance Attribute Summary (collapse)
-
- (String) code
Code of the new object store repository.
-
- (String) connection_uri
Connection URI for repository storage database.
-
- (String) description
Description of the new object store repository.
-
- (Fixnum) max_size
Maximum size of the new object store repository (in megabytes).
-
- (String) name
Name of the new object store repository.
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 new object store repository. Code must be unique in scope of territory. Attribute is optional, defaults to system generated value.
18 19 20 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_create.rb', line 18 def code @code end |
- (String) connection_uri
Connection URI for repository storage database. Attribute is mandatory.
33 34 35 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_create.rb', line 33 def connection_uri @connection_uri end |
- (String) description
Description of the new object store repository. Attribute is optional,
defaults to nil
.
22 23 24 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_create.rb', line 22 def description @description end |
- (Fixnum) max_size
Maximum size of the new object store repository (in megabytes). This number should correspond to physical capacity of storage database defined in connection_uri attribute. Attribute is not mandatory (defaults to value defined by server), however it should be set explicitly because server default value does not reflect physical capacity of storage.
29 30 31 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_create.rb', line 29 def max_size @max_size end |
- (String) name
Name of the new object store repository. Attribute is mandatory.
13 14 15 |
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_store_repository/object_store_repository_create.rb', line 13 def name @name end |