struct Apps::EventMessages::Event
- Apps::EventMessages::Event
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_Events.pb.crConstant Summary
-
FIELDS =
{1 => {name: :kind, pb_type: EventKind, crystal_type: EventKind, cast_type: EventKind, native: false, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :changed_fields, pb_type: :uint32, crystal_type: UInt32, cast_type: Array(UInt32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :latest_trigger, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :call_seq, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :device_id, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :local_connection_state, pb_type: Support::ConnectionState, crystal_type: Support::ConnectionState, cast_type: Support::ConnectionState?, native: false, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :last_event, pb_type: EventType, crystal_type: EventType, cast_type: EventType?, native: false, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :event_cause, pb_type: EventCause, crystal_type: EventCause, cast_type: EventCause?, native: false, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :state_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :is_originator, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :thread_seq, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :calling_device, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :called_device, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :user_attrs, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 21 => {name: :old_call_seqs, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 22 => {name: :calls_on_this_device, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :devices_in_this_call, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :segment_seq, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :connection_start, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :connection_end, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :connection_duration, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :reason_for_term, pb_type: ReasonForTerm, crystal_type: ReasonForTerm, cast_type: ReasonForTerm?, native: false, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :create_event, pb_type: EventType, crystal_type: EventType, cast_type: EventType?, native: false, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :create_cause, pb_type: EventCause, crystal_type: EventCause, cast_type: EventCause?, native: false, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :close_event, pb_type: EventType, crystal_type: EventType, cast_type: EventType?, native: false, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :close_cause, pb_type: EventCause, crystal_type: EventCause, cast_type: EventCause?, native: false, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :states, pb_type: Support::ConnectionState, crystal_type: Support::ConnectionState, cast_type: Array(Support::ConnectionState)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 36 => {name: :devices, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Array(Support::Device)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 37 => {name: :call_state, pb_type: CallState, crystal_type: CallState, cast_type: CallState?, native: false, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :forward_state, pb_type: Support::ForwardStateOut, crystal_type: Support::ForwardStateOut, cast_type: Array(Support::ForwardStateOut)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 39 => {name: :associated_device_id, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :associated_called_device, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :associated_calling_device, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :associated, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Array(Support::Device)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 43 => {name: :originator, pb_type: OriginatorClass, crystal_type: OriginatorClass, cast_type: Array(OriginatorClass)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(kind : EventKind, changed_fields : Array(UInt32) | Nil = nil, latest_trigger : String | Nil = nil, call_seq : Int64 | Nil = nil, device_id : Support::Device | Nil = nil, local_connection_state : Support::ConnectionState | Nil = nil, last_event : EventType | Nil = nil, event_cause : EventCause | Nil = nil, state_time : String | Nil = nil, is_originator : Bool | Nil = nil, thread_seq : Int64 | Nil = nil, calling_device : Support::Device | Nil = nil, called_device : Support::Device | Nil = nil, user_attrs : Array(String) | Nil = nil, old_call_seqs : Array(Int64) | Nil = nil, calls_on_this_device : Int32 | Nil = nil, devices_in_this_call : Int32 | Nil = nil, segment_seq : Int64 | Nil = nil, connection_start : String | Nil = nil, connection_end : String | Nil = nil, connection_duration : Int64 | Nil = nil, reason_for_term : ReasonForTerm | Nil = nil, create_event : EventType | Nil = nil, create_cause : EventCause | Nil = nil, close_event : EventType | Nil = nil, close_cause : EventCause | Nil = nil, states : Array(Support::ConnectionState) | Nil = nil, devices : Array(Support::Device) | Nil = nil, call_state : CallState | Nil = nil, forward_state : Array(Support::ForwardStateOut) | Nil = nil, associated_device_id : Support::Device | Nil = nil, associated_called_device : Support::Device | Nil = nil, associated_calling_device : Support::Device | Nil = nil, associated : Array(Support::Device) | Nil = nil, originator : Array(OriginatorClass) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #associated : Array(Support::Device) | Nil
- #associated=(associated : Array(Support::Device) | Nil)
- #associated_called_device : Support::Device | Nil
- #associated_called_device=(associated_called_device : Support::Device | Nil)
- #associated_calling_device : Support::Device | Nil
- #associated_calling_device=(associated_calling_device : Support::Device | Nil)
- #associated_device_id : Support::Device | Nil
- #associated_device_id=(associated_device_id : Support::Device | Nil)
- #call_seq : Int64 | Nil
- #call_seq=(call_seq : Int64 | Nil)
- #call_state : CallState | Nil
- #call_state=(call_state : CallState | Nil)
- #called_device : Support::Device | Nil
- #called_device=(called_device : Support::Device | Nil)
- #calling_device : Support::Device | Nil
- #calling_device=(calling_device : Support::Device | Nil)
- #calls_on_this_device : Int32 | Nil
- #calls_on_this_device=(calls_on_this_device : Int32 | Nil)
- #changed_fields : Array(UInt32) | Nil
- #changed_fields=(changed_fields : Array(UInt32) | Nil)
- #close_cause : EventCause | Nil
- #close_cause=(close_cause : EventCause | Nil)
- #close_event : EventType | Nil
- #close_event=(close_event : EventType | Nil)
- #connection_duration : Int64 | Nil
- #connection_duration=(connection_duration : Int64 | Nil)
- #connection_end : String | Nil
- #connection_end=(connection_end : String | Nil)
- #connection_start : String | Nil
- #connection_start=(connection_start : String | Nil)
- #create_cause : EventCause | Nil
- #create_cause=(create_cause : EventCause | Nil)
- #create_event : EventType | Nil
- #create_event=(create_event : EventType | Nil)
- #device_id : Support::Device | Nil
- #device_id=(device_id : Support::Device | Nil)
- #devices : Array(Support::Device) | Nil
- #devices=(devices : Array(Support::Device) | Nil)
- #devices_in_this_call : Int32 | Nil
- #devices_in_this_call=(devices_in_this_call : Int32 | Nil)
- #event_cause : EventCause | Nil
- #event_cause=(event_cause : EventCause | Nil)
- #forward_state : Array(Support::ForwardStateOut) | Nil
- #forward_state=(forward_state : Array(Support::ForwardStateOut) | Nil)
- #is_originator : Bool | Nil
- #is_originator=(is_originator : Bool | Nil)
- #kind : EventKind
- #kind=(kind : EventKind)
- #last_event : EventType | Nil
- #last_event=(last_event : EventType | Nil)
- #latest_trigger : String | Nil
- #latest_trigger=(latest_trigger : String | Nil)
- #local_connection_state : Support::ConnectionState | Nil
- #local_connection_state=(local_connection_state : Support::ConnectionState | Nil)
- #old_call_seqs : Array(Int64) | Nil
- #old_call_seqs=(old_call_seqs : Array(Int64) | Nil)
- #originator : Array(OriginatorClass) | Nil
- #originator=(originator : Array(OriginatorClass) | Nil)
- #reason_for_term : ReasonForTerm | Nil
- #reason_for_term=(reason_for_term : ReasonForTerm | Nil)
- #segment_seq : Int64 | Nil
- #segment_seq=(segment_seq : Int64 | Nil)
- #state_time : String | Nil
- #state_time=(state_time : String | Nil)
- #states : Array(Support::ConnectionState) | Nil
- #states=(states : Array(Support::ConnectionState) | Nil)
- #thread_seq : Int64 | Nil
- #thread_seq=(thread_seq : Int64 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #user_attrs : Array(String) | Nil
- #user_attrs=(user_attrs : Array(String) | Nil)
Constructor Detail
def self.new(kind : EventKind, changed_fields : Array(UInt32) | Nil = nil, latest_trigger : String | Nil = nil, call_seq : Int64 | Nil = nil, device_id : Support::Device | Nil = nil, local_connection_state : Support::ConnectionState | Nil = nil, last_event : EventType | Nil = nil, event_cause : EventCause | Nil = nil, state_time : String | Nil = nil, is_originator : Bool | Nil = nil, thread_seq : Int64 | Nil = nil, calling_device : Support::Device | Nil = nil, called_device : Support::Device | Nil = nil, user_attrs : Array(String) | Nil = nil, old_call_seqs : Array(Int64) | Nil = nil, calls_on_this_device : Int32 | Nil = nil, devices_in_this_call : Int32 | Nil = nil, segment_seq : Int64 | Nil = nil, connection_start : String | Nil = nil, connection_end : String | Nil = nil, connection_duration : Int64 | Nil = nil, reason_for_term : ReasonForTerm | Nil = nil, create_event : EventType | Nil = nil, create_cause : EventCause | Nil = nil, close_event : EventType | Nil = nil, close_cause : EventCause | Nil = nil, states : Array(Support::ConnectionState) | Nil = nil, devices : Array(Support::Device) | Nil = nil, call_state : CallState | Nil = nil, forward_state : Array(Support::ForwardStateOut) | Nil = nil, associated_device_id : Support::Device | Nil = nil, associated_called_device : Support::Device | Nil = nil, associated_calling_device : Support::Device | Nil = nil, associated : Array(Support::Device) | Nil = nil, originator : Array(OriginatorClass) | Nil = nil)
#