struct Facebook::Proto::OutcomePredictionPoint
- Facebook::Proto::OutcomePredictionPoint
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/OutcomePredictionPoint.pb.crConstant Summary
-
FIELDS =
{1 => {name: :actions, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :impressions, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :reach, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :spend, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(actions : Float64 | Nil = nil, impressions : Float64 | Nil = nil, reach : Float64 | Nil = nil, spend : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #actions : Float64 | Nil
- #actions=(actions : Float64 | Nil)
- #impressions : Float64 | Nil
- #impressions=(impressions : Float64 | Nil)
- #reach : Float64 | Nil
- #reach=(reach : Float64 | Nil)
- #spend : Int64 | Nil
- #spend=(spend : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(actions : Float64 | Nil = nil, impressions : Float64 | Nil = nil, reach : Float64 | Nil = nil, spend : Int64 | Nil = nil)
#