Class LicenseTypeRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.LicenseTypeRequestBody
-
- All Implemented Interfaces:
Serializable
public class LicenseTypeRequestBody extends GovernanceProgramOMASAPIRequestBody
LicenseTypeRequestBody provides a structure used when creating license types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseTypeRequestBody()Default constructorLicenseTypeRequestBody(LicenseTypeRequestBody 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.GovernanceDefinitionStatusgetInitialStatus()Return the initial status of the license type.LicenseTypePropertiesgetProperties()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.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
LicenseTypeRequestBody
public LicenseTypeRequestBody()
Default constructor
-
LicenseTypeRequestBody
public LicenseTypeRequestBody(LicenseTypeRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public LicenseTypeProperties getProperties()
Return the properties of the license type.- Returns:
- properties
-
setProperties
public void setProperties(LicenseTypeProperties properties)
Set up the properties of the license type.- Parameters:
properties- properties
-
getInitialStatus
public GovernanceDefinitionStatus getInitialStatus()
Return the initial status of the license type.- Returns:
- instance status
-
setInitialStatus
public void setInitialStatus(GovernanceDefinitionStatus initialStatus)
Set up the initial status of the license type.- Parameters:
initialStatus- instance status
-
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.
-
-