Class UseTypeRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
org.odpi.openmetadata.accessservices.itinfrastructure.rest.UseTypeRequestBody
public class UseTypeRequestBody
extends org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
UseTypeRequestBody for passing the use type and effective time.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUseTypeRequestBody(UseTypeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.openmetadata.enums.ServerAssetUseTypeReturn the use type to use for the query.inthashCode()Return hash code for this objectvoidsetUseType(org.odpi.openmetadata.frameworks.openmetadata.enums.ServerAssetUseType useType) Set up the use type to use for the query.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
getEffectiveTime, setEffectiveTime
-
Constructor Details
-
UseTypeRequestBody
public UseTypeRequestBody()Default constructor -
UseTypeRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getUseType
public org.odpi.openmetadata.frameworks.openmetadata.enums.ServerAssetUseType getUseType()Return the use type to use for the query.- Returns:
- enum
-
setUseType
public void setUseType(org.odpi.openmetadata.frameworks.openmetadata.enums.ServerAssetUseType useType) Set up the use type to use for the query.- Parameters:
useType- enum
-
toString
JSON-style toString- Overrides:
toStringin classorg.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classorg.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody- Returns:
- int hash code
-