code: func (m *MarketplacePurchase) GetUnitCount() int {
  	if m == nil || m.UnitCount == nil {
  		return 0
  	}
  	return *m.UnitCount
  }
docs: // GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise.