struct Client::CallBackInfo

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: :caller_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :callback_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :caller_number_nice, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :callback_number_nice, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :caller_number_national, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :callback_number_national, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :date_time_entered, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :date_time_planned, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :date_time_finished, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :message_duration, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :memo, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :data_set, pb_type: CATSDataSet, crystal_type: CATSDataSet, cast_type: CATSDataSet?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :callback_creator, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :callback_receiver, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :direction, pb_type: CallBackInfo::CallBackDirection, crystal_type: CallBackInfo::CallBackDirection, cast_type: CallBackInfo::CallBackDirection?, native: false, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :is_newly_created, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :voicemail, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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, caller_number : String | Nil = nil, callback_number : String | Nil = nil, caller_number_nice : String | Nil = nil, callback_number_nice : String | Nil = nil, caller_number_national : String | Nil = nil, callback_number_national : String | Nil = nil, date_time_entered : String | Nil = nil, date_time_planned : String | Nil = nil, date_time_finished : String | Nil = nil, message_duration : Int32 | Nil = nil, memo : String | Nil = nil, data_set : CATSDataSet | Nil = nil, callback_creator : String | Nil = nil, callback_receiver : String | Nil = nil, direction : CallBackInfo::CallBackDirection | Nil = nil, is_newly_created : Bool | Nil = nil, voicemail : Bool | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def callback_creator : String | Nil #

def callback_creator=(callback_creator : String | Nil) #

def callback_id : Int32 #

def callback_id=(callback_id : Int32) #

def callback_number : String | Nil #

def callback_number=(callback_number : String | Nil) #

def callback_number_national : String | Nil #

def callback_number_national=(callback_number_national : String | Nil) #

def callback_number_nice : String | Nil #

def callback_number_nice=(callback_number_nice : String | Nil) #

def callback_receiver : String | Nil #

def callback_receiver=(callback_receiver : String | Nil) #

def caller_number : String | Nil #

def caller_number=(caller_number : String | Nil) #

def caller_number_national : String | Nil #

def caller_number_national=(caller_number_national : String | Nil) #

def caller_number_nice : String | Nil #

def caller_number_nice=(caller_number_nice : String | Nil) #

def data_set : CATSDataSet | Nil #

def data_set=(data_set : CATSDataSet | Nil) #

def date_time_entered : String | Nil #

def date_time_entered=(date_time_entered : String | Nil) #

def date_time_finished : String | Nil #

def date_time_finished=(date_time_finished : String | Nil) #

def date_time_planned : String | Nil #

def date_time_planned=(date_time_planned : String | Nil) #

def direction : CallBackInfo::CallBackDirection | Nil #

def direction=(direction : CallBackInfo::CallBackDirection | Nil) #

def is_newly_created : Bool | Nil #

def is_newly_created=(is_newly_created : Bool | Nil) #

def memo : String | Nil #

def memo=(memo : String | Nil) #

def message_duration : Int32 | Nil #

def message_duration=(message_duration : Int32 | Nil) #

def status : CallBackStatus | Nil #

def status=(status : CallBackStatus | Nil) #

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

def to_protobuf #

def voicemail : Bool | Nil #

def voicemail=(voicemail : Bool | Nil) #