/*
* 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 codeguru-reviewer-2019-09-19.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.CodeGuruReviewer.Model
{
///
/// Information about an associated Amazon Web Services CodeCommit repository or an associated
/// repository that is managed by Amazon Web Services CodeStar Connections (for example,
/// Bitbucket). This Repository
object is not used if your source code is
/// in an associated GitHub repository.
///
public partial class Repository
{
private ThirdPartySourceRepository _bitbucket;
private CodeCommitRepository _codeCommit;
private ThirdPartySourceRepository _gitHubEnterpriseServer;
private S3Repository _s3Bucket;
///
/// Gets and sets the property Bitbucket.
///
/// Information about a Bitbucket repository.
///
///
public ThirdPartySourceRepository Bitbucket
{
get { return this._bitbucket; }
set { this._bitbucket = value; }
}
// Check to see if Bitbucket property is set
internal bool IsSetBitbucket()
{
return this._bitbucket != null;
}
///
/// Gets and sets the property CodeCommit.
///
/// Information about an Amazon Web Services CodeCommit repository.
///
///
public CodeCommitRepository CodeCommit
{
get { return this._codeCommit; }
set { this._codeCommit = value; }
}
// Check to see if CodeCommit property is set
internal bool IsSetCodeCommit()
{
return this._codeCommit != null;
}
///
/// Gets and sets the property GitHubEnterpriseServer.
///
/// Information about a GitHub Enterprise Server repository.
///
///
public ThirdPartySourceRepository GitHubEnterpriseServer
{
get { return this._gitHubEnterpriseServer; }
set { this._gitHubEnterpriseServer = value; }
}
// Check to see if GitHubEnterpriseServer property is set
internal bool IsSetGitHubEnterpriseServer()
{
return this._gitHubEnterpriseServer != null;
}
///
/// Gets and sets the property S3Bucket.
///
public S3Repository S3Bucket
{
get { return this._s3Bucket; }
set { this._s3Bucket = value; }
}
// Check to see if S3Bucket property is set
internal bool IsSetS3Bucket()
{
return this._s3Bucket != null;
}
}
}