constructor(type, obj) {
        super();

        this.config = {
            type: type,
            reserved: false
        };

        this.data = obj;
    }
@param {('posts'|'pages'|'tags'|'authors')} type - of the resource
@param {Object} obj - object data to store