Package ai.reveng.model
Class AppApiRestV2AgentSchemaCapability
java.lang.Object
ai.reveng.model.AppApiRestV2AgentSchemaCapability
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AppApiRestV2AgentSchemaCapability
extends Object
AppApiRestV2AgentSchemaCapability
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumType of the capability -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapability(String capability) description(String description) booleanCreate an instance of AppApiRestV2AgentSchemaCapability given an JSON stringfunctionId(Integer functionId) functionName(String functionName) functionVaddr(String functionVaddr) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Name of the capabilityDescription of the capabilityID of the function containing the capabilityName of the function containing the capabilityVaddr of the function containing the capabilitygetType()Type of the capabilityinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCapability(String capability) voidsetDescription(String description) voidsetFunctionId(Integer functionId) voidsetFunctionName(String functionName) voidsetFunctionVaddr(String functionVaddr) voidtoJson()Convert an instance of AppApiRestV2AgentSchemaCapability to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FUNCTION_VADDR
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_CAPABILITY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_FUNCTION_NAME
- See Also:
-
SERIALIZED_NAME_FUNCTION_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AppApiRestV2AgentSchemaCapability
public AppApiRestV2AgentSchemaCapability()
-
-
Method Details
-
functionVaddr
-
getFunctionVaddr
Vaddr of the function containing the capability- Returns:
- functionVaddr
-
setFunctionVaddr
-
description
-
getDescription
Description of the capability- Returns:
- description
-
setDescription
-
capability
-
getCapability
Name of the capability- Returns:
- capability
-
setCapability
-
type
public AppApiRestV2AgentSchemaCapability type(@Nonnull AppApiRestV2AgentSchemaCapability.TypeEnum type) -
getType
Type of the capability- Returns:
- type
-
setType
-
functionName
-
getFunctionName
Name of the function containing the capability- Returns:
- functionName
-
setFunctionName
-
functionId
-
getFunctionId
ID of the function containing the capability- Returns:
- functionId
-
setFunctionId
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the AppApiRestV2AgentSchemaCapability instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of AppApiRestV2AgentSchemaCapability to an JSON string- Returns:
- JSON string
-