struct Facebook::Proto::AdEntityTargetSpend

Included Modules

Defined in:

cli/proto/facebook/AdEntityTargetSpend.pb.cr

Constant Summary

FIELDS = {1 => {name: :amount, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :has_error, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :is_accurate, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :is_prorated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_updating, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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(amount : String | Nil = nil, has_error : Bool | Nil = nil, is_accurate : Bool | Nil = nil, is_prorated : Bool | Nil = nil, is_updating : Bool | 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 amount : String | Nil #

def amount=(amount : String | Nil) #

def has_error : Bool | Nil #

def has_error=(has_error : Bool | Nil) #

def is_accurate : Bool | Nil #

def is_accurate=(is_accurate : Bool | Nil) #

def is_prorated : Bool | Nil #

def is_prorated=(is_prorated : Bool | Nil) #

def is_updating : Bool | Nil #

def is_updating=(is_updating : Bool | Nil) #

def to_hash #

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

def to_protobuf #