Package com.contentful.java.cma.model
Class CMAHttpException.ErrorBody.Details
- java.lang.Object
-
- com.contentful.java.cma.model.CMAHttpException.ErrorBody.Details
-
- Enclosing class:
- CMAHttpException.ErrorBody
public static class CMAHttpException.ErrorBody.Details extends java.lang.ObjectClass to describe the error details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMAHttpException.ErrorBody.Details.ErrorWhich error did actually happen where?
-
Constructor Summary
Constructors Constructor Description Details()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CMAHttpException.ErrorBody.Details.Error>getErrors()java.util.List<java.lang.String>getKeys()java.lang.StringgetSpace()java.lang.StringgetType()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
- Returns:
- the type of this detail.
-
getSpace
public java.lang.String getSpace()
- Returns:
- the space given to the error.
-
getErrors
public java.util.List<CMAHttpException.ErrorBody.Details.Error> getErrors()
- Returns:
- the list of errors encountered
-
getKeys
public java.util.List<java.lang.String> getKeys()
- Returns:
- a list of keys contributing to this error.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- a human readable string, representing the object.
-
-