struct Facebook::Proto::ReachFrequencyActivity

Included Modules

Defined in:

cli/proto/facebook/ReachFrequencyActivity.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: :campaign_active, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :campaign_started, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :creative_uploaded, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :delivered_budget, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :delivered_impression, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :delivered_reach, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :delivered_total_impression, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :io_approved, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :sf_link, 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, campaign_active : Bool | Nil = nil, campaign_started : Bool | Nil = nil, creative_uploaded : Bool | Nil = nil, delivered_budget : Int64 | Nil = nil, delivered_impression : Int64 | Nil = nil, delivered_reach : Int64 | Nil = nil, delivered_total_impression : Int64 | Nil = nil, io_approved : Bool | Nil = nil, sf_link : 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 campaign_active : Bool | Nil #

def campaign_active=(campaign_active : Bool | Nil) #

def campaign_started : Bool | Nil #

def campaign_started=(campaign_started : Bool | Nil) #

def creative_uploaded : Bool | Nil #

def creative_uploaded=(creative_uploaded : Bool | Nil) #

def delivered_budget : Int64 | Nil #

def delivered_budget=(delivered_budget : Int64 | Nil) #

def delivered_impression : Int64 | Nil #

def delivered_impression=(delivered_impression : Int64 | Nil) #

def delivered_reach : Int64 | Nil #

def delivered_reach=(delivered_reach : Int64 | Nil) #

def delivered_total_impression : Int64 | Nil #

def delivered_total_impression=(delivered_total_impression : Int64 | Nil) #

def io_approved : Bool | Nil #

def io_approved=(io_approved : Bool | Nil) #

def sf_link : String | Nil #

def sf_link=(sf_link : String | Nil) #

def to_hash #

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

def to_protobuf #