/* * 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 iotwireless-2020-11-22.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.IoTWireless.Model { /// /// Information about a wireless device's operation. /// public partial class WirelessDeviceStatistics { private string _arn; private string _destinationName; private FuotaDeviceStatus _fuotaDeviceStatus; private string _id; private string _lastUplinkReceivedAt; private LoRaWANListDevice _loRaWAN; private int? _mcGroupId; private string _multicastDeviceStatus; private string _name; private SidewalkListDevice _sidewalk; private WirelessDeviceType _type; /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name of the resource. /// /// 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 DestinationName. /// /// The name of the destination to which the device is assigned. /// /// [AWSProperty(Max=128)] public string DestinationName { get { return this._destinationName; } set { this._destinationName = value; } } // Check to see if DestinationName property is set internal bool IsSetDestinationName() { return this._destinationName != null; } /// /// Gets and sets the property FuotaDeviceStatus. /// public FuotaDeviceStatus FuotaDeviceStatus { get { return this._fuotaDeviceStatus; } set { this._fuotaDeviceStatus = value; } } // Check to see if FuotaDeviceStatus property is set internal bool IsSetFuotaDeviceStatus() { return this._fuotaDeviceStatus != null; } /// /// Gets and sets the property Id. /// /// The ID of the wireless device reporting the data. /// /// [AWSProperty(Max=256)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property LastUplinkReceivedAt. /// /// The date and time when the most recent uplink was received. /// /// /// /// Theis value is only valid for 3 months. /// /// /// public string LastUplinkReceivedAt { get { return this._lastUplinkReceivedAt; } set { this._lastUplinkReceivedAt = value; } } // Check to see if LastUplinkReceivedAt property is set internal bool IsSetLastUplinkReceivedAt() { return this._lastUplinkReceivedAt != null; } /// /// Gets and sets the property LoRaWAN. /// /// LoRaWAN device info. /// /// public LoRaWANListDevice LoRaWAN { get { return this._loRaWAN; } set { this._loRaWAN = value; } } // Check to see if LoRaWAN property is set internal bool IsSetLoRaWAN() { return this._loRaWAN != null; } /// /// Gets and sets the property McGroupId. /// [AWSProperty(Min=1, Max=256)] public int McGroupId { get { return this._mcGroupId.GetValueOrDefault(); } set { this._mcGroupId = value; } } // Check to see if McGroupId property is set internal bool IsSetMcGroupId() { return this._mcGroupId.HasValue; } /// /// Gets and sets the property MulticastDeviceStatus. /// /// The status of the wireless device in the multicast group. /// /// [AWSProperty(Max=256)] public string MulticastDeviceStatus { get { return this._multicastDeviceStatus; } set { this._multicastDeviceStatus = value; } } // Check to see if MulticastDeviceStatus property is set internal bool IsSetMulticastDeviceStatus() { return this._multicastDeviceStatus != null; } /// /// Gets and sets the property Name. /// /// The name of the resource. /// /// [AWSProperty(Max=256)] 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 Sidewalk. /// /// The Sidewalk account credentials. /// /// public SidewalkListDevice Sidewalk { get { return this._sidewalk; } set { this._sidewalk = value; } } // Check to see if Sidewalk property is set internal bool IsSetSidewalk() { return this._sidewalk != null; } /// /// Gets and sets the property Type. /// /// The wireless device type. /// /// public WirelessDeviceType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }