Class LicenseTypeRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.LicenseTypeRequestBody

public class LicenseTypeRequestBody extends AssetOwnerOMASAPIRequestBody
LicenseTypeRequestBody provides a structure used when creating license types.
  • Constructor Details

    • LicenseTypeRequestBody

      public LicenseTypeRequestBody()
      Default constructor
    • LicenseTypeRequestBody

      public LicenseTypeRequestBody(LicenseTypeRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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:
      toString in class AssetOwnerOMASAPIRequestBody
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code