共用方式為


ItemResponse class

Extends

建構函式

ItemResponse<T>(T & Resource, CosmosHeaders, number, number, Item, CosmosDiagnostics)

屬性

activityId
etag
item

回應所對應的 Item 參考。

requestCharge

繼承的屬性

diagnostics
headers
resource
statusCode
substatus

建構函式詳細資料

ItemResponse<T>(T & Resource, CosmosHeaders, number, number, Item, CosmosDiagnostics)

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

參數

resource

T & Resource

headers
CosmosHeaders
statusCode

number

subsstatusCode

number

item
Item
diagnostics
CosmosDiagnostics

屬性詳細資料

activityId

string activityId

屬性值

string

etag

string etag

屬性值

string

item

回應所對應的 Item 參考。

item: Item

屬性值

requestCharge

number requestCharge

屬性值

number

繼承的屬性詳細資料

diagnostics

diagnostics: CosmosDiagnostics

屬性值

繼承自ResourceResponse.diagnostics

headers

headers: CosmosHeaders_2

屬性值

CosmosHeaders_2

繼承自ResourceResponse.headers

resource

resource: undefined | (T & Resource)

屬性值

undefined | (T & Resource)

繼承自ResourceResponse.resource

statusCode

statusCode: number

屬性值

number

繼承自ResourceResponse.statusCode

substatus

substatus?: number

屬性值

number

繼承自ResourceResponse.substatus