/* * 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 { /// /// LoRaWANServiceProfile object. /// public partial class LoRaWANServiceProfile { private bool? _addGwMetadata; private int? _drMax; private int? _drMin; private bool? _prAllowed; private bool? _raAllowed; /// /// 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 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 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; } } }