Class ToDoRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ToDoRequestBody
ToDoRequestBody provides a structure for passing to do details over a REST API.
It is used for creating "to Do" elements.
-
Constructor Summary
ConstructorDescriptionDefault constructorToDoRequestBody
(ToDoRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.Return any specific action targets for the to do.Return the unique identifier of the element that originated the to do.Return the properties of the to do.int
hashCode()
Return hash code for this objectvoid
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<NewToDoActionTargetProperties> 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
(ToDoProperties properties) Set up the properties of the to do.toString()
JSON-style toString.
-
Constructor Details
-
ToDoRequestBody
public ToDoRequestBody()Default constructor -
ToDoRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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
Return the properties of the to do.- Returns:
- properties
-
setProperties
Set up the properties of the to do.- Parameters:
properties
- properties
-
getOriginatorGUID
Return the unique identifier of the element that originated the to do.- Returns:
- guid
-
setOriginatorGUID
Set up the unique identifier of the element that originated the to do.- Parameters:
originatorGUID
- guid
-
getActionSponsorGUID
Return the unique identifier of the sponsor of the To Do.- Returns:
- guid
-
setActionSponsorGUID
Set up the unique identifier of the sponsor of the To Do.- Parameters:
actionSponsorGUID
- guid
-
getAssignToActorGUID
Return the unique identifier of the action assigned to perform the work.- Returns:
- guid
-
setAssignToActorGUID
Set up the unique identifier of the action assigned to perform the work.- Parameters:
assignToActorGUID
- guid
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-