struct Client::PassiveCallInfo

Included Modules

Defined in:

pb-Client/CATS_ExtStatus.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: :relation, pb_type: PassiveCallInfo::RelationToCall, crystal_type: PassiveCallInfo::RelationToCall, cast_type: PassiveCallInfo::RelationToCall, native: false, optional: false, 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: :caller_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :data_set, pb_type: CATSDataSet, crystal_type: CATSDataSet, cast_type: CATSDataSet?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :supported_specials, pb_type: SupportedSpecials, crystal_type: SupportedSpecials, cast_type: SupportedSpecials?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :parked_time, 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(call_id : Int64, relation : PassiveCallInfo::RelationToCall, caller_number : String | Nil = nil, caller_name : String | Nil = nil, data_set : CATSDataSet | Nil = nil, supported_specials : SupportedSpecials | Nil = nil, parked_time : Int32 | Nil = nil) #

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

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def call_id : Int64 #

def call_id=(call_id : Int64) #

def caller_name : String | Nil #

def caller_name=(caller_name : String | Nil) #

def caller_number : String | Nil #

def caller_number=(caller_number : String | Nil) #

def data_set : CATSDataSet | Nil #

def data_set=(data_set : CATSDataSet | Nil) #

def parked_time : Int32 | Nil #

def parked_time=(parked_time : Int32 | Nil) #


def relation=(relation : PassiveCallInfo::RelationToCall) #

def supported_specials : SupportedSpecials | Nil #

def supported_specials=(supported_specials : SupportedSpecials | Nil) #

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

def to_protobuf #