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