Class Communities

java.lang.Object
ai.reveng.model.Communities

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

    • SERIALIZED_NAME_TOTAL_FUNCTIONS

      public static final String SERIALIZED_NAME_TOTAL_FUNCTIONS
      See Also:
    • SERIALIZED_NAME_TOTAL_MATCHED_FUNCTIONS

      public static final String SERIALIZED_NAME_TOTAL_MATCHED_FUNCTIONS
      See Also:
    • SERIALIZED_NAME_DIRECT_COMMUNITY_MATCH_PERCENTAGES

      public static final String SERIALIZED_NAME_DIRECT_COMMUNITY_MATCH_PERCENTAGES
      See Also:
    • SERIALIZED_NAME_TOP_COMPONENTS

      public static final String SERIALIZED_NAME_TOP_COMPONENTS
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • Communities

      public Communities()
  • Method Details

    • totalFunctions

      public Communities totalFunctions(@Nonnull Integer totalFunctions)
    • getTotalFunctions

      @Nonnull public Integer getTotalFunctions()
      The total number of matched community functions
      Returns:
      totalFunctions
    • setTotalFunctions

      public void setTotalFunctions(@Nonnull Integer totalFunctions)
    • totalMatchedFunctions

      public Communities totalMatchedFunctions(@Nonnull Integer totalMatchedFunctions)
    • getTotalMatchedFunctions

      @Nonnull public Integer getTotalMatchedFunctions()
      The total number of functions in the binary
      Returns:
      totalMatchedFunctions
    • setTotalMatchedFunctions

      public void setTotalMatchedFunctions(@Nonnull Integer totalMatchedFunctions)
    • directCommunityMatchPercentages

      public Communities directCommunityMatchPercentages(@Nonnull List<CommunityMatchPercentages> directCommunityMatchPercentages)
    • addDirectCommunityMatchPercentagesItem

      public Communities addDirectCommunityMatchPercentagesItem(CommunityMatchPercentages directCommunityMatchPercentagesItem)
    • getDirectCommunityMatchPercentages

      @Nonnull public List<CommunityMatchPercentages> getDirectCommunityMatchPercentages()
      The list of directly matched communities
      Returns:
      directCommunityMatchPercentages
    • setDirectCommunityMatchPercentages

      public void setDirectCommunityMatchPercentages(@Nonnull List<CommunityMatchPercentages> directCommunityMatchPercentages)
    • topComponents

      public Communities topComponents(@Nonnull List<Map<String,Object>> topComponents)
    • addTopComponentsItem

      public Communities addTopComponentsItem(Map<String,Object> topComponentsItem)
    • getTopComponents

      @Nonnull public List<Map<String,Object>> getTopComponents()
      The top components of the binary
      Returns:
      topComponents
    • setTopComponents

      public void setTopComponents(@Nonnull List<Map<String,Object>> topComponents)
    • putAdditionalProperty

      public Communities 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 Communities 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 Communities
    • fromJson

      public static Communities fromJson(String jsonString) throws IOException
      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

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