/* * 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 { /// /// Specify the list of gateways to which you want to send downlink data traffic when /// the wireless device is running in class B or class C mode. /// public partial class ParticipatingGateways { private DownlinkMode _downlinkMode; private List _gatewayList = new List(); private int? _transmissionInterval; /// /// Gets and sets the property DownlinkMode. /// /// Indicates whether to send the downlink message in sequential mode or concurrent mode, /// or to use only the chosen gateways from the previous uplink message transmission. /// /// [AWSProperty(Required=true)] public DownlinkMode DownlinkMode { get { return this._downlinkMode; } set { this._downlinkMode = value; } } // Check to see if DownlinkMode property is set internal bool IsSetDownlinkMode() { return this._downlinkMode != null; } /// /// Gets and sets the property GatewayList. /// /// The list of gateways that you want to use for sending the downlink data traffic. /// /// [AWSProperty(Required=true)] public List GatewayList { get { return this._gatewayList; } set { this._gatewayList = value; } } // Check to see if GatewayList property is set internal bool IsSetGatewayList() { return this._gatewayList != null && this._gatewayList.Count > 0; } /// /// Gets and sets the property TransmissionInterval. /// /// The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting /// the payload to the next gateway. /// /// [AWSProperty(Required=true, Min=1, Max=604800)] public int TransmissionInterval { get { return this._transmissionInterval.GetValueOrDefault(); } set { this._transmissionInterval = value; } } // Check to see if TransmissionInterval property is set internal bool IsSetTransmissionInterval() { return this._transmissionInterval.HasValue; } } }