Package com.plaid.client.model
Class Warning
java.lang.Object
com.plaid.client.model.Warning
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class Warning
extends java.lang.Object
It is possible for an Asset Report to be returned with missing account owner information. In such cases, the Asset Report will contain warning data in the response, indicating why obtaining the owner information failed.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Warning.WarningCodeEnum
The warning code identifies a specific kind of warning. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_CAUSE
static java.lang.String
SERIALIZED_NAME_WARNING_CODE
static java.lang.String
SERIALIZED_NAME_WARNING_TYPE
-
Constructor Summary
Constructors Constructor Description Warning()
-
Method Summary
Modifier and Type Method Description Warning
cause(Cause cause)
boolean
equals(java.lang.Object o)
Cause
getCause()
Get causeWarning.WarningCodeEnum
getWarningCode()
The warning code identifies a specific kind of warning.java.lang.String
getWarningType()
The warning type, which will always be `ASSET_REPORT_WARNING`int
hashCode()
void
setCause(Cause cause)
void
setWarningCode(Warning.WarningCodeEnum warningCode)
void
setWarningType(java.lang.String warningType)
java.lang.String
toString()
Warning
warningCode(Warning.WarningCodeEnum warningCode)
Warning
warningType(java.lang.String warningType)
-
Field Details
-
SERIALIZED_NAME_WARNING_TYPE
public static final java.lang.String SERIALIZED_NAME_WARNING_TYPE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WARNING_CODE
public static final java.lang.String SERIALIZED_NAME_WARNING_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAUSE
public static final java.lang.String SERIALIZED_NAME_CAUSE- See Also:
- Constant Field Values
-
-
Constructor Details
-
Warning
public Warning()
-
-
Method Details
-
warningType
-
getWarningType
public java.lang.String getWarningType()The warning type, which will always be `ASSET_REPORT_WARNING`- Returns:
- warningType
-
setWarningType
public void setWarningType(java.lang.String warningType) -
warningCode
-
getWarningCode
The warning code identifies a specific kind of warning. Currently, the only possible warning code is `OWNERS_UNAVAILABLE`, which indicates that account-owner information is not available.- Returns:
- warningCode
-
setWarningCode
-
cause
-
getCause
Get cause- Returns:
- cause
-
setCause
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-