()
| 64 | } |
| 65 | |
| 66 | serialize() { |
| 67 | const data: WebServiceData = { |
| 68 | name: this.name, |
| 69 | api: this.api.credential.id, |
| 70 | }; |
| 71 | if (this.icon) |
| 72 | data.icon = this.icon.getChieURL(); |
| 73 | if (!isEmptyObject(this.api.params)) |
| 74 | data.apiParams = nonNullAssign({}, this.api.params); |
| 75 | if (!isEmptyObject(this.params)) |
| 76 | data.params = nonNullAssign({}, this.params); |
| 77 | return data; |
| 78 | } |
| 79 | |
| 80 | destructor() { |
| 81 | // Nothing to destructor by default. |
nothing calls this directly
no test coverage detected