struct Apps::CallControlMessages::NewCallOptions

Included Modules

Defined in:

pb-Apps/CATS_Call_Control_Services.pb.cr

Constant Summary

FIELDS = {1 => {name: :account_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :auth_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :auto_originate, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :line_access_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :as_transfer, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, 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(account_code : String | Nil = nil, auth_code : String | Nil = nil, auto_originate : Bool | Nil = nil, line_access_code : String | Nil = nil, as_transfer : Bool | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def account_code : String | Nil #

def account_code=(account_code : String | Nil) #

def as_transfer : Bool | Nil #

def as_transfer=(as_transfer : Bool | Nil) #

def auth_code : String | Nil #

def auth_code=(auth_code : String | Nil) #

def auto_originate : Bool | Nil #

def auto_originate=(auto_originate : Bool | Nil) #

def line_access_code : String | Nil #

def line_access_code=(line_access_code : String | Nil) #

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

def to_protobuf #