Package ai.reveng.model
Class NameSourceType
java.lang.Object
ai.reveng.model.NameSourceType
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class NameSourceType
extends Object
NameSourceType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe source (process) the function name came from -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisId(Integer analysisId) booleanstatic NameSourceTypeCreate an instance of NameSourceType given an JSON stringfunctionId(Integer functionId) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The analysis id of the function that the function name was copied from.The binary id of the function that the function name was copied from.The function id of the function the function name was copied from.getType()The source (process) the function name came frominthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnalysisId(Integer analysisId) voidsetBinaryId(Integer binaryId) voidsetFunctionId(Integer functionId) voidtoJson()Convert an instance of NameSourceType to an JSON stringtoString()type(NameSourceType.TypeEnum type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_FUNCTION_ID
- See Also:
-
SERIALIZED_NAME_BINARY_ID
- See Also:
-
SERIALIZED_NAME_ANALYSIS_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NameSourceType
public NameSourceType()
-
-
Method Details
-
type
-
getType
The source (process) the function name came from- Returns:
- type
-
setType
-
functionId
-
getFunctionId
The function id of the function the function name was copied from.- Returns:
- functionId
-
setFunctionId
-
binaryId
-
getBinaryId
The binary id of the function that the function name was copied from.- Returns:
- binaryId
-
setBinaryId
-
analysisId
-
getAnalysisId
The analysis id of the function that the function name was copied from.- Returns:
- analysisId
-
setAnalysisId
-
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 NameSourceType 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 NameSourceType
-
fromJson
Create an instance of NameSourceType given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NameSourceType
- Throws:
IOException- if the JSON string is invalid with respect to NameSourceType
-
toJson
Convert an instance of NameSourceType to an JSON string- Returns:
- JSON string
-