Class RequestTypeRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.gaf.rest.RequestTypeRequestBody
-
- All Implemented Interfaces:
Serializable
public class RequestTypeRequestBody extends Object implements Serializable
RequestTypeRequestBody provides a structure for passing a requestType and requestParameters as a request body over a REST API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestTypeRequestBody()Default constructorRequestTypeRequestBody(RequestTypeRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.Map<String,String>getRequestParameters()Return the parameters used to adapt the governance service's work.List<String>getRequestType()Return the request type.inthashCode()Return hash code for this objectvoidsetRequestParameters(Map<String,String> requestParameters)Set up the parameters used to adapt the governance service's work.voidsetRequestType(List<String> requestType)Set up the request type.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
RequestTypeRequestBody
public RequestTypeRequestBody()
Default constructor
-
RequestTypeRequestBody
public RequestTypeRequestBody(RequestTypeRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRequestType
public List<String> getRequestType()
Return the request type. This maps to a specific governance service running in the governance engine.- Returns:
- string name
-
setRequestType
public void setRequestType(List<String> requestType)
Set up the request type. This maps to a specific governance service running in the governance engine.- Parameters:
requestType- list of types
-
getRequestParameters
public Map<String,String> getRequestParameters()
Return the parameters used to adapt the governance service's work.- Returns:
- map storing the request parameters
-
setRequestParameters
public void setRequestParameters(Map<String,String> requestParameters)
Set up the parameters used to adapt the governance service's work.- Parameters:
requestParameters- map storing the request parameters
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-