# ResultDataKeyRule

## Properties

| Name | Type | Required | Description |
|------|------|----------|-------------|
| **supplier** | **str** | Required | the result resource supplier (where the data comes from) |
| **data_scope** | **str** | Required | which is the scope in which the data should be found |
| **document_code** | **str** | Required | document code that defines which document is desired |
| **quote_interval** | **str** | Optional | Shorthand for the time interval used to select result data. This must be a dot-separated string              specifying a start and end date, for example &#39;5D.0D&#39; to look back 5 days from today (0 days ago). |
| **as_at** | **datetime** | Optional | The AsAt predicate specification. |
| **resource_key** | **str** | Required | The result data key that identifies the address pattern that this is a rule for |
| **document_result_type** | **str** | Required | *No description available.* |
| **use_document_to_infer_holdings** | **bool** | Optional | Indicates whether the relevant document should be used to infer the set of holdings in the valuation. |
| **result_key_rule_type** | **str** | Required | Available values: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule. |


## Usage

### Creating from keyword arguments

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

instance = ResultDataKeyRule(
    supplier="...",  # required — the result resource supplier (where the data comes from)
    data_scope="...",  # required — which is the scope in which the data should be found
    document_code="...",  # required — document code that defines which document is desired
    quote_interval="...",  # optional — Shorthand for the time interval used to select result data. This must be a dot-separated string              specifying a start and end date, for example &#39;5D.0D&#39; to look back 5 days from today (0 days ago).
    as_at=datetime.now(),  # optional — The AsAt predicate specification.
    resource_key="...",  # required — The result data key that identifies the address pattern that this is a rule for
    document_result_type="...",  # required
    use_document_to_infer_holdings=True,  # optional — Indicates whether the relevant document should be used to infer the set of holdings in the valuation.
    result_key_rule_type="..."  # required — Available values: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule.
)
```



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

