Class Resource<T extends Resource,L>
java.lang.Object
com.amilesend.tvmaze.client.model.Resource<T,L>
- Type Parameters:
T- the resource typeL- the link value type
- Direct Known Subclasses:
AlternateList,Character,EpisodeBase,Image,Person,Season,Show
Base class for a resource that can be uniquely identified.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe resource link type that references this resource. -
Method Summary
-
Field Details
-
SELF_RESOURCE_LINK_TYPE
The resource link type that references this resource.- See Also:
-
-
Method Details
-
equals
-
hashCode
-
getId
public int getId()The resource identifier. -
getLinks
-
toString
-