com.google.api.services.testing.model.AndroidMatrix Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2017-11-07 19:12:12 UTC)
* on 2017-11-15 at 02:35:13 UTC
* Modify at your own risk.
*/
package com.google.api.services.testing.model;
/**
* A set of Android device configuration permutations is defined by the the cross-product of the
* given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices.
*
* Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible
* models/versions) are ignored.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Testing API. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AndroidMatrix extends com.google.api.client.json.GenericJson {
/**
* The ids of the set of Android device to be used. Use the EnvironmentDiscoveryService to get
* supported options. Required
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List androidModelIds;
/**
* The ids of the set of Android OS version to be used. Use the EnvironmentDiscoveryService to get
* supported options. Required
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List androidVersionIds;
/**
* The set of locales the test device will enable for testing. Use the EnvironmentDiscoveryService
* to get supported options. Required
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List locales;
/**
* The set of orientations to test with. Use the EnvironmentDiscoveryService to get supported
* options. Required
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List orientations;
/**
* The ids of the set of Android device to be used. Use the EnvironmentDiscoveryService to get
* supported options. Required
* @return value or {@code null} for none
*/
public java.util.List getAndroidModelIds() {
return androidModelIds;
}
/**
* The ids of the set of Android device to be used. Use the EnvironmentDiscoveryService to get
* supported options. Required
* @param androidModelIds androidModelIds or {@code null} for none
*/
public AndroidMatrix setAndroidModelIds(java.util.List androidModelIds) {
this.androidModelIds = androidModelIds;
return this;
}
/**
* The ids of the set of Android OS version to be used. Use the EnvironmentDiscoveryService to get
* supported options. Required
* @return value or {@code null} for none
*/
public java.util.List getAndroidVersionIds() {
return androidVersionIds;
}
/**
* The ids of the set of Android OS version to be used. Use the EnvironmentDiscoveryService to get
* supported options. Required
* @param androidVersionIds androidVersionIds or {@code null} for none
*/
public AndroidMatrix setAndroidVersionIds(java.util.List androidVersionIds) {
this.androidVersionIds = androidVersionIds;
return this;
}
/**
* The set of locales the test device will enable for testing. Use the EnvironmentDiscoveryService
* to get supported options. Required
* @return value or {@code null} for none
*/
public java.util.List getLocales() {
return locales;
}
/**
* The set of locales the test device will enable for testing. Use the EnvironmentDiscoveryService
* to get supported options. Required
* @param locales locales or {@code null} for none
*/
public AndroidMatrix setLocales(java.util.List locales) {
this.locales = locales;
return this;
}
/**
* The set of orientations to test with. Use the EnvironmentDiscoveryService to get supported
* options. Required
* @return value or {@code null} for none
*/
public java.util.List getOrientations() {
return orientations;
}
/**
* The set of orientations to test with. Use the EnvironmentDiscoveryService to get supported
* options. Required
* @param orientations orientations or {@code null} for none
*/
public AndroidMatrix setOrientations(java.util.List orientations) {
this.orientations = orientations;
return this;
}
@Override
public AndroidMatrix set(String fieldName, Object value) {
return (AndroidMatrix) super.set(fieldName, value);
}
@Override
public AndroidMatrix clone() {
return (AndroidMatrix) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy