Class LicenseIdRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.LicenseIdRequestBody
-
- All Implemented Interfaces:
Serializable
public class LicenseIdRequestBody extends GovernanceProgramOMASAPIRequestBody
LicenseIdRequestBody provides a structure for the unique certificate identifier.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseIdRequestBody()Default constructorLicenseIdRequestBody(LicenseIdRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetLicenseId()Return the unique identifier for the license.inthashCode()Return hash code for this objectvoidsetLicenseId(String licenseId)Set up the unique identifier for the license.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
LicenseIdRequestBody
public LicenseIdRequestBody()
Default constructor
-
LicenseIdRequestBody
public LicenseIdRequestBody(LicenseIdRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getLicenseId
public String getLicenseId()
Return the unique identifier for the license.- Returns:
- String identifier
-
setLicenseId
public void setLicenseId(String licenseId)
Set up the unique identifier for the license.- Parameters:
licenseId- String identifier
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classGovernanceProgramOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-