Class Bundle


  • public class Bundle
    extends ContentDiscoveryData
    This class is Bundle model class. A bundle is a set of media items, such as tv episodes bundled together. For example: Season 1 of Big Little Secrets.
    • Constructor Summary

      Constructors 
      Constructor Description
      Bundle​(JSONObject jsonObject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Content> getContents()
      Gets the list of contents for the bundle.
      java.lang.String getDescription()
      Gets the description or synopsis for each item in the bundle.
      java.lang.String getFieldbyName​(java.lang.String name)  
      java.lang.String getId()
      Gets the unique ID for each item in the bundle.
      java.util.List<Price> getPrices()
      Gets the price of each item in the bundle.
      java.lang.String getTitle()
      Gets the title or name of each item in the bundle.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bundle

        public Bundle​(JSONObject jsonObject)
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the unique ID for each item in the bundle.
      • getTitle

        public java.lang.String getTitle()
        Gets the title or name of each item in the bundle.
      • getPrices

        public java.util.List<Price> getPrices()
        Gets the price of each item in the bundle.
      • getDescription

        public java.lang.String getDescription()
        Gets the description or synopsis for each item in the bundle.
      • getContents

        public java.util.List<Content> getContents()
        Gets the list of contents for the bundle.
      • getFieldbyName

        public java.lang.String getFieldbyName​(java.lang.String name)
        Since:
        03.43.00.1