Class InstanceStatusRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.InstanceStatusRequest
- All Implemented Interfaces:
RequestIdService
InstanceStatusRequest carries the properties needed to update the status of an entity, relationship, or classification.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorInstanceStatusRequest(InstanceStatusRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of properties for the new entity.inthashCode()Create a hash code for this element type.voidsetInstanceStatus(InstanceStatus instanceStatus) Set up the initial properties for the entity.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
InstanceStatusRequest
public InstanceStatusRequest()Default constructor -
InstanceStatusRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getInstanceStatus
Return the list of properties for the new entity.- Returns:
- instance properties object
-
setInstanceStatus
Set up the initial properties for the entity.- Parameters:
instanceStatus- InstanceProperties object
-
toString
Standard toString method.- Overrides:
toStringin classOMRSAPIRequest- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOMRSAPIRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIRequest- Returns:
- int hash code
-