MCPcopy
hub / github.com/Place1/wg-access-server / toObject

Method toObject

website/src/sdk/devices_pb.ts:692–698  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

690 }
691
692 toObject(): DeleteDeviceReq.AsObject {
693 let f: any;
694 return {name: this.getName(),
695 owner: (f = this.getOwner()) && f.toObject(),
696
697 };
698 }
699
700 static serializeBinaryToWriter(message: DeleteDeviceReq, writer: jspb.BinaryWriter): void {
701 const field1 = message.getName();

Callers

nothing calls this directly

Calls 3

getNameMethod · 0.95
getOwnerMethod · 0.95
toObjectMethod · 0.45

Tested by

no test coverage detected