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
ConstructorsConstructorDescriptionDefault constructorToDoRequestBody(ToDoRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals 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.ToDoPropertiesReturn the properties of the to do.inthashCode()Return hash code for this objectvoidsetActionSponsorGUID(String actionSponsorGUID) Set up the unique identifier of the sponsor of the To Do.voidsetAssignToActorGUID(String assignToActorGUID) Set up the unique identifier of the action assigned to perform the work.voidsetNewActionTargetProperties(List<org.odpi.openmetadata.accessservices.communityprofile.properties.NewActionTargetProperties> newActionTargetProperties) Set up any specific action targets for the to do.voidsetOriginatorGUID(String originatorGUID) Set up the unique identifier of the element that originated the to do.voidsetProperties(org.odpi.openmetadata.accessservices.communityprofile.properties.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
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
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.- Overrides:
toStringin classorg.odpi.openmetadata.accessservices.communityprofile.rest.CommunityProfileOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-