public class CreateTestRunRequest extends AbstractQTestApiServiceRequest
projectId| Constructor and Description |
|---|
CreateTestRunRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getArtifactId() |
ArtifactLevel |
getArtifactLevel() |
java.lang.String |
getExternalToken() |
TestRun |
getTestRun() |
void |
setArtifactId(java.lang.Long artifactId)
Sets the test cycle identifier where to fetch the test suites.
|
void |
setArtifactLevel(ArtifactLevel artifactLevel)
Sets the artifact level.
|
void |
setExternalToken(java.lang.String externalToken)
Sets the external token.
|
void |
setTestRun(TestRun testRun)
Sets the test-run instance.
|
java.lang.String |
toString() |
CreateTestRunRequest |
withArtifactId(java.lang.Long artifactId)
Sets the artifact identifier where to fetch the test suites.
|
CreateTestRunRequest |
withArtifactLevel(ArtifactLevel artifactLevel)
Sets the artifact level.
|
CreateTestRunRequest |
withExternalToken(java.lang.String externalToken)
Sets the external token.
|
CreateTestRunRequest |
withProjectId(java.lang.Long projectId)
Sets the project identifier.
|
CreateTestRunRequest |
withTestRun(TestRun testRun)
Sets the test-run instance.
|
getProjectId, setProjectIdcopyPrivateRequestParameters, getCredentials, getRequestClientOptions, setCredentials, withCredentialspublic CreateTestRunRequest withProjectId(java.lang.Long projectId)
projectId - the given project identifier to set.public java.lang.Long getArtifactId()
public void setArtifactId(java.lang.Long artifactId)
artifactId - the given test artifact identifier.public CreateTestRunRequest withArtifactId(java.lang.Long artifactId)
artifactId - the given artifact identifier to set.public ArtifactLevel getArtifactLevel()
public void setArtifactLevel(ArtifactLevel artifactLevel)
artifactLevel - the given artifact level instance.public CreateTestRunRequest withArtifactLevel(ArtifactLevel artifactLevel)
artifactLevel - the given artifact level instance.public TestRun getTestRun()
public void setTestRun(TestRun testRun)
testRun - the given test-run instance.public CreateTestRunRequest withTestRun(TestRun testRun)
testRun - the given test-run instance.public java.lang.String getExternalToken()
public void setExternalToken(java.lang.String externalToken)
externalToken - the given external token to set.public CreateTestRunRequest withExternalToken(java.lang.String externalToken)
externalToken - the given external token to set.public java.lang.String toString()
toString in class ApiServiceRequest