Class: Quark::Mdk::LoggedMessageId
- Inherits:
-
DatawireQuarkCore::QuarkObject
- Object
- DatawireQuarkCore::QuarkObject
- Quark::Mdk::LoggedMessageId
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/mdk.rb
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Attribute Summary collapse
-
#causalLevel ⇒ Object
Returns the value of attribute causalLevel.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#environmentFallback ⇒ Object
Returns the value of attribute environmentFallback.
-
#traceId ⇒ Object
Returns the value of attribute traceId.
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize(traceId, causalLevel, environment, environmentFallback) ⇒ LoggedMessageId
constructor
A new instance of LoggedMessageId.
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Methods inherited from DatawireQuarkCore::QuarkObject
Constructor Details
#initialize(traceId, causalLevel, environment, environmentFallback) ⇒ LoggedMessageId
Returns a new instance of LoggedMessageId.
988 989 990 991 992 993 994 995 996 997 |
# File 'lib/mdk.rb', line 988 def initialize(traceId, causalLevel, environment, environmentFallback) self.__init_fields__ (self).traceId = traceId (self).causalLevel = causalLevel (self).environment = environment (self).environmentFallback = environmentFallback nil end |
Instance Attribute Details
#causalLevel ⇒ Object
Returns the value of attribute causalLevel.
980 981 982 |
# File 'lib/mdk.rb', line 980 def causalLevel @causalLevel end |
#environment ⇒ Object
Returns the value of attribute environment.
980 981 982 |
# File 'lib/mdk.rb', line 980 def environment @environment end |
#environmentFallback ⇒ Object
Returns the value of attribute environmentFallback.
980 981 982 |
# File 'lib/mdk.rb', line 980 def environmentFallback @environmentFallback end |
#traceId ⇒ Object
Returns the value of attribute traceId.
980 981 982 |
# File 'lib/mdk.rb', line 980 def traceId @traceId end |
Instance Method Details
#__init_fields__ ⇒ Object
1046 1047 1048 1049 1050 1051 1052 1053 1054 |
# File 'lib/mdk.rb', line 1046 def __init_fields__() self.traceId = nil self.causalLevel = nil self.environment = nil self.environmentFallback = nil nil end |
#_getClass ⇒ Object
1002 1003 1004 1005 1006 1007 |
# File 'lib/mdk.rb', line 1002 def _getClass() return "mdk.LoggedMessageId" nil end |
#_getField(name) ⇒ Object
1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/mdk.rb', line 1009 def _getField(name) if ((name) == ("traceId")) return (self).traceId end if ((name) == ("causalLevel")) return (self).causalLevel end if ((name) == ("environment")) return (self).environment end if ((name) == ("environmentFallback")) return (self).environmentFallback end return nil nil end |
#_setField(name, value) ⇒ Object
1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 |
# File 'lib/mdk.rb', line 1028 def _setField(name, value) if ((name) == ("traceId")) (self).traceId = ::DatawireQuarkCore.cast(value) { ::String } end if ((name) == ("causalLevel")) (self).causalLevel = ::DatawireQuarkCore.cast(value) { ::DatawireQuarkCore::List } end if ((name) == ("environment")) (self).environment = ::DatawireQuarkCore.cast(value) { ::String } end if ((name) == ("environmentFallback")) (self).environmentFallback = ::DatawireQuarkCore.cast(value) { ::String } end nil end |