/* * 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 { /// /// A container for account-level settings in AWS Device Farm. /// public partial class AccountSettings { private string _awsAccountNumber; private int? _defaultJobTimeoutMinutes; private int? _maxJobTimeoutMinutes; private Dictionary _maxSlots = new Dictionary(); private bool? _skipAppResign; private TrialMinutes _trialMinutes; private Dictionary _unmeteredDevices = new Dictionary(); private Dictionary _unmeteredRemoteAccessDevices = new Dictionary(); /// /// Gets and sets the property AwsAccountNumber. /// /// The AWS account number specified in the AccountSettings container. /// /// [AWSProperty(Min=2, Max=16)] public string AwsAccountNumber { get { return this._awsAccountNumber; } set { this._awsAccountNumber = value; } } // Check to see if AwsAccountNumber property is set internal bool IsSetAwsAccountNumber() { return this._awsAccountNumber != null; } /// /// Gets and sets the property DefaultJobTimeoutMinutes. /// /// The default number of minutes (at the account level) a test run executes before it /// times out. The default value is 150 minutes. /// /// public int DefaultJobTimeoutMinutes { get { return this._defaultJobTimeoutMinutes.GetValueOrDefault(); } set { this._defaultJobTimeoutMinutes = value; } } // Check to see if DefaultJobTimeoutMinutes property is set internal bool IsSetDefaultJobTimeoutMinutes() { return this._defaultJobTimeoutMinutes.HasValue; } /// /// Gets and sets the property MaxJobTimeoutMinutes. /// /// The maximum number of minutes a test run executes before it times out. /// /// public int MaxJobTimeoutMinutes { get { return this._maxJobTimeoutMinutes.GetValueOrDefault(); } set { this._maxJobTimeoutMinutes = value; } } // Check to see if MaxJobTimeoutMinutes property is set internal bool IsSetMaxJobTimeoutMinutes() { return this._maxJobTimeoutMinutes.HasValue; } /// /// Gets and sets the property MaxSlots. /// /// The maximum number of device slots that the AWS account can purchase. Each maximum /// is expressed as an offering-id:number pair, where the offering-id /// represents one of the IDs returned by the ListOfferings command. /// /// public Dictionary MaxSlots { get { return this._maxSlots; } set { this._maxSlots = value; } } // Check to see if MaxSlots property is set internal bool IsSetMaxSlots() { return this._maxSlots != null && this._maxSlots.Count > 0; } /// /// 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 TrialMinutes. /// /// Information about an AWS account's usage of free trial device minutes. /// /// public TrialMinutes TrialMinutes { get { return this._trialMinutes; } set { this._trialMinutes = value; } } // Check to see if TrialMinutes property is set internal bool IsSetTrialMinutes() { return this._trialMinutes != null; } /// /// Gets and sets the property UnmeteredDevices. /// /// Returns the unmetered devices you have purchased or want to purchase. /// /// public Dictionary UnmeteredDevices { get { return this._unmeteredDevices; } set { this._unmeteredDevices = value; } } // Check to see if UnmeteredDevices property is set internal bool IsSetUnmeteredDevices() { return this._unmeteredDevices != null && this._unmeteredDevices.Count > 0; } /// /// Gets and sets the property UnmeteredRemoteAccessDevices. /// /// Returns the unmetered remote access devices you have purchased or want to purchase. /// /// public Dictionary UnmeteredRemoteAccessDevices { get { return this._unmeteredRemoteAccessDevices; } set { this._unmeteredRemoteAccessDevices = value; } } // Check to see if UnmeteredRemoteAccessDevices property is set internal bool IsSetUnmeteredRemoteAccessDevices() { return this._unmeteredRemoteAccessDevices != null && this._unmeteredRemoteAccessDevices.Count > 0; } } }