struct Apps::CallInfo

Included Modules

Defined in:

pb-Apps/CATS_Journal.pb.cr

Constant Summary

FIELDS = {1 => {name: :call_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :call_state, pb_type: CallInfo::CallState, crystal_type: CallInfo::CallState, cast_type: CallInfo::CallState?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :call_direction, pb_type: CallInfo::CallDirection, crystal_type: CallInfo::CallDirection, cast_type: CallInfo::CallDirection?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :call_success, pb_type: CallInfo::CallSuccess, crystal_type: CallInfo::CallSuccess, cast_type: CallInfo::CallSuccess?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :other_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :other_number_nice, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :other_number_national, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :other_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :this_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :this_number_nice, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :this_number_national, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :this_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :v_extension, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :v_extension_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :date_time_start, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :call_duration, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :date_time_end, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :call_tech, pb_type: CATSCallTechInfo, crystal_type: CATSCallTechInfo, cast_type: CATSCallTechInfo?, native: false, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :additional1, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :additional2, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :additional3, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :additional4, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :additional5, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 50 => {name: :data_set, pb_type: CATSDataSet, crystal_type: CATSDataSet, cast_type: CATSDataSet?, native: false, optional: true, repeated: false, default: nil, packed: false}, 51 => {name: :supported_specials, pb_type: SupportedSpecials, crystal_type: SupportedSpecials, cast_type: SupportedSpecials?, native: false, optional: true, repeated: false, default: nil, packed: false}, 52 => {name: :call_notice, 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(call_id : Int64, call_state : CallInfo::CallState | Nil = nil, call_direction : CallInfo::CallDirection | Nil = nil, call_success : CallInfo::CallSuccess | Nil = nil, other_number : String | Nil = nil, other_number_nice : String | Nil = nil, other_number_national : String | Nil = nil, other_name : String | Nil = nil, this_number : String | Nil = nil, this_number_nice : String | Nil = nil, this_number_national : String | Nil = nil, this_name : String | Nil = nil, v_extension : String | Nil = nil, v_extension_name : String | Nil = nil, date_time_start : String | Nil = nil, call_duration : String | Nil = nil, date_time_end : String | Nil = nil, call_tech : CATSCallTechInfo | Nil = nil, additional1 : String | Nil = nil, additional2 : String | Nil = nil, additional3 : String | Nil = nil, additional4 : String | Nil = nil, additional5 : String | Nil = nil, data_set : CATSDataSet | Nil = nil, supported_specials : SupportedSpecials | Nil = nil, call_notice : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def additional1 : String | Nil #

def additional1=(additional1 : String | Nil) #

def additional2 : String | Nil #

def additional2=(additional2 : String | Nil) #

def additional3 : String | Nil #

def additional3=(additional3 : String | Nil) #

def additional4 : String | Nil #

def additional4=(additional4 : String | Nil) #

def additional5 : String | Nil #

def additional5=(additional5 : String | Nil) #

def call_direction : CallInfo::CallDirection | Nil #

def call_direction=(call_direction : CallInfo::CallDirection | Nil) #

def call_duration : String | Nil #

def call_duration=(call_duration : String | Nil) #

def call_id : Int64 #

def call_id=(call_id : Int64) #

def call_notice : String | Nil #

def call_notice=(call_notice : String | Nil) #

def call_state : CallInfo::CallState | Nil #

def call_state=(call_state : CallInfo::CallState | Nil) #

def call_success : CallInfo::CallSuccess | Nil #

def call_success=(call_success : CallInfo::CallSuccess | Nil) #

def call_tech : CATSCallTechInfo | Nil #

def call_tech=(call_tech : CATSCallTechInfo | Nil) #

def data_set : CATSDataSet | Nil #

def data_set=(data_set : CATSDataSet | Nil) #

def date_time_end : String | Nil #

def date_time_end=(date_time_end : String | Nil) #

def date_time_start : String | Nil #

def date_time_start=(date_time_start : String | Nil) #

def other_name : String | Nil #

def other_name=(other_name : String | Nil) #

def other_number : String | Nil #

def other_number=(other_number : String | Nil) #

def other_number_national : String | Nil #

def other_number_national=(other_number_national : String | Nil) #

def other_number_nice : String | Nil #

def other_number_nice=(other_number_nice : String | Nil) #

def supported_specials : SupportedSpecials | Nil #

def supported_specials=(supported_specials : SupportedSpecials | Nil) #

def this_name : String | Nil #

def this_name=(this_name : String | Nil) #

def this_number : String | Nil #

def this_number=(this_number : String | Nil) #

def this_number_national : String | Nil #

def this_number_national=(this_number_national : String | Nil) #

def this_number_nice : String | Nil #

def this_number_nice=(this_number_nice : String | Nil) #

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

def to_protobuf #

def v_extension : String | Nil #

def v_extension=(v_extension : String | Nil) #

def v_extension_name : String | Nil #

def v_extension_name=(v_extension_name : String | Nil) #