/** * @author Tümay Çeber * @link https://github.com/brendtumi/bkmexpress * @license http://opensource.org/licenses/MIT * @date 26.04.2017 */ import {Token} from "../token"; import {BexResponse, RawBexResponse} from "./bexResponse"; export class TicketResponse extends BexResponse { public constructor(obj?: RawBexResponse) { super(obj); this.Data = new Token(obj.data); } get Token(): Token { return this.Data; } }