func (o *Indicator) GetRatioOk() (*IndicatorRatio, bool) {
	if o == nil || o.Ratio == nil {
		return nil, false
	}
	return o.Ratio, true
}
GetRatioOk returns a tuple with the Ratio field value if set, nil otherwise
and a boolean to check if the value has been set.
package openapi
import (
	"encoding/json"
)
type Indicator struct {
	Ratio   *IndicatorRatio   `json:"ratio,omitempty"`
	Latency *IndicatorLatency `json:"latency,omitempty"`
}
func NewIndicator() *Indicator {
	this := Indicator{}
	return &this
}
func NewIndicatorWithDefaults() *Indicator {
	this := Indicator{}
	return &this
}
func (o *Indicator) GetRatio() IndicatorRatio {
	if o == nil || o.Ratio == nil {
		var ret IndicatorRatio
		return ret
	}
	return *o.Ratio
}