Show / Hide Table of Contents

Class EscApi.UpdateEnvironmentTagApiResponse

The EscApi.UpdateEnvironmentTagApiResponse

Inheritance
object
ApiResponse
EscApi.UpdateEnvironmentTagApiResponse
Implements
IUpdateEnvironmentTagApiResponse
IOk<EnvironmentTag>
IBadRequest<Error>
IUnauthorized<Error>
INotFound<Error>
IInternalServerError<Error>
IDefault<Error>
IApiResponse
Inherited Members
ApiResponse.StatusCode
ApiResponse.RawContent
ApiResponse.IsSuccessStatusCode
ApiResponse.ReasonPhrase
ApiResponse.Headers
ApiResponse.DownloadedAt
ApiResponse.RequestedAt
ApiResponse.Path
ApiResponse.RequestUri
ApiResponse._jsonSerializerOptions
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Esc.Sdk.Api
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class EscApi.UpdateEnvironmentTagApiResponse : ApiResponse, IUpdateEnvironmentTagApiResponse, IOk<EnvironmentTag?>, IBadRequest<Error?>, IUnauthorized<Error?>, INotFound<Error?>, IInternalServerError<Error?>, IDefault<Error?>, IApiResponse

Constructors

View Source

UpdateEnvironmentTagApiResponse(ILogger<UpdateEnvironmentTagApiResponse>, HttpRequestMessage, HttpResponseMessage, string, string, DateTime, JsonSerializerOptions)

The EscApi.UpdateEnvironmentTagApiResponse

Declaration
public UpdateEnvironmentTagApiResponse(ILogger<EscApi.UpdateEnvironmentTagApiResponse> logger, HttpRequestMessage httpRequestMessage, HttpResponseMessage httpResponseMessage, string rawContent, string path, DateTime requestedAt, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
ILogger<EscApi.UpdateEnvironmentTagApiResponse> logger
HttpRequestMessage httpRequestMessage
HttpResponseMessage httpResponseMessage
string rawContent
string path
DateTime requestedAt
JsonSerializerOptions jsonSerializerOptions

Properties

View Source

IsBadRequest

Returns true if the response is 400 BadRequest

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

IsDefault

Returns true if the response is the default response type

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

IsInternalServerError

Returns true if the response is 500 InternalServerError

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

IsNotFound

Returns true if the response is 404 NotFound

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

IsOk

Returns true if the response is 200 Ok

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

IsUnauthorized

Returns true if the response is 401 Unauthorized

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

Logger

The logger

Declaration
public ILogger<EscApi.UpdateEnvironmentTagApiResponse> Logger { get; }
Property Value
Type Description
ILogger<EscApi.UpdateEnvironmentTagApiResponse>

Methods

View Source

BadRequest()

Deserializes the response if the response is 400 BadRequest

Declaration
public Error? BadRequest()
Returns
Type Description
Error
View Source

Default()

Deserializes the response if the response is 0 Default

Declaration
public Error? Default()
Returns
Type Description
Error
View Source

InternalServerError()

Deserializes the response if the response is 500 InternalServerError

Declaration
public Error? InternalServerError()
Returns
Type Description
Error
View Source

NotFound()

Deserializes the response if the response is 404 NotFound

Declaration
public Error? NotFound()
Returns
Type Description
Error
View Source

Ok()

Deserializes the response if the response is 200 Ok

Declaration
public EnvironmentTag? Ok()
Returns
Type Description
EnvironmentTag
View Source

TryBadRequest(out Error?)

Returns true if the response is 400 BadRequest and the deserialized response is not null

Declaration
public bool TryBadRequest(out Error? result)
Parameters
Type Name Description
Error result
Returns
Type Description
bool
View Source

TryDefault(out Error?)

Returns true if the response is 0 Default and the deserialized response is not null

Declaration
public bool TryDefault(out Error? result)
Parameters
Type Name Description
Error result
Returns
Type Description
bool
View Source

TryInternalServerError(out Error?)

Returns true if the response is 500 InternalServerError and the deserialized response is not null

Declaration
public bool TryInternalServerError(out Error? result)
Parameters
Type Name Description
Error result
Returns
Type Description
bool
View Source

TryNotFound(out Error?)

Returns true if the response is 404 NotFound and the deserialized response is not null

Declaration
public bool TryNotFound(out Error? result)
Parameters
Type Name Description
Error result
Returns
Type Description
bool
View Source

TryOk(out EnvironmentTag?)

Returns true if the response is 200 Ok and the deserialized response is not null

Declaration
public bool TryOk(out EnvironmentTag? result)
Parameters
Type Name Description
EnvironmentTag result
Returns
Type Description
bool
View Source

TryUnauthorized(out Error?)

Returns true if the response is 401 Unauthorized and the deserialized response is not null

Declaration
public bool TryUnauthorized(out Error? result)
Parameters
Type Name Description
Error result
Returns
Type Description
bool
View Source

Unauthorized()

Deserializes the response if the response is 401 Unauthorized

Declaration
public Error? Unauthorized()
Returns
Type Description
Error

Implements

IUpdateEnvironmentTagApiResponse
IOk<TType>
IBadRequest<TType>
IUnauthorized<TType>
INotFound<TType>
IInternalServerError<TType>
IDefault<TType>
IApiResponse

Version 0.13.1

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