@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ConductorWorkflow workflow = (ConductorWorkflow) o;
        return version == workflow.version && Objects.equals(name, workflow.name);
    }
Generate ConductorWorkflow based on the workflow metadata definition

@param def
@return
java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/ConductorWorkflow.java