File

src/models/waveform/waveform.ts

Description

Serializable REDHAWK Waveform model

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 components
components: resource.ResourceRefs
Type : resource.ResourceRefs

Components in the waveform

import { ISerializable } from '../serialization/index';
import * as resource from '../resource/index';

/**
 * Serializable REDHAWK Waveform model
 */
export class Waveform extends resource.Resource implements ISerializable<Waveform> {
    /** Components in the waveform */
    public components: resource.ResourceRefs;

    /** Constructor */
    constructor() {
        super();
        this.components = [];
    }

    /** Deserializes a JSON object into this class */
    deserialize(input: any) {
        super.deserialize(input);
        this.components = resource.deserializeResourceRefs(input.components);
        return this;
    }
}

results matching ""

    No results matching ""