lib/purecloud/api/presence_api.rb in purecloud-0.42.1 vs lib/purecloud/api/presence_api.rb in purecloud-0.43.1

- old
+ new

@@ -147,10 +147,11 @@ # Get an Organization's list of Presence Definitions # # @param [Hash] opts the optional parameters # @option opts [Integer] :page_number Page number (default to 1) # @option opts [Integer] :page_size Page size (default to 25) + # @option opts [String] :deleted Deleted query can be true, false or all (default to false) # @return [OrganizationPresenceEntityListing] def get_presencedefinitions(opts = {}) data, status_code, headers = get_presencedefinitions_with_http_info(opts) return data end @@ -158,10 +159,11 @@ # Get an Organization&#39;s list of Presence Definitions # # @param [Hash] opts the optional parameters # @option opts [Integer] :page_number Page number # @option opts [Integer] :page_size Page size + # @option opts [String] :deleted Deleted query can be true, false or all # @return [Array<(OrganizationPresenceEntityListing, Fixnum, Hash)>] OrganizationPresenceEntityListing data, response status code and response headers def get_presencedefinitions_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PresenceApi#get_presencedefinitions ..." end @@ -171,9 +173,10 @@ # query parameters query_params = {} query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] + query_params[:'deleted'] = opts[:'deleted'] if opts[:'deleted'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)