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

com.google.api.services.toolresults.model.IosTest Maven / Gradle / Ivy

/*
 * 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/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.toolresults.model;

/**
 * A iOS mobile test specification
 *
 * 

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 Cloud Tool Results 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 IosTest extends com.google.api.client.json.GenericJson { /** * Information about the application under test. * The value may be {@code null}. */ @com.google.api.client.util.Key private IosAppInfo iosAppInfo; /** * An iOS Robo test. * The value may be {@code null}. */ @com.google.api.client.util.Key private IosRoboTest iosRoboTest; /** * An iOS test loop. * The value may be {@code null}. */ @com.google.api.client.util.Key private IosTestLoop iosTestLoop; /** * An iOS XCTest. * The value may be {@code null}. */ @com.google.api.client.util.Key private IosXcTest iosXcTest; /** * Max time a test is allowed to run before it is automatically cancelled. * The value may be {@code null}. */ @com.google.api.client.util.Key private Duration testTimeout; /** * Information about the application under test. * @return value or {@code null} for none */ public IosAppInfo getIosAppInfo() { return iosAppInfo; } /** * Information about the application under test. * @param iosAppInfo iosAppInfo or {@code null} for none */ public IosTest setIosAppInfo(IosAppInfo iosAppInfo) { this.iosAppInfo = iosAppInfo; return this; } /** * An iOS Robo test. * @return value or {@code null} for none */ public IosRoboTest getIosRoboTest() { return iosRoboTest; } /** * An iOS Robo test. * @param iosRoboTest iosRoboTest or {@code null} for none */ public IosTest setIosRoboTest(IosRoboTest iosRoboTest) { this.iosRoboTest = iosRoboTest; return this; } /** * An iOS test loop. * @return value or {@code null} for none */ public IosTestLoop getIosTestLoop() { return iosTestLoop; } /** * An iOS test loop. * @param iosTestLoop iosTestLoop or {@code null} for none */ public IosTest setIosTestLoop(IosTestLoop iosTestLoop) { this.iosTestLoop = iosTestLoop; return this; } /** * An iOS XCTest. * @return value or {@code null} for none */ public IosXcTest getIosXcTest() { return iosXcTest; } /** * An iOS XCTest. * @param iosXcTest iosXcTest or {@code null} for none */ public IosTest setIosXcTest(IosXcTest iosXcTest) { this.iosXcTest = iosXcTest; return this; } /** * Max time a test is allowed to run before it is automatically cancelled. * @return value or {@code null} for none */ public Duration getTestTimeout() { return testTimeout; } /** * Max time a test is allowed to run before it is automatically cancelled. * @param testTimeout testTimeout or {@code null} for none */ public IosTest setTestTimeout(Duration testTimeout) { this.testTimeout = testTimeout; return this; } @Override public IosTest set(String fieldName, Object value) { return (IosTest) super.set(fieldName, value); } @Override public IosTest clone() { return (IosTest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy