Class CastCredit

java.lang.Object
com.amilesend.tvmaze.client.model.CastCredit

public class CastCredit extends Object
Describes a cast credit for a person.
  • Method Details

    • getShow

      public Show getShow()
      Gets the show associated with the cast credit. Note: Can be null.
      Returns:
      the show
      See Also:
    • getEpisode

      public Episode getEpisode()
      Gets the episode associated with the cast credit. Note: Can be null.
      Returns:
    • builder

      public static CastCredit.CastCreditBuilder builder()
    • isSelf

      public boolean isSelf()
      Flag indicator if the person plays themself.
    • isVoice

      public boolean isVoice()
      Flag indicator if the person performed with their voice only (e.g., narration or a animation character).
    • getLinks

      public Map<String,ResourceLink> getLinks()
      The links associated with the credit.
    • getEmbeddedResource

      public CastCredit.EmbeddedResource getEmbeddedResource()
      Any embedded resources associated with the CastCredit. Note: can be null.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object