func (p *Period) GetUnitOk() (string, bool) {
	if p == nil || p.Unit == nil {
		return "", false
	}
	return *p.Unit, true
}
func (p *Period) GetUnitOk() (string, bool) {
	if p == nil || p.Unit == nil {
		return "", false
	}
	return *p.Unit, true
}
// GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise
// and a boolean to check if the value has been set.