Show / Hide Table of Contents

Class ApiResponse

API Response

Inheritance
object
ApiResponse
EscApi.CheckEnvironmentYamlApiResponse
EscApi.CloneEnvironmentApiResponse
EscApi.CreateEnvironmentApiResponse
EscApi.CreateEnvironmentRevisionTagApiResponse
EscApi.CreateEnvironmentTagApiResponse
EscApi.DecryptEnvironmentApiResponse
EscApi.DeleteEnvironmentApiResponse
EscApi.DeleteEnvironmentRevisionTagApiResponse
EscApi.DeleteEnvironmentTagApiResponse
EscApi.GetEnvironmentApiResponse
EscApi.GetEnvironmentAtVersionApiResponse
EscApi.GetEnvironmentETagApiResponse
EscApi.GetEnvironmentRevisionTagApiResponse
EscApi.GetEnvironmentTagApiResponse
EscApi.ListEnvironmentRevisionTagsApiResponse
EscApi.ListEnvironmentRevisionsApiResponse
EscApi.ListEnvironmentTagsApiResponse
EscApi.ListEnvironmentsApiResponse
EscApi.OpenEnvironmentApiResponse
EscApi.OpenEnvironmentAtVersionApiResponse
EscApi.ReadOpenEnvironmentApiResponse
EscApi.ReadOpenEnvironmentPropertyApiResponse
EscApi.UpdateEnvironmentRevisionTagApiResponse
EscApi.UpdateEnvironmentTagApiResponse
EscApi.UpdateEnvironmentYamlApiResponse
Implements
IApiResponse
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Esc.Sdk.Client
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class ApiResponse : IApiResponse

Constructors

View Source

ApiResponse(HttpRequestMessage, HttpResponseMessage, string, string, DateTime, JsonSerializerOptions)

Construct the response using an HttpResponseMessage

Declaration
public ApiResponse(HttpRequestMessage httpRequestMessage, HttpResponseMessage httpResponseMessage, string rawContent, string path, DateTime requestedAt, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
HttpRequestMessage httpRequestMessage
HttpResponseMessage httpResponseMessage
string rawContent
string path
DateTime requestedAt
JsonSerializerOptions jsonSerializerOptions

Fields

View Source

_jsonSerializerOptions

The JsonSerializerOptions

Declaration
protected JsonSerializerOptions _jsonSerializerOptions
Field Value
Type Description
JsonSerializerOptions

Properties

View Source

DownloadedAt

The DateTime when the request was retrieved.

Declaration
public DateTime DownloadedAt { get; }
Property Value
Type Description
DateTime
View Source

Headers

The headers contained in the api response

Declaration
public HttpResponseHeaders Headers { get; }
Property Value
Type Description
HttpResponseHeaders
View Source

IsSuccessStatusCode

The IsSuccessStatusCode from the api response

Declaration
public bool IsSuccessStatusCode { get; }
Property Value
Type Description
bool
View Source

Path

The path used when making the request.

Declaration
public string Path { get; }
Property Value
Type Description
string
View Source

RawContent

The raw data

Declaration
public string RawContent { get; protected set; }
Property Value
Type Description
string
View Source

ReasonPhrase

The reason phrase contained in the api response

Declaration
public string? ReasonPhrase { get; }
Property Value
Type Description
string
View Source

RequestUri

The Uri used when making the request.

Declaration
public Uri? RequestUri { get; }
Property Value
Type Description
Uri
View Source

RequestedAt

The DateTime when the request was sent.

Declaration
public DateTime RequestedAt { get; }
Property Value
Type Description
DateTime
View Source

StatusCode

Gets the status code (HTTP status code)

Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type Description
HttpStatusCode

The status code.

Implements

IApiResponse

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.