/*
* 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
{
///
/// Contains information that defines how the CodeBuild build project reports the build
/// status to the source provider.
///
public partial class BuildStatusConfig
{
private string _context;
private string _targetUrl;
///
/// Gets and sets the property Context.
///
/// Specifies the context of the build status CodeBuild sends to the source provider.
/// The usage of this parameter depends on the source provider.
///
/// - Bitbucket
-
///
/// This parameter is used for the
name
parameter in the Bitbucket commit
/// status. For more information, see build
/// in the Bitbucket API documentation.
///
/// - GitHub/GitHub Enterprise Server
-
///
/// This parameter is used for the
context
parameter in the GitHub commit
/// status. For more information, see Create
/// a commit status in the GitHub developer guide.
///
///
///
public string Context
{
get { return this._context; }
set { this._context = value; }
}
// Check to see if Context property is set
internal bool IsSetContext()
{
return this._context != null;
}
///
/// Gets and sets the property TargetUrl.
///
/// Specifies the target url of the build status CodeBuild sends to the source provider.
/// The usage of this parameter depends on the source provider.
///
/// - Bitbucket
-
///
/// This parameter is used for the
url
parameter in the Bitbucket commit
/// status. For more information, see build
/// in the Bitbucket API documentation.
///
/// - GitHub/GitHub Enterprise Server
-
///
/// This parameter is used for the
target_url
parameter in the GitHub commit
/// status. For more information, see Create
/// a commit status in the GitHub developer guide.
///
///
///
public string TargetUrl
{
get { return this._targetUrl; }
set { this._targetUrl = value; }
}
// Check to see if TargetUrl property is set
internal bool IsSetTargetUrl()
{
return this._targetUrl != null;
}
}
}