yimultiscreenserver-sdk-web
Version:
YiMultiScreenServer SDK for Web
34 lines (31 loc) • 892 B
text/typescript
export class P2PKeyVO {
initAppString: string;
did: string;
p2pKey: string;
crcKey: string;
apiLicense: string;
constructor() {
this.initAppString = "";
this.did = "";
this.p2pKey = "";
this.crcKey = "";
this.apiLicense = "";
}
equals(o: any): boolean {
return o instanceof P2PKeyVO &&
this.initAppString === o.initAppString &&
this.did === o.did &&
this.p2pKey === o.p2pKey &&
this.crcKey === o.crcKey &&
this.apiLicense === o.apiLicense;
}
toString(): string {
return `P2PKeyVO{` +
`initAppString='${this.initAppString}', ` +
`did='${this.did}', ` +
`p2pKey='${this.p2pKey}', ` +
`crcKey='${this.crcKey}', ` +
`apiLicense='${this.apiLicense}'` +
`}`;
}
}