/*
* 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 codebuild-2016-10-06.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.CodeBuild.Model
{
///
/// A series of reports. Each report contains information about the results from running
/// a series of test cases. You specify the test cases for a report group in the buildspec
/// for a build project using one or more paths to the test case files.
///
public partial class ReportGroup
{
private string _arn;
private DateTime? _created;
private ReportExportConfig _exportConfig;
private DateTime? _lastModified;
private string _name;
private ReportGroupStatusType _status;
private List _tags = new List();
private ReportType _type;
///
/// Gets and sets the property Arn.
///
/// The ARN of the ReportGroup
.
///
///
[AWSProperty(Min=1)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property Created.
///
/// The date and time this ReportGroup
was created.
///
///
public DateTime Created
{
get { return this._created.GetValueOrDefault(); }
set { this._created = value; }
}
// Check to see if Created property is set
internal bool IsSetCreated()
{
return this._created.HasValue;
}
///
/// Gets and sets the property ExportConfig.
///
/// Information about the destination where the raw data of this ReportGroup
/// is exported.
///
///
public ReportExportConfig ExportConfig
{
get { return this._exportConfig; }
set { this._exportConfig = value; }
}
// Check to see if ExportConfig property is set
internal bool IsSetExportConfig()
{
return this._exportConfig != null;
}
///
/// Gets and sets the property LastModified.
///
/// The date and time this ReportGroup
was last modified.
///
///
public DateTime LastModified
{
get { return this._lastModified.GetValueOrDefault(); }
set { this._lastModified = value; }
}
// Check to see if LastModified property is set
internal bool IsSetLastModified()
{
return this._lastModified.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the ReportGroup
.
///
///
[AWSProperty(Min=2, Max=128)]
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 Status.
///
/// The status of the report group. This property is read-only.
///
///
///
/// This can be one of the following values:
///
/// - ACTIVE
-
///
/// The report group is active.
///
///
- DELETING
-
///
/// The report group is in the process of being deleted.
///
///
///
public ReportGroupStatusType Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property Tags.
///
/// A list of tag key and value pairs associated with this report group.
///
///
///
/// These tags are available for use by Amazon Web Services services that support CodeBuild
/// report group tags.
///
///
[AWSProperty(Min=0, Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property Type.
///
/// The type of the ReportGroup
. This can be one of the following values:
///
/// - CODE_COVERAGE
-
///
/// The report group contains code coverage reports.
///
///
- TEST
-
///
/// The report group contains test reports.
///
///
///
public ReportType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}