struct Facebook::Proto::AdsPixel

Included Modules

Defined in:

cli/proto/facebook/AdsPixel.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: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :automatic_matching_fields, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :can_proxy, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :creation_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :data_use_setting, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :enable_automatic_matching, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :first_party_cookie_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :is_created_by_business, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :is_unavailable, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :last_fired_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :name, 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, account_id : String | Nil = nil, automatic_matching_fields : Array(String) | Nil = nil, can_proxy : Bool | Nil = nil, code : String | Nil = nil, creation_time : Datetime | Nil = nil, data_use_setting : String | Nil = nil, enable_automatic_matching : Bool | Nil = nil, first_party_cookie_status : String | Nil = nil, is_created_by_business : Bool | Nil = nil, is_unavailable : Bool | Nil = nil, last_fired_time : Datetime | Nil = nil, name : 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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def automatic_matching_fields : Array(String) | Nil #

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

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

def can_proxy : Bool | Nil #

def can_proxy=(can_proxy : Bool | Nil) #

def code : String | Nil #

def code=(code : String | Nil) #

def creation_time : Datetime | Nil #

def creation_time=(creation_time : Datetime | Nil) #

def data_use_setting : String | Nil #

def data_use_setting=(data_use_setting : String | Nil) #

def enable_automatic_matching : Bool | Nil #

def enable_automatic_matching=(enable_automatic_matching : Bool | Nil) #

def first_party_cookie_status : String | Nil #

def first_party_cookie_status=(first_party_cookie_status : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_created_by_business : Bool | Nil #

def is_created_by_business=(is_created_by_business : Bool | Nil) #

def is_unavailable : Bool | Nil #

def is_unavailable=(is_unavailable : Bool | Nil) #

def last_fired_time : Datetime | Nil #

def last_fired_time=(last_fired_time : Datetime | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def to_hash #

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

def to_protobuf #