struct Client::CallBackInfo
- Client::CallBackInfo
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Client/CATS_CallBack.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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 Summary
Instance Method Summary
- #[](key : String)
- #callback_creator : String | Nil
- #callback_creator=(callback_creator : String | Nil)
- #callback_id : Int32
- #callback_id=(callback_id : Int32)
- #callback_number : String | Nil
- #callback_number=(callback_number : String | Nil)
- #callback_number_national : String | Nil
- #callback_number_national=(callback_number_national : String | Nil)
- #callback_number_nice : String | Nil
- #callback_number_nice=(callback_number_nice : String | Nil)
- #callback_receiver : String | Nil
- #callback_receiver=(callback_receiver : String | Nil)
- #caller_number : String | Nil
- #caller_number=(caller_number : String | Nil)
- #caller_number_national : String | Nil
- #caller_number_national=(caller_number_national : String | Nil)
- #caller_number_nice : String | Nil
- #caller_number_nice=(caller_number_nice : String | Nil)
- #data_set : CATSDataSet | Nil
- #data_set=(data_set : CATSDataSet | Nil)
- #date_time_entered : String | Nil
- #date_time_entered=(date_time_entered : String | Nil)
- #date_time_finished : String | Nil
- #date_time_finished=(date_time_finished : String | Nil)
- #date_time_planned : String | Nil
- #date_time_planned=(date_time_planned : String | Nil)
- #direction : CallBackInfo::CallBackDirection | Nil
- #direction=(direction : CallBackInfo::CallBackDirection | Nil)
- #is_newly_created : Bool | Nil
- #is_newly_created=(is_newly_created : Bool | Nil)
- #memo : String | Nil
- #memo=(memo : String | Nil)
- #message_duration : Int32 | Nil
- #message_duration=(message_duration : Int32 | Nil)
- #status : CallBackStatus | Nil
- #status=(status : CallBackStatus | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #voicemail : Bool | Nil
- #voicemail=(voicemail : Bool | Nil)
Constructor Detail
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)
#