Package de.smartsquare.squit.entity
Class SquitResponseInfo
-
- All Implemented Interfaces:
public final class SquitResponseInfoData class holding further response information concerning a single SquitResult.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSquitResponseInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegerresponseCodeprivate final BooleanisDefaultpublic final static SquitResponseInfo.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description SquitResponseInfo(Integer responseCode)
-
Method Summary
Modifier and Type Method Description final IntegergetResponseCode()The HTTP status code of the response. final BooleanisDefault()Returns true if responseCode is default. final StringtoJson()Converts this instance into a JSON representation. final Stringdiff(SquitResponseInfo other)String diff between this and other. -
-
Constructor Detail
-
SquitResponseInfo
SquitResponseInfo(Integer responseCode)
-
-
Method Detail
-
getResponseCode
final Integer getResponseCode()
The HTTP status code of the response.
-
diff
final String diff(SquitResponseInfo other)
String diff between this and other.
-
-
-
-