Class MITRETechnique

java.lang.Object
ai.reveng.model.MITRETechnique

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

  • Constructor Details

    • MITRETechnique

      public MITRETechnique()
  • Method Details

    • startAddr

      public MITRETechnique startAddr(@Nonnull String startAddr)
    • getStartAddr

      @Nonnull public String getStartAddr()
      Starting address of the technique
      Returns:
      startAddr
    • setStartAddr

      public void setStartAddr(@Nonnull String startAddr)
    • endAddr

      public MITRETechnique endAddr(@Nonnull String endAddr)
    • getEndAddr

      @Nonnull public String getEndAddr()
      Ending address of the technique
      Returns:
      endAddr
    • setEndAddr

      public void setEndAddr(@Nonnull String endAddr)
    • functionAddr

      public MITRETechnique functionAddr(@Nonnull String functionAddr)
    • getFunctionAddr

      @Nonnull public String getFunctionAddr()
      Function address where the technique is found
      Returns:
      functionAddr
    • setFunctionAddr

      public void setFunctionAddr(@Nonnull String functionAddr)
    • techniqueId

      public MITRETechnique techniqueId(@Nonnull String techniqueId)
    • getTechniqueId

      @Nonnull public String getTechniqueId()
      MITRE technique identifier
      Returns:
      techniqueId
    • setTechniqueId

      public void setTechniqueId(@Nonnull String techniqueId)
    • techniqueName

      public MITRETechnique techniqueName(@Nonnull String techniqueName)
    • getTechniqueName

      @Nonnull public String getTechniqueName()
      Name of the MITRE technique
      Returns:
      techniqueName
    • setTechniqueName

      public void setTechniqueName(@Nonnull String techniqueName)
    • description

      public MITRETechnique description(@Nonnull String description)
    • getDescription

      @Nonnull public String getDescription()
      Description of the technique
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • functionId

      public MITRETechnique functionId(@Nonnull Integer functionId)
    • getFunctionId

      @Nonnull public Integer getFunctionId()
      Unique identifier of the function containing the technique
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Integer functionId)
    • functionName

      public MITRETechnique functionName(@Nonnull String functionName)
    • getFunctionName

      @Nonnull public String getFunctionName()
      Name of the function containing the technique
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(@Nonnull String functionName)
    • techniqueUrl

      public MITRETechnique techniqueUrl(@Nonnull String techniqueUrl)
    • getTechniqueUrl

      @Nonnull public String getTechniqueUrl()
      URL to the MITRE ATT&CK technique page
      Returns:
      techniqueUrl
    • setTechniqueUrl

      public void setTechniqueUrl(@Nonnull String techniqueUrl)
    • techniqueDescription

      public MITRETechnique techniqueDescription(@Nonnull String techniqueDescription)
    • getTechniqueDescription

      @Nonnull public String getTechniqueDescription()
      Full description of the MITRE technique from ATT&CK
      Returns:
      techniqueDescription
    • setTechniqueDescription

      public void setTechniqueDescription(@Nonnull String techniqueDescription)
    • putAdditionalProperty

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

      public static MITRETechnique fromJson(String jsonString) throws IOException
      Create an instance of MITRETechnique given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of MITRETechnique
      Throws:
      IOException - if the JSON string is invalid with respect to MITRETechnique
    • toJson

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