struct Client::DeviceState
- Client::DeviceState
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Client/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: :state, pb_type: DeviceState::DeviceStateEnum, crystal_type: DeviceState::DeviceStateEnum, cast_type: DeviceState::DeviceStateEnum, native: false, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :device_id, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 4 => {name: :device_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :caller_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :caller_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :data_set, pb_type: CATSDataSet, crystal_type: CATSDataSet, cast_type: CATSDataSet?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :supported_specials, pb_type: SupportedSpecials, crystal_type: SupportedSpecials, cast_type: SupportedSpecials?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :forwarding, pb_type: Forwarding, crystal_type: Forwarding, cast_type: Forwarding?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :agent_full_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :queue, pb_type: PassiveCallInfo, crystal_type: PassiveCallInfo, cast_type: Array(PassiveCallInfo)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 12 => {name: :connect_duration, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :call_partners, pb_type: CallPartnerInfo, crystal_type: CallPartnerInfo, cast_type: Array(CallPartnerInfo)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 14 => {name: :call_direction, pb_type: DeviceState::CallDirection, crystal_type: DeviceState::CallDirection, cast_type: DeviceState::CallDirection?, native: false, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :device_id_full, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :images, pb_type: ImageMapping, crystal_type: ImageMapping, cast_type: Array(ImageMapping)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 17 => {name: :vnst_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :vnst_id_full, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :vnst_name, 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
- .new(call_id : Int64, state : DeviceState::DeviceStateEnum, device_id : String, device_name : String | Nil = nil, caller_number : String | Nil = nil, caller_name : String | Nil = nil, data_set : CATSDataSet | Nil = nil, supported_specials : SupportedSpecials | Nil = nil, forwarding : Forwarding | Nil = nil, agent_full_name : String | Nil = nil, queue : Array(PassiveCallInfo) | Nil = nil, connect_duration : Int32 | Nil = nil, call_partners : Array(CallPartnerInfo) | Nil = nil, call_direction : DeviceState::CallDirection | Nil = nil, device_id_full : String | Nil = nil, images : Array(ImageMapping) | Nil = nil, vnst_id : String | Nil = nil, vnst_id_full : String | Nil = nil, vnst_name : String | Nil = nil)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #agent_full_name : String | Nil
- #agent_full_name=(agent_full_name : String | Nil)
- #call_direction : DeviceState::CallDirection | Nil
- #call_direction=(call_direction : DeviceState::CallDirection | Nil)
- #call_id : Int64
- #call_id=(call_id : Int64)
- #call_partners : Array(CallPartnerInfo) | Nil
- #call_partners=(call_partners : Array(CallPartnerInfo) | Nil)
- #caller_name : String | Nil
- #caller_name=(caller_name : String | Nil)
- #caller_number : String | Nil
- #caller_number=(caller_number : String | Nil)
- #connect_duration : Int32 | Nil
- #connect_duration=(connect_duration : Int32 | Nil)
- #data_set : CATSDataSet | Nil
- #data_set=(data_set : CATSDataSet | Nil)
- #device_id : String
- #device_id=(device_id : String)
- #device_id_full : String | Nil
- #device_id_full=(device_id_full : String | Nil)
- #device_name : String | Nil
- #device_name=(device_name : String | Nil)
- #forwarding : Forwarding | Nil
- #forwarding=(forwarding : Forwarding | Nil)
- #images : Array(ImageMapping) | Nil
- #images=(images : Array(ImageMapping) | Nil)
- #queue : Array(PassiveCallInfo) | Nil
- #queue=(queue : Array(PassiveCallInfo) | Nil)
- #state : DeviceState::DeviceStateEnum
- #state=(state : DeviceState::DeviceStateEnum)
- #supported_specials : SupportedSpecials | Nil
- #supported_specials=(supported_specials : SupportedSpecials | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #vnst_id : String | Nil
- #vnst_id=(vnst_id : String | Nil)
- #vnst_id_full : String | Nil
- #vnst_id_full=(vnst_id_full : String | Nil)
- #vnst_name : String | Nil
- #vnst_name=(vnst_name : String | Nil)
Constructor Detail
def self.new(call_id : Int64, state : DeviceState::DeviceStateEnum, device_id : String, device_name : String | Nil = nil, caller_number : String | Nil = nil, caller_name : String | Nil = nil, data_set : CATSDataSet | Nil = nil, supported_specials : SupportedSpecials | Nil = nil, forwarding : Forwarding | Nil = nil, agent_full_name : String | Nil = nil, queue : Array(PassiveCallInfo) | Nil = nil, connect_duration : Int32 | Nil = nil, call_partners : Array(CallPartnerInfo) | Nil = nil, call_direction : DeviceState::CallDirection | Nil = nil, device_id_full : String | Nil = nil, images : Array(ImageMapping) | Nil = nil, vnst_id : String | Nil = nil, vnst_id_full : String | Nil = nil, vnst_name : String | Nil = nil)
#