to_dict# ResultDefinition.to_dict()# Get the result definition in a dictionary representation. Return type: dict[str, Any]