struct Facebook::Proto::AdTopline

Included Modules

Defined in:

cli/proto/facebook/AdTopline.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: :client_approval_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :created_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :created_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :flight_end_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :flight_start_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :func_cap_amount, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :func_cap_amount_with_offset, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :func_line_amount, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :func_line_amount_with_offset, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :func_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :func_price_with_offset, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :gender, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :impressions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :io_number, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :is_bonus_line, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :keywords, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :last_updated_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :last_updated_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :line_number, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :line_position, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :line_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :location, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :max_age, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :max_budget, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :min_age, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :price_per_trp, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :product_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :rev_assurance_approval_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :targets, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :trp_updated_time, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :trp_value, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :uom, 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(id : String | Nil = nil, account_id : String | Nil = nil, client_approval_date : Datetime | Nil = nil, created_by : String | Nil = nil, created_date : Datetime | Nil = nil, description : String | Nil = nil, flight_end_date : Datetime | Nil = nil, flight_start_date : Datetime | Nil = nil, func_cap_amount : String | Nil = nil, func_cap_amount_with_offset : String | Nil = nil, func_line_amount : String | Nil = nil, func_line_amount_with_offset : String | Nil = nil, func_price : String | Nil = nil, func_price_with_offset : String | Nil = nil, gender : String | Nil = nil, impressions : Int64 | Nil = nil, io_number : Int64 | Nil = nil, is_bonus_line : Int64 | Nil = nil, keywords : String | Nil = nil, last_updated_by : String | Nil = nil, last_updated_date : Datetime | Nil = nil, line_number : Int64 | Nil = nil, line_position : Int64 | Nil = nil, line_type : String | Nil = nil, location : String | Nil = nil, max_age : String | Nil = nil, max_budget : String | Nil = nil, min_age : String | Nil = nil, price_per_trp : String | Nil = nil, product_type : String | Nil = nil, rev_assurance_approval_date : Datetime | Nil = nil, targets : String | Nil = nil, trp_updated_time : Int64 | Nil = nil, trp_value : String | Nil = nil, uom : 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 client_approval_date : Datetime | Nil #

def client_approval_date=(client_approval_date : Datetime | Nil) #

def created_by : String | Nil #

def created_by=(created_by : String | Nil) #

def created_date : Datetime | Nil #

def created_date=(created_date : Datetime | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def flight_end_date : Datetime | Nil #

def flight_end_date=(flight_end_date : Datetime | Nil) #

def flight_start_date : Datetime | Nil #

def flight_start_date=(flight_start_date : Datetime | Nil) #

def func_cap_amount : String | Nil #

def func_cap_amount=(func_cap_amount : String | Nil) #

def func_cap_amount_with_offset : String | Nil #

def func_cap_amount_with_offset=(func_cap_amount_with_offset : String | Nil) #

def func_line_amount : String | Nil #

def func_line_amount=(func_line_amount : String | Nil) #

def func_line_amount_with_offset : String | Nil #

def func_line_amount_with_offset=(func_line_amount_with_offset : String | Nil) #

def func_price : String | Nil #

def func_price=(func_price : String | Nil) #

def func_price_with_offset : String | Nil #

def func_price_with_offset=(func_price_with_offset : String | Nil) #

def gender : String | Nil #

def gender=(gender : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def impressions : Int64 | Nil #

def impressions=(impressions : Int64 | Nil) #

def io_number : Int64 | Nil #

def io_number=(io_number : Int64 | Nil) #

def is_bonus_line : Int64 | Nil #

def is_bonus_line=(is_bonus_line : Int64 | Nil) #

def keywords : String | Nil #

def keywords=(keywords : String | Nil) #

def last_updated_by : String | Nil #

def last_updated_by=(last_updated_by : String | Nil) #

def last_updated_date : Datetime | Nil #

def last_updated_date=(last_updated_date : Datetime | Nil) #

def line_number : Int64 | Nil #

def line_number=(line_number : Int64 | Nil) #

def line_position : Int64 | Nil #

def line_position=(line_position : Int64 | Nil) #

def line_type : String | Nil #

def line_type=(line_type : String | Nil) #

def location : String | Nil #

def location=(location : String | Nil) #

def max_age : String | Nil #

def max_age=(max_age : String | Nil) #

def max_budget : String | Nil #

def max_budget=(max_budget : String | Nil) #

def min_age : String | Nil #

def min_age=(min_age : String | Nil) #

def price_per_trp : String | Nil #

def price_per_trp=(price_per_trp : String | Nil) #

def product_type : String | Nil #

def product_type=(product_type : String | Nil) #

def rev_assurance_approval_date : Datetime | Nil #

def rev_assurance_approval_date=(rev_assurance_approval_date : Datetime | Nil) #

def targets : String | Nil #

def targets=(targets : String | Nil) #

def to_hash #

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

def to_protobuf #

def trp_updated_time : Int64 | Nil #

def trp_updated_time=(trp_updated_time : Int64 | Nil) #

def trp_value : String | Nil #

def trp_value=(trp_value : String | Nil) #

def uom : String | Nil #

def uom=(uom : String | Nil) #