/*
* 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 iotdeviceadvisor-2020-09-18.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.IoTDeviceAdvisor.Model
{
///
/// Information about the suite definition.
///
public partial class SuiteDefinitionInformation
{
private DateTime? _createdAt;
private List _defaultDevices = new List();
private bool? _intendedForQualification;
private bool? _isLongDurationTest;
private Protocol _protocol;
private string _suiteDefinitionId;
private string _suiteDefinitionName;
///
/// Gets and sets the property CreatedAt.
///
/// Date (in Unix epoch time) when the test suite was created.
///
///
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
///
/// Gets and sets the property DefaultDevices.
///
/// Specifies the devices that are under test for the test suite.
///
///
[AWSProperty(Min=0, Max=2)]
public List DefaultDevices
{
get { return this._defaultDevices; }
set { this._defaultDevices = value; }
}
// Check to see if DefaultDevices property is set
internal bool IsSetDefaultDevices()
{
return this._defaultDevices != null && this._defaultDevices.Count > 0;
}
///
/// Gets and sets the property IntendedForQualification.
///
/// Specifies if the test suite is intended for qualification.
///
///
public bool IntendedForQualification
{
get { return this._intendedForQualification.GetValueOrDefault(); }
set { this._intendedForQualification = value; }
}
// Check to see if IntendedForQualification property is set
internal bool IsSetIntendedForQualification()
{
return this._intendedForQualification.HasValue;
}
///
/// Gets and sets the property IsLongDurationTest.
///
/// Verifies if the test suite is a long duration test.
///
///
public bool IsLongDurationTest
{
get { return this._isLongDurationTest.GetValueOrDefault(); }
set { this._isLongDurationTest = value; }
}
// Check to see if IsLongDurationTest property is set
internal bool IsSetIsLongDurationTest()
{
return this._isLongDurationTest.HasValue;
}
///
/// Gets and sets the property Protocol.
///
/// Gets the MQTT protocol that is configured in the suite definition.
///
///
public Protocol Protocol
{
get { return this._protocol; }
set { this._protocol = value; }
}
// Check to see if Protocol property is set
internal bool IsSetProtocol()
{
return this._protocol != null;
}
///
/// Gets and sets the property SuiteDefinitionId.
///
/// Suite definition ID of the test suite.
///
///
[AWSProperty(Min=12, Max=36)]
public string SuiteDefinitionId
{
get { return this._suiteDefinitionId; }
set { this._suiteDefinitionId = value; }
}
// Check to see if SuiteDefinitionId property is set
internal bool IsSetSuiteDefinitionId()
{
return this._suiteDefinitionId != null;
}
///
/// Gets and sets the property SuiteDefinitionName.
///
/// Suite name of the test suite.
///
///
[AWSProperty(Min=1, Max=256)]
public string SuiteDefinitionName
{
get { return this._suiteDefinitionName; }
set { this._suiteDefinitionName = value; }
}
// Check to see if SuiteDefinitionName property is set
internal bool IsSetSuiteDefinitionName()
{
return this._suiteDefinitionName != null;
}
}
}