ReferenceDatapinMetadata#
- class ansys.modelcenter.workflow.grpc_modelcenter.reference_datapin_metadata.ReferenceDatapinMetadata#
Bases:
ansys.tools.variableinterop.CommonVariableMetadataProvides metadata for a reference datapin.
Overview#
Invoke the visitor pattern of this object using the passed-in visitor |
Creates a new metadata object from the data from a call to to_dict(). |
Creates a dictionary representation of this object suitable for JSON |
Variable type of the object. |
Import detail#
from ansys.modelcenter.workflow.grpc_modelcenter.reference_datapin_metadata import ReferenceDatapinMetadata
Property detail#
- property ReferenceDatapinMetadata.variable_type: ansys.tools.variableinterop.VariableType#
Variable type of the object.
- Returns:
VariableTypeVariable type of the object.
Method detail#
- abstractmethod ReferenceDatapinMetadata.accept(visitor: ansys.tools.variableinterop.IVariableMetadataVisitor[T]) T#
Invoke the visitor pattern of this object using the passed-in visitor implementation.
- Parameters:
- visitor
IVariableMetadataVisitor[T] Visitor object to call.
- visitor
- Returns:
TResults of the visitor invocation.
- ReferenceDatapinMetadata.to_dict() dict#
Creates a dictionary representation of this object suitable for JSON serialization.
- Returns:
dictThe generated dictionary
- classmethod ReferenceDatapinMetadata.from_dict(data) ansys.tools.variableinterop.CommonVariableMetadata#
Creates a new metadata object from the data from a call to to_dict().
- Parameters:
- data
The serialized dictionary data.
- Returns:
CommonVariableMetadataThe new metadata object.