types/types.go
func NewOptionalBool(b bool) OptionalBool {
	o := OptionalBoolFalse
	if b == true {
		o = OptionalBoolTrue
	}
	return o
}
func NewOptionalBool(b bool) OptionalBool {
	o := OptionalBoolFalse
	if b == true {
		o = OptionalBoolTrue
	}
	return o
}
func NewOptionalBool ( b bool ) OptionalBool { o := OptionalBoolFalse if b == true { o = OptionalBoolTrue } return o }
// NewOptionalBool converts the input bool into either OptionalBoolTrue or
// OptionalBoolFalse.  The function is meant to avoid boilerplate code of users.
NewOptionalBool converts the input bool into either OptionalBoolTrue or OptionalBoolFalse . The function is meant to avoid boilerplate code of users .