Interface IApiResponse
Provides a non-generic contract for the ApiResponse wrapper.
Namespace: Pulumi.Esc.Sdk.Client
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public interface IApiResponse
Properties
View SourceDownloadedAt
The DateTime when the request was retrieved.
Declaration
DateTime DownloadedAt { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Headers
The headers contained in the api response
Declaration
HttpResponseHeaders Headers { get; }
Property Value
| Type | Description |
|---|---|
| HttpResponseHeaders |
IsSuccessStatusCode
The IsSuccessStatusCode from the api response
Declaration
bool IsSuccessStatusCode { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Path
The path used when making the request.
Declaration
string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
RawContent
The raw content of this response.
Declaration
string RawContent { get; }
Property Value
| Type | Description |
|---|---|
| string |
ReasonPhrase
The reason phrase contained in the api response
Declaration
string? ReasonPhrase { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestUri
The Uri used when making the request.
Declaration
Uri? RequestUri { get; }
Property Value
| Type | Description |
|---|---|
| Uri |
RequestedAt
The DateTime when the request was sent.
Declaration
DateTime RequestedAt { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
StatusCode
Gets the status code (HTTP status code)
Declaration
HttpStatusCode StatusCode { get; }
Property Value
| Type | Description |
|---|---|
| HttpStatusCode | The status code. |