# DefaultPropertyUnion

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/

Union for job data (depends on job type).

- **Full name:** `MFiles.DefaultPropertyUnion`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)
- **Nested types:** [`DefaultPropertyUnion.DptUndefinedData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-DptUndefinedData), [`DefaultPropertyUnion.FixedValueData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FixedValueData), [`DefaultPropertyUnion.FromHpDssXmlData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromHpDssXmlData), [`DefaultPropertyUnion.FromXmlData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromXmlData), [`DefaultPropertyUnion.FromEmailData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromEmailData), [`DefaultPropertyUnion.FromEmailHeaderData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromEmailHeaderData), [`DefaultPropertyUnion.FromOcrData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromOcrData), [`DefaultPropertyUnion.FromFilePropertyData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromFilePropertyData), [`DefaultPropertyUnion.StateTransitionTimeData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-StateTransitionTimeData)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-fixed_value"></a>`fixed_value` | [`DefaultPropertyUnion.FixedValueData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FixedValueData) (oneof data) | 1 |   |
| <a id="f-from_hp_dss_xml"></a>`from_hp_dss_xml` | [`DefaultPropertyUnion.FromHpDssXmlData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromHpDssXmlData) (oneof data) | 2 |   |
| <a id="f-from_xml"></a>`from_xml` | [`DefaultPropertyUnion.FromXmlData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromXmlData) (oneof data) | 3 |   |
| <a id="f-from_email"></a>`from_email` | [`DefaultPropertyUnion.FromEmailData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromEmailData) (oneof data) | 4 |   |
| <a id="f-from_email_header"></a>`from_email_header` | [`DefaultPropertyUnion.FromEmailHeaderData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromEmailHeaderData) (oneof data) | 5 |   |
| <a id="f-from_ocr"></a>`from_ocr` | [`DefaultPropertyUnion.FromOcrData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromOcrData) (oneof data) | 6 |   |
| <a id="f-from_file_property"></a>`from_file_property` | [`DefaultPropertyUnion.FromFilePropertyData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-FromFilePropertyData) (oneof data) | 7 |   |
| <a id="f-state_transition_time"></a>`state_transition_time` | [`DefaultPropertyUnion.StateTransitionTimeData`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultPropertyUnion/index.md#t-StateTransitionTimeData) (oneof data) | 8 |   |

<a id="used-in-fields"></a>

## Used in fields

- [`DefaultProperty.data`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.DefaultProperty/index.md#f-data): The details as a union.

<a id="t-DptUndefinedData"></a>

## Nested message DptUndefinedData

Full name: `MFiles.DefaultPropertyUnion.DptUndefinedData`

No fields.

<a id="t-FixedValueData"></a>

## Nested message FixedValueData

Full name: `MFiles.DefaultPropertyUnion.FixedValueData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FixedValueData-value"></a>`value` | [`TypedValue`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TypedValue/index.md) | 1 | Value. |

<a id="t-FromHpDssXmlData"></a>

## Nested message FromHpDssXmlData

Full name: `MFiles.DefaultPropertyUnion.FromHpDssXmlData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FromHpDssXmlData-prompt_name"></a>`prompt_name` | `string` | 1 | HPP DSS prompt name. |
| <a id="t-FromHpDssXmlData-is_lookup_id"></a>`is_lookup_id` | `bool` | 2 | //!< True if lookup values should be treated as item IDs instead of display names. |
| <a id="t-FromHpDssXmlData-add_missing_items"></a>`add_missing_items` | `bool` | 3 | True if a value list item should be added if it is not found. |

<a id="t-FromXmlData"></a>

## Nested message FromXmlData

Full name: `MFiles.DefaultPropertyUnion.FromXmlData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FromXmlData-xpath"></a>`xpath` | `string` | 1 | XPath expression. |
| <a id="t-FromXmlData-is_lookup_id"></a>`is_lookup_id` | `bool` | 2 | //!< True if lookup values should be treated as item IDs instead of display names. |
| <a id="t-FromXmlData-add_missing_items"></a>`add_missing_items` | `bool` | 3 | True if a value list item should be added if it is not found. |

<a id="t-FromEmailData"></a>

## Nested message FromEmailData

Full name: `MFiles.DefaultPropertyUnion.FromEmailData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FromEmailData-field"></a>`field` | [`EmailField`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.EmailField/index.md) | 1 | E-mail message field. Values: `EMAIL_FIELD_UNDEFINED` (0), `EMAIL_FIELD_FROM` (1), `EMAIL_FIELD_TO` (2), `EMAIL_FIELD_CC` (3), `EMAIL_FIELD_SUBJECT` (4), `EMAIL_FIELD_BODY` (5), `EMAIL_FIELD_DATE` (6), `EMAIL_FIELD_IMPORTANCE` (7), `EMAIL_FIELD_SENSITIVITY` (8). |
| <a id="t-FromEmailData-is_lookup_id"></a>`is_lookup_id` | `bool` | 2 | //!< True if lookup values should be treated as item IDs instead of display names. |
| <a id="t-FromEmailData-add_missing_items"></a>`add_missing_items` | `bool` | 3 | True if a value list item should be added if it is not found. |

<a id="t-FromEmailHeaderData"></a>

## Nested message FromEmailHeaderData

Full name: `MFiles.DefaultPropertyUnion.FromEmailHeaderData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FromEmailHeaderData-header"></a>`header` | `string` | 1 | Header field (e.g. "X-Mailer"). |
| <a id="t-FromEmailHeaderData-is_lookup_id"></a>`is_lookup_id` | `bool` | 2 | //!< True if lookup values should be treated as item IDs instead of display names. |
| <a id="t-FromEmailHeaderData-add_missing_items"></a>`add_missing_items` | `bool` | 3 | True if a value list item should be added if it is not found. |

<a id="t-FromOcrData"></a>

## Nested message FromOcrData

Full name: `MFiles.DefaultPropertyUnion.FromOcrData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FromOcrData-block"></a>`block` | [`OCRBlock`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.OCRBlock/index.md) | 1 | OCR Block definition. |
| <a id="t-FromOcrData-is_lookup_id"></a>`is_lookup_id` | `bool` | 2 | //!< True if lookup values should be treated as item IDs instead of display names. |
| <a id="t-FromOcrData-add_missing_items"></a>`add_missing_items` | `bool` | 3 | True if a value list item should be added if it is not found. |

<a id="t-FromFilePropertyData"></a>

## Nested message FromFilePropertyData

Full name: `MFiles.DefaultPropertyUnion.FromFilePropertyData`

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="t-FromFilePropertyData-property"></a>`property` | [`FileProperty`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.FileProperty/index.md) | 1 | Windows file property. |
| <a id="t-FromFilePropertyData-is_lookup_id"></a>`is_lookup_id` | `bool` | 2 | //!< True if lookup values should be treated as item IDs instead of display names. |
| <a id="t-FromFilePropertyData-add_missing_items"></a>`add_missing_items` | `bool` | 3 | True if a value list item should be added if it is not found. |

<a id="t-StateTransitionTimeData"></a>

## Nested message StateTransitionTimeData

Full name: `MFiles.DefaultPropertyUnion.StateTransitionTimeData`

No fields.
