Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Theme.js « Theme « Models « js « src - github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b69e10eb3eac50bf9d263f60dc626b7b71d44b61 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import AbstractModel from 'passwords-client/src/Model/AbstractModel';
import Properties from '@js/Definition/Theme'

export default class Theme extends AbstractModel {

    constructor(data) {
        super(Properties, data);
    }

    /**
     * @return {Object}
     */
    getId() {
        return this.getProperty('id')
    }
    
    /**
     * @param {String} value
     * @return {this}
     */
    setId(value) {
        return this.setProperty('id', value)
    }

    /**
     * @return {Object}
     */
    getLabel() {
        return this.getProperty('label')
    }
    
    /**
     * @param {String} value
     * @return {this}
     */
    setLabel(value) {
        return this.setProperty('label', value)
    }

    /**
     * @return {Object}
     */
    getColors() {
        return this.getProperty('colors')
    }
    
    /**
     * @param {Object} value
     * @return {this}
     */
    setColors(value) {
        return this.setProperty('colors', value)
    }
}