Skip to content

Commit

Permalink
Merge pull request #39 from cryptlex/ahmad/refactor-userlicense
Browse files Browse the repository at this point in the history
refactor: updated userlicense docs
  • Loading branch information
adnan-kamili authored Jul 31, 2024
2 parents 32b4a6e + ad2712f commit 54ff2b9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions lextypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,15 @@ type OrganizationAddress struct {
}

type UserLicense struct {
AllowedActivations int `json:"allowedActivations"`
AllowedDeactivations int `json:"allowedDeactivations"`
Key string `json:"key"`
Type string `json:"type"`
// The allowed activations of the license. A value of -1 indicates unlimited number of activations.
AllowedActivations int64 `json:"allowedActivations"`

// The allowed activations of the license. A value of -1 indicates unlimited number of deactivations.
AllowedDeactivations int64 `json:"allowedDeactivations"`

// The license key.
Key string `json:"key"`

// The license type (node-locked or hosted-floating).
Type string `json:"type"`
}

0 comments on commit 54ff2b9

Please sign in to comment.