struct Facebook::Proto::SplitTestConfig
- Facebook::Proto::SplitTestConfig
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/SplitTestConfig.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: :budget, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :early_winner_declaration_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :end_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :splits, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :start_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :test_variable, 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
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, budget : Int64 | Nil = nil, early_winner_declaration_enabled : Bool | Nil = nil, end_time : Datetime | Nil = nil, splits : Array(Int64) | Nil = nil, start_time : Datetime | Nil = nil, test_variable : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #budget : Int64 | Nil
- #budget=(budget : Int64 | Nil)
- #early_winner_declaration_enabled : Bool | Nil
- #early_winner_declaration_enabled=(early_winner_declaration_enabled : Bool | Nil)
- #end_time : Datetime | Nil
- #end_time=(end_time : Datetime | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #splits : Array(Int64) | Nil
- #splits=(splits : Array(Int64) | Nil)
- #splits=(splits : Array(Int64) | Nil)
- #start_time : Datetime | Nil
- #start_time=(start_time : Datetime | Nil)
- #test_variable : String | Nil
- #test_variable=(test_variable : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, budget : Int64 | Nil = nil, early_winner_declaration_enabled : Bool | Nil = nil, end_time : Datetime | Nil = nil, splits : Array(Int64) | Nil = nil, start_time : Datetime | Nil = nil, test_variable : String | Nil = nil)
#