/*
* 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
{
///
/// Container for the parameters to the UpdateWirelessGateway operation.
/// Updates properties of a wireless gateway.
///
public partial class UpdateWirelessGatewayRequest : AmazonIoTWirelessRequest
{
private string _description;
private string _id;
private List> _joinEuiFilters = new List>();
private float? _maxEirp;
private string _name;
private List _netIdFilters = new List();
///
/// Gets and sets the property Description.
///
/// A new description of the resource.
///
///
[AWSProperty(Max=2048)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Id.
///
/// The ID of the resource to update.
///
///
[AWSProperty(Required=true, 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 JoinEuiFilters.
///
[AWSProperty(Min=0, Max=3)]
public List> JoinEuiFilters
{
get { return this._joinEuiFilters; }
set { this._joinEuiFilters = value; }
}
// Check to see if JoinEuiFilters property is set
internal bool IsSetJoinEuiFilters()
{
return this._joinEuiFilters != null && this._joinEuiFilters.Count > 0;
}
///
/// Gets and sets the property MaxEirp.
///
/// The MaxEIRP value.
///
///
[AWSProperty(Min=0, Max=30)]
public float MaxEirp
{
get { return this._maxEirp.GetValueOrDefault(); }
set { this._maxEirp = value; }
}
// Check to see if MaxEirp property is set
internal bool IsSetMaxEirp()
{
return this._maxEirp.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The new 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 NetIdFilters.
///
[AWSProperty(Min=0, Max=10)]
public List NetIdFilters
{
get { return this._netIdFilters; }
set { this._netIdFilters = value; }
}
// Check to see if NetIdFilters property is set
internal bool IsSetNetIdFilters()
{
return this._netIdFilters != null && this._netIdFilters.Count > 0;
}
}
}