/* * 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 { /// /// LoRaWANGetServiceProfileInfo object. /// public partial class LoRaWANGetServiceProfileInfo { private bool? _addGwMetadata; private string _channelMask; private int? _devStatusReqFreq; private int? _dlBucketSize; private int? _dlRate; private string _dlRatePolicy; private int? _drMax; private int? _drMin; private bool? _hrAllowed; private int? _minGwDiversity; private bool? _nwkGeoLoc; private bool? _prAllowed; private bool? _raAllowed; private bool? _reportDevStatusBattery; private bool? _reportDevStatusMargin; private int? _targetPer; private int? _ulBucketSize; private int? _ulRate; private string _ulRatePolicy; /// /// Gets and sets the property AddGwMetadata. /// /// The AddGWMetaData value. /// /// public bool AddGwMetadata { get { return this._addGwMetadata.GetValueOrDefault(); } set { this._addGwMetadata = value; } } // Check to see if AddGwMetadata property is set internal bool IsSetAddGwMetadata() { return this._addGwMetadata.HasValue; } /// /// Gets and sets the property ChannelMask. /// /// The ChannelMask value. /// /// [AWSProperty(Max=2048)] public string ChannelMask { get { return this._channelMask; } set { this._channelMask = value; } } // Check to see if ChannelMask property is set internal bool IsSetChannelMask() { return this._channelMask != null; } /// /// Gets and sets the property DevStatusReqFreq. /// /// The DevStatusReqFreq value. /// /// [AWSProperty(Min=0, Max=2147483647)] public int DevStatusReqFreq { get { return this._devStatusReqFreq.GetValueOrDefault(); } set { this._devStatusReqFreq = value; } } // Check to see if DevStatusReqFreq property is set internal bool IsSetDevStatusReqFreq() { return this._devStatusReqFreq.HasValue; } /// /// Gets and sets the property DlBucketSize. /// /// The DLBucketSize value. /// /// [AWSProperty(Min=0, Max=2147483647)] public int DlBucketSize { get { return this._dlBucketSize.GetValueOrDefault(); } set { this._dlBucketSize = value; } } // Check to see if DlBucketSize property is set internal bool IsSetDlBucketSize() { return this._dlBucketSize.HasValue; } /// /// Gets and sets the property DlRate. /// /// The DLRate value. /// /// [AWSProperty(Min=0, Max=2147483647)] public int DlRate { get { return this._dlRate.GetValueOrDefault(); } set { this._dlRate = value; } } // Check to see if DlRate property is set internal bool IsSetDlRate() { return this._dlRate.HasValue; } /// /// Gets and sets the property DlRatePolicy. /// /// The DLRatePolicy value. /// /// [AWSProperty(Max=256)] public string DlRatePolicy { get { return this._dlRatePolicy; } set { this._dlRatePolicy = value; } } // Check to see if DlRatePolicy property is set internal bool IsSetDlRatePolicy() { return this._dlRatePolicy != null; } /// /// Gets and sets the property DrMax. /// /// The DRMax value. /// /// [AWSProperty(Min=0, Max=15)] public int DrMax { get { return this._drMax.GetValueOrDefault(); } set { this._drMax = value; } } // Check to see if DrMax property is set internal bool IsSetDrMax() { return this._drMax.HasValue; } /// /// Gets and sets the property DrMin. /// /// The DRMin value. /// /// [AWSProperty(Min=0, Max=15)] public int DrMin { get { return this._drMin.GetValueOrDefault(); } set { this._drMin = value; } } // Check to see if DrMin property is set internal bool IsSetDrMin() { return this._drMin.HasValue; } /// /// Gets and sets the property HrAllowed. /// /// The HRAllowed value that describes whether handover roaming is allowed. /// /// public bool HrAllowed { get { return this._hrAllowed.GetValueOrDefault(); } set { this._hrAllowed = value; } } // Check to see if HrAllowed property is set internal bool IsSetHrAllowed() { return this._hrAllowed.HasValue; } /// /// Gets and sets the property MinGwDiversity. /// /// The MinGwDiversity value. /// /// [AWSProperty(Min=1, Max=100)] public int MinGwDiversity { get { return this._minGwDiversity.GetValueOrDefault(); } set { this._minGwDiversity = value; } } // Check to see if MinGwDiversity property is set internal bool IsSetMinGwDiversity() { return this._minGwDiversity.HasValue; } /// /// Gets and sets the property NwkGeoLoc. /// /// The NwkGeoLoc value. /// /// public bool NwkGeoLoc { get { return this._nwkGeoLoc.GetValueOrDefault(); } set { this._nwkGeoLoc = value; } } // Check to see if NwkGeoLoc property is set internal bool IsSetNwkGeoLoc() { return this._nwkGeoLoc.HasValue; } /// /// Gets and sets the property PrAllowed. /// /// The PRAllowed value that describes whether passive roaming is allowed. /// /// public bool PrAllowed { get { return this._prAllowed.GetValueOrDefault(); } set { this._prAllowed = value; } } // Check to see if PrAllowed property is set internal bool IsSetPrAllowed() { return this._prAllowed.HasValue; } /// /// Gets and sets the property RaAllowed. /// /// The RAAllowed value that describes whether roaming activation is allowed. /// /// public bool RaAllowed { get { return this._raAllowed.GetValueOrDefault(); } set { this._raAllowed = value; } } // Check to see if RaAllowed property is set internal bool IsSetRaAllowed() { return this._raAllowed.HasValue; } /// /// Gets and sets the property ReportDevStatusBattery. /// /// The ReportDevStatusBattery value. /// /// public bool ReportDevStatusBattery { get { return this._reportDevStatusBattery.GetValueOrDefault(); } set { this._reportDevStatusBattery = value; } } // Check to see if ReportDevStatusBattery property is set internal bool IsSetReportDevStatusBattery() { return this._reportDevStatusBattery.HasValue; } /// /// Gets and sets the property ReportDevStatusMargin. /// /// The ReportDevStatusMargin value. /// /// public bool ReportDevStatusMargin { get { return this._reportDevStatusMargin.GetValueOrDefault(); } set { this._reportDevStatusMargin = value; } } // Check to see if ReportDevStatusMargin property is set internal bool IsSetReportDevStatusMargin() { return this._reportDevStatusMargin.HasValue; } /// /// Gets and sets the property TargetPer. /// /// The TargetPER value. /// /// [AWSProperty(Min=0, Max=100)] public int TargetPer { get { return this._targetPer.GetValueOrDefault(); } set { this._targetPer = value; } } // Check to see if TargetPer property is set internal bool IsSetTargetPer() { return this._targetPer.HasValue; } /// /// Gets and sets the property UlBucketSize. /// /// The ULBucketSize value. /// /// [AWSProperty(Min=0, Max=2147483647)] public int UlBucketSize { get { return this._ulBucketSize.GetValueOrDefault(); } set { this._ulBucketSize = value; } } // Check to see if UlBucketSize property is set internal bool IsSetUlBucketSize() { return this._ulBucketSize.HasValue; } /// /// Gets and sets the property UlRate. /// /// The ULRate value. /// /// [AWSProperty(Min=0, Max=2147483647)] public int UlRate { get { return this._ulRate.GetValueOrDefault(); } set { this._ulRate = value; } } // Check to see if UlRate property is set internal bool IsSetUlRate() { return this._ulRate.HasValue; } /// /// Gets and sets the property UlRatePolicy. /// /// The ULRatePolicy value. /// /// [AWSProperty(Max=256)] public string UlRatePolicy { get { return this._ulRatePolicy; } set { this._ulRatePolicy = value; } } // Check to see if UlRatePolicy property is set internal bool IsSetUlRatePolicy() { return this._ulRatePolicy != null; } } }