update: deps
This commit is contained in:
Regular → Executable
+12
-2
@@ -1,7 +1,12 @@
|
||||
export namespace service {
|
||||
|
||||
export class MacAddress {
|
||||
|
||||
Id: string;
|
||||
Prefix: string;
|
||||
VendorName: string;
|
||||
Private: boolean;
|
||||
BlockType: string;
|
||||
LastUpdate: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new MacAddress(source);
|
||||
@@ -9,7 +14,12 @@ export namespace service {
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
|
||||
this.Id = source["Id"];
|
||||
this.Prefix = source["Prefix"];
|
||||
this.VendorName = source["VendorName"];
|
||||
this.Private = source["Private"];
|
||||
this.BlockType = source["BlockType"];
|
||||
this.LastUpdate = source["LastUpdate"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user