File

src/models/redhawk/redhawk.ts

Description

Serializable REDHAWK 'Redhawk' top-level model which is a domain listing.

Implements

ISerializable

Index

Properties
Methods

Constructor

constructor()

Methods

deserialize
deserialize(input: any)

Deserializes a JSON object into this class

Parameters :
Name Type Optional Description
input any
Returns : this

Properties

Public domains
domains: Array<string>
Type : Array<string>

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;
    }
}

results matching ""

    No results matching ""