Class APIResponseDTO<T>
- java.lang.Object
-
- com.github.m0nk3y2k4.thetvdb.internal.api.impl.model.APIResponseDTO<T>
-
- All Implemented Interfaces:
APIResponse<T>
@Immutable @WithHiddenImplementation public abstract class APIResponseDTO<T> extends Object implements APIResponse<T>
DTO implementation of theAPIResponseinterface
Objects of this class reflect the data received by the remote service and are immutable so that their content can not be changed once an instance has been created. New objects of this class may be created by using the correspondingAPIResponseDTO.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAPIResponseDTO.Builder<T>Builder used to create a new immutableAPIResponseDTOimplementationstatic classAPIResponseDTO.ErrorsDTODTO implementation of theAPIResponse.Errorsinterfacestatic classAPIResponseDTO.LinksDTODTO implementation of theAPIResponse.Linksinterface-
Nested classes/interfaces inherited from interface com.github.m0nk3y2k4.thetvdb.api.model.APIResponse
APIResponse.Errors, APIResponse.Links
-
-
Constructor Summary
Constructors Constructor Description APIResponseDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from interface com.github.m0nk3y2k4.thetvdb.api.model.APIResponse
getData, getErrors, getLinks
-
-