Package io.moov.sdk.models.errors
Class UpdateAccountResponseBody
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.moov.sdk.models.errors.UpdateAccountResponseBody
-
- All Implemented Interfaces:
java.io.Serializable
public class UpdateAccountResponseBody extends java.lang.RuntimeExceptionUpdateAccountResponseBodyThe request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateAccountResponseBody.Builder
-
Constructor Summary
Constructors Constructor Description UpdateAccountResponseBody(PatchAccountError error)UpdateAccountResponseBody(PatchAccountError error, java.util.Optional<? extends java.net.http.HttpResponse<java.io.InputStream>> rawResponse)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAccountResponseBody.Builderbuilder()booleanequals(java.lang.Object o)PatchAccountErrorerror()inthashCode()java.util.Optional<java.net.http.HttpResponse<java.io.InputStream>>rawResponse()Raw HTTP response; suitable for custom response parsingjava.lang.StringtoString()UpdateAccountResponseBodywithError(PatchAccountError error)UpdateAccountResponseBodywithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingUpdateAccountResponseBodywithRawResponse(java.util.Optional<? extends java.net.http.HttpResponse<java.io.InputStream>> rawResponse)Raw HTTP response; suitable for custom response parsing
-
-
-
Constructor Detail
-
UpdateAccountResponseBody
public UpdateAccountResponseBody(PatchAccountError error, java.util.Optional<? extends java.net.http.HttpResponse<java.io.InputStream>> rawResponse)
-
UpdateAccountResponseBody
public UpdateAccountResponseBody(PatchAccountError error)
-
-
Method Detail
-
error
public PatchAccountError error()
-
rawResponse
public java.util.Optional<java.net.http.HttpResponse<java.io.InputStream>> rawResponse()
Raw HTTP response; suitable for custom response parsing
-
builder
public static final UpdateAccountResponseBody.Builder builder()
-
withError
public UpdateAccountResponseBody withError(PatchAccountError error)
-
withRawResponse
public UpdateAccountResponseBody withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withRawResponse
public UpdateAccountResponseBody withRawResponse(java.util.Optional<? extends java.net.http.HttpResponse<java.io.InputStream>> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
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.Throwable
-
-