src/models/redhawk/redhawk.ts
Serializable REDHAWK 'Redhawk' top-level model which is a domain listing.
Properties |
|
Methods |
constructor()
|
Defined in src/models/redhawk/redhawk.ts:8
|
deserialize | ||||||||
deserialize(input: any)
|
||||||||
Defined in src/models/redhawk/redhawk.ts:16
|
||||||||
Deserializes a JSON object into this class
Parameters :
Returns :
this
|
Public domains |
domains:
|
Type : Array<string>
|
Defined in src/models/redhawk/redhawk.ts:8
|
List of Domain Names seen by this naming service |
import { ISerializable } from '../serialization/index';
/**
* Serializable REDHAWK 'Redhawk' top-level model which is a domain listing.
*/
export class Redhawk implements ISerializable<Redhawk> {
/** List of Domain Names seen by this naming service */
public domains: Array<string>;
/** constructor */
constructor() {
this.domains = [];
}
/** Deserializes a JSON object into this class */
deserialize(input: any) {
this.domains = input.domains;
return this;
}
}