lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-84.0.0 vs lib/purecloudplatformclientv2/api/architect_api.rb in purecloudplatformclientv2-85.0.0

- old
+ new

@@ -1226,10 +1226,11 @@ # # @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 [String] :version Object version # @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 = {}) @@ -1241,10 +1242,11 @@ # # @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 [String] :version Object version # @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 = {}) @@ -1292,10 +1294,16 @@ + + + + + + if opts[:'flow_filter'] && !['checkedIn', 'published'].include?(opts[:'flow_filter']) fail ArgumentError, 'invalid value for "flow_filter", must be one of checkedIn, published' end @@ -1307,10 +1315,11 @@ # 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[:'version'] = opts[:'version'] if opts[:'version'] 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 @@ -1474,10 +1483,11 @@ # @option opts [String] :object_type Object type # @option opts [BOOLEAN] :consumed_resources Include resources this item consumes # @option opts [BOOLEAN] :consuming_resources Include resources that consume this item # @option opts [Array<String>] :consumed_resource_type Types of consumed resources to return, if consumed resources are requested # @option opts [Array<String>] :consuming_resource_type Types of consuming resources to return, if consuming resources are requested + # @option opts [BOOLEAN] :consumed_resource_request Indicate that this is going to look up a consumed resource object # @return [DependencyObject] def get_architect_dependencytracking_object(id, opts = {}) data, _status_code, _headers = get_architect_dependencytracking_object_with_http_info(id, opts) return data end @@ -1490,10 +1500,11 @@ # @option opts [String] :object_type Object type # @option opts [BOOLEAN] :consumed_resources Include resources this item consumes # @option opts [BOOLEAN] :consuming_resources Include resources that consume this item # @option opts [Array<String>] :consumed_resource_type Types of consumed resources to return, if consumed resources are requested # @option opts [Array<String>] :consuming_resource_type Types of consuming resources to return, if consuming resources are requested + # @option opts [BOOLEAN] :consumed_resource_request Indicate that this is going to look up a consumed resource object # @return [Array<(DependencyObject, Fixnum, Hash)>] DependencyObject data, response status code and response headers def get_architect_dependencytracking_object_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ArchitectApi.get_architect_dependencytracking_object ..." end @@ -1544,10 +1555,16 @@ + + + + + + # resource path local_var_path = "/api/v2/architect/dependencytracking/object".sub('{format}','json') # query parameters query_params = {} @@ -1556,9 +1573,10 @@ query_params[:'objectType'] = opts[:'object_type'] if opts[:'object_type'] query_params[:'consumedResources'] = opts[:'consumed_resources'] if opts[:'consumed_resources'] query_params[:'consumingResources'] = opts[:'consuming_resources'] if opts[:'consuming_resources'] query_params[:'consumedResourceType'] = @api_client.build_collection_param(opts[:'consumed_resource_type'], :multi) if opts[:'consumed_resource_type'] query_params[:'consumingResourceType'] = @api_client.build_collection_param(opts[:'consuming_resource_type'], :multi) if opts[:'consuming_resource_type'] + query_params[:'consumedResourceRequest'] = opts[:'consumed_resource_request'] if opts[:'consumed_resource_request'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)