/**
 * Copyright 2017 - 2019  The Hyve B.V.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */ import { CohortSubscriptionFrequency } from '../cohort-models/cohort-subscription-frequency' ; import { TransmartConstraint } from '../transmart-models/transmart-constraint' ; export class CohortBlob { queryConstraintFull : TransmartConstraint ; } /**
 * Representation of a query model returned from gb-backend
 */ export class CohortRepresentation { id ? : string ; name ? : string ; description ? : string ; createDate ? : string ; updateDate ? : string ; bookmarked ? : boolean ; queryConstraint ? : TransmartConstraint ; queryBlob ? : CohortBlob ; apiVersion ? : string ; subscribed ? : boolean ; subscriptionFreq ? : CohortSubscriptionFrequency ; subjectDimension : string ; constructor ( queryName , subjectDimension ) { this . name = queryName ; this . subjectDimension = subjectDimension ; this . bookmarked = false ; this . subscribed = false ; } }