Class RequestStatus
- java.lang.Object
-
- com.cdancy.bitbucket.rest.domain.common.RequestStatus
-
- All Implemented Interfaces:
ErrorsHolder,Value<Boolean>
public abstract class RequestStatus extends Object implements Value<Boolean>, ErrorsHolder
Generic response to be returned when an endpoint returns no content (i.e. 204 response code).When the response code is valid the `value` parameter will be set to true while a non-valid response has the `value` set to false along with any potential `error` objects returned from Bitbucket.
-
-
Constructor Summary
Constructors Constructor Description RequestStatus()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestStatuscreate(Boolean value, List<Error> errors)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cdancy.bitbucket.rest.domain.common.ErrorsHolder
errors
-
-
-
-
Method Detail
-
create
public static RequestStatus create(@Nullable Boolean value, List<Error> errors)
-
-