/*
* 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 alexaforbusiness-2017-11-09.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.AlexaForBusiness.Model
{
///
/// Container for the parameters to the StartDeviceSync operation.
/// Resets a device and its account to the known default settings. This clears all information
/// and settings set by previous users in the following ways:
///
/// -
///
/// Bluetooth - This unpairs all bluetooth devices paired with your echo device.
///
///
-
///
/// Volume - This resets the echo device's volume to the default value.
///
///
-
///
/// Notifications - This clears all notifications from your echo device.
///
///
-
///
/// Lists - This clears all to-do items from your echo device.
///
///
-
///
/// Settings - This internally syncs the room's profile (if the device is assigned to
/// a room), contacts, address books, delegation access for account linking, and communications
/// (if enabled on the room profile).
///
///
///
public partial class StartDeviceSyncRequest : AmazonAlexaForBusinessRequest
{
private string _deviceArn;
private List _features = new List();
private string _roomArn;
///
/// Gets and sets the property DeviceArn.
///
/// The ARN of the device to sync. Required.
///
///
public string DeviceArn
{
get { return this._deviceArn; }
set { this._deviceArn = value; }
}
// Check to see if DeviceArn property is set
internal bool IsSetDeviceArn()
{
return this._deviceArn != null;
}
///
/// Gets and sets the property Features.
///
/// Request structure to start the device sync. Required.
///
///
[AWSProperty(Required=true)]
public List Features
{
get { return this._features; }
set { this._features = value; }
}
// Check to see if Features property is set
internal bool IsSetFeatures()
{
return this._features != null && this._features.Count > 0;
}
///
/// Gets and sets the property RoomArn.
///
/// The ARN of the room with which the device to sync is associated. Required.
///
///
public string RoomArn
{
get { return this._roomArn; }
set { this._roomArn = value; }
}
// Check to see if RoomArn property is set
internal bool IsSetRoomArn()
{
return this._roomArn != null;
}
}
}