Class AppApiRestV2AgentSchemaCapability

java.lang.Object
ai.reveng.model.AppApiRestV2AgentSchemaCapability

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AppApiRestV2AgentSchemaCapability extends Object
AppApiRestV2AgentSchemaCapability
  • Field Details

  • Constructor Details

    • AppApiRestV2AgentSchemaCapability

      public AppApiRestV2AgentSchemaCapability()
  • Method Details

    • functionVaddr

      public AppApiRestV2AgentSchemaCapability functionVaddr(@Nonnull String functionVaddr)
    • getFunctionVaddr

      @Nonnull public String getFunctionVaddr()
      Vaddr of the function containing the capability
      Returns:
      functionVaddr
    • setFunctionVaddr

      public void setFunctionVaddr(@Nonnull String functionVaddr)
    • description

      public AppApiRestV2AgentSchemaCapability description(@Nonnull String description)
    • getDescription

      @Nonnull public String getDescription()
      Description of the capability
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • capability

      public AppApiRestV2AgentSchemaCapability capability(@Nonnull String capability)
    • getCapability

      @Nonnull public String getCapability()
      Name of the capability
      Returns:
      capability
    • setCapability

      public void setCapability(@Nonnull String capability)
    • type

    • getType

      @Nonnull public AppApiRestV2AgentSchemaCapability.TypeEnum getType()
      Type of the capability
      Returns:
      type
    • setType

      public void setType(@Nonnull AppApiRestV2AgentSchemaCapability.TypeEnum type)
    • functionName

      public AppApiRestV2AgentSchemaCapability functionName(@Nonnull String functionName)
    • getFunctionName

      @Nonnull public String getFunctionName()
      Name of the function containing the capability
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(@Nonnull String functionName)
    • functionId

      public AppApiRestV2AgentSchemaCapability functionId(@Nonnull Integer functionId)
    • getFunctionId

      @Nonnull public Integer getFunctionId()
      ID of the function containing the capability
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Integer functionId)
    • putAdditionalProperty

      public AppApiRestV2AgentSchemaCapability putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the AppApiRestV2AgentSchemaCapability instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to AppApiRestV2AgentSchemaCapability
    • fromJson

      public static AppApiRestV2AgentSchemaCapability fromJson(String jsonString) throws IOException
      Create an instance of AppApiRestV2AgentSchemaCapability given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of AppApiRestV2AgentSchemaCapability
      Throws:
      IOException - if the JSON string is invalid with respect to AppApiRestV2AgentSchemaCapability
    • toJson

      public String toJson()
      Convert an instance of AppApiRestV2AgentSchemaCapability to an JSON string
      Returns:
      JSON string