lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-22.0.0 vs lib/purecloudplatformclientv2/api/authorization_api.rb in purecloudplatformclientv2-23.0.0

- old
+ new

@@ -431,10 +431,11 @@ # @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) + # @option opts [Array<String>] :id id # @return [OrganizationRoleEntityListing] def get_authorization_roles(opts = {}) data, _status_code, _headers = get_authorization_roles_with_http_info(opts) return data end @@ -450,10 +451,11 @@ # @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 + # @option opts [Array<String>] :id id # @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 ..." end @@ -516,10 +518,16 @@ + + + + + + # resource path local_var_path = "/api/v2/authorization/roles".sub('{format}','json') # query parameters query_params = {} @@ -531,9 +539,10 @@ 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'] + query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)