Package ai.reveng.model
Class MatchFilters
java.lang.Object
ai.reveng.model.MatchFilters
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class MatchFilters
extends Object
MatchFilters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRestrict matches to this architecture (multi-platform models only; matches all architectures if omitted).static classstatic enumRestrict matches to this platform (multi-platform models only; matches all platforms if omitted). -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBinaryIdsItem(Long binaryIdsItem) addCollectionIdsItem(Long collectionIdsItem) addDebugTypesItem(String debugTypesItem) addFunctionIdsItem(Long functionIdsItem) addUserIdsItem(Long userIdsItem) arch(MatchFilters.ArchEnum arch) collectionIds(List<Long> collectionIds) debugTypes(List<String> debugTypes) booleanstatic MatchFiltersCreate an instance of MatchFilters given an JSON stringfunctionIds(List<Long> functionIds) getArch()Restrict matches to this architecture (multi-platform models only; matches all architectures if omitted).Restrict the candidate pool to these binary IDs.getBits()Restrict matches to this word size (multi-platform models only).Restrict the candidate pool to binaries in these collection IDs.Restrict matches to candidates with these debug source types.Restrict the candidate pool to these function IDs.Restrict matches to this platform (multi-platform models only; matches all platforms if omitted).Restrict the candidate pool to functions owned by these user IDs.inthashCode()platform(MatchFilters.PlatformEnum platform) voidsetArch(MatchFilters.ArchEnum arch) voidsetBinaryIds(List<Long> binaryIds) voidvoidsetCollectionIds(List<Long> collectionIds) voidsetDebugTypes(List<String> debugTypes) voidsetFunctionIds(List<Long> functionIds) voidsetPlatform(MatchFilters.PlatformEnum platform) voidsetUserIds(List<Long> userIds) toJson()Convert an instance of MatchFilters 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_ARCH
- See Also:
-
SERIALIZED_NAME_BINARY_IDS
- See Also:
-
SERIALIZED_NAME_BITS
- See Also:
-
SERIALIZED_NAME_COLLECTION_IDS
- See Also:
-
SERIALIZED_NAME_DEBUG_TYPES
- See Also:
-
SERIALIZED_NAME_FUNCTION_IDS
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
SERIALIZED_NAME_USER_IDS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MatchFilters
public MatchFilters()
-
-
Method Details
-
arch
-
getArch
Restrict matches to this architecture (multi-platform models only; matches all architectures if omitted). Rejected for single-architecture models.- Returns:
- arch
-
setArch
-
binaryIds
-
addBinaryIdsItem
-
getBinaryIds
Restrict the candidate pool to these binary IDs.- Returns:
- binaryIds
-
setBinaryIds
-
bits
-
getBits
Restrict matches to this word size (multi-platform models only). Rejected for single-architecture models.- Returns:
- bits
-
setBits
-
collectionIds
-
addCollectionIdsItem
-
getCollectionIds
Restrict the candidate pool to binaries in these collection IDs.- Returns:
- collectionIds
-
setCollectionIds
-
debugTypes
-
addDebugTypesItem
-
getDebugTypes
Restrict matches to candidates with these debug source types. Accepted: SYSTEM, USER.- Returns:
- debugTypes
-
setDebugTypes
-
functionIds
-
addFunctionIdsItem
-
getFunctionIds
Restrict the candidate pool to these function IDs.- Returns:
- functionIds
-
setFunctionIds
-
platform
-
getPlatform
Restrict matches to this platform (multi-platform models only; matches all platforms if omitted). Rejected for single-architecture models.- Returns:
- platform
-
setPlatform
-
userIds
-
addUserIdsItem
-
getUserIds
Restrict the candidate pool to functions owned by these user IDs.- Returns:
- userIds
-
setUserIds
-
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 MatchFilters
-
fromJson
Create an instance of MatchFilters given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MatchFilters
- Throws:
IOException- if the JSON string is invalid with respect to MatchFilters
-
toJson
Convert an instance of MatchFilters to an JSON string- Returns:
- JSON string
-