struct Facebook::Proto::InvoiceCampaign

Included Modules

Defined in:

cli/proto/facebook/InvoiceCampaign.pb.cr

Constant Summary

FIELDS = {1 => {name: :ad_account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :campaign_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :campaign_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :clicks, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :conversions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :impressions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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(ad_account_id : String | Nil = nil, campaign_id : String | Nil = nil, campaign_name : String | Nil = nil, clicks : Int64 | Nil = nil, conversions : Int64 | Nil = nil, impressions : Int64 | Nil = nil, tags : Array(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 ad_account_id : String | Nil #

def ad_account_id=(ad_account_id : String | Nil) #

def campaign_id : String | Nil #

def campaign_id=(campaign_id : String | Nil) #

def campaign_name : String | Nil #

def campaign_name=(campaign_name : String | Nil) #

def clicks : Int64 | Nil #

def clicks=(clicks : Int64 | Nil) #

def conversions : Int64 | Nil #

def conversions=(conversions : Int64 | Nil) #

def impressions : Int64 | Nil #

def impressions=(impressions : Int64 | Nil) #

def tags : Array(String) | Nil #

def tags=(tags : Array(String) | Nil) #

def tags=(tags : Array(String) | Nil) #

def to_hash #

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

def to_protobuf #