struct Facebook::Proto::WhatsAppBusinessAccount
- Facebook::Proto::WhatsAppBusinessAccount
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/WhatsAppBusinessAccount.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #eligible_for_sending_notifications : Bool | Nil
- #eligible_for_sending_notifications=(eligible_for_sending_notifications : Bool | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #ineligible_for_sending_notifications_reason : String | Nil
- #ineligible_for_sending_notifications_reason=(ineligible_for_sending_notifications_reason : String | Nil)
- #message_template_namespace : String | Nil
- #message_template_namespace=(message_template_namespace : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #purchase_order_number : String | Nil
- #purchase_order_number=(purchase_order_number : String | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #timezone_id : String | Nil
- #timezone_id=(timezone_id : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#
Class Method Detail
Instance Method Detail
def ineligible_for_sending_notifications_reason=(ineligible_for_sending_notifications_reason : String | Nil)
#