struct

Requests::RequestAThing

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: :reply_to, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :context, pb_type: RequestAThing::ContextEntry, crystal_type: RequestAThing::ContextEntry, cast_type: Array(RequestAThing::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, reply_to : String | Nil = nil, context : Array(RequestAThing::ContextEntry) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
context
context=(context : Array(RequestAThing::ContextEntry) | Nil)
correlation_id
correlation_id=(correlation_id : String | Nil)
reply_to
reply_to=(reply_to : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
user_uuid
user_uuid=(user_uuid : String | Nil)
uuid
uuid=(uuid : String | Nil)

Nested types