code: func (o *Options) GetThresholds() ThresholdCount {
  	if o == nil || o.Thresholds == nil {
  		return ThresholdCount{}
  	}
  	return *o.Thresholds
  }
docs: // GetThresholds returns the Thresholds field if non-nil, zero value otherwise.