ResourceResponse class
建構函式
Resource |
屬性
activity |
|
diagnostics | |
etag | |
headers | |
request |
|
resource | |
status |
|
substatus |
建構函式詳細資料
ResourceResponse<TResource>(undefined | TResource, CosmosHeaders_2, number, CosmosDiagnostics, number)
new ResourceResponse(resource: undefined | TResource, headers: CosmosHeaders_2, statusCode: number, diagnostics: CosmosDiagnostics, substatus?: number)
參數
- resource
-
undefined | TResource
- headers
-
CosmosHeaders_2
- statusCode
-
number
- diagnostics
- CosmosDiagnostics
- substatus
-
number
屬性詳細資料
activityId
string activityId
屬性值
string
diagnostics
etag
string etag
屬性值
string
headers
headers: CosmosHeaders_2
屬性值
CosmosHeaders_2
requestCharge
number requestCharge
屬性值
number
resource
resource: undefined | TResource
屬性值
undefined | TResource
statusCode
statusCode: number
屬性值
number
substatus
substatus?: number
屬性值
number