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

com.saucelabs.rdc.model.DataCenterSuite Maven / Gradle / Ivy

Go to download

Library for running Appium test suites and updating test status on Sauce Labs Real Device Cloud (RDC)

The newest version!
package com.saucelabs.rdc.model;

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

import java.net.URL;
import java.util.Set;

@JsonIgnoreProperties(ignoreUnknown = true)
public class DataCenterSuite {
	public Set deviceDescriptorIds;
	public URL dataCenterUrl;
	public String dataCenterId;

	@JsonCreator
	public DataCenterSuite(@JsonProperty("dataCenterId") String dataCenterId, @JsonProperty("dataCenterURL") URL dataCenterUrl,
			@JsonProperty("deviceIds") Set deviceDescriptorIds) {
		this.dataCenterId = dataCenterId;
		this.dataCenterUrl = dataCenterUrl;
		this.deviceDescriptorIds = deviceDescriptorIds;
	}

	public Set getDeviceDescriptorIds() {
		return deviceDescriptorIds;
	}

	public URL getDataCenterUrl() {
		return dataCenterUrl;
	}

	public String getDataCenterId() {
		return dataCenterId;
	}

	@Override public String toString() {
		return "DataCenterSuite{" +
				"deviceDescriptorIds=" + deviceDescriptorIds +
				", dataCenterUrl=" + dataCenterUrl +
				", dataCenterId='" + dataCenterId + '\'' +
				'}';
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy