Enum Item.Field

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Item.Field>
    Enclosing class:
    Item

    public static enum Item.Field
    extends java.lang.Enum<Item.Field>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      static Item.Field valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Item.Field[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ACTOR

        public static final Item.Field ACTOR
        Cast of the media content.

        This applies only to video content, such as movies and television episodes.
      • ARTIST

        public static final Item.Field ARTIST
        Artist who created content.

        This applies only to audio content, such as albums and song tracks.
      • ATTRIBUTES

        public static final Item.Field ATTRIBUTES
        Key value pairs for the media content. Example: category_root_type:root_kids_movies.

        Attributes can include custom values defined by the airline.
      • CHILD_MEDIA_COUNT

        public static final Item.Field CHILD_MEDIA_COUNT
        Number of child media.
      • CHILDREN

        public static final Item.Field CHILDREN
        Details of the children content.

        Examples: description, content type and country origin.
      • CONTENT_URI

        public static final Item.Field CONTENT_URI
        Unique identifier for the item.

        The media URIs are airline specific and can change across a flight.
      • CONTENT_TYPE

        public static final Item.Field CONTENT_TYPE
        Content type of the item. The values are defined by the airline.

        Examples include movie, album, trailer, advertisement, promomotion, information and ebook.
      • COUNTRYORIGIN

        public static final Item.Field COUNTRYORIGIN
        Country where the content was created. For example, the movie was filmed in Japan or Ireland.

        This applies only to video content, such as movies and television episodes.
      • CRITIC_SCORE

        public static final Item.Field CRITIC_SCORE
        Displays the score of reviews made by professional critics.
      • DESCRIPTION

        public static final Item.Field DESCRIPTION
        Description or synopsis of the content.
      • DIRECTOR

        public static final Item.Field DIRECTOR
        Director of the media content.

        This applies only to video content, such as movies and television episodes.
      • DURATION

        public static final Item.Field DURATION
        Duration of the content.

        The value is in hours, minutes and seconds. The format is HH:MM:SS.
      • GENRE

        public static final Item.Field GENRE
        Genre of the content.

        Examples include comedy and drama. The values are defined by the airline.
      • IMAGES

        public static final Item.Field IMAGES
        URL of the images, such as poster and synopsis.
      • KEY_TYPE

        public static final Item.Field KEY_TYPE
        Type of the item.

        Examples: video and audio.
      • PARENT_MEDIA_URI

        public static final Item.Field PARENT_MEDIA_URI
        Unique identifier for the parent media.

        For example, for a television episode, the parent is typically the television series and, for audio track, the parent is typically an album.
      • PEOPLESCORE

        public static final Item.Field PEOPLESCORE
        Rating that other viewers have given the content. Example: other viewers could give the movie 2 out of 5 stars.

        This applies only to video content, such as movies and television episodes.
      • PURCHASE_OPTIONS

        public static final Item.Field PURCHASE_OPTIONS
        Prices for the content. The content can be offered with different prices for an individual item and a bundle.

      • RATING

        public static final Item.Field RATING
        Paretnal rating for the content.

        Examples: G and PG
      • RATING_DESCRIPTION

        public static final Item.Field RATING_DESCRIPTION
        Description of the paretnal rating for the content.

        Example: G indicates for general audiences and PG indicates parental guidance is suggested.
      • REVIEW

        public static final Item.Field REVIEW
        Review of the media content. For example, the movie could get 3 out of 5 stars.

        This applies only to video content, such as movies and television episodes.
      • SHORT_TITLE

        public static final Item.Field SHORT_TITLE
        Short title of the content. Example: Star Wars
      • SHORT_DESCRIPTION

        public static final Item.Field SHORT_DESCRIPTION
        Short description of the content.
      • SOUNDTRACKS

        public static final Item.Field SOUNDTRACKS
        Soundtracks for the content.
      • SUBTITLES

        public static final Item.Field SUBTITLES
        Subtitles of the content.
      • TITLE

        public static final Item.Field TITLE
        Title of the content.
      • TRAILER_MEDIA_URI

        public static final Item.Field TRAILER_MEDIA_URI
        Preview of the content. The value is a URI.

        This applies only to video content, such as movies and television episodes.
      • YEAR

        public static final Item.Field YEAR
        Year the content was released.
    • Method Detail

      • values

        public static Item.Field[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Item.Field c : Item.Field.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Item.Field valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getName

        public java.lang.String getName()