Class: UU::AppLog::ApplicationLog::ApplicationLogSetAttributes
- Inherits:
-
OS::REST::DTO
- Object
- OS::REST::DTO
- UU::AppLog::ApplicationLog::ApplicationLogSetAttributes
- Defined in:
- uu_applog-0.27.16/lib/uu/applog/application_log/application_log_set_attributes.rb
Overview
DTO containing changed attributes of a existing application log.
Instance Attribute Summary (collapse)
-
- (String) code
Code of the application log.
-
- (String) description
Description of the new application log.
-
- (String) logging_severity
Severity (value from Severity) of records 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.
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 application log. The code must be unique in the given territory, otherwise the set attributes command fails.
24 25 26 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_set_attributes.rb', line 24 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.
38 39 40 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_set_attributes.rb', line 38 def description @description end |
- (String) logging_severity
Severity (value from Severity) of records 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.
46 47 48 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_set_attributes.rb', line 46 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.
31 32 33 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_set_attributes.rb', line 31 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_set_attributes.rb', line 13 def uri @uri end |
- (UU::OS::UESURI) uu_app_uri
URI of the application.
18 19 20 |
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_set_attributes.rb', line 18 def uu_app_uri @uu_app_uri end |