Class ProviderError
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ProviderError
-
public class ProviderError extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProviderError.Builder
-
Constructor Summary
Constructors Constructor Description ProviderError()ProviderError(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> status, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url, org.openapitools.jackson.nullable.JsonNullable<? extends Raw> raw, org.openapitools.jackson.nullable.JsonNullable<? extends Headers> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProviderError.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<Headers>headers()Response headersorg.openapitools.jackson.nullable.JsonNullable<Raw>raw()Raw error response from the providerorg.openapitools.jackson.nullable.JsonNullable<java.lang.Double>status()HTTP status code of the provider errorjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>url()URL that caused the errorProviderErrorwithHeaders(Headers headers)Response headersProviderErrorwithHeaders(org.openapitools.jackson.nullable.JsonNullable<? extends Headers> headers)Response headersProviderErrorwithRaw(Raw raw)Raw error response from the providerProviderErrorwithRaw(org.openapitools.jackson.nullable.JsonNullable<? extends Raw> raw)Raw error response from the providerProviderErrorwithStatus(double status)HTTP status code of the provider errorProviderErrorwithStatus(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> status)HTTP status code of the provider errorProviderErrorwithUrl(java.lang.String url)URL that caused the errorProviderErrorwithUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)URL that caused the error
-
-
-
Constructor Detail
-
ProviderError
public ProviderError(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> status, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url, org.openapitools.jackson.nullable.JsonNullable<? extends Raw> raw, org.openapitools.jackson.nullable.JsonNullable<? extends Headers> headers)
-
ProviderError
public ProviderError()
-
-
Method Detail
-
status
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> status()
HTTP status code of the provider error
-
url
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url()
URL that caused the error
-
raw
public org.openapitools.jackson.nullable.JsonNullable<Raw> raw()
Raw error response from the provider
-
headers
public org.openapitools.jackson.nullable.JsonNullable<Headers> headers()
Response headers
-
builder
public static ProviderError.Builder builder()
-
withStatus
public ProviderError withStatus(double status)
HTTP status code of the provider error
-
withStatus
public ProviderError withStatus(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> status)
HTTP status code of the provider error
-
withUrl
public ProviderError withUrl(java.lang.String url)
URL that caused the error
-
withUrl
public ProviderError withUrl(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> url)
URL that caused the error
-
withRaw
public ProviderError withRaw(Raw raw)
Raw error response from the provider
-
withRaw
public ProviderError withRaw(org.openapitools.jackson.nullable.JsonNullable<? extends Raw> raw)
Raw error response from the provider
-
withHeaders
public ProviderError withHeaders(Headers headers)
Response headers
-
withHeaders
public ProviderError withHeaders(org.openapitools.jackson.nullable.JsonNullable<? extends Headers> headers)
Response headers
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-