Class UpdateRelationshipRequestBody


public class UpdateRelationshipRequestBody extends UpdateOptions
UpdateRelationshipRequestBody describes the request body used when updating relationship properties
  • Constructor Details

    • UpdateRelationshipRequestBody

      public UpdateRelationshipRequestBody()
      Default constructor
    • UpdateRelationshipRequestBody

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

    • getProperties

      public RelationshipProperties getProperties()
      Return the properties for the relationship.
      Returns:
      properties object
    • setProperties

      public void setProperties(RelationshipProperties properties)
      Set up the properties for the relationship.
      Parameters:
      properties - properties object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class UpdateOptions
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class UpdateOptions
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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