lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-3.1.7 vs lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-4.0.0
- old
+ new
@@ -374,10 +374,11 @@
# @option opts [String] :sort_by variable name requested to sort by
# @option opts [Array<Object>] :expand variable name requested by expand list
# @option opts [String] :next_page next page token
# @option opts [String] :previous_page Previous page token
# @option opts [Array<Object>] :permission
+ # @option opts [Array<Object>] :default_role_id
# @option opts [BOOLEAN] :user_count (default to true)
# @return [OrganizationRoleEntityListing]
def get_authorization_roles(opts = {})
data, _status_code, _headers = get_authorization_roles_with_http_info(opts)
return data
@@ -391,10 +392,11 @@
# @option opts [String] :sort_by variable name requested to sort by
# @option opts [Array<Object>] :expand variable name requested by expand list
# @option opts [String] :next_page next page token
# @option opts [String] :previous_page Previous page token
# @option opts [Array<Object>] :permission
+ # @option opts [Array<Object>] :default_role_id
# @option opts [BOOLEAN] :user_count
# @return [Array<(OrganizationRoleEntityListing, Fixnum, Hash)>] OrganizationRoleEntityListing data, response status code and response headers
def get_authorization_roles_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: AuthorizationApi.get_authorization_roles ..."
@@ -409,9 +411,10 @@
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
query_params[:'permission'] = @api_client.build_collection_param(opts[:'permission'], :multi) if opts[:'permission']
+ query_params[:'defaultRoleId'] = @api_client.build_collection_param(opts[:'default_role_id'], :multi) if opts[:'default_role_id']
query_params[:'userCount'] = opts[:'user_count'] if opts[:'user_count']
# header parameters
header_params = {}