open fun copy(target: JsonModel): Unit
Copy all properties from this object to the given target object by converting to JSON and then updating the target.
target
- The target object to update with the properties of this model
open fun <T : JsonModel> copy(): T
Duplicate this model object by creating a new object of the same type and copy over all the model properties.
Parameters
Return
A new object of type T with the model properties of this object