Package org.bonitasoft.web.client.model
Class PlatformLicense
- java.lang.Object
-
- org.bonitasoft.web.client.model.PlatformLicense
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PlatformLicense extends Object implements Serializable
PlatformLicense- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CASE_COUNTERstatic StringJSON_PROPERTY_CASE_COUNTER_LIMITstatic StringJSON_PROPERTY_DURATIONstatic StringJSON_PROPERTY_EDITIONstatic StringJSON_PROPERTY_LICENSE_EXPIRATION_DATEstatic StringJSON_PROPERTY_LICENSE_MODEstatic StringJSON_PROPERTY_LICENSE_START_DATEstatic StringJSON_PROPERTY_NUMBER_OF_C_P_U_CORESstatic StringJSON_PROPERTY_REQUEST_KEYstatic StringJSON_PROPERTY_SUBSCRIPTION_END_PERIODstatic StringJSON_PROPERTY_SUBSCRIPTION_START_PERIOD
-
Constructor Summary
Constructors Constructor Description PlatformLicense()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformLicensecaseCounter(Long caseCounter)PlatformLicensecaseCounterLimit(Long caseCounterLimit)PlatformLicenseduration(String duration)PlatformLicenseedition(String edition)booleanequals(Object o)LonggetCaseCounter()number of consumed process instances for period between `subscriptionStartPeriod` and `subscriptionEndPeriod`LonggetCaseCounterLimit()number of process instances provisioned for period between `subscriptionStartPeriod` and `subscriptionEndPeriod`StringgetDuration()number of days for license file validityStringgetEdition()name of the Bonita edition enabled by the licenseStringgetLicenseExpirationDate()date with format `yyyy-MM-dd` - last day (included) of license file validityStringgetLicenseMode()available mode enabled by the licenseStringgetLicenseStartDate()date with format `yyyy-MM-dd` - first day (included) of license file validityStringgetNumberOfCPUCores()number of CPUsStringgetRequestKey()request key to use to generate a new license on the customer portal If you have a subscription that specifies case-counter licensing, additional fields are present:StringgetSubscriptionEndPeriod()date with format `yyyy-MM-dd` - last day (included) of current period for number of process instances provisionedStringgetSubscriptionStartPeriod()date with format `yyyy-MM-dd` - first day (included) of current period for number of process instances provisionedinthashCode()PlatformLicenselicenseExpirationDate(String licenseExpirationDate)PlatformLicenselicenseMode(String licenseMode)PlatformLicenselicenseStartDate(String licenseStartDate)PlatformLicensenumberOfCPUCores(String numberOfCPUCores)PlatformLicenserequestKey(String requestKey)voidsetCaseCounter(Long caseCounter)voidsetCaseCounterLimit(Long caseCounterLimit)voidsetDuration(String duration)voidsetEdition(String edition)voidsetLicenseExpirationDate(String licenseExpirationDate)voidsetLicenseMode(String licenseMode)voidsetLicenseStartDate(String licenseStartDate)voidsetNumberOfCPUCores(String numberOfCPUCores)voidsetRequestKey(String requestKey)voidsetSubscriptionEndPeriod(String subscriptionEndPeriod)voidsetSubscriptionStartPeriod(String subscriptionStartPeriod)PlatformLicensesubscriptionEndPeriod(String subscriptionEndPeriod)PlatformLicensesubscriptionStartPeriod(String subscriptionStartPeriod)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LICENSE_START_DATE
public static final String JSON_PROPERTY_LICENSE_START_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_DURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LICENSE_EXPIRATION_DATE
public static final String JSON_PROPERTY_LICENSE_EXPIRATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NUMBER_OF_C_P_U_CORES
public static final String JSON_PROPERTY_NUMBER_OF_C_P_U_CORES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EDITION
public static final String JSON_PROPERTY_EDITION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LICENSE_MODE
public static final String JSON_PROPERTY_LICENSE_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUEST_KEY
public static final String JSON_PROPERTY_REQUEST_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBSCRIPTION_START_PERIOD
public static final String JSON_PROPERTY_SUBSCRIPTION_START_PERIOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUBSCRIPTION_END_PERIOD
public static final String JSON_PROPERTY_SUBSCRIPTION_END_PERIOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CASE_COUNTER_LIMIT
public static final String JSON_PROPERTY_CASE_COUNTER_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CASE_COUNTER
public static final String JSON_PROPERTY_CASE_COUNTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
licenseStartDate
public PlatformLicense licenseStartDate(String licenseStartDate)
-
getLicenseStartDate
@Nullable public String getLicenseStartDate()
date with format `yyyy-MM-dd` - first day (included) of license file validity- Returns:
- licenseStartDate
-
setLicenseStartDate
public void setLicenseStartDate(String licenseStartDate)
-
duration
public PlatformLicense duration(String duration)
-
getDuration
@Nullable public String getDuration()
number of days for license file validity- Returns:
- duration
-
setDuration
public void setDuration(String duration)
-
licenseExpirationDate
public PlatformLicense licenseExpirationDate(String licenseExpirationDate)
-
getLicenseExpirationDate
@Nullable public String getLicenseExpirationDate()
date with format `yyyy-MM-dd` - last day (included) of license file validity- Returns:
- licenseExpirationDate
-
setLicenseExpirationDate
public void setLicenseExpirationDate(String licenseExpirationDate)
-
numberOfCPUCores
public PlatformLicense numberOfCPUCores(String numberOfCPUCores)
-
getNumberOfCPUCores
@Nullable public String getNumberOfCPUCores()
number of CPUs- Returns:
- numberOfCPUCores
-
setNumberOfCPUCores
public void setNumberOfCPUCores(String numberOfCPUCores)
-
edition
public PlatformLicense edition(String edition)
-
getEdition
@Nullable public String getEdition()
name of the Bonita edition enabled by the license- Returns:
- edition
-
setEdition
public void setEdition(String edition)
-
licenseMode
public PlatformLicense licenseMode(String licenseMode)
-
getLicenseMode
@Nullable public String getLicenseMode()
available mode enabled by the license- Returns:
- licenseMode
-
setLicenseMode
public void setLicenseMode(String licenseMode)
-
requestKey
public PlatformLicense requestKey(String requestKey)
-
getRequestKey
@Nullable public String getRequestKey()
request key to use to generate a new license on the customer portal If you have a subscription that specifies case-counter licensing, additional fields are present:- Returns:
- requestKey
-
setRequestKey
public void setRequestKey(String requestKey)
-
subscriptionStartPeriod
public PlatformLicense subscriptionStartPeriod(String subscriptionStartPeriod)
-
getSubscriptionStartPeriod
@Nullable public String getSubscriptionStartPeriod()
date with format `yyyy-MM-dd` - first day (included) of current period for number of process instances provisioned- Returns:
- subscriptionStartPeriod
-
setSubscriptionStartPeriod
public void setSubscriptionStartPeriod(String subscriptionStartPeriod)
-
subscriptionEndPeriod
public PlatformLicense subscriptionEndPeriod(String subscriptionEndPeriod)
-
getSubscriptionEndPeriod
@Nullable public String getSubscriptionEndPeriod()
date with format `yyyy-MM-dd` - last day (included) of current period for number of process instances provisioned- Returns:
- subscriptionEndPeriod
-
setSubscriptionEndPeriod
public void setSubscriptionEndPeriod(String subscriptionEndPeriod)
-
caseCounterLimit
public PlatformLicense caseCounterLimit(Long caseCounterLimit)
-
getCaseCounterLimit
@Nullable public Long getCaseCounterLimit()
number of process instances provisioned for period between `subscriptionStartPeriod` and `subscriptionEndPeriod`- Returns:
- caseCounterLimit
-
setCaseCounterLimit
public void setCaseCounterLimit(Long caseCounterLimit)
-
caseCounter
public PlatformLicense caseCounter(Long caseCounter)
-
getCaseCounter
@Nullable public Long getCaseCounter()
number of consumed process instances for period between `subscriptionStartPeriod` and `subscriptionEndPeriod`- Returns:
- caseCounter
-
setCaseCounter
public void setCaseCounter(Long caseCounter)
-
-