Class ResultCreateFields

java.lang.Object
io.qase.client.v2.models.ResultCreateFields

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ResultCreateFields extends Object
ResultCreateFields
  • Field Details

  • Constructor Details

    • ResultCreateFields

      public ResultCreateFields()
  • Method Details

    • author

      public ResultCreateFields author(String author)
    • getAuthor

      @Nullable public String getAuthor()
      Author of the related test case (member id, name or email). If set and test case auto-creation is enabled, the author will be used to create the test case
      Returns:
      author
    • setAuthor

      public void setAuthor(String author)
    • description

      public ResultCreateFields description(String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • preconditions

      public ResultCreateFields preconditions(String preconditions)
    • getPreconditions

      @Nullable public String getPreconditions()
      Get preconditions
      Returns:
      preconditions
    • setPreconditions

      public void setPreconditions(String preconditions)
    • postconditions

      public ResultCreateFields postconditions(String postconditions)
    • getPostconditions

      @Nullable public String getPostconditions()
      Get postconditions
      Returns:
      postconditions
    • setPostconditions

      public void setPostconditions(String postconditions)
    • layer

      public ResultCreateFields layer(String layer)
    • getLayer

      @Nullable public String getLayer()
      Get layer
      Returns:
      layer
    • setLayer

      public void setLayer(String layer)
    • severity

      public ResultCreateFields severity(String severity)
    • getSeverity

      @Nullable public String getSeverity()
      Get severity
      Returns:
      severity
    • setSeverity

      public void setSeverity(String severity)
    • priority

      public ResultCreateFields priority(String priority)
    • getPriority

      @Nullable public String getPriority()
      Get priority
      Returns:
      priority
    • setPriority

      public void setPriority(String priority)
    • behavior

      public ResultCreateFields behavior(String behavior)
    • getBehavior

      @Nullable public String getBehavior()
      Get behavior
      Returns:
      behavior
    • setBehavior

      public void setBehavior(String behavior)
    • type

      public ResultCreateFields type(String type)
    • getType

      @Nullable public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(String type)
    • muted

      public ResultCreateFields muted(String muted)
    • getMuted

      @Nullable public String getMuted()
      Get muted
      Returns:
      muted
    • setMuted

      public void setMuted(String muted)
    • isFlaky

      public ResultCreateFields isFlaky(String isFlaky)
    • getIsFlaky

      @Nullable public String getIsFlaky()
      Get isFlaky
      Returns:
      isFlaky
    • setIsFlaky

      public void setIsFlaky(String isFlaky)
    • executedBy

      public ResultCreateFields executedBy(String executedBy)
    • getExecutedBy

      @Nullable public String getExecutedBy()
      User who executed the test (member id, name or email)
      Returns:
      executedBy
    • setExecutedBy

      public void setExecutedBy(String executedBy)
    • putAdditionalProperty

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

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

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