/*
* 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
{
///
/// LoRaWANUpdateGatewayTaskCreate object.
///
public partial class LoRaWANUpdateGatewayTaskCreate
{
private LoRaWANGatewayVersion _currentVersion;
private long? _sigKeyCrc;
private string _updateSignature;
private LoRaWANGatewayVersion _updateVersion;
///
/// Gets and sets the property CurrentVersion.
///
/// The version of the gateways that should receive the update.
///
///
public LoRaWANGatewayVersion CurrentVersion
{
get { return this._currentVersion; }
set { this._currentVersion = value; }
}
// Check to see if CurrentVersion property is set
internal bool IsSetCurrentVersion()
{
return this._currentVersion != null;
}
///
/// Gets and sets the property SigKeyCrc.
///
/// The CRC of the signature private key to check.
///
///
[AWSProperty(Min=1, Max=4294967295)]
public long SigKeyCrc
{
get { return this._sigKeyCrc.GetValueOrDefault(); }
set { this._sigKeyCrc = value; }
}
// Check to see if SigKeyCrc property is set
internal bool IsSetSigKeyCrc()
{
return this._sigKeyCrc.HasValue;
}
///
/// Gets and sets the property UpdateSignature.
///
/// The signature used to verify the update firmware.
///
///
[AWSProperty(Min=1, Max=4096)]
public string UpdateSignature
{
get { return this._updateSignature; }
set { this._updateSignature = value; }
}
// Check to see if UpdateSignature property is set
internal bool IsSetUpdateSignature()
{
return this._updateSignature != null;
}
///
/// Gets and sets the property UpdateVersion.
///
/// The firmware version to update the gateway to.
///
///
public LoRaWANGatewayVersion UpdateVersion
{
get { return this._updateVersion; }
set { this._updateVersion = value; }
}
// Check to see if UpdateVersion property is set
internal bool IsSetUpdateVersion()
{
return this._updateVersion != null;
}
}
}