All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testobject.appium.common.data.Suite Maven / Gradle / Ivy

There is a newer version: 0.2.7
Show newest version
package org.testobject.appium.common.data;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Set;

public class Suite {

	public static class Id extends org.testobject.appium.common.data.Id {
		public Id(Integer value) {
			super(value);
		}
	}

	private final Id id;
	private final String title;
	private final long appVersionId;
	private final String frameworkVersion;
	private final Set deviceIds;

	@JsonCreator
	public Suite(
			@JsonProperty("id") Id id,
			@JsonProperty("title") String title,
			@JsonProperty("appVersionId") long appVersionId,
			@JsonProperty("frameworkVersion") String frameworkVersion,
			@JsonProperty("deviceIds") Set deviceIds) {

		this.id = id;
		this.title = title;
		this.appVersionId = appVersionId;
		this.frameworkVersion = frameworkVersion;
		this.deviceIds = deviceIds;
	}

	public Id getId() {
		return id;
	}

	public String getTitle() {
		return title;
	}

	public long getAppVersionId() {
		return appVersionId;
	}

	public String getFrameworkVersion() {
		return frameworkVersion;
	}

	public Set getDeviceIds() {
		return deviceIds;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy