lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-57.0.0 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-58.0.0

- old
+ new

@@ -1228,10 +1228,11 @@ # @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) + # @option opts [String] :flow_filter Show only checkedIn or published flows # @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 @@ -1242,10 +1243,11 @@ # @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 + # @option opts [String] :flow_filter Show only checkedIn or published flows # @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 @@ -1287,19 +1289,30 @@ + + + + if opts[:'flow_filter'] && !['checkedIn', 'published'].include?(opts[:'flow_filter']) + fail ArgumentError, 'invalid value for "flow_filter", must be one of checkedIn, published' + end + + + + # 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'] + query_params[:'flowFilter'] = opts[:'flow_filter'] if opts[:'flow_filter'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)