All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ringcentral.definitions.GroupingByMembers Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.definitions;


/**
 * This grouping allows to specify the `groupByMembers` option. The response data will be grouped by users and will only include users that belong to the scope selected in `groupByMembers` field
 */
public class GroupingByMembers {
    /**
     * The selected data scope
     * Required
     * Enum: Department, UserGroup, Queue, Site
     */
    public String groupByMembers;
    /**
     * This field can be used to further limit the users selection by specifying unique identifiers of corresponding entities. For example, providing unique queue ids along with `Queue` in `groupByMembers` field will limit the response to users that are queue agents in at least one of these queues
     */
    public String[] keys;

    public GroupingByMembers groupByMembers(String groupByMembers) {
        this.groupByMembers = groupByMembers;
        return this;
    }

    public GroupingByMembers keys(String[] keys) {
        this.keys = keys;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy