/*
* 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
{
///
/// Device attributes.
///
public partial class DeviceData
{
private DateTime? _createdTime;
private string _deviceArn;
private string _deviceName;
private string _deviceSerialNumber;
private DeviceStatus _deviceStatus;
private DeviceStatusInfo _deviceStatusInfo;
private string _deviceType;
private string _macAddress;
private string _networkProfileArn;
private string _networkProfileName;
private string _roomArn;
private string _roomName;
private string _softwareVersion;
///
/// Gets and sets the property CreatedTime.
///
/// The time (in epoch) when the device data was created.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property DeviceArn.
///
/// The ARN of a device.
///
///
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 DeviceName.
///
/// The name of a device.
///
///
[AWSProperty(Min=2, Max=100)]
public string DeviceName
{
get { return this._deviceName; }
set { this._deviceName = value; }
}
// Check to see if DeviceName property is set
internal bool IsSetDeviceName()
{
return this._deviceName != null;
}
///
/// Gets and sets the property DeviceSerialNumber.
///
/// The serial number of a device.
///
///
public string DeviceSerialNumber
{
get { return this._deviceSerialNumber; }
set { this._deviceSerialNumber = value; }
}
// Check to see if DeviceSerialNumber property is set
internal bool IsSetDeviceSerialNumber()
{
return this._deviceSerialNumber != null;
}
///
/// Gets and sets the property DeviceStatus.
///
/// The status of a device.
///
///
public DeviceStatus DeviceStatus
{
get { return this._deviceStatus; }
set { this._deviceStatus = value; }
}
// Check to see if DeviceStatus property is set
internal bool IsSetDeviceStatus()
{
return this._deviceStatus != null;
}
///
/// Gets and sets the property DeviceStatusInfo.
///
/// Detailed information about a device's status.
///
///
public DeviceStatusInfo DeviceStatusInfo
{
get { return this._deviceStatusInfo; }
set { this._deviceStatusInfo = value; }
}
// Check to see if DeviceStatusInfo property is set
internal bool IsSetDeviceStatusInfo()
{
return this._deviceStatusInfo != null;
}
///
/// Gets and sets the property DeviceType.
///
/// The type of a device.
///
///
public string DeviceType
{
get { return this._deviceType; }
set { this._deviceType = value; }
}
// Check to see if DeviceType property is set
internal bool IsSetDeviceType()
{
return this._deviceType != null;
}
///
/// Gets and sets the property MacAddress.
///
/// The MAC address of a device.
///
///
public string MacAddress
{
get { return this._macAddress; }
set { this._macAddress = value; }
}
// Check to see if MacAddress property is set
internal bool IsSetMacAddress()
{
return this._macAddress != null;
}
///
/// Gets and sets the property NetworkProfileArn.
///
/// The ARN of the network profile associated with a device.
///
///
public string NetworkProfileArn
{
get { return this._networkProfileArn; }
set { this._networkProfileArn = value; }
}
// Check to see if NetworkProfileArn property is set
internal bool IsSetNetworkProfileArn()
{
return this._networkProfileArn != null;
}
///
/// Gets and sets the property NetworkProfileName.
///
/// The name of the network profile associated with a device.
///
///
[AWSProperty(Min=1, Max=100)]
public string NetworkProfileName
{
get { return this._networkProfileName; }
set { this._networkProfileName = value; }
}
// Check to see if NetworkProfileName property is set
internal bool IsSetNetworkProfileName()
{
return this._networkProfileName != null;
}
///
/// Gets and sets the property RoomArn.
///
/// The room ARN associated with a device.
///
///
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;
}
///
/// Gets and sets the property RoomName.
///
/// The name of the room associated with a device.
///
///
[AWSProperty(Min=1, Max=100)]
public string RoomName
{
get { return this._roomName; }
set { this._roomName = value; }
}
// Check to see if RoomName property is set
internal bool IsSetRoomName()
{
return this._roomName != null;
}
///
/// Gets and sets the property SoftwareVersion.
///
/// The software version of a device.
///
///
public string SoftwareVersion
{
get { return this._softwareVersion; }
set { this._softwareVersion = value; }
}
// Check to see if SoftwareVersion property is set
internal bool IsSetSoftwareVersion()
{
return this._softwareVersion != null;
}
}
}