struct Facebook::Proto::AdgroupActivity

Included Modules

Defined in:

cli/proto/facebook/AdgroupActivity.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: :ad_creative_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :ad_creative_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :asset_feed_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :asset_feed_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :bid_amount_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :bid_amount_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :bid_type_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :bid_type_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :display_sequence_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :display_sequence_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :engagement_audience_new, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :engagement_audience_old, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :event_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :event_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :force_run_status_new, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :force_run_status_old, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :friendly_name_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :friendly_name_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :is_reviewer_admin_new, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :is_reviewer_admin_old, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :objective_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :objective_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :objective_source_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :objective_source_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :priority_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :priority_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :reason_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :reason_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :run_status_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :run_status_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :source_adgroup_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :source_adgroup_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :start_time_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :start_time_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :stop_time_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :stop_time_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :target_spec_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :target_spec_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :tracking_pixel_ids_new, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 42 => {name: :tracking_pixel_ids_old, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 43 => {name: :update_time_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :update_time_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :view_tags_new, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 46 => {name: :view_tags_old, 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, ad_creative_id_new : String | Nil = nil, ad_creative_id_old : String | Nil = nil, asset_feed_id_new : String | Nil = nil, asset_feed_id_old : String | Nil = nil, bid_amount_new : Int64 | Nil = nil, bid_amount_old : Int64 | Nil = nil, bid_type_new : String | Nil = nil, bid_type_old : String | Nil = nil, created_time : Datetime | Nil = nil, display_sequence_new : Int64 | Nil = nil, display_sequence_old : Int64 | Nil = nil, engagement_audience_new : Bool | Nil = nil, engagement_audience_old : Bool | Nil = nil, event_time : Datetime | Nil = nil, event_type : String | Nil = nil, force_run_status_new : Bool | Nil = nil, force_run_status_old : Bool | Nil = nil, friendly_name_new : String | Nil = nil, friendly_name_old : String | Nil = nil, is_reviewer_admin_new : Bool | Nil = nil, is_reviewer_admin_old : Bool | Nil = nil, objective_new : String | Nil = nil, objective_old : String | Nil = nil, objective_source_new : String | Nil = nil, objective_source_old : String | Nil = nil, priority_new : Int64 | Nil = nil, priority_old : Int64 | Nil = nil, reason_new : String | Nil = nil, reason_old : String | Nil = nil, run_status_new : String | Nil = nil, run_status_old : String | Nil = nil, source_adgroup_id_new : String | Nil = nil, source_adgroup_id_old : String | Nil = nil, start_time_new : Datetime | Nil = nil, start_time_old : Datetime | Nil = nil, stop_time_new : Datetime | Nil = nil, stop_time_old : Datetime | Nil = nil, target_spec_id_new : String | Nil = nil, target_spec_id_old : String | Nil = nil, tracking_pixel_ids_new : Array(String) | Nil = nil, tracking_pixel_ids_old : Array(String) | Nil = nil, update_time_new : Datetime | Nil = nil, update_time_old : Datetime | Nil = nil, view_tags_new : Array(String) | Nil = nil, view_tags_old : 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 ad_creative_id_new : String | Nil #

def ad_creative_id_new=(ad_creative_id_new : String | Nil) #

def ad_creative_id_old : String | Nil #

def ad_creative_id_old=(ad_creative_id_old : String | Nil) #

def asset_feed_id_new : String | Nil #

def asset_feed_id_new=(asset_feed_id_new : String | Nil) #

def asset_feed_id_old : String | Nil #

def asset_feed_id_old=(asset_feed_id_old : String | Nil) #

def bid_amount_new : Int64 | Nil #

def bid_amount_new=(bid_amount_new : Int64 | Nil) #

def bid_amount_old : Int64 | Nil #

def bid_amount_old=(bid_amount_old : Int64 | Nil) #

def bid_type_new : String | Nil #

def bid_type_new=(bid_type_new : String | Nil) #

def bid_type_old : String | Nil #

def bid_type_old=(bid_type_old : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def display_sequence_new : Int64 | Nil #

def display_sequence_new=(display_sequence_new : Int64 | Nil) #

def display_sequence_old : Int64 | Nil #

def display_sequence_old=(display_sequence_old : Int64 | Nil) #

def engagement_audience_new : Bool | Nil #

def engagement_audience_new=(engagement_audience_new : Bool | Nil) #

def engagement_audience_old : Bool | Nil #

def engagement_audience_old=(engagement_audience_old : Bool | Nil) #

def event_time : Datetime | Nil #

def event_time=(event_time : Datetime | Nil) #

def event_type : String | Nil #

def event_type=(event_type : String | Nil) #

def force_run_status_new : Bool | Nil #

def force_run_status_new=(force_run_status_new : Bool | Nil) #

def force_run_status_old : Bool | Nil #

def force_run_status_old=(force_run_status_old : Bool | Nil) #

def friendly_name_new : String | Nil #

def friendly_name_new=(friendly_name_new : String | Nil) #

def friendly_name_old : String | Nil #

def friendly_name_old=(friendly_name_old : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_reviewer_admin_new : Bool | Nil #

def is_reviewer_admin_new=(is_reviewer_admin_new : Bool | Nil) #

def is_reviewer_admin_old : Bool | Nil #

def is_reviewer_admin_old=(is_reviewer_admin_old : Bool | Nil) #

def objective_new : String | Nil #

def objective_new=(objective_new : String | Nil) #

def objective_old : String | Nil #

def objective_old=(objective_old : String | Nil) #

def objective_source_new : String | Nil #

def objective_source_new=(objective_source_new : String | Nil) #

def objective_source_old : String | Nil #

def objective_source_old=(objective_source_old : String | Nil) #

def priority_new : Int64 | Nil #

def priority_new=(priority_new : Int64 | Nil) #

def priority_old : Int64 | Nil #

def priority_old=(priority_old : Int64 | Nil) #

def reason_new : String | Nil #

def reason_new=(reason_new : String | Nil) #

def reason_old : String | Nil #

def reason_old=(reason_old : String | Nil) #

def run_status_new : String | Nil #

def run_status_new=(run_status_new : String | Nil) #

def run_status_old : String | Nil #

def run_status_old=(run_status_old : String | Nil) #

def source_adgroup_id_new : String | Nil #

def source_adgroup_id_new=(source_adgroup_id_new : String | Nil) #

def source_adgroup_id_old : String | Nil #

def source_adgroup_id_old=(source_adgroup_id_old : String | Nil) #

def start_time_new : Datetime | Nil #

def start_time_new=(start_time_new : Datetime | Nil) #

def start_time_old : Datetime | Nil #

def start_time_old=(start_time_old : Datetime | Nil) #

def stop_time_new : Datetime | Nil #

def stop_time_new=(stop_time_new : Datetime | Nil) #

def stop_time_old : Datetime | Nil #

def stop_time_old=(stop_time_old : Datetime | Nil) #

def target_spec_id_new : String | Nil #

def target_spec_id_new=(target_spec_id_new : String | Nil) #

def target_spec_id_old : String | Nil #

def target_spec_id_old=(target_spec_id_old : String | Nil) #

def to_hash #

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

def to_protobuf #

def tracking_pixel_ids_new : Array(String) | Nil #

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

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

def tracking_pixel_ids_old : Array(String) | Nil #

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

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

def update_time_new : Datetime | Nil #

def update_time_new=(update_time_new : Datetime | Nil) #

def update_time_old : Datetime | Nil #

def update_time_old=(update_time_old : Datetime | Nil) #

def view_tags_new : Array(String) | Nil #

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

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

def view_tags_old : Array(String) | Nil #

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

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