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 theAPIResponse
interface
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 class
APIResponseDTO.Builder<T>
Builder used to create a new immutableAPIResponseDTO
implementationstatic class
APIResponseDTO.ErrorsDTO
DTO implementation of theAPIResponse.Errors
interfacestatic class
APIResponseDTO.LinksDTO
DTO implementation of theAPIResponse.Links
interface-
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 String
toString()
-
Methods inherited from interface com.github.m0nk3y2k4.thetvdb.api.model.APIResponse
getData, getErrors, getLinks
-
-