Class: UU::AppLog::ApplicationLog::ApplicationLogAttributes
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::AppLog::ApplicationLog::ApplicationLogAttributes
- Defined in:
- uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb
Overview
DTO containing attributes of a existing 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.
-
- (UU::OS::UESURI) uri
URI of the application log.
-
- (UU::OS::UESURI) uu_app_uri
URI of the application using 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 code is generated automatically using the application sequence. The code must be unique in the given territory, otherwise the create command fails.
25 26 27 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 25 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.
39 40 41 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 39 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.
47 48 49 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 47 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.
32 33 34 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 32 def name @name end |
- (UU::OS::UESURI) uri
URI of the application log.
13 14 15 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 13 def uri @uri end |
- (UU::OS::UESURI) uu_app_uri
URI of the application using application log.
18 19 20 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 18 def uu_app_uri @uu_app_uri end |