com.google.api.services.testing.model.AndroidTestLoop 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 test of an Android Application with a Test Loop. The intent will be implicitly added, since
* Games is the only user of this api, for the time being.
*
* 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 AndroidTestLoop extends com.google.api.client.json.GenericJson {
/**
* The APK for the application under test. Required
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private FileReference appApk;
/**
* The java package for the application under test. Optional, default is determined by examining
* the application's manifest.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String appPackageId;
/**
* The list of scenario labels that should be run during the test. The scenario labels should map
* to labels defined in the application's manifest. For example, player_experience and
* com.google.test.loops.player_experience add all of the loops labeled in the manifest with the
* com.google.test.loops.player_experience name to the execution. Optional. Scenarios can also be
* specified in the scenarios field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List scenarioLabels;
/**
* The list of scenarios that should be run during the test. Optional, default is all test loops,
* derived from the application's manifest.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List scenarios;
/**
* The APK for the application under test. Required
* @return value or {@code null} for none
*/
public FileReference getAppApk() {
return appApk;
}
/**
* The APK for the application under test. Required
* @param appApk appApk or {@code null} for none
*/
public AndroidTestLoop setAppApk(FileReference appApk) {
this.appApk = appApk;
return this;
}
/**
* The java package for the application under test. Optional, default is determined by examining
* the application's manifest.
* @return value or {@code null} for none
*/
public java.lang.String getAppPackageId() {
return appPackageId;
}
/**
* The java package for the application under test. Optional, default is determined by examining
* the application's manifest.
* @param appPackageId appPackageId or {@code null} for none
*/
public AndroidTestLoop setAppPackageId(java.lang.String appPackageId) {
this.appPackageId = appPackageId;
return this;
}
/**
* The list of scenario labels that should be run during the test. The scenario labels should map
* to labels defined in the application's manifest. For example, player_experience and
* com.google.test.loops.player_experience add all of the loops labeled in the manifest with the
* com.google.test.loops.player_experience name to the execution. Optional. Scenarios can also be
* specified in the scenarios field.
* @return value or {@code null} for none
*/
public java.util.List getScenarioLabels() {
return scenarioLabels;
}
/**
* The list of scenario labels that should be run during the test. The scenario labels should map
* to labels defined in the application's manifest. For example, player_experience and
* com.google.test.loops.player_experience add all of the loops labeled in the manifest with the
* com.google.test.loops.player_experience name to the execution. Optional. Scenarios can also be
* specified in the scenarios field.
* @param scenarioLabels scenarioLabels or {@code null} for none
*/
public AndroidTestLoop setScenarioLabels(java.util.List scenarioLabels) {
this.scenarioLabels = scenarioLabels;
return this;
}
/**
* The list of scenarios that should be run during the test. Optional, default is all test loops,
* derived from the application's manifest.
* @return value or {@code null} for none
*/
public java.util.List getScenarios() {
return scenarios;
}
/**
* The list of scenarios that should be run during the test. Optional, default is all test loops,
* derived from the application's manifest.
* @param scenarios scenarios or {@code null} for none
*/
public AndroidTestLoop setScenarios(java.util.List scenarios) {
this.scenarios = scenarios;
return this;
}
@Override
public AndroidTestLoop set(String fieldName, Object value) {
return (AndroidTestLoop) super.set(fieldName, value);
}
@Override
public AndroidTestLoop clone() {
return (AndroidTestLoop) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy