package org.ovirt.engine.api.restapi.resource;

import org.ovirt.engine.core.common.queries.GetTagsByUserIdParameters;
import org.ovirt.engine.core.common.queries.VdcQueryType;
import org.ovirt.engine.core.common.action.AttachEntityToTagParameters;
import org.ovirt.engine.core.common.action.VdcActionType;

public class BackendUserTagsResourceTest extends AbstractBackendAssignedTagsResourceTest<BackendUserTagsResource> {
    public BackendUserTagsResourceTest() {
        super(new BackendUserTagsResource(PARENT_GUID.toString()));
        parentIdName = "UserId";
        queryType = VdcQueryType.GetTagsByUserId;
        queryParams = GetTagsByUserIdParameters.class;
        attachAction = VdcActionType.AttachUserToTag;
        detachAction = VdcActionType.DetachUserFromTag;
        attachParams = AttachEntityToTagParameters.class;
    }
}
