func (t *ThresholdCount) GetPeriod() Period {
	if t == nil || t.Period == nil {
		return Period{}
	}
	return *t.Period
}
func (t *ThresholdCount) GetPeriod() Period {
	if t == nil || t.Period == nil {
		return Period{}
	}
	return *t.Period
}
func ( t * ThresholdCount ) GetPeriod ( ) Period { if t == nil || t . Period == nil { return Period { } } return * t . Period }
// GetPeriod returns the Period field if non-nil, zero value otherwise.
GetPeriod returns the Period field if non - nil zero value otherwise .