ItemResponse class

Extends

Constructors

ItemResponse(T & Resource, CosmosHeaders, number, number, Item)

Properties

activityId
etag
headers
item

Reference to the <xref:Item> the response corresponds to.

requestCharge
resource
statusCode
substatus

Constructor Details

ItemResponse(T & Resource, CosmosHeaders, number, number, Item)

new ItemResponse(resource: T & Resource, headers: CosmosHeaders, statusCode: number, subsstatusCode: number, item: Item)

Parameters

resource

T & Resource

headers
CosmosHeaders
statusCode

number

subsstatusCode

number

item
Item

Property Details

activityId

string activityId

Property Value

string

etag

string etag

Property Value

string

headers

headers: CosmosHeaders_2

Property Value

item

Reference to the <xref:Item> the response corresponds to.

item: Item

Property Value

requestCharge

number requestCharge

Property Value

number

resource

resource: T & Resource | undefined

Property Value

T & Resource | undefined

statusCode

statusCode: StatusCode

Property Value

StatusCode

substatus

substatus?: SubStatusCode

Property Value

SubStatusCode