aboutsummaryrefslogtreecommitdiff
path: root/src/models/bucket.ts
blob: a9419a64ba362969f4f5b1766765b5a5d7cbe8f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import {SoftPairBucket} from "@/api/models/soft-pair-bucket.ts"

export class SoftPairBucketClass implements SoftPairBucket {
    readonly id: string;
    readonly uri: string;
    readonly category: any | null;
    readonly contents: any;
    readonly eligibility: any;
    readonly missingQuestions: any | null;
    readonly loi: any;
    readonly payout: any;

    constructor(data: {
        id: string,
        uri: string,
        category: any | null,
        contents: any,
        eligibility: any,
        missingQuestions: any | null,
        loi: any,
        payout: any
    }) {
        this.id = data.id;
        this.uri = data.uri;
        this.category = data.category;
        this.contents = data.contents;
        this.eligibility = data.eligibility;
        this.missingQuestions = data.missingQuestions;
        this.loi = data.loi;
        this.payout = data.payout;
    }
}