Class ActorProfileRequestBody

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

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

    • ActorProfileRequestBody

      public ActorProfileRequestBody()
      Default constructor
    • ActorProfileRequestBody

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

    • getProperties

      public ActorProfileProperties getProperties()
      Return the properties for this profile.
      Returns:
      properties bean
    • setProperties

      public void setProperties(ActorProfileProperties properties)
      Set up the properties for this profile.
      Parameters:
      properties - properties bean
    • getContributionRecord

      public ContributionRecord getContributionRecord()
      Return the optional contribution record for the profile. If this is not null, the contribution set up.
      Returns:
      record
    • setContributionRecord

      public void setContributionRecord(ContributionRecord contributionRecord)
      Set up the optional contribution record for the profile. If this is not null, the contribution set up.
      Parameters:
      contributionRecord - record
    • 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