Events::AThingWasDone
Inherits Protobuf::Message < Struct < Value < Object
Constants
FIELDS = {1 => {name: :user_uuid, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :correlation_id, pb_type: :string,
crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :uuid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :context, pb_type: AThingWasDone::ContextEntry, crystal_type: AThingWasDone::ContextEntry, cast_type: Array(AThingWasDone::ContextEntry)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
new(buf : Protobuf::Buffer)
new(user_uuid : String | Nil = nil, correlation_id : String | Nil = nil, uuid : String | Nil = nil, context : Array(AThingWasDone::ContextEntry) | Nil = nil)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
context
context=(context : Array(AThingWasDone::ContextEntry) | Nil)
correlation_id
correlation_id=(correlation_id : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
user_uuid
user_uuid=(user_uuid : String | Nil)
uuid
uuid=(uuid : String | Nil)