Class CohortConfigResponse
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
-
- org.odpi.openmetadata.adminservices.rest.AdminServicesAPIResponse
-
- org.odpi.openmetadata.adminservices.rest.CohortConfigResponse
-
- All Implemented Interfaces:
Serializable,FFDCResponse
public class CohortConfigResponse extends AdminServicesAPIResponse
CohortConfigResponse is the response structure used on the OMAG REST API calls that returns a CohortConfig object as a response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CohortConfigResponse()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.CohortConfiggetConfig()Return the config object.inthashCode()Create a hash code for this element type.voidsetConfig(CohortConfig config)Set up the config object.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
-
-
-
Method Detail
-
getConfig
public CohortConfig getConfig()
Return the config object.- Returns:
- CohortConfig object
-
setConfig
public void setConfig(CohortConfig config)
Set up the config object.- Parameters:
config- - CohortConfig object
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAdminServicesAPIResponse- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classFFDCResponseBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classFFDCResponseBase- Returns:
- int hash code
-
-