public final class BackOfficeLicenseFeature extends Object
Constructor and Description |
---|
BackOfficeLicenseFeature(Long id,
ProductFeature productFeature,
int maxConsumption,
int totalConsumptions,
DeviceFeature[] deviceFeatures,
Boolean allowUnlimitedConsumptions,
ZonedDateTime expiryDate,
Boolean allowOverages,
Long maxOverages,
Boolean resetConsumption,
String consumptionPeriod,
Boolean isFloating,
Boolean isFloatingCloud,
Long floatingUsers,
Long floatingTimeout,
com.google.gson.JsonElement metadata,
Long license) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Boolean |
getAllowOverages()
Indicates if licenses for this product allow overages on consumptions.
|
Boolean |
getAllowUnlimitedConsumptions()
Boolean indicating whether to allow unlimited activations.
|
String |
getConsumptionPeriod()
Period after which the consumptions are reset to 0.
|
DeviceFeature[] |
getDeviceFeatures() |
ZonedDateTime |
getExpiryDate()
The expiration date of the feature (can be null).
|
Long |
getFloatingTimeout()
Floating timeout in minutes.
|
Long |
getFloatingUsers()
Used only with floating cloud setup.
|
Long |
getId()
16 digit id of this license feature.
|
Boolean |
getIsFloating()
Indicates if license is floating, if there are multiple users using this license.
|
Boolean |
getIsFloatingCloud()
Used only with floating cloud setup.
|
Long |
getLicense()
License id
|
int |
getMaxConsumption()
Number of maximum consumptions on this license feature for this particular license.
|
Long |
getMaxOverages()
Maximum amount of overages over the max consumption limit.
|
com.google.gson.JsonElement |
getMetadata()
JSON metadata of the feature.
|
ProductFeature |
getProductFeature()
Reference of ProductFeature model.
|
Boolean |
getResetConsumption()
Consumptions can be auto-reset on a period by setting this field with the consumptionPeriod
defined.
|
int |
getTotalConsumptions()
Number of consumptions that were already consumed on this feature.
|
int |
hashCode() |
String |
toString() |
public BackOfficeLicenseFeature(Long id, ProductFeature productFeature, int maxConsumption, int totalConsumptions, DeviceFeature[] deviceFeatures, Boolean allowUnlimitedConsumptions, ZonedDateTime expiryDate, Boolean allowOverages, Long maxOverages, Boolean resetConsumption, String consumptionPeriod, Boolean isFloating, Boolean isFloatingCloud, Long floatingUsers, Long floatingTimeout, com.google.gson.JsonElement metadata, Long license)
public Long getId()
public ProductFeature getProductFeature()
public int getMaxConsumption()
public int getTotalConsumptions()
public DeviceFeature[] getDeviceFeatures()
public Boolean getAllowUnlimitedConsumptions()
public ZonedDateTime getExpiryDate()
public Boolean getAllowOverages()
public Long getMaxOverages()
public Boolean getResetConsumption()
public String getConsumptionPeriod()
public Boolean getIsFloating()
public Boolean getIsFloatingCloud()
public Long getFloatingUsers()
public Long getFloatingTimeout()
public com.google.gson.JsonElement getMetadata()
public Long getLicense()
Copyright © 2024 Cense Data Inc.. All rights reserved.