# ParamMetadata Class

Module
import { ParamMetadata } from "@tsed/common"
Source/packages/common/src/mvc/models/ParamMetadata.ts

# Overview

class ParamMetadata extends Storable implements IParamConstructorOptions {
    /**
     *
     */
    expression: string;
    /**
     *
     */
    paramType: string | ParamTypes;
    pipes: Type<IPipe>[];
    filter?: Type<IFilter>;
    constructor(options: IParamConstructorOptions);
    get service(): string | Type<any> | ParamTypes;
    set service(service: string | Type<any> | ParamTypes);
    static get(target: Type<any>, propertyKey: string | symbol, index: number): ParamMetadata;
    static has(target: Type<any>, propertyKey: string | symbol, index: number): boolean;
    static set(target: Type<any>, propertyKey: string | symbol, index: number, paramMetadata: ParamMetadata): void;
    static getParams(target: Type<any>, propertyKey: string | symbol): ParamMetadata[];
}