code: func (t ThresholdState) String() string {
  	if s := thresholdStateStrings[t]; s != "" {
  		return s
  	}
  	return fmt.Sprintf("Unknown ThresholdState (%d)", int(t))
  }
docs: // String returns the ThresholdState as a human-readable name.