/*
* 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 panorama-2019-07-24.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.Panorama.Model
{
///
/// This is the response object from the DescribeDevice operation.
///
public partial class DescribeDeviceResponse : AmazonWebServiceResponse
{
private List _alternateSoftwares = new List();
private string _arn;
private DeviceBrand _brand;
private DateTime? _createdTime;
private NetworkStatus _currentNetworkingStatus;
private string _currentSoftware;
private string _description;
private DeviceAggregatedStatus _deviceAggregatedStatus;
private DeviceConnectionStatus _deviceConnectionStatus;
private string _deviceId;
private string _latestAlternateSoftware;
private LatestDeviceJob _latestDeviceJob;
private string _latestSoftware;
private DateTime? _leaseExpirationTime;
private string _name;
private NetworkPayload _networkingConfiguration;
private DeviceStatus _provisioningStatus;
private string _serialNumber;
private Dictionary _tags = new Dictionary();
private DeviceType _type;
///
/// Gets and sets the property AlternateSoftwares.
///
/// Beta software releases available for the device.
///
///
public List AlternateSoftwares
{
get { return this._alternateSoftwares; }
set { this._alternateSoftwares = value; }
}
// Check to see if AlternateSoftwares property is set
internal bool IsSetAlternateSoftwares()
{
return this._alternateSoftwares != null && this._alternateSoftwares.Count > 0;
}
///
/// Gets and sets the property Arn.
///
/// The device's ARN.
///
///
[AWSProperty(Min=1, Max=255)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property Brand.
///
/// The device's maker.
///
///
public DeviceBrand Brand
{
get { return this._brand; }
set { this._brand = value; }
}
// Check to see if Brand property is set
internal bool IsSetBrand()
{
return this._brand != null;
}
///
/// Gets and sets the property CreatedTime.
///
/// When the device 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 CurrentNetworkingStatus.
///
/// The device's networking status.
///
///
public NetworkStatus CurrentNetworkingStatus
{
get { return this._currentNetworkingStatus; }
set { this._currentNetworkingStatus = value; }
}
// Check to see if CurrentNetworkingStatus property is set
internal bool IsSetCurrentNetworkingStatus()
{
return this._currentNetworkingStatus != null;
}
///
/// Gets and sets the property CurrentSoftware.
///
/// The device's current software version.
///
///
[AWSProperty(Min=1, Max=255)]
public string CurrentSoftware
{
get { return this._currentSoftware; }
set { this._currentSoftware = value; }
}
// Check to see if CurrentSoftware property is set
internal bool IsSetCurrentSoftware()
{
return this._currentSoftware != null;
}
///
/// Gets and sets the property Description.
///
/// The device's description.
///
///
[AWSProperty(Min=0, Max=255)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property DeviceAggregatedStatus.
///
/// A device's aggregated status. Including the device's connection status, provisioning
/// status, and lease status.
///
///
public DeviceAggregatedStatus DeviceAggregatedStatus
{
get { return this._deviceAggregatedStatus; }
set { this._deviceAggregatedStatus = value; }
}
// Check to see if DeviceAggregatedStatus property is set
internal bool IsSetDeviceAggregatedStatus()
{
return this._deviceAggregatedStatus != null;
}
///
/// Gets and sets the property DeviceConnectionStatus.
///
/// The device's connection status.
///
///
public DeviceConnectionStatus DeviceConnectionStatus
{
get { return this._deviceConnectionStatus; }
set { this._deviceConnectionStatus = value; }
}
// Check to see if DeviceConnectionStatus property is set
internal bool IsSetDeviceConnectionStatus()
{
return this._deviceConnectionStatus != null;
}
///
/// Gets and sets the property DeviceId.
///
/// The device's ID.
///
///
[AWSProperty(Min=1, Max=255)]
public string DeviceId
{
get { return this._deviceId; }
set { this._deviceId = value; }
}
// Check to see if DeviceId property is set
internal bool IsSetDeviceId()
{
return this._deviceId != null;
}
///
/// Gets and sets the property LatestAlternateSoftware.
///
/// The most recent beta software release.
///
///
[AWSProperty(Min=1, Max=255)]
public string LatestAlternateSoftware
{
get { return this._latestAlternateSoftware; }
set { this._latestAlternateSoftware = value; }
}
// Check to see if LatestAlternateSoftware property is set
internal bool IsSetLatestAlternateSoftware()
{
return this._latestAlternateSoftware != null;
}
///
/// Gets and sets the property LatestDeviceJob.
///
/// A device's latest job. Includes the target image version, and the job status.
///
///
public LatestDeviceJob LatestDeviceJob
{
get { return this._latestDeviceJob; }
set { this._latestDeviceJob = value; }
}
// Check to see if LatestDeviceJob property is set
internal bool IsSetLatestDeviceJob()
{
return this._latestDeviceJob != null;
}
///
/// Gets and sets the property LatestSoftware.
///
/// The latest software version available for the device.
///
///
[AWSProperty(Min=1, Max=255)]
public string LatestSoftware
{
get { return this._latestSoftware; }
set { this._latestSoftware = value; }
}
// Check to see if LatestSoftware property is set
internal bool IsSetLatestSoftware()
{
return this._latestSoftware != null;
}
///
/// Gets and sets the property LeaseExpirationTime.
///
/// The device's lease expiration time.
///
///
public DateTime LeaseExpirationTime
{
get { return this._leaseExpirationTime.GetValueOrDefault(); }
set { this._leaseExpirationTime = value; }
}
// Check to see if LeaseExpirationTime property is set
internal bool IsSetLeaseExpirationTime()
{
return this._leaseExpirationTime.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The device's name.
///
///
[AWSProperty(Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property NetworkingConfiguration.
///
/// The device's networking configuration.
///
///
public NetworkPayload NetworkingConfiguration
{
get { return this._networkingConfiguration; }
set { this._networkingConfiguration = value; }
}
// Check to see if NetworkingConfiguration property is set
internal bool IsSetNetworkingConfiguration()
{
return this._networkingConfiguration != null;
}
///
/// Gets and sets the property ProvisioningStatus.
///
/// The device's provisioning status.
///
///
public DeviceStatus ProvisioningStatus
{
get { return this._provisioningStatus; }
set { this._provisioningStatus = value; }
}
// Check to see if ProvisioningStatus property is set
internal bool IsSetProvisioningStatus()
{
return this._provisioningStatus != null;
}
///
/// Gets and sets the property SerialNumber.
///
/// The device's serial number.
///
///
public string SerialNumber
{
get { return this._serialNumber; }
set { this._serialNumber = value; }
}
// Check to see if SerialNumber property is set
internal bool IsSetSerialNumber()
{
return this._serialNumber != null;
}
///
/// Gets and sets the property Tags.
///
/// The device's tags.
///
///
[AWSProperty(Min=0, Max=50)]
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property Type.
///
/// The device's type.
///
///
public DeviceType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}