Package com.licensespring.dto
Class LicenseRequest
- java.lang.Object
-
- com.licensespring.dto.LicenseRequest
-
- Direct Known Subclasses:
ActivationRequest
,ConsumptionRequest
,FloatingFeatureReq
,LicenseBorrowRequest
,TrialLicenseRequest
,VariableRequest
public class LicenseRequest extends Object
Data Transfer Object providing basic information about license.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LicenseRequest.LicenseRequestBuilder<C extends LicenseRequest,B extends LicenseRequest.LicenseRequestBuilder<C,B>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
LicenseRequest(LicenseRequest.LicenseRequestBuilder<?,?> b)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LicenseRequest.LicenseRequestBuilder<?,?>
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getHardwareId()
Hardware ID generated by one of theIdentityProvider
String
getLicenseKey()
License key, you can find it on LicenseSpring platform.String
getPassword()
Password.String
getProduct()
Name of the product.String
getUsername()
Username.int
hashCode()
void
setHardwareId(String hardwareId)
Hardware ID generated by one of theIdentityProvider
void
setLicenseKey(String licenseKey)
License key, you can find it on LicenseSpring platform.void
setPassword(String password)
Password.void
setProduct(String product)
Name of the product.void
setUsername(String username)
Username.String
toString()
-
-
-
Constructor Detail
-
LicenseRequest
protected LicenseRequest(LicenseRequest.LicenseRequestBuilder<?,?> b)
-
-
Method Detail
-
builder
public static LicenseRequest.LicenseRequestBuilder<?,?> builder()
-
getProduct
public String getProduct()
Name of the product.- Returns:
- Name of the product
-
getHardwareId
public String getHardwareId()
Hardware ID generated by one of theIdentityProvider
- Returns:
- Hardware ID
-
getLicenseKey
public String getLicenseKey()
License key, you can find it on LicenseSpring platform.- Returns:
- License key.
-
getUsername
public String getUsername()
Username.- Returns:
- Username
-
getPassword
public String getPassword()
Password.- Returns:
- Password
-
setProduct
public void setProduct(String product)
Name of the product.
-
setHardwareId
public void setHardwareId(String hardwareId)
Hardware ID generated by one of theIdentityProvider
-
setLicenseKey
public void setLicenseKey(String licenseKey)
License key, you can find it on LicenseSpring platform.
-
setUsername
public void setUsername(String username)
Username.
-
setPassword
public void setPassword(String password)
Password.
-
canEqual
protected boolean canEqual(Object other)
-
-