Package ai.reveng.model
Class Communities
java.lang.Object
ai.reveng.model.Communities
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Communities
extends Object
Communities
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDirectCommunityMatchPercentagesItem(CommunityMatchPercentages directCommunityMatchPercentagesItem) addTopComponentsItem(Map<String, Object> topComponentsItem) directCommunityMatchPercentages(List<CommunityMatchPercentages> directCommunityMatchPercentages) booleanstatic CommunitiesCreate an instance of Communities given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The list of directly matched communitiesThe top components of the binaryThe total number of matched community functionsThe total number of functions in the binaryinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDirectCommunityMatchPercentages(List<CommunityMatchPercentages> directCommunityMatchPercentages) voidsetTopComponents(List<Map<String, Object>> topComponents) voidsetTotalFunctions(Integer totalFunctions) voidsetTotalMatchedFunctions(Integer totalMatchedFunctions) toJson()Convert an instance of Communities to an JSON stringtopComponents(List<Map<String, Object>> topComponents) toString()totalFunctions(Integer totalFunctions) totalMatchedFunctions(Integer totalMatchedFunctions) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TOTAL_FUNCTIONS
- See Also:
-
SERIALIZED_NAME_TOTAL_MATCHED_FUNCTIONS
- See Also:
-
SERIALIZED_NAME_DIRECT_COMMUNITY_MATCH_PERCENTAGES
- See Also:
-
SERIALIZED_NAME_TOP_COMPONENTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Communities
public Communities()
-
-
Method Details
-
totalFunctions
-
getTotalFunctions
The total number of matched community functions- Returns:
- totalFunctions
-
setTotalFunctions
-
totalMatchedFunctions
-
getTotalMatchedFunctions
The total number of functions in the binary- Returns:
- totalMatchedFunctions
-
setTotalMatchedFunctions
-
directCommunityMatchPercentages
public Communities directCommunityMatchPercentages(@Nonnull List<CommunityMatchPercentages> directCommunityMatchPercentages) -
addDirectCommunityMatchPercentagesItem
public Communities addDirectCommunityMatchPercentagesItem(CommunityMatchPercentages directCommunityMatchPercentagesItem) -
getDirectCommunityMatchPercentages
The list of directly matched communities- Returns:
- directCommunityMatchPercentages
-
setDirectCommunityMatchPercentages
public void setDirectCommunityMatchPercentages(@Nonnull List<CommunityMatchPercentages> directCommunityMatchPercentages) -
topComponents
-
addTopComponentsItem
-
getTopComponents
The top components of the binary- Returns:
- topComponents
-
setTopComponents
-
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 Communities 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 Communities
-
fromJson
Create an instance of Communities given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Communities
- Throws:
IOException- if the JSON string is invalid with respect to Communities
-
toJson
Convert an instance of Communities to an JSON string- Returns:
- JSON string
-