public static void copy ( UnitResponse from , UnitResponse to ) { //remember to modify this method when new properties are added. to . setCode ( from . code ) . setData ( from . data ) . setContext ( from . context . clone ( ) ) . setMessage ( from . message ) ; }
copy all properties from one response object ot another response object .