/*
* 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 devicefarm-2015-06-23.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.DeviceFarm.Model
{
///
/// Represents entity counters.
///
public partial class Counters
{
private int? _errored;
private int? _failed;
private int? _passed;
private int? _skipped;
private int? _stopped;
private int? _total;
private int? _warned;
///
/// Gets and sets the property Errored.
///
/// The number of errored entities.
///
///
public int Errored
{
get { return this._errored.GetValueOrDefault(); }
set { this._errored = value; }
}
// Check to see if Errored property is set
internal bool IsSetErrored()
{
return this._errored.HasValue;
}
///
/// Gets and sets the property Failed.
///
/// The number of failed entities.
///
///
public int Failed
{
get { return this._failed.GetValueOrDefault(); }
set { this._failed = value; }
}
// Check to see if Failed property is set
internal bool IsSetFailed()
{
return this._failed.HasValue;
}
///
/// Gets and sets the property Passed.
///
/// The number of passed entities.
///
///
public int Passed
{
get { return this._passed.GetValueOrDefault(); }
set { this._passed = value; }
}
// Check to see if Passed property is set
internal bool IsSetPassed()
{
return this._passed.HasValue;
}
///
/// Gets and sets the property Skipped.
///
/// The number of skipped entities.
///
///
public int Skipped
{
get { return this._skipped.GetValueOrDefault(); }
set { this._skipped = value; }
}
// Check to see if Skipped property is set
internal bool IsSetSkipped()
{
return this._skipped.HasValue;
}
///
/// Gets and sets the property Stopped.
///
/// The number of stopped entities.
///
///
public int Stopped
{
get { return this._stopped.GetValueOrDefault(); }
set { this._stopped = value; }
}
// Check to see if Stopped property is set
internal bool IsSetStopped()
{
return this._stopped.HasValue;
}
///
/// Gets and sets the property Total.
///
/// The total number of entities.
///
///
public int Total
{
get { return this._total.GetValueOrDefault(); }
set { this._total = value; }
}
// Check to see if Total property is set
internal bool IsSetTotal()
{
return this._total.HasValue;
}
///
/// Gets and sets the property Warned.
///
/// The number of warned entities.
///
///
public int Warned
{
get { return this._warned.GetValueOrDefault(); }
set { this._warned = value; }
}
// Check to see if Warned property is set
internal bool IsSetWarned()
{
return this._warned.HasValue;
}
}
}