View Javadoc

1   package com.atlassian.marketplace.client.model;
2   
3   import com.atlassian.marketplace.client.api.EnumWithKey;
4   
5   /**
6    * Describes the type of license edition for an {@link AddonPricingItem}.
7    * @since 2.0.0
8    */
9   public enum LicenseEditionType implements EnumWithKey
10  {
11      USER_TIER("user-tier"),
12      ROLE_TIER("role-tier"),
13      REMOTE_AGENT_COUNT("remote-agent-count");
14  
15      private final String key;
16  
17      private LicenseEditionType(String key)
18      {
19          this.key = key;
20      }
21  
22      @Override
23      public String getKey()
24      {
25          return key;
26      }
27  
28      public static LicenseEditionType getDefault()
29      {
30          return USER_TIER;
31      }
32  }