ResourceResponse class

Konstruktory

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

Vlastnosti

activityId
diagnostics
etag
headers
requestCharge
resource
statusCode
substatus

Podrobnosti konstruktoru

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

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

Parametry

resource

undefined | TResource

headers

CosmosHeaders_2

statusCode

number

diagnostics
CosmosDiagnostics
substatus

number

Podrobnosti vlastnosti

activityId

string activityId

Hodnota vlastnosti

string

diagnostics

diagnostics: CosmosDiagnostics

Hodnota vlastnosti

etag

string etag

Hodnota vlastnosti

string

headers

headers: CosmosHeaders_2

Hodnota vlastnosti

CosmosHeaders_2

requestCharge

number requestCharge

Hodnota vlastnosti

number

resource

resource: undefined | TResource

Hodnota vlastnosti

undefined | TResource

statusCode

statusCode: number

Hodnota vlastnosti

number

substatus

substatus?: number

Hodnota vlastnosti

number