struct Apps::Support::ForwardStateIn

Included Modules

Defined in:

pb-Apps/CATS_Support.pb.cr

Constant Summary

FIELDS = {1 => {name: :forwarding_type, pb_type: ForwardingType, crystal_type: ForwardingType, cast_type: ForwardingType?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :activate_forward, pb_type: :bool, crystal_type: Bool, cast_type: Bool, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :forward_to, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :ring_count, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, 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(activate_forward : Bool, forwarding_type : ForwardingType | Nil = nil, forward_to : String | Nil = nil, ring_count : Int32 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def activate_forward : Bool #

def activate_forward=(activate_forward : Bool) #

def forward_to : String | Nil #

def forward_to=(forward_to : String | Nil) #

def forwarding_type : ForwardingType | Nil #

def forwarding_type=(forwarding_type : ForwardingType | Nil) #

def ring_count : Int32 | Nil #

def ring_count=(ring_count : Int32 | Nil) #

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

def to_protobuf #