models/communities/RemoveGroupMembersQuery.js

import UserIdList from './../UserIdList.js';

export default class RemoveGroupMembersQuery {
    /**
     * Creates a RemoveGroupMembersQuery.
     *
     * @constructor RemoveGroupMembersQuery
     * @param {string} groupId - Group ID
     * @param {UserIdList} userIdList - User IDs
     */
    constructor(groupId, userIdList) {
        this.groupId = groupId;
        this.userIdList = userIdList;
    }

    /**
     * Create a query to remove members of a group.
     *
     * @memberof RemoveGroupMembersQuery
     * @param {string} groupId - Group ID
     * @param {UserIdList} userIdList - User IDs
     * @return {MembersQuery} New query
     */
    static create(groupId, userIdList) {
        return new RemoveGroupMembersQuery(groupId, userIdList);
    }
}