struct Events::FailedToDoAThing

Included Modules

Defined in:

messages/events.pb.cr

Constant Summary

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: FailedToDoAThing::ContextEntry, crystal_type: FailedToDoAThing::ContextEntry, cast_type: Array(FailedToDoAThing::ContextEntry)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(user_uuid : String | Nil = nil, correlation_id : String | Nil = nil, uuid : String | Nil = nil, context : Array(FailedToDoAThing::ContextEntry) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def context : Array(FailedToDoAThing::ContextEntry) | Nil #

def context=(context : Array(FailedToDoAThing::ContextEntry) | Nil) #

def correlation_id : String | Nil #

def correlation_id=(correlation_id : String | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def user_uuid : String | Nil #

def user_uuid=(user_uuid : String | Nil) #

def uuid : String | Nil #

def uuid=(uuid : String | Nil) #