struct TwitterAds::Proto::ReachEstimate

Included Modules

Defined in:

twitter-ads/proto/reach_estimate.pb.cr

Constant Summary

FIELDS = {1 => {name: :impressions, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :count, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :infinite_bid_count, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :engagements, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :estimated_daily_spend_local_micro, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :account_id, 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(impressions : String | Nil = nil, count : String | Nil = nil, infinite_bid_count : String | Nil = nil, engagements : String | Nil = nil, estimated_daily_spend_local_micro : String | Nil = nil, account_id : 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 count : String | Nil #

def count=(count : String | Nil) #

def engagements : String | Nil #

def engagements=(engagements : String | Nil) #

def estimated_daily_spend_local_micro : String | Nil #

def estimated_daily_spend_local_micro=(estimated_daily_spend_local_micro : String | Nil) #

def impressions : String | Nil #

def impressions=(impressions : String | Nil) #

def infinite_bid_count : String | Nil #

def infinite_bid_count=(infinite_bid_count : String | Nil) #

def to_hash #

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

def to_protobuf #