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

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    org.odpi.openmetadata.frameworks.openmetadata.enums.ServerAssetUseType
    Return the use type to use for the query.
    int
    Return hash code for this object
    void
    setUseType(org.odpi.openmetadata.frameworks.openmetadata.enums.ServerAssetUseType useType)
    Set up the use type to use for the query.
    JSON-style toString

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody

    getEffectiveTime, setEffectiveTime

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UseTypeRequestBody

      public UseTypeRequestBody()
      Default constructor
    • UseTypeRequestBody

      public UseTypeRequestBody(UseTypeRequestBody template)
      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

      public String toString()
      JSON-style toString
      Overrides:
      toString in class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
      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:
      equals in class org.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:
      hashCode in class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
      Returns:
      int hash code