# AllocationGroupDefinition

## Properties

| Name | Type | Required | Description |
|------|------|----------|-------------|
| **classes** | [List[AllocationGroupClassDefinition]](AllocationGroupClassDefinition.md) | Optional | An optional list of share classes that belong to this group. Each entry must reference a ShareClass already present on the Fund. You can provide this or the Formula, but not both. |
| **code** | **str** | Required | The unique code for the Allocation Group. Must be unique within the Fund. |
| **name** | **str** | Required | The display name of the Allocation Group. |
| **description** | **str** | Optional | An optional description for the Allocation Group. |
| **share_class_short_code** | **str** | Required | The short code that identifies the Allocation Group. |
| **apportionment_method_property** | [ApportionmentMethodProperty](ApportionmentMethodProperty.md) | Optional | *No description available.* |
| **formula** | **str** | Optional | An optional filter expression used to define which classes belong to this group, based on fund grouping criteria. You can provide this or the Classes, but not both. |


## Usage

### Creating from keyword arguments

```python
from finbourne.sdk.services.lusid.models.AllocationGroupDefinition import AllocationGroupDefinition

instance = AllocationGroupDefinition(
    classes=[],  # optional — An optional list of share classes that belong to this group. Each entry must reference a ShareClass already present on the Fund. You can provide this or the Formula, but not both.
    code="...",  # required — The unique code for the Allocation Group. Must be unique within the Fund.
    name="...",  # required — The display name of the Allocation Group.
    description="...",  # optional — An optional description for the Allocation Group.
    share_class_short_code="...",  # required — The short code that identifies the Allocation Group.
    apportionment_method_property=ApportionmentMethodProperty(...),  # optional
    formula="..."  # optional — An optional filter expression used to define which classes belong to this group, based on fund grouping criteria. You can provide this or the Classes, but not both.
)
```


## Related Models

- [AllocationGroupClassDefinition](AllocationGroupClassDefinition.md) — used in `classes`
- [ApportionmentMethodProperty](ApportionmentMethodProperty.md)


[Back to top](#) · [Back to API list](../../api_endpoints.md) · [Back to Model list](../../models.md) · [Back to README](../../../../../README.md)

