Class UpdatePropertiesRequestBody


public class UpdatePropertiesRequestBody extends UpdateOptions
UpdatePropertiesRequestBody provides a structure for passing the properties for updating metadata elements, relationships or classifications.
  • Constructor Details

    • UpdatePropertiesRequestBody

      public UpdatePropertiesRequestBody()
      Default constructor
    • UpdatePropertiesRequestBody

      public UpdatePropertiesRequestBody(UpdatePropertiesRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
    • UpdatePropertiesRequestBody

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

    • getProperties

      public ElementProperties getProperties()
      Return the properties for the update.
      Returns:
      list of properties
    • setProperties

      public void setProperties(ElementProperties properties)
      Set up the properties for the update.
      Parameters:
      properties - list of properties
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class UpdateOptions
      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 UpdateOptions
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

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