lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-54.0.0 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-55.0.0

- old
+ new

@@ -1107,10 +1107,12 @@ # @param id Consuming object ID # @param version Consuming object version # @param object_type Consuming object type. Only versioned types are allowed here. # @param [Hash] opts the optional parameters # @option opts [Array<String>] :resource_type Types of consumed resources to show + # @option opts [Integer] :page_number Page number (default to 1) + # @option opts [Integer] :page_size Page size (default to 25) # @return [ConsumedResourcesEntityListing] def get_architect_dependencytracking_consumedresources(id, version, object_type, opts = {}) data, _status_code, _headers = get_architect_dependencytracking_consumedresources_with_http_info(id, version, object_type, opts) return data end @@ -1120,10 +1122,12 @@ # @param id Consuming object ID # @param version Consuming object version # @param object_type Consuming object type. Only versioned types are allowed here. # @param [Hash] opts the optional parameters # @option opts [Array<String>] :resource_type Types of consumed resources to show + # @option opts [Integer] :page_number Page number + # @option opts [Integer] :page_size Page size # @return [Array<(ConsumedResourcesEntityListing, Fixnum, Hash)>] ConsumedResourcesEntityListing data, response status code and response headers def get_architect_dependencytracking_consumedresources_with_http_info(id, version, object_type, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_consumedresources ..." end @@ -1161,19 +1165,33 @@ + + + + + + + + + + + + # resource path local_var_path = "/api/v2/architect/dependencytracking/consumedresources".sub('{format}','json') # query parameters query_params = {} query_params[:'id'] = id query_params[:'version'] = version query_params[:'objectType'] = object_type query_params[:'resourceType'] = @api_client.build_collection_param(opts[:'resource_type'], :multi) if opts[:'resource_type'] + query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] + query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] # header parameters header_params = {} # HTTP header 'Accept' (if needed) @@ -1208,10 +1226,12 @@ # # @param id Consumed object ID # @param object_type Consumed object type # @param [Hash] opts the optional parameters # @option opts [Array<String>] :resource_type Types of consuming resources to show. Only versioned types are allowed here. + # @option opts [Integer] :page_number Page number (default to 1) + # @option opts [Integer] :page_size Page size (default to 25) # @return [ConsumingResourcesEntityListing] def get_architect_dependencytracking_consumingresources(id, object_type, opts = {}) data, _status_code, _headers = get_architect_dependencytracking_consumingresources_with_http_info(id, object_type, opts) return data end @@ -1220,10 +1240,12 @@ # # @param id Consumed object ID # @param object_type Consumed object type # @param [Hash] opts the optional parameters # @option opts [Array<String>] :resource_type Types of consuming resources to show. Only versioned types are allowed here. + # @option opts [Integer] :page_number Page number + # @option opts [Integer] :page_size Page size # @return [Array<(ConsumingResourcesEntityListing, Fixnum, Hash)>] ConsumingResourcesEntityListing data, response status code and response headers def get_architect_dependencytracking_consumingresources_with_http_info(id, object_type, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_consumingresources ..." end @@ -1253,17 +1275,31 @@ + + + + + + + + + + + + # resource path local_var_path = "/api/v2/architect/dependencytracking/consumingresources".sub('{format}','json') # query parameters query_params = {} query_params[:'id'] = id query_params[:'objectType'] = object_type query_params[:'resourceType'] = @api_client.build_collection_param(opts[:'resource_type'], :multi) if opts[:'resource_type'] + query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] + query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)