ResponsesModelFactory.AgentsPagedResultOutputItem Method

Definition

Creates an AgentsPagedResultOutputItem instance for mocking.

public static Azure.AI.AgentServer.Responses.Models.AgentsPagedResultOutputItem AgentsPagedResultOutputItem(System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.OutputItem> data = default, string firstId = default, string lastId = default, bool hasMore = false);
static member AgentsPagedResultOutputItem : seq<Azure.AI.AgentServer.Responses.Models.OutputItem> * string * string * bool -> Azure.AI.AgentServer.Responses.Models.AgentsPagedResultOutputItem
Public Shared Function AgentsPagedResultOutputItem (Optional data As IEnumerable(Of OutputItem) = Nothing, Optional firstId As String = Nothing, Optional lastId As String = Nothing, Optional hasMore As Boolean = false) As AgentsPagedResultOutputItem

Parameters

data
IEnumerable<OutputItem>

The output items in the page.

firstId
String

The ID of the first item in the page.

lastId
String

The ID of the last item in the page.

hasMore
Boolean

Whether there are more items available.

Returns

A new AgentsPagedResultOutputItem instance.

Applies to