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