code: func (o *Options) GetThresholdsOk() (ThresholdCount, bool) {
  	if o == nil || o.Thresholds == nil {
  		return ThresholdCount{}, false
  	}
  	return *o.Thresholds, true
  }
docs: // GetThresholdsOk returns a tuple with the Thresholds field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.