Skip to content

Commit

Permalink
Merge pull request #29 from cryptlex/ahmad/refactor-userlicense
Browse files Browse the repository at this point in the history
refactor: updated user license types and docs
  • Loading branch information
adnan-kamili authored Jul 31, 2024
2 parents 454bb8e + 7e5765b commit 999ea91
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/main/java/com/cryptlex/lexactivator/UserLicense.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,23 @@

public class UserLicense {

public int allowedActivations;
/**
* The allowed activations of the license. A value of -1 indicates unlimited number of activations.
*/
public long allowedActivations;

public int allowedDeactivations;
/**
* The allowed deactivations of the license. A value of -1 indicates unlimited number of deactivations.
*/
public long allowedDeactivations;

/**
* The license key.
*/
public String key;

/**
* The license type (node-locked or hosted-floating).
*/
public String type;
}

0 comments on commit 999ea91

Please sign in to comment.