src/models/port/port-idl.ts
Serializable REDHAWK Port IDL Model
Properties |
Methods |
deserialize | ||||||||
deserialize(input: any)
|
||||||||
Defined in src/models/port/port-idl.ts:17
|
||||||||
Deserializes a JSON object into this class
Parameters :
Returns :
this
|
Public namespace |
namespace:
|
Type : enums.PortIDLNameSpace
|
Defined in src/models/port/port-idl.ts:10
|
Port IDL Namespace |
Public type |
type:
|
Type : enums.PortIDLType
|
Defined in src/models/port/port-idl.ts:14
|
IDL Type |
Public version |
version:
|
Type : string
|
Defined in src/models/port/port-idl.ts:12
|
IDL Version |
import { ISerializable } from '../serialization/index';
import * as enums from './enums/index';
/**
* Serializable REDHAWK Port IDL Model
*/
export class PortIDL implements ISerializable<PortIDL> {
/** Port IDL Namespace */
public namespace: enums.PortIDLNameSpace;
/** IDL Version */
public version: string;
/** IDL Type */
public type: enums.PortIDLType;
/** Deserializes a JSON object into this class */
deserialize(input: any) {
this.namespace = enums.resolvePortIDLNameSpace(input.namespace);
this.version = input.version;
this.type = enums.resolvePortIDLType(input.type);
return this;
}
}