struct Facebook::Proto::AdCampaignGroupActivity

Included Modules

Defined in:

cli/proto/facebook/AdCampaignGroupActivity.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: :buying_type_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :buying_type_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :event_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :event_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :is_autobid_new, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :is_autobid_old, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :is_average_price_pacing_new, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :is_average_price_pacing_old, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :name_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :name_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :objective_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :objective_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :pacing_type, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :run_status_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :run_status_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :spend_cap_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :spend_cap_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :time_created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :time_updated_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :time_updated_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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, buying_type_new : String | Nil = nil, buying_type_old : String | Nil = nil, event_time : Datetime | Nil = nil, event_type : String | Nil = nil, is_autobid_new : Bool | Nil = nil, is_autobid_old : Bool | Nil = nil, is_average_price_pacing_new : Bool | Nil = nil, is_average_price_pacing_old : Bool | Nil = nil, name_new : String | Nil = nil, name_old : String | Nil = nil, objective_new : String | Nil = nil, objective_old : String | Nil = nil, pacing_type : Int64 | Nil = nil, run_status_new : String | Nil = nil, run_status_old : String | Nil = nil, spend_cap_new : Int64 | Nil = nil, spend_cap_old : Int64 | Nil = nil, time_created : Datetime | Nil = nil, time_updated_new : Datetime | Nil = nil, time_updated_old : Datetime | 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 buying_type_new : String | Nil #

def buying_type_new=(buying_type_new : String | Nil) #

def buying_type_old : String | Nil #

def buying_type_old=(buying_type_old : String | 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 id : String | Nil #

def id=(id : String | Nil) #

def is_autobid_new : Bool | Nil #

def is_autobid_new=(is_autobid_new : Bool | Nil) #

def is_autobid_old : Bool | Nil #

def is_autobid_old=(is_autobid_old : Bool | Nil) #

def is_average_price_pacing_new : Bool | Nil #

def is_average_price_pacing_new=(is_average_price_pacing_new : Bool | Nil) #

def is_average_price_pacing_old : Bool | Nil #

def is_average_price_pacing_old=(is_average_price_pacing_old : Bool | Nil) #

def name_new : String | Nil #

def name_new=(name_new : String | Nil) #

def name_old : String | Nil #

def name_old=(name_old : String | 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 pacing_type : Int64 | Nil #

def pacing_type=(pacing_type : Int64 | 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 spend_cap_new : Int64 | Nil #

def spend_cap_new=(spend_cap_new : Int64 | Nil) #

def spend_cap_old : Int64 | Nil #

def spend_cap_old=(spend_cap_old : Int64 | Nil) #

def time_created : Datetime | Nil #

def time_created=(time_created : Datetime | Nil) #

def time_updated_new : Datetime | Nil #

def time_updated_new=(time_updated_new : Datetime | Nil) #

def time_updated_old : Datetime | Nil #

def time_updated_old=(time_updated_old : Datetime | Nil) #

def to_hash #

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

def to_protobuf #