struct Facebook::Proto::AdPromotedObject

Included Modules

Defined in:

cli/proto/facebook/AdPromotedObject.pb.cr

Constant Summary

FIELDS = {1 => {name: :application_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :custom_conversion_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :custom_event_str, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :custom_event_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :event_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :fundraiser_campaign_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :object_store_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :offer_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :offline_conversion_data_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :page_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :pixel_aggregation_rule, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :pixel_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :pixel_rule, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :place_page_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :product_catalog_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :product_item_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :product_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :retention_days, 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(application_id : String | Nil = nil, custom_conversion_id : String | Nil = nil, custom_event_str : String | Nil = nil, custom_event_type : String | Nil = nil, event_id : String | Nil = nil, fundraiser_campaign_id : String | Nil = nil, object_store_url : String | Nil = nil, offer_id : String | Nil = nil, offline_conversion_data_set_id : String | Nil = nil, page_id : String | Nil = nil, pixel_aggregation_rule : String | Nil = nil, pixel_id : String | Nil = nil, pixel_rule : String | Nil = nil, place_page_set_id : String | Nil = nil, product_catalog_id : String | Nil = nil, product_item_id : String | Nil = nil, product_set_id : String | Nil = nil, retention_days : 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 application_id : String | Nil #

def application_id=(application_id : String | Nil) #

def custom_conversion_id : String | Nil #

def custom_conversion_id=(custom_conversion_id : String | Nil) #

def custom_event_str : String | Nil #

def custom_event_str=(custom_event_str : String | Nil) #

def custom_event_type : String | Nil #

def custom_event_type=(custom_event_type : String | Nil) #

def event_id : String | Nil #

def event_id=(event_id : String | Nil) #

def fundraiser_campaign_id : String | Nil #

def fundraiser_campaign_id=(fundraiser_campaign_id : String | Nil) #

def object_store_url : String | Nil #

def object_store_url=(object_store_url : String | Nil) #

def offer_id : String | Nil #

def offer_id=(offer_id : String | Nil) #

def offline_conversion_data_set_id : String | Nil #

def offline_conversion_data_set_id=(offline_conversion_data_set_id : String | Nil) #

def page_id : String | Nil #

def page_id=(page_id : String | Nil) #

def pixel_aggregation_rule : String | Nil #

def pixel_aggregation_rule=(pixel_aggregation_rule : String | Nil) #

def pixel_id : String | Nil #

def pixel_id=(pixel_id : String | Nil) #

def pixel_rule : String | Nil #

def pixel_rule=(pixel_rule : String | Nil) #

def place_page_set_id : String | Nil #

def place_page_set_id=(place_page_set_id : String | Nil) #

def product_catalog_id : String | Nil #

def product_catalog_id=(product_catalog_id : String | Nil) #

def product_item_id : String | Nil #

def product_item_id=(product_item_id : String | Nil) #

def product_set_id : String | Nil #

def product_set_id=(product_set_id : String | Nil) #

def retention_days : String | Nil #

def retention_days=(retention_days : String | Nil) #

def to_hash #

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

def to_protobuf #