/* * 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 { /// /// CDMA (Code-division multiple access) object. /// public partial class CdmaObj { private float? _baseLat; private float? _baseLng; private int? _baseStationId; private CdmaLocalId _cdmaLocalId; private List _cdmaNmr = new List(); private int? _networkId; private int? _pilotPower; private int? _registrationZone; private int? _systemId; /// /// Gets and sets the property BaseLat. /// /// CDMA base station latitude in degrees. /// /// [AWSProperty(Min=-90, Max=90)] public float BaseLat { get { return this._baseLat.GetValueOrDefault(); } set { this._baseLat = value; } } // Check to see if BaseLat property is set internal bool IsSetBaseLat() { return this._baseLat.HasValue; } /// /// Gets and sets the property BaseLng. /// /// CDMA base station longitude in degrees. /// /// [AWSProperty(Min=-180, Max=180)] public float BaseLng { get { return this._baseLng.GetValueOrDefault(); } set { this._baseLng = value; } } // Check to see if BaseLng property is set internal bool IsSetBaseLng() { return this._baseLng.HasValue; } /// /// Gets and sets the property BaseStationId. /// /// CDMA base station ID (BSID). /// /// [AWSProperty(Required=true, Min=0, Max=65535)] public int BaseStationId { get { return this._baseStationId.GetValueOrDefault(); } set { this._baseStationId = value; } } // Check to see if BaseStationId property is set internal bool IsSetBaseStationId() { return this._baseStationId.HasValue; } /// /// Gets and sets the property CdmaLocalId. /// /// CDMA local identification (local ID) parameters. /// /// public CdmaLocalId CdmaLocalId { get { return this._cdmaLocalId; } set { this._cdmaLocalId = value; } } // Check to see if CdmaLocalId property is set internal bool IsSetCdmaLocalId() { return this._cdmaLocalId != null; } /// /// Gets and sets the property CdmaNmr. /// /// CDMA network measurement reports. /// /// [AWSProperty(Min=1, Max=32)] public List CdmaNmr { get { return this._cdmaNmr; } set { this._cdmaNmr = value; } } // Check to see if CdmaNmr property is set internal bool IsSetCdmaNmr() { return this._cdmaNmr != null && this._cdmaNmr.Count > 0; } /// /// Gets and sets the property NetworkId. /// /// CDMA network ID (NID). /// /// [AWSProperty(Required=true, Min=0, Max=65535)] public int NetworkId { get { return this._networkId.GetValueOrDefault(); } set { this._networkId = value; } } // Check to see if NetworkId property is set internal bool IsSetNetworkId() { return this._networkId.HasValue; } /// /// Gets and sets the property PilotPower. /// /// Transmit power level of the pilot signal, measured in dBm (decibel-milliwatts). /// /// [AWSProperty(Min=-142, Max=-49)] public int PilotPower { get { return this._pilotPower.GetValueOrDefault(); } set { this._pilotPower = value; } } // Check to see if PilotPower property is set internal bool IsSetPilotPower() { return this._pilotPower.HasValue; } /// /// Gets and sets the property RegistrationZone. /// /// CDMA registration zone (RZ). /// /// [AWSProperty(Min=0, Max=4095)] public int RegistrationZone { get { return this._registrationZone.GetValueOrDefault(); } set { this._registrationZone = value; } } // Check to see if RegistrationZone property is set internal bool IsSetRegistrationZone() { return this._registrationZone.HasValue; } /// /// Gets and sets the property SystemId. /// /// CDMA system ID (SID). /// /// [AWSProperty(Required=true, Min=1, Max=32767)] public int SystemId { get { return this._systemId.GetValueOrDefault(); } set { this._systemId = value; } } // Check to see if SystemId property is set internal bool IsSetSystemId() { return this._systemId.HasValue; } } }