struct Facebook::Proto::AdToplineDetail

Included Modules

Defined in:

cli/proto/facebook/AdToplineDetail.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: :active_status, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :ad_account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :flight_end_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :flight_start_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :io_number, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :line_number, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :price, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :quantity, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :sf_detail_line_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :subline_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :targets, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :time_created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :time_updated, 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, active_status : Int64 | Nil = nil, ad_account_id : String | Nil = nil, flight_end_date : Datetime | Nil = nil, flight_start_date : Datetime | Nil = nil, io_number : Int64 | Nil = nil, line_number : Int64 | Nil = nil, price : Float64 | Nil = nil, quantity : Float64 | Nil = nil, sf_detail_line_id : String | Nil = nil, subline_id : String | Nil = nil, targets : String | Nil = nil, time_created : Datetime | Nil = nil, time_updated : 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 active_status : Int64 | Nil #

def active_status=(active_status : Int64 | Nil) #

def ad_account_id : String | Nil #

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

def id=(id : String | Nil) #

def io_number : Int64 | Nil #

def io_number=(io_number : Int64 | Nil) #

def line_number : Int64 | Nil #

def line_number=(line_number : Int64 | Nil) #

def price : Float64 | Nil #

def price=(price : Float64 | Nil) #

def quantity : Float64 | Nil #

def quantity=(quantity : Float64 | Nil) #

def sf_detail_line_id : String | Nil #

def sf_detail_line_id=(sf_detail_line_id : String | Nil) #

def subline_id : String | Nil #

def subline_id=(subline_id : String | Nil) #

def targets : String | Nil #

def targets=(targets : String | Nil) #

def time_created : Datetime | Nil #

def time_created=(time_created : Datetime | Nil) #

def time_updated : Datetime | Nil #

def time_updated=(time_updated : Datetime | Nil) #

def to_hash #

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

def to_protobuf #