struct Apps::EventMessages::Event

Included Modules

Defined in:

pb-Apps/CATS_Events.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

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) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def associated : Array(Support::Device) | Nil #

def associated=(associated : Array(Support::Device) | Nil) #

def associated_called_device : Support::Device | Nil #

def associated_called_device=(associated_called_device : Support::Device | Nil) #

def associated_calling_device : Support::Device | Nil #

def associated_calling_device=(associated_calling_device : Support::Device | Nil) #

def associated_device_id : Support::Device | Nil #

def associated_device_id=(associated_device_id : Support::Device | Nil) #

def call_seq : Int64 | Nil #

def call_seq=(call_seq : Int64 | Nil) #

def call_state : CallState | Nil #

def call_state=(call_state : CallState | Nil) #

def called_device : Support::Device | Nil #

def called_device=(called_device : Support::Device | Nil) #

def calling_device : Support::Device | Nil #

def calling_device=(calling_device : Support::Device | Nil) #

def calls_on_this_device : Int32 | Nil #

def calls_on_this_device=(calls_on_this_device : Int32 | Nil) #

def changed_fields : Array(UInt32) | Nil #

def changed_fields=(changed_fields : Array(UInt32) | Nil) #

def close_cause : EventCause | Nil #

def close_cause=(close_cause : EventCause | Nil) #

def close_event : EventType | Nil #

def close_event=(close_event : EventType | Nil) #

def connection_duration : Int64 | Nil #

def connection_duration=(connection_duration : Int64 | Nil) #

def connection_end : String | Nil #

def connection_end=(connection_end : String | Nil) #

def connection_start : String | Nil #

def connection_start=(connection_start : String | Nil) #

def create_cause : EventCause | Nil #

def create_cause=(create_cause : EventCause | Nil) #

def create_event : EventType | Nil #

def create_event=(create_event : EventType | Nil) #

def device_id : Support::Device | Nil #

def device_id=(device_id : Support::Device | Nil) #

def devices : Array(Support::Device) | Nil #

def devices=(devices : Array(Support::Device) | Nil) #

def devices_in_this_call : Int32 | Nil #

def devices_in_this_call=(devices_in_this_call : Int32 | Nil) #

def event_cause : EventCause | Nil #

def event_cause=(event_cause : EventCause | Nil) #

def forward_state : Array(Support::ForwardStateOut) | Nil #

def forward_state=(forward_state : Array(Support::ForwardStateOut) | Nil) #

def is_originator : Bool | Nil #

def is_originator=(is_originator : Bool | Nil) #

def kind : EventKind #

def kind=(kind : EventKind) #

def last_event : EventType | Nil #

def last_event=(last_event : EventType | Nil) #

def latest_trigger : String | Nil #

def latest_trigger=(latest_trigger : String | Nil) #

def local_connection_state : Support::ConnectionState | Nil #

def local_connection_state=(local_connection_state : Support::ConnectionState | Nil) #

def old_call_seqs : Array(Int64) | Nil #

def old_call_seqs=(old_call_seqs : Array(Int64) | Nil) #

def originator : Array(OriginatorClass) | Nil #

def originator=(originator : Array(OriginatorClass) | Nil) #

def reason_for_term : ReasonForTerm | Nil #

def reason_for_term=(reason_for_term : ReasonForTerm | Nil) #

def segment_seq : Int64 | Nil #

def segment_seq=(segment_seq : Int64 | Nil) #

def state_time : String | Nil #

def state_time=(state_time : String | Nil) #

def states : Array(Support::ConnectionState) | Nil #

def states=(states : Array(Support::ConnectionState) | Nil) #

def thread_seq : Int64 | Nil #

def thread_seq=(thread_seq : Int64 | Nil) #

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

def to_protobuf #

def user_attrs : Array(String) | Nil #

def user_attrs=(user_attrs : Array(String) | Nil) #