struct Client::UpdateCallBack

Included Modules

Defined in:

pb-Client/CATS_CallBack.pb.cr

Constant Summary

FIELDS = {1 => {name: :callback_id, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :status, pb_type: CallBackStatus, crystal_type: CallBackStatus, cast_type: CallBackStatus?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :archiv, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :memo, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :caller_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :callback_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :date_time_planned, 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

Constructor Detail

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

def self.new(callback_id : Int32, status : CallBackStatus | Nil = nil, archiv : Bool | Nil = nil, memo : String | Nil = nil, caller_number : String | Nil = nil, callback_number : String | Nil = nil, date_time_planned : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def archiv : Bool | Nil #

def archiv=(archiv : Bool | Nil) #

def callback_id : Int32 #

def callback_id=(callback_id : Int32) #

def callback_number : String | Nil #

def callback_number=(callback_number : String | Nil) #

def caller_number : String | Nil #

def caller_number=(caller_number : String | Nil) #

def date_time_planned : String | Nil #

def date_time_planned=(date_time_planned : String | Nil) #

def memo : String | Nil #

def memo=(memo : String | Nil) #

def status : CallBackStatus | Nil #

def status=(status : CallBackStatus | Nil) #

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

def to_protobuf #