struct Facebook::Proto::IterativeSplitTestConfig

Included Modules

Defined in:

cli/proto/facebook/IterativeSplitTestConfig.pb.cr

Constant 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: :end_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :iterative_split_test_original_variant_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, 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}} 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(id : String | Nil = nil, budget : Int64 | Nil = nil, end_time : Datetime | Nil = nil, iterative_split_test_original_variant_id : String | Nil = nil, splits : Array(Int64) | Nil = nil, start_time : Datetime | 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 budget : Int64 | Nil #

def budget=(budget : Int64 | Nil) #

def end_time : Datetime | Nil #

def end_time=(end_time : Datetime | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def iterative_split_test_original_variant_id : String | Nil #

def iterative_split_test_original_variant_id=(iterative_split_test_original_variant_id : String | Nil) #

def splits : Array(Int64) | Nil #

def splits=(splits : Array(Int64) | Nil) #

def splits=(splits : Array(Int64) | Nil) #

def start_time : Datetime | Nil #

def start_time=(start_time : Datetime | Nil) #

def to_hash #

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

def to_protobuf #