> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DataHistoryVariableStruct

public class [DataHistoryVariableStruct](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct.md)

This object is used to pass a variable's data and metadata to the addVariableStructs function for data history, which sets the results for a run. For more information see [addVariableStructs](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history/add-variable-structs).

## Constructors

| | |
| - | - |
| [DataHistoryVariableStruct](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/-data-history-variable-struct) | constructor() |

## Properties

| Name | Summary |
| - | - |
| [index](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/--index--) | open var [index](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/--index--): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) Either a 0 based index to the Variable, or the name of a Variable. |
| [isModified](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/is-modified) | open var [isModified](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/is-modified): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) Whether this value's modified flag is set. |
| [isValid](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/is-valid) | open var [isValid](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/is-valid): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) Whether this value is valid. |
| [metadata](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/metadata) | open var [metadata](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/metadata): [DataHistoryVariableMetadataStruct](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-metadata-struct.md) The metadata for the Variable |
| [varValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/var-value) | open var [varValue](https://developer.synopsys.com/docs/modelcenter/modelcenter-apis/2025-r1/modelcenter-java-api-md/mc_api/com.phoenix_int.ModelCenter/-data-history-variable-struct/var-value): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) The value of the Variable. |
