Class ToDoRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ToDoRequestBody

public class ToDoRequestBody extends Object
ToDoRequestBody provides a structure for passing to do details over a REST API. It is used for creating "to Do" elements.
  • Constructor Details

    • ToDoRequestBody

      public ToDoRequestBody()
      Default constructor
    • ToDoRequestBody

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

    • getNewActionTargetProperties

      public List<NewToDoActionTargetProperties> getNewActionTargetProperties()
      Return any specific action targets for the to do.
      Returns:
      list
    • setNewActionTargetProperties

      public void setNewActionTargetProperties(List<NewToDoActionTargetProperties> newActionTargetProperties)
      Set up any specific action targets for the to do.
      Parameters:
      newActionTargetProperties - list
    • getProperties

      public ToDoProperties getProperties()
      Return the properties of the to do.
      Returns:
      properties
    • setProperties

      public void setProperties(ToDoProperties properties)
      Set up the properties of the to do.
      Parameters:
      properties - properties
    • getOriginatorGUID

      public String getOriginatorGUID()
      Return the unique identifier of the element that originated the to do.
      Returns:
      guid
    • setOriginatorGUID

      public void setOriginatorGUID(String originatorGUID)
      Set up the unique identifier of the element that originated the to do.
      Parameters:
      originatorGUID - guid
    • getActionSponsorGUID

      public String getActionSponsorGUID()
      Return the unique identifier of the sponsor of the To Do.
      Returns:
      guid
    • setActionSponsorGUID

      public void setActionSponsorGUID(String actionSponsorGUID)
      Set up the unique identifier of the sponsor of the To Do.
      Parameters:
      actionSponsorGUID - guid
    • getAssignToActorGUID

      public String getAssignToActorGUID()
      Return the unique identifier of the action assigned to perform the work.
      Returns:
      guid
    • setAssignToActorGUID

      public void setAssignToActorGUID(String assignToActorGUID)
      Set up the unique identifier of the action assigned to perform the work.
      Parameters:
      assignToActorGUID - guid
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      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