struct Apps::PassiveCallInfo
- Apps::PassiveCallInfo
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_ExtStatus.pb.crConstant 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
- .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)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #call_id : Int64
- #call_id=(call_id : Int64)
- #caller_name : String | Nil
- #caller_name=(caller_name : String | Nil)
- #caller_number : String | Nil
- #caller_number=(caller_number : String | Nil)
- #data_set : CATSDataSet | Nil
- #data_set=(data_set : CATSDataSet | Nil)
- #parked_time : Int32 | Nil
- #parked_time=(parked_time : Int32 | Nil)
- #relation : PassiveCallInfo::RelationToCall
- #relation=(relation : PassiveCallInfo::RelationToCall)
- #supported_specials : SupportedSpecials | Nil
- #supported_specials=(supported_specials : SupportedSpecials | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
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)
#