UNPKG

coconut-open-api-js

Version:
19 lines (18 loc) 545 B
import { ModelInterface } from '../index'; import Model from './model'; export interface AnswerModel extends ModelInterface { for(question: number): this; is(value: string): this; transform(): object; } export interface AnswerParameters { question: number | null; value: string | null; } export default class Answer extends Model implements AnswerModel { protected attributes: AnswerParameters; constructor(); for(question: number): this; is(value: string): this; transform(): object; }