Class UseTypeRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
-
- org.odpi.openmetadata.accessservices.devops.rest.UseTypeRequestBody
-
- All Implemented Interfaces:
Serializable
public class UseTypeRequestBody extends EffectiveTimeRequestBody
UseTypeRequestBody for passing the use type and effective time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UseTypeRequestBody()Default constructorUseTypeRequestBody(UseTypeRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ServerAssetUseTypegetUseType()Return the use type to use for the query.inthashCode()Return hash code for this objectvoidsetUseType(ServerAssetUseType useType)Set up the use type to use for the query.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
getEffectiveTime, setEffectiveTime
-
-
-
-
Constructor Detail
-
UseTypeRequestBody
public UseTypeRequestBody()
Default constructor
-
UseTypeRequestBody
public UseTypeRequestBody(UseTypeRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getUseType
public ServerAssetUseType getUseType()
Return the use type to use for the query.- Returns:
- enum
-
setUseType
public void setUseType(ServerAssetUseType useType)
Set up the use type to use for the query.- Parameters:
useType- enum
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classEffectiveTimeRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classEffectiveTimeRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classEffectiveTimeRequestBody- Returns:
- int hash code
-
-