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

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

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


/**
 * Query parameters for operation listUserRoles
 */
public class ListUserRolesParameters {
    /**
     * Specifies whether to return custom roles or predefined roles only.
     * If not specified, all roles are returned
     */
    public Boolean custom;
    /**
     * The result set page number (1-indexed) to return
     * Maximum: 1000
     * Minimum: 1
     * Format: int32
     * Example: 1
     * Default: 1
     */
    public Long page;
    /**
     * The number of items per page. If provided value in the request
     * is greater than a maximum, the maximum value is applied
     * Maximum: 1000
     * Minimum: 1
     * Format: int32
     * Example: 100
     * Default: 100
     */
    public Long perPage;

    public ListUserRolesParameters custom(Boolean custom) {
        this.custom = custom;
        return this;
    }

    public ListUserRolesParameters page(Long page) {
        this.page = page;
        return this;
    }

    public ListUserRolesParameters perPage(Long perPage) {
        this.perPage = perPage;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy