struct Facebook::Proto::AdEntityTargetSpend
- Facebook::Proto::AdEntityTargetSpend
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdEntityTargetSpend.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #amount : String | Nil
- #amount=(amount : String | Nil)
- #has_error : Bool | Nil
- #has_error=(has_error : Bool | Nil)
- #is_accurate : Bool | Nil
- #is_accurate=(is_accurate : Bool | Nil)
- #is_prorated : Bool | Nil
- #is_prorated=(is_prorated : Bool | Nil)
- #is_updating : Bool | Nil
- #is_updating=(is_updating : Bool | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#