replace abstract method

Implementation

void replace($TextToImageApiGetTaskResponseApplicationJson_Ocs_DataInterface other);