View Javadoc

1   package com.atlassian.marketplace.client.model;
2   
3   import com.atlassian.fugue.Option;
4   
5   /**
6    * One of the additional screenshots that can be part of {@link AddonVersion} details.
7    * @since 2.0.0
8    */
9   public final class Screenshot
10  {
11      Links _links;
12      @ReadOnly ScreenshotEmbedded _embedded;
13      Option<String> caption;
14      
15      public Links getLinks()
16      {
17          return _links;
18      }
19  
20      /**
21       * The optional caption for the screenshot.
22       */
23      public Option<String> getCaption()
24      {
25          return caption;
26      }
27      
28      /**
29       * The full-sized image for the screenshot.
30       */
31      public ImageInfo getImage()
32      {
33          return _embedded.image;
34      }
35  
36      static final class ScreenshotEmbedded
37      {
38          ImageInfo image;
39      }
40  }