Class LicenseTypeRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.LicenseTypeRequestBody
LicenseTypeRequestBody provides a structure used when creating license types.
-
Constructor Summary
ConstructorDescriptionDefault constructorLicenseTypeRequestBody
(LicenseTypeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the initial status of the license type.Return the properties of the license type.int
hashCode()
Return hash code for this objectvoid
setInitialStatus
(GovernanceDefinitionStatus initialStatus) Set up the initial status of the license type.void
setProperties
(LicenseTypeProperties properties) Set up the properties of the license type.toString()
JSON-style toString.
-
Constructor Details
-
LicenseTypeRequestBody
public LicenseTypeRequestBody()Default constructor -
LicenseTypeRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties of the license type.- Returns:
- properties
-
setProperties
Set up the properties of the license type.- Parameters:
properties
- properties
-
getInitialStatus
Return the initial status of the license type.- Returns:
- instance status
-
setInitialStatus
Set up the initial status of the license type.- Parameters:
initialStatus
- instance status
-
toString
JSON-style toString.- Overrides:
toString
in classAssetOwnerOMASAPIRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-