struct Nats::UnsubscribeRequest

Included Modules

Defined in:

protobufs/protocol.pb.cr

Constant Summary

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

Class Method Summary

Instance Method Summary

Instance methods inherited from module Protobuf::Message

to_slice : Bytes to_slice

Constructor Detail

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

def self.new(client_id : String | Nil = nil, subject : String | Nil = nil, inbox : String | Nil = nil, durable_name : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def client_id : String | Nil #

def client_id=(client_id : String | Nil) #

def durable_name : String | Nil #

def durable_name=(durable_name : String | Nil) #

def inbox : String | Nil #

def inbox=(inbox : String | Nil) #

def subject : String | Nil #

def subject=(subject : String | Nil) #

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

def to_protobuf #