Class RequestItemDetail


  • public class RequestItemDetail
    extends RequestBase<Item>
    The RequestItemDetail class returns detailed information about the list of content URIs.

    By default, the content_uri, title and content type are returned. In addition, if applicable, the child count, children, price, director, actor and artist are returned.

    This class is returned by ContentDiscovery.getItemsDetailsRequest(Set) ()} (String)}. The response is the same as ContentDiscovery.getItemsByTagValueRequest(String, Map), except this response includes children.

    It has method to execute request synchronously and asynchronously and also provides a set of Set methods for parameters.
    • Method Detail

      • setSeatClass

        public void setSeatClass​(java.lang.String seatClass)
        Sets the seat class, such as first or business. If not specified, SeatClass.All will be used.
        Parameters:
        seatClass - only accept strings provided by SeatClass, such as first, business or all.
      • setImageSizeSelectors

        public void setImageSizeSelectors​(java.util.Set<java.lang.Integer> imageSizeSelectors)
        Returns images, such as posters or synopses, in the specified size as defined by the airline.

        When both image_size_selector and image_resolution are present, image_size_selector takes priority. If neither are present, all images will be returned.
        Parameters:
        imageSizeSelectors - Image size selector.
      • setImageResolutions

        public void setImageResolutions​(java.util.Set<java.lang.String> imageResolutions)
        Returns images, such as posters or synopses, in the specified resolution. Format is widthxheight, such as "800x600".

        When both image_size_selector and image_resolution are present, image_size_selector takes priority. If neither are present, all images will be returned.
        Parameters:
        imageResolutions - Specifies the image resolution.