ResourceResponse class

Konstruktorer

ResourceResponse<TResource>(undefined | TResource, CosmosHeaders_2, number, CosmosDiagnostics, number)

Egenskaper

activityId
diagnostics
etag
headers
requestCharge
resource
statusCode
substatus

Konstruktorinformation

ResourceResponse<TResource>(undefined | TResource, CosmosHeaders_2, number, CosmosDiagnostics, number)

new ResourceResponse(resource: undefined | TResource, headers: CosmosHeaders_2, statusCode: number, diagnostics: CosmosDiagnostics, substatus?: number)

Parametrar

resource

undefined | TResource

headers

CosmosHeaders_2

statusCode

number

diagnostics
CosmosDiagnostics
substatus

number

Egenskapsinformation

activityId

string activityId

Egenskapsvärde

string

diagnostics

diagnostics: CosmosDiagnostics

Egenskapsvärde

etag

string etag

Egenskapsvärde

string

headers

headers: CosmosHeaders_2

Egenskapsvärde

CosmosHeaders_2

requestCharge

number requestCharge

Egenskapsvärde

number

resource

resource: undefined | TResource

Egenskapsvärde

undefined | TResource

statusCode

statusCode: number

Egenskapsvärde

number

substatus

substatus?: number

Egenskapsvärde

number