struct Facebook::Proto::WhatsAppBusinessAccount

Included Modules

Defined in:

cli/proto/facebook/WhatsAppBusinessAccount.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :eligible_for_sending_notifications, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :ineligible_for_sending_notifications_reason, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :message_template_namespace, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :purchase_order_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :timezone_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(id : String | Nil = nil, currency : String | Nil = nil, eligible_for_sending_notifications : Bool | Nil = nil, ineligible_for_sending_notifications_reason : String | Nil = nil, message_template_namespace : String | Nil = nil, name : String | Nil = nil, purchase_order_number : String | Nil = nil, status : String | Nil = nil, timezone_id : String | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def currency : String | Nil #

def currency=(currency : String | Nil) #

def eligible_for_sending_notifications : Bool | Nil #

def eligible_for_sending_notifications=(eligible_for_sending_notifications : Bool | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def ineligible_for_sending_notifications_reason : String | Nil #

def ineligible_for_sending_notifications_reason=(ineligible_for_sending_notifications_reason : String | Nil) #

def message_template_namespace : String | Nil #

def message_template_namespace=(message_template_namespace : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def purchase_order_number : String | Nil #

def purchase_order_number=(purchase_order_number : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def timezone_id : String | Nil #

def timezone_id=(timezone_id : String | Nil) #

def to_hash #

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

def to_protobuf #