src/main/java/org/testobject/rest/api/resource/v2/AppiumReportResource.java
/**
	 * Start a new suite execution including its test executions
	 */
Start a new suite execution including its test executions
Start a new suite execution including its test executions
public SuiteReport startAppiumSuite(long suiteId, Optional<String> appId, Set<Test> tests) {
		WebTarget target = client
				.path("v2")
				.path("appium")
				.path("suites").path(Long.toString(suiteId))
				.path("reports")
				.path("start");
		if (appId.isPresent()) {
			target = target.queryParam("appId", appId.get());
		}
		return target
				.request(APPLICATION_JSON_TYPE)
				.post(Entity.json(tests), SuiteReport.class);
	}
public SuiteReport startAppiumSuite ( long suiteId , Optional < String > appId , Set < Test > tests ) { WebTarget target = client . path ( "v2" ) . path ( "appium" ) . path ( "suites" ) . path ( Long . toString ( suiteId ) ) . path ( "reports" ) . path ( "start" ) ; if ( appId . isPresent ( ) ) { target = target . queryParam ( "appId" , appId . get ( ) ) ; } return target . request ( APPLICATION_JSON_TYPE ) . post ( Entity . json ( tests ) , SuiteReport . class ) ; }
Start a new suite execution including its test executions
Start a new suite execution including its test executions