struct Facebook::Proto::AdAccountActivity

Included Modules

Defined in:

cli/proto/facebook/AdAccountActivity.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: :billing_address_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :billing_address_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :created_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :credit_status_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :credit_status_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :currency_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :currency_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :event_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :event_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :funding_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :funding_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :grace_period_time_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :grace_period_time_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :manager_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :manager_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :name_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :name_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :status_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :status_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :terms_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :terms_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :tier_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :tier_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :time_updated_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 28 => {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, account_id : String | Nil = nil, billing_address_new : String | Nil = nil, billing_address_old : String | Nil = nil, created_by : String | Nil = nil, created_time : Datetime | Nil = nil, credit_status_new : String | Nil = nil, credit_status_old : String | Nil = nil, currency_new : String | Nil = nil, currency_old : String | Nil = nil, event_time : Datetime | Nil = nil, event_type : String | Nil = nil, funding_id_new : String | Nil = nil, funding_id_old : String | Nil = nil, grace_period_time_new : Int64 | Nil = nil, grace_period_time_old : Int64 | Nil = nil, manager_id_new : String | Nil = nil, manager_id_old : String | Nil = nil, name_new : String | Nil = nil, name_old : String | Nil = nil, status_new : String | Nil = nil, status_old : String | Nil = nil, terms_new : Int64 | Nil = nil, terms_old : Int64 | Nil = nil, tier_new : String | Nil = nil, tier_old : String | 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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def billing_address_new : String | Nil #

def billing_address_new=(billing_address_new : String | Nil) #

def billing_address_old : String | Nil #

def billing_address_old=(billing_address_old : String | Nil) #

def created_by : String | Nil #

def created_by=(created_by : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def credit_status_new : String | Nil #

def credit_status_new=(credit_status_new : String | Nil) #

def credit_status_old : String | Nil #

def credit_status_old=(credit_status_old : String | Nil) #

def currency_new : String | Nil #

def currency_new=(currency_new : String | Nil) #

def currency_old : String | Nil #

def currency_old=(currency_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 funding_id_new : String | Nil #

def funding_id_new=(funding_id_new : String | Nil) #

def funding_id_old : String | Nil #

def funding_id_old=(funding_id_old : String | Nil) #

def grace_period_time_new : Int64 | Nil #

def grace_period_time_new=(grace_period_time_new : Int64 | Nil) #

def grace_period_time_old : Int64 | Nil #

def grace_period_time_old=(grace_period_time_old : Int64 | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def manager_id_new : String | Nil #

def manager_id_new=(manager_id_new : String | Nil) #

def manager_id_old : String | Nil #

def manager_id_old=(manager_id_old : String | 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 status_new : String | Nil #

def status_new=(status_new : String | Nil) #

def status_old : String | Nil #

def status_old=(status_old : String | Nil) #

def terms_new : Int64 | Nil #

def terms_new=(terms_new : Int64 | Nil) #

def terms_old : Int64 | Nil #

def terms_old=(terms_old : Int64 | Nil) #

def tier_new : String | Nil #

def tier_new=(tier_new : String | Nil) #

def tier_old : String | Nil #

def tier_old=(tier_old : String | 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 #