struct Apps::CallBack

Included Modules

Defined in:

pb-Apps/CATS_CallBack.pb.cr

Constant Summary

FIELDS = {1 => {name: :message_type, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :callbacks, pb_type: CallBackInfo, crystal_type: CallBackInfo, cast_type: Array(CallBackInfo)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :get_callbacks, pb_type: GetCallBacks, crystal_type: GetCallBacks, cast_type: GetCallBacks?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :update_callback, pb_type: UpdateCallBack, crystal_type: UpdateCallBack, cast_type: Array(UpdateCallBack)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :get_agent_list, pb_type: GetAgentList, crystal_type: GetAgentList, cast_type: GetAgentList?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :agent_list, pb_type: AgentInfo, crystal_type: AgentInfo, cast_type: Array(AgentInfo)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :create_callback, pb_type: CreateCallBack, crystal_type: CreateCallBack, cast_type: CreateCallBack?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :start_callback, pb_type: StartCallBack, crystal_type: StartCallBack, cast_type: StartCallBack?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :success_question, pb_type: ShowCallBackSuccessQuestion, crystal_type: ShowCallBackSuccessQuestion, cast_type: ShowCallBackSuccessQuestion?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :create_script, pb_type: DataScript, crystal_type: DataScript, cast_type: DataScript?, native: false, 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(buf : Protobuf::Buffer) #

def self.new(message_type : Int32, callbacks : Array(CallBackInfo) | Nil = nil, get_callbacks : GetCallBacks | Nil = nil, update_callback : Array(UpdateCallBack) | Nil = nil, get_agent_list : GetAgentList | Nil = nil, agent_list : Array(AgentInfo) | Nil = nil, create_callback : CreateCallBack | Nil = nil, start_callback : StartCallBack | Nil = nil, success_question : ShowCallBackSuccessQuestion | Nil = nil, create_script : DataScript | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def agent_list : Array(AgentInfo) | Nil #

def agent_list=(agent_list : Array(AgentInfo) | Nil) #

def callbacks : Array(CallBackInfo) | Nil #

def callbacks=(callbacks : Array(CallBackInfo) | Nil) #

def create_callback : CreateCallBack | Nil #

def create_callback=(create_callback : CreateCallBack | Nil) #

def create_script : DataScript | Nil #

def create_script=(create_script : DataScript | Nil) #

def get_agent_list : GetAgentList | Nil #

def get_agent_list=(get_agent_list : GetAgentList | Nil) #

def get_callbacks : GetCallBacks | Nil #

def get_callbacks=(get_callbacks : GetCallBacks | Nil) #

def message_type : Int32 #

def message_type=(message_type : Int32) #

def start_callback : StartCallBack | Nil #

def start_callback=(start_callback : StartCallBack | Nil) #

def success_question : ShowCallBackSuccessQuestion | Nil #

def success_question=(success_question : ShowCallBackSuccessQuestion | Nil) #

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

def to_protobuf #

def update_callback : Array(UpdateCallBack) | Nil #

def update_callback=(update_callback : Array(UpdateCallBack) | Nil) #