Class ToDoRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
org.odpi.openmetadata.viewservices.myprofile.rest.ToDoRequestBody

public class ToDoRequestBody extends org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
ToDoRequestBody provides a structure for passing to do details over a REST API. It is used for creating "to Do" elements.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Equals method that returns true if containing properties are the same.
    Return the unique identifier of the sponsor of the To Do.
    Return the unique identifier of the action assigned to perform the work.
    List<org.odpi.openmetadata.accessservices.communityprofile.properties.NewActionTargetProperties>
    Return any specific action targets for the to do.
    Return the unique identifier of the element that originated the to do.
    org.odpi.openmetadata.accessservices.communityprofile.properties.ToDoProperties
    Return the properties of the to do.
    int
    Return hash code for this object
    void
    setActionSponsorGUID(String actionSponsorGUID)
    Set up the unique identifier of the sponsor of the To Do.
    void
    setAssignToActorGUID(String assignToActorGUID)
    Set up the unique identifier of the action assigned to perform the work.
    void
    setNewActionTargetProperties(List<org.odpi.openmetadata.accessservices.communityprofile.properties.NewActionTargetProperties> newActionTargetProperties)
    Set up any specific action targets for the to do.
    void
    setOriginatorGUID(String originatorGUID)
    Set up the unique identifier of the element that originated the to do.
    void
    setProperties(org.odpi.openmetadata.accessservices.communityprofile.properties.ToDoProperties properties)
    Set up the properties of the to do.
    JSON-style toString.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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<org.odpi.openmetadata.accessservices.communityprofile.properties.NewActionTargetProperties> getNewActionTargetProperties()
      Return any specific action targets for the to do.
      Returns:
      list
    • setNewActionTargetProperties

      public void setNewActionTargetProperties(List<org.odpi.openmetadata.accessservices.communityprofile.properties.NewActionTargetProperties> newActionTargetProperties)
      Set up any specific action targets for the to do.
      Parameters:
      newActionTargetProperties - list
    • getProperties

      public org.odpi.openmetadata.accessservices.communityprofile.properties.ToDoProperties getProperties()
      Return the properties of the to do.
      Returns:
      properties
    • setProperties

      public void setProperties(org.odpi.openmetadata.accessservices.communityprofile.properties.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 org.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody
      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