struct Facebook::Proto::CustomAudience

Included Modules

Defined in:

cli/proto/facebook/CustomAudience.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: :approximate_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :customer_file_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :data_source_types, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :datafile_custom_audience_uploading_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :household_audience, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :is_household, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :is_snapshot, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :is_value_based, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :lookalike_audience_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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}, 14 => {name: :opt_out_link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :pixel_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :retention_days, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :rev_share_policy_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :rule, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :rule_aggregation, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :rule_v2, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :seed_audience, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :subtype, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :time_content_updated, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :time_created, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :time_updated, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :accountid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :additionalmetadata, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :allowed_domains, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 29 => {name: :associated_audience_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :claim_objective, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :content_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :countries, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :dataset_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :details, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :enable_fetch_or_create, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :event_source_group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :expectedsize, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :gender, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :isprivate, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :is_household_exclusion, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :list_of_accounts, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 42 => {name: :maxage, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 43 => {name: :minage, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :origin_audience_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :parent_audience_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 46 => {name: :partnerid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 47 => {name: :partner_reference_key, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 48 => {name: :prefill, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 49 => {name: :product_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 50 => {name: :source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 51 => {name: :tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 52 => {name: :video_group_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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, approximate_count : Int64 | Nil = nil, customer_file_source : String | Nil = nil, data_source_types : String | Nil = nil, datafile_custom_audience_uploading_status : String | Nil = nil, description : String | Nil = nil, household_audience : Int64 | Nil = nil, is_household : Bool | Nil = nil, is_snapshot : Bool | Nil = nil, is_value_based : Bool | Nil = nil, lookalike_audience_ids : Array(String) | Nil = nil, name : String | Nil = nil, opt_out_link : String | Nil = nil, pixel_id : String | Nil = nil, retention_days : Int64 | Nil = nil, rev_share_policy_id : Int64 | Nil = nil, rule : String | Nil = nil, rule_aggregation : String | Nil = nil, rule_v2 : String | Nil = nil, seed_audience : Int64 | Nil = nil, subtype : String | Nil = nil, time_content_updated : Int64 | Nil = nil, time_created : Int64 | Nil = nil, time_updated : Int64 | Nil = nil, accountid : String | Nil = nil, additionalmetadata : String | Nil = nil, allowed_domains : Array(String) | Nil = nil, associated_audience_id : Int64 | Nil = nil, claim_objective : String | Nil = nil, content_type : String | Nil = nil, countries : String | Nil = nil, dataset_id : String | Nil = nil, details : String | Nil = nil, enable_fetch_or_create : Bool | Nil = nil, event_source_group : String | Nil = nil, expectedsize : Int64 | Nil = nil, gender : String | Nil = nil, isprivate : Bool | Nil = nil, is_household_exclusion : Bool | Nil = nil, list_of_accounts : Array(Int64) | Nil = nil, maxage : Int64 | Nil = nil, minage : Int64 | Nil = nil, origin_audience_id : String | Nil = nil, parent_audience_id : Int64 | Nil = nil, partnerid : String | Nil = nil, partner_reference_key : String | Nil = nil, prefill : Bool | Nil = nil, product_set_id : String | Nil = nil, source : String | Nil = nil, tags : Array(String) | Nil = nil, video_group_ids : Array(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 accountid : String | Nil #

def accountid=(accountid : String | Nil) #

def additionalmetadata : String | Nil #

def additionalmetadata=(additionalmetadata : String | Nil) #

def allowed_domains : Array(String) | Nil #

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

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

def approximate_count : Int64 | Nil #

def approximate_count=(approximate_count : Int64 | Nil) #

def associated_audience_id : Int64 | Nil #

def associated_audience_id=(associated_audience_id : Int64 | Nil) #

def claim_objective : String | Nil #

def claim_objective=(claim_objective : String | Nil) #

def content_type : String | Nil #

def content_type=(content_type : String | Nil) #

def countries : String | Nil #

def countries=(countries : String | Nil) #

def customer_file_source : String | Nil #

def customer_file_source=(customer_file_source : String | Nil) #

def data_source_types : String | Nil #

def data_source_types=(data_source_types : String | Nil) #

def datafile_custom_audience_uploading_status : String | Nil #

def datafile_custom_audience_uploading_status=(datafile_custom_audience_uploading_status : String | Nil) #

def dataset_id : String | Nil #

def dataset_id=(dataset_id : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def details : String | Nil #

def details=(details : String | Nil) #

def enable_fetch_or_create : Bool | Nil #

def enable_fetch_or_create=(enable_fetch_or_create : Bool | Nil) #

def event_source_group : String | Nil #

def event_source_group=(event_source_group : String | Nil) #

def expectedsize : Int64 | Nil #

def expectedsize=(expectedsize : Int64 | Nil) #

def gender : String | Nil #

def gender=(gender : String | Nil) #

def household_audience : Int64 | Nil #

def household_audience=(household_audience : Int64 | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_household : Bool | Nil #

def is_household=(is_household : Bool | Nil) #

def is_household_exclusion : Bool | Nil #

def is_household_exclusion=(is_household_exclusion : Bool | Nil) #

def is_snapshot : Bool | Nil #

def is_snapshot=(is_snapshot : Bool | Nil) #

def is_value_based : Bool | Nil #

def is_value_based=(is_value_based : Bool | Nil) #

def isprivate : Bool | Nil #

def isprivate=(isprivate : Bool | Nil) #

def list_of_accounts : Array(Int64) | Nil #

def list_of_accounts=(list_of_accounts : Array(Int64) | Nil) #

def list_of_accounts=(list_of_accounts : Array(Int64) | Nil) #

def lookalike_audience_ids : Array(String) | Nil #

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

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

def maxage : Int64 | Nil #

def maxage=(maxage : Int64 | Nil) #

def minage : Int64 | Nil #

def minage=(minage : Int64 | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def opt_out_link : String | Nil #

def opt_out_link=(opt_out_link : String | Nil) #

def origin_audience_id : String | Nil #

def origin_audience_id=(origin_audience_id : String | Nil) #

def parent_audience_id : Int64 | Nil #

def parent_audience_id=(parent_audience_id : Int64 | Nil) #

def partner_reference_key : String | Nil #

def partner_reference_key=(partner_reference_key : String | Nil) #

def partnerid : String | Nil #

def partnerid=(partnerid : String | Nil) #

def pixel_id : String | Nil #

def pixel_id=(pixel_id : String | Nil) #

def prefill : Bool | Nil #

def prefill=(prefill : Bool | Nil) #

def product_set_id : String | Nil #

def product_set_id=(product_set_id : String | Nil) #

def retention_days : Int64 | Nil #

def retention_days=(retention_days : Int64 | Nil) #

def rev_share_policy_id : Int64 | Nil #

def rev_share_policy_id=(rev_share_policy_id : Int64 | Nil) #

def rule : String | Nil #

def rule=(rule : String | Nil) #

def rule_aggregation : String | Nil #

def rule_aggregation=(rule_aggregation : String | Nil) #

def rule_v2 : String | Nil #

def rule_v2=(rule_v2 : String | Nil) #

def seed_audience : Int64 | Nil #

def seed_audience=(seed_audience : Int64 | Nil) #

def source : String | Nil #

def source=(source : String | Nil) #

def subtype : String | Nil #

def subtype=(subtype : String | Nil) #

def tags : Array(String) | Nil #

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

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

def time_content_updated : Int64 | Nil #

def time_content_updated=(time_content_updated : Int64 | Nil) #

def time_created : Int64 | Nil #

def time_created=(time_created : Int64 | Nil) #

def time_updated : Int64 | Nil #

def time_updated=(time_updated : Int64 | Nil) #

def to_hash #

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

def to_protobuf #

def video_group_ids : Array(String) | Nil #

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

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