View Javadoc

1   package com.atlassian.marketplace.client.model;
2   
3   import java.net.URI;
4   
5   /**
6    * Information about an Atlassian Connect scope that is used by an {@link AddonVersion}.
7    * @since 2.0.0
8    */
9   public class ConnectScope
10  {
11      Links _links;
12      @RequiredLink(rel = "alternate") URI alternateUri;
13      
14      String key;
15      String name;
16      String description;
17  
18      public Links getLinks()
19      {
20          return _links;
21      }
22  
23      /**
24       * Address of the web page describing this scope.
25       */
26      public URI getAlternateUri()
27      {
28          return alternateUri;
29      }
30      
31      /**
32       * The scope key.
33       */
34      public String getKey()
35      {
36          return key;
37      }
38  
39      /**
40       * The scope name.
41       */
42      public String getName()
43      {
44          return name;
45      }
46  
47      /**
48       * The scope description.
49       */
50      public String getDescription()
51      {
52          return description;
53      }
54  }