ResourceResponse class

Constructors

ResourceResponse(TResource | undefined, CosmosHeaders_2, StatusCode, SubStatusCode)

Properties

activityId
etag
headers
requestCharge
resource
statusCode
substatus

Constructor Details

ResourceResponse(TResource | undefined, CosmosHeaders_2, StatusCode, SubStatusCode)

new ResourceResponse(resource: TResource | undefined, headers: CosmosHeaders_2, statusCode: StatusCode, substatus?: SubStatusCode)

Parameters

resource

TResource | undefined

headers
CosmosHeaders_2
statusCode

StatusCode

substatus
SubStatusCode

Property Details

activityId

string activityId

Property Value

string

etag

string etag

Property Value

string

headers

headers: CosmosHeaders_2

Property Value

requestCharge

number requestCharge

Property Value

number

resource

resource: TResource | undefined

Property Value

TResource | undefined

statusCode

statusCode: StatusCode

Property Value

StatusCode

substatus

substatus?: SubStatusCode

Property Value