lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-13.1.0 vs lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-14.0.0
- old
+ new
@@ -427,10 +427,11 @@
# @option opts [Integer] :page_number The page number requested (default to 1)
# @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 [String] :name
# @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 = {})
@@ -445,10 +446,11 @@
# @option opts [Integer] :page_number The page number requested
# @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 [String] :name
# @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 = {})
@@ -508,10 +510,16 @@
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/authorization/roles".sub('{format}','json')
# query parameters
query_params = {}
@@ -519,9 +527,10 @@
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
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[:'name'] = opts[:'name'] if opts[:'name']
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