code: func (i *Installation) GetTargetType() string {
  	if i == nil || i.TargetType == nil {
  		return ""
  	}
  	return *i.TargetType
  }
docs: // GetTargetType returns the TargetType field if it's non-nil, zero value otherwise.