struct Facebook::Proto::AdContract

Included Modules

Defined in:

cli/proto/facebook/AdContract.pb.cr

Constant Summary

FIELDS = {1 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :account_mgr_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :account_mgr_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :adops_person_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :advertiser_address_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :advertiser_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :advertiser_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :agency_discount, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :agency_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :bill_to_address_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :bill_to_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :campaign_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :created_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :created_date, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :customer_io, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :io_number, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :io_terms, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :io_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :last_updated_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :last_updated_date, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :max_end_date, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :mdc_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :media_plan_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :min_start_date, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :msa_contract, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :payment_terms, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :rev_hold_flag, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :rev_hold_released_by, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :rev_hold_released_on, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :salesrep_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :salesrep_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :sold_to_address_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :sold_to_fbid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :subvertical, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :thirdparty_billed, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :thirdparty_password, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :thirdparty_uid, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :thirdparty_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :vat_country, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :version, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :vertical, 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(account_id : String | Nil = nil, account_mgr_fbid : String | Nil = nil, account_mgr_name : String | Nil = nil, adops_person_name : String | Nil = nil, advertiser_address_fbid : String | Nil = nil, advertiser_fbid : String | Nil = nil, advertiser_name : String | Nil = nil, agency_discount : Float64 | Nil = nil, agency_name : String | Nil = nil, bill_to_address_fbid : String | Nil = nil, bill_to_fbid : String | Nil = nil, campaign_name : String | Nil = nil, created_by : String | Nil = nil, created_date : Int64 | Nil = nil, customer_io : String | Nil = nil, io_number : Int64 | Nil = nil, io_terms : String | Nil = nil, io_type : String | Nil = nil, last_updated_by : String | Nil = nil, last_updated_date : Int64 | Nil = nil, max_end_date : Int64 | Nil = nil, mdc_fbid : String | Nil = nil, media_plan_number : String | Nil = nil, min_start_date : Int64 | Nil = nil, msa_contract : String | Nil = nil, payment_terms : String | Nil = nil, rev_hold_flag : Bool | Nil = nil, rev_hold_released_by : Int64 | Nil = nil, rev_hold_released_on : Int64 | Nil = nil, salesrep_fbid : String | Nil = nil, salesrep_name : String | Nil = nil, sold_to_address_fbid : String | Nil = nil, sold_to_fbid : String | Nil = nil, status : String | Nil = nil, subvertical : String | Nil = nil, thirdparty_billed : Int64 | Nil = nil, thirdparty_password : String | Nil = nil, thirdparty_uid : String | Nil = nil, thirdparty_url : String | Nil = nil, vat_country : String | Nil = nil, version : Int64 | Nil = nil, vertical : 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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def account_mgr_fbid : String | Nil #

def account_mgr_fbid=(account_mgr_fbid : String | Nil) #

def account_mgr_name : String | Nil #

def account_mgr_name=(account_mgr_name : String | Nil) #

def adops_person_name : String | Nil #

def adops_person_name=(adops_person_name : String | Nil) #

def advertiser_address_fbid : String | Nil #

def advertiser_address_fbid=(advertiser_address_fbid : String | Nil) #

def advertiser_fbid : String | Nil #

def advertiser_fbid=(advertiser_fbid : String | Nil) #

def advertiser_name : String | Nil #

def advertiser_name=(advertiser_name : String | Nil) #

def agency_discount : Float64 | Nil #

def agency_discount=(agency_discount : Float64 | Nil) #

def agency_name : String | Nil #

def agency_name=(agency_name : String | Nil) #

def bill_to_address_fbid : String | Nil #

def bill_to_address_fbid=(bill_to_address_fbid : String | Nil) #

def bill_to_fbid : String | Nil #

def bill_to_fbid=(bill_to_fbid : String | Nil) #

def campaign_name : String | Nil #

def campaign_name=(campaign_name : String | Nil) #

def created_by : String | Nil #

def created_by=(created_by : String | Nil) #

def created_date : Int64 | Nil #

def created_date=(created_date : Int64 | Nil) #

def customer_io : String | Nil #

def customer_io=(customer_io : String | Nil) #

def io_number : Int64 | Nil #

def io_number=(io_number : Int64 | Nil) #

def io_terms : String | Nil #

def io_terms=(io_terms : String | Nil) #

def io_type : String | Nil #

def io_type=(io_type : String | Nil) #

def last_updated_by : String | Nil #

def last_updated_by=(last_updated_by : String | Nil) #

def last_updated_date : Int64 | Nil #

def last_updated_date=(last_updated_date : Int64 | Nil) #

def max_end_date : Int64 | Nil #

def max_end_date=(max_end_date : Int64 | Nil) #

def mdc_fbid : String | Nil #

def mdc_fbid=(mdc_fbid : String | Nil) #

def media_plan_number : String | Nil #

def media_plan_number=(media_plan_number : String | Nil) #

def min_start_date : Int64 | Nil #

def min_start_date=(min_start_date : Int64 | Nil) #

def msa_contract : String | Nil #

def msa_contract=(msa_contract : String | Nil) #

def payment_terms : String | Nil #

def payment_terms=(payment_terms : String | Nil) #

def rev_hold_flag : Bool | Nil #

def rev_hold_flag=(rev_hold_flag : Bool | Nil) #

def rev_hold_released_by : Int64 | Nil #

def rev_hold_released_by=(rev_hold_released_by : Int64 | Nil) #

def rev_hold_released_on : Int64 | Nil #

def rev_hold_released_on=(rev_hold_released_on : Int64 | Nil) #

def salesrep_fbid : String | Nil #

def salesrep_fbid=(salesrep_fbid : String | Nil) #

def salesrep_name : String | Nil #

def salesrep_name=(salesrep_name : String | Nil) #

def sold_to_address_fbid : String | Nil #

def sold_to_address_fbid=(sold_to_address_fbid : String | Nil) #

def sold_to_fbid : String | Nil #

def sold_to_fbid=(sold_to_fbid : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def subvertical : String | Nil #

def subvertical=(subvertical : String | Nil) #

def thirdparty_billed : Int64 | Nil #

def thirdparty_billed=(thirdparty_billed : Int64 | Nil) #

def thirdparty_password : String | Nil #

def thirdparty_password=(thirdparty_password : String | Nil) #

def thirdparty_uid : String | Nil #

def thirdparty_uid=(thirdparty_uid : String | Nil) #

def thirdparty_url : String | Nil #

def thirdparty_url=(thirdparty_url : String | Nil) #

def to_hash #

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

def to_protobuf #

def vat_country : String | Nil #

def vat_country=(vat_country : String | Nil) #

def version : Int64 | Nil #

def version=(version : Int64 | Nil) #

def vertical : String | Nil #

def vertical=(vertical : String | Nil) #