Class ContactMethodRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.ContactMethodRequestBody

public class ContactMethodRequestBody extends ExternalSourceRequestBody
ContactMethodRequestBody provides the request body payload for working on ContactMethod entities.
  • Constructor Details

    • ContactMethodRequestBody

      public ContactMethodRequestBody()
      Default constructor
    • ContactMethodRequestBody

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

    • getProperties

      public ContactMethodProperties getProperties()
      Return the properties for this contact method.
      Returns:
      properties bean
    • setProperties

      public void setProperties(ContactMethodProperties properties)
      Set up the properties for this contact method.
      Parameters:
      properties - properties bean
    • toString

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

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