Class LicenseIdRequestBody

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

public class LicenseIdRequestBody extends AssetOwnerOMASAPIRequestBody
LicenseIdRequestBody provides a structure for the unique certificate identifier.
  • Constructor Details

    • LicenseIdRequestBody

      public LicenseIdRequestBody()
      Default constructor
    • LicenseIdRequestBody

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

    • 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:
      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