Class Character
java.lang.Object
com.amilesend.tvmaze.client.model.Resource<Character, ResourceLink>
com.amilesend.tvmaze.client.model.type.Character
Describes a character in a TV show or episode.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCharacter.CharacterBuilder<C extends Character, B extends Character.CharacterBuilder<C,B>> -
Field Summary
Fields inherited from class Resource
SELF_RESOURCE_LINK_TYPEModifier and TypeFieldDescriptionstatic final StringThe resource link type that references this resource. -
Method Summary
Modifier and TypeMethodDescriptionstatic Character.CharacterBuilder<?, ?> builder()getImage()Links to images associated with the character.getName()The character name.getUrl()The TVMaze website url associated with the character.booleanisSelf()Flag indicator if the cast member playing the role represents themself.booleanisVoice()Flag indicator if the cast member playing the role is just lending their voice.toString()
-
Method Details
-
builder
-
getUrl
The TVMaze website url associated with the character. -
getName
The character name. -
getImage
Links to images associated with the character. -
isSelf
public boolean isSelf()Flag indicator if the cast member playing the role represents themself. -
isVoice
public boolean isVoice()Flag indicator if the cast member playing the role is just lending their voice. -
toString
- Overrides:
toStringin classResource<Character, ResourceLink>
-