Class BlockCommentsGenerationForFunctionResponse

java.lang.Object
ai.reveng.model.BlockCommentsGenerationForFunctionResponse

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

  • Constructor Details

    • BlockCommentsGenerationForFunctionResponse

      public BlockCommentsGenerationForFunctionResponse()
  • Method Details

    • updatedBlocks

      public BlockCommentsGenerationForFunctionResponse updatedBlocks(@Nonnull Integer updatedBlocks)
    • getUpdatedBlocks

      @Nonnull public Integer getUpdatedBlocks()
      Get updatedBlocks
      Returns:
      updatedBlocks
    • setUpdatedBlocks

      public void setUpdatedBlocks(@Nonnull Integer updatedBlocks)
    • 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 BlockCommentsGenerationForFunctionResponse
    • fromJson

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

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