Class GetKeyModel
java.lang.Object
io.cryptolens.models.RequestModel
io.cryptolens.models.GetKeyModel
The parameters that are used when calling the Key.GetKey method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
An integer that allows you to restrict the information returned in the license key data object.int
Allows you specify the floatingTimeInterval.The Key string, eg.boolean
Includes additional information about the license key, such as number of activated devices, etc.int
The product id, which can be found on the product page.Fields inherited from class io.cryptolens.models.RequestModel
LicenseServerUrl
-
Constructor Summary
ConstructorsConstructorDescriptionGetKeyModel
(int productId, String key) GetKeyModel
(int productId, String key, int floatingTimeInterval, boolean metadata) -
Method Summary
-
Field Details
-
ProductId
public int ProductIdThe product id, which can be found on the product page. -
Key
The Key string, eg. AAAA-BBBB-CCCC-DDDD. -
FieldsToReturn
public int FieldsToReturnAn integer that allows you to restrict the information returned in the license key data object. Please read https://app.cryptolens.io/docs/api/v3/Activate#remarks for more details. -
Metadata
public boolean MetadataIncludes additional information about the license key, such as number of activated devices, etc. -
FloatingTimeInterval
public int FloatingTimeIntervalAllows you specify the floatingTimeInterval. The current version of the SDK uses a modelVersion=3, which means that all activated devices (node-locked and floating) will be returned in ActivatedMachines, independent of the floatingTimeInterval value. This value is only taken into account in the additional metadata that is returned (if Metadata=true). In most use cases, this parameter does not need to be used.
-
-
Constructor Details
-
GetKeyModel
public GetKeyModel() -
GetKeyModel
-
GetKeyModel
-