/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file 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.
*/
/*
* Do not modify this file. This file is generated from the devicefarm-2015-06-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.DeviceFarm.Model
{
///
/// Represents configuration information about a test run, such as the execution timeout
/// (in minutes).
///
public partial class ExecutionConfiguration
{
private bool? _accountsCleanup;
private bool? _appPackagesCleanup;
private int? _jobTimeoutMinutes;
private bool? _skipAppResign;
private bool? _videoCapture;
///
/// Gets and sets the property AccountsCleanup.
///
/// True if account cleanup is enabled at the beginning of the test. Otherwise, false.
///
///
public bool AccountsCleanup
{
get { return this._accountsCleanup.GetValueOrDefault(); }
set { this._accountsCleanup = value; }
}
// Check to see if AccountsCleanup property is set
internal bool IsSetAccountsCleanup()
{
return this._accountsCleanup.HasValue;
}
///
/// Gets and sets the property AppPackagesCleanup.
///
/// True if app package cleanup is enabled at the beginning of the test. Otherwise, false.
///
///
public bool AppPackagesCleanup
{
get { return this._appPackagesCleanup.GetValueOrDefault(); }
set { this._appPackagesCleanup = value; }
}
// Check to see if AppPackagesCleanup property is set
internal bool IsSetAppPackagesCleanup()
{
return this._appPackagesCleanup.HasValue;
}
///
/// Gets and sets the property JobTimeoutMinutes.
///
/// The number of minutes a test run executes before it times out.
///
///
public int JobTimeoutMinutes
{
get { return this._jobTimeoutMinutes.GetValueOrDefault(); }
set { this._jobTimeoutMinutes = value; }
}
// Check to see if JobTimeoutMinutes property is set
internal bool IsSetJobTimeoutMinutes()
{
return this._jobTimeoutMinutes.HasValue;
}
///
/// Gets and sets the property SkipAppResign.
///
/// When set to true
, for private devices, Device Farm does not sign your
/// app again. For public devices, Device Farm always signs your apps again.
///
///
///
/// For more information about how Device Farm re-signs your apps, see Do
/// you modify my app? in the AWS Device Farm FAQs.
///
///
public bool SkipAppResign
{
get { return this._skipAppResign.GetValueOrDefault(); }
set { this._skipAppResign = value; }
}
// Check to see if SkipAppResign property is set
internal bool IsSetSkipAppResign()
{
return this._skipAppResign.HasValue;
}
///
/// Gets and sets the property VideoCapture.
///
/// Set to true to enable video capture. Otherwise, set to false. The default is true.
///
///
public bool VideoCapture
{
get { return this._videoCapture.GetValueOrDefault(); }
set { this._videoCapture = value; }
}
// Check to see if VideoCapture property is set
internal bool IsSetVideoCapture()
{
return this._videoCapture.HasValue;
}
}
}