Class LicenseTypeRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.LicenseTypeRequestBody
- All Implemented Interfaces:
Serializable
LicenseTypeRequestBody provides a structure used when creating license types.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLicenseTypeRequestBody(LicenseTypeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals 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.inthashCode()Return hash code for this objectvoidsetInitialStatus(GovernanceDefinitionStatus initialStatus) Set up the initial status of the license type.voidsetProperties(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:
toStringin 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
-