Class: UU::AppLog::ApplicationLog::ApplicationLogCreate
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::AppLog::ApplicationLog::ApplicationLogCreate
- Defined in:
- uu_applog-0.8.6/lib/uu/applog/application_log/application_log_create.rb
Overview
DTO containing attributes of a new application log.
Instance Attribute Summary (collapse)
-
- (String) code
Code of the new application log.
-
- (String) description
Description of the new application log.
-
- (String) logging_severity
Severity of records (value from Severity) to store in the application log.
-
- (String) name
Name of the new application log.
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
- (String) code
Code of the new application log. When nil is set, the default code is generated automatically using the application code slash default code of application log. The code must be unique in the given territory, otherwise the create command fails.
15 16 17 |
# File 'uu_applog-0.8.6/lib/uu/applog/application_log/application_log_create.rb', line 15 def code @code end |
- (String) description
Description of the new application log. When nil is set, the description is taken from the meta artifact tDescription. When the meta artifact does not define a tDescription, it is left empty.
29 30 31 |
# File 'uu_applog-0.8.6/lib/uu/applog/application_log/application_log_create.rb', line 29 def description @description end |
- (String) logging_severity
Severity of records (value from Severity) to store in the application log. If severity of a particular application log record is equal or higher than this severity, the record is stored, otherwise it is thrown away.
37 38 39 |
# File 'uu_applog-0.8.6/lib/uu/applog/application_log/application_log_create.rb', line 37 def logging_severity @logging_severity end |
- (String) name
Name of the new application log. When nil is set, the name is taken from the meta artifact tName. When the meta artifact does not define a tName, the create command fails.
22 23 24 |
# File 'uu_applog-0.8.6/lib/uu/applog/application_log/application_log_create.rb', line 22 def name @name end |