struct Facebook::Proto::AdPromotedObject
- Facebook::Proto::AdPromotedObject
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdPromotedObject.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #application_id : String | Nil
- #application_id=(application_id : String | Nil)
- #custom_conversion_id : String | Nil
- #custom_conversion_id=(custom_conversion_id : String | Nil)
- #custom_event_str : String | Nil
- #custom_event_str=(custom_event_str : String | Nil)
- #custom_event_type : String | Nil
- #custom_event_type=(custom_event_type : String | Nil)
- #event_id : String | Nil
- #event_id=(event_id : String | Nil)
- #fundraiser_campaign_id : String | Nil
- #fundraiser_campaign_id=(fundraiser_campaign_id : String | Nil)
- #object_store_url : String | Nil
- #object_store_url=(object_store_url : String | Nil)
- #offer_id : String | Nil
- #offer_id=(offer_id : String | Nil)
- #offline_conversion_data_set_id : String | Nil
- #offline_conversion_data_set_id=(offline_conversion_data_set_id : String | Nil)
- #page_id : String | Nil
- #page_id=(page_id : String | Nil)
- #pixel_aggregation_rule : String | Nil
- #pixel_aggregation_rule=(pixel_aggregation_rule : String | Nil)
- #pixel_id : String | Nil
- #pixel_id=(pixel_id : String | Nil)
- #pixel_rule : String | Nil
- #pixel_rule=(pixel_rule : String | Nil)
- #place_page_set_id : String | Nil
- #place_page_set_id=(place_page_set_id : String | Nil)
- #product_catalog_id : String | Nil
- #product_catalog_id=(product_catalog_id : String | Nil)
- #product_item_id : String | Nil
- #product_item_id=(product_item_id : String | Nil)
- #product_set_id : String | Nil
- #product_set_id=(product_set_id : String | Nil)
- #retention_days : String | Nil
- #retention_days=(retention_days : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#