/* * 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 connect-2017-08-08.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.Connect.Model { /// /// Contains information about the phone configuration settings for a user. /// public partial class UserPhoneConfig { private int? _afterContactWorkTimeLimit; private bool? _autoAccept; private string _deskPhoneNumber; private PhoneType _phoneType; /// /// Gets and sets the property AfterContactWorkTimeLimit. /// /// The After Call Work (ACW) timeout setting, in seconds. /// /// /// /// When returned by a SearchUsers call, AfterContactWorkTimeLimit /// is returned in milliseconds. /// /// /// [AWSProperty(Min=0)] public int AfterContactWorkTimeLimit { get { return this._afterContactWorkTimeLimit.GetValueOrDefault(); } set { this._afterContactWorkTimeLimit = value; } } // Check to see if AfterContactWorkTimeLimit property is set internal bool IsSetAfterContactWorkTimeLimit() { return this._afterContactWorkTimeLimit.HasValue; } /// /// Gets and sets the property AutoAccept. /// /// The Auto accept setting. /// /// public bool AutoAccept { get { return this._autoAccept.GetValueOrDefault(); } set { this._autoAccept = value; } } // Check to see if AutoAccept property is set internal bool IsSetAutoAccept() { return this._autoAccept.HasValue; } /// /// Gets and sets the property DeskPhoneNumber. /// /// The phone number for the user's desk phone. /// /// public string DeskPhoneNumber { get { return this._deskPhoneNumber; } set { this._deskPhoneNumber = value; } } // Check to see if DeskPhoneNumber property is set internal bool IsSetDeskPhoneNumber() { return this._deskPhoneNumber != null; } /// /// Gets and sets the property PhoneType. /// /// The phone type. /// /// [AWSProperty(Required=true)] public PhoneType PhoneType { get { return this._phoneType; } set { this._phoneType = value; } } // Check to see if PhoneType property is set internal bool IsSetPhoneType() { return this._phoneType != null; } } }