File

src/property/property-command.ts

Description

Standard 'command' interface for controlling properties on most entities.

Implements

IPropertyCommand

Index

Properties

Constructor

constructor(properties: PropertySet)

Constructor

Parameters :
Name Type Optional Description
properties PropertySet

Properties

Public properties
properties: PropertySet
Type : PropertySet

The Properties to include in the command

import { PropertySet } from '../models/index';

/**
 * Property command structure
 */
export interface IPropertyCommand {
    /** The properties to submit */
    properties: PropertySet;
}

/**
 * Standard 'command' interface for controlling properties on most entities.
 */
export class PropertyCommand implements IPropertyCommand {
    /**
     * Constructor
     * @param properties The Properties to include in the command
     */
    constructor(public properties: PropertySet) {}
}

results matching ""

    No results matching ""