* Copy struct (shallow copy) * @this {!BalanceMessage} * @param {!BalanceMessage} other Other struct * @returns {!BalanceMessage} This struct
(other)
| 4729 | * @returns {!BalanceMessage} This struct |
| 4730 | */ |
| 4731 | copy (other) { |
| 4732 | if (other.body != null) { |
| 4733 | this.body = Balance.fromObject(other.body) |
| 4734 | } else { |
| 4735 | this.body = undefined |
| 4736 | } |
| 4737 | return this |
| 4738 | } |
| 4739 | |
| 4740 | /** |
| 4741 | * Clone struct (deep clone) |
nothing calls this directly
no test coverage detected