Package io.qase.client.v2.models
Class ResultStepExecution
java.lang.Object
io.qase.client.v2.models.ResultStepExecution
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ResultStepExecution
extends Object
ResultStepExecution
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachmentsItem(String attachmentsItem) attachments(List<String> attachments) booleanstatic ResultStepExecutionCreate an instance of ResultStepExecution given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get attachmentsGet commentDuration of the test step execution in milliseconds.Unix epoch time in seconds (whole part) and milliseconds (fractional part).Unix epoch time in seconds (whole part) and milliseconds (fractional part).Get statusinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttachments(List<String> attachments) voidsetComment(String comment) voidsetDuration(Long duration) voidsetEndTime(Double endTime) voidsetStartTime(Double startTime) voidsetStatus(ResultStepStatus status) status(ResultStepStatus status) toJson()Convert an instance of ResultStepExecution to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_START_TIME
- See Also:
-
SERIALIZED_NAME_END_TIME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_ATTACHMENTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ResultStepExecution
public ResultStepExecution()
-
-
Method Details
-
startTime
-
getStartTime
Unix epoch time in seconds (whole part) and milliseconds (fractional part).- Returns:
- startTime
-
setStartTime
-
endTime
-
getEndTime
Unix epoch time in seconds (whole part) and milliseconds (fractional part).- Returns:
- endTime
-
setEndTime
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
duration
-
getDuration
Duration of the test step execution in milliseconds.- Returns:
- duration
-
setDuration
-
comment
-
getComment
Get comment- Returns:
- comment
-
setComment
-
attachments
-
addAttachmentsItem
-
getAttachments
Get attachments- Returns:
- attachments
-
setAttachments
-
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 ResultStepExecution 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 ResultStepExecution
-
fromJson
Create an instance of ResultStepExecution given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResultStepExecution
- Throws:
IOException- if the JSON string is invalid with respect to ResultStepExecution
-
toJson
Convert an instance of ResultStepExecution to an JSON string- Returns:
- JSON string
-