View Javadoc

1   package com.atlassian.marketplace.client.api;
2   
3   /**
4    * Represents the available types of vendor-specified external links for vendors.
5    * @since 2.0.0
6    */
7   public enum VendorExternalLinkType
8   {
9       /**
10       * A link to the vendor's home page.
11       */
12      HOME_PAGE("homePage"),
13      
14      /**
15       * A link to a Service Level Agreement.
16       */
17      SLA("sla");
18      
19      private final String key;
20      
21      private VendorExternalLinkType(String key)
22      {
23          this.key = key;
24      }
25      
26      /**
27       * The property name that corresponds to this link type within the {@code vendorLinks} or
28       * property of the vendor's JSON representation.
29       */
30      public String getKey()
31      {
32          return key;
33      }
34  }