/*
* 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 codecommit-2015-04-13.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.CodeCommit.Model
{
///
/// This is the response object from the GetFolder operation.
///
public partial class GetFolderResponse : AmazonWebServiceResponse
{
private string _commitId;
private List _files = new List();
private string _folderPath;
private List _subFolders = new List();
private List _subModules = new List();
private List _symbolicLinks = new List();
private string _treeId;
///
/// Gets and sets the property CommitId.
///
/// The full commit ID used as a reference for the returned version of the folder content.
///
///
[AWSProperty(Required=true)]
public string CommitId
{
get { return this._commitId; }
set { this._commitId = value; }
}
// Check to see if CommitId property is set
internal bool IsSetCommitId()
{
return this._commitId != null;
}
///
/// Gets and sets the property Files.
///
/// The list of files in the specified folder, if any.
///
///
public List Files
{
get { return this._files; }
set { this._files = value; }
}
// Check to see if Files property is set
internal bool IsSetFiles()
{
return this._files != null && this._files.Count > 0;
}
///
/// Gets and sets the property FolderPath.
///
/// The fully qualified path of the folder whose contents are returned.
///
///
[AWSProperty(Required=true)]
public string FolderPath
{
get { return this._folderPath; }
set { this._folderPath = value; }
}
// Check to see if FolderPath property is set
internal bool IsSetFolderPath()
{
return this._folderPath != null;
}
///
/// Gets and sets the property SubFolders.
///
/// The list of folders that exist under the specified folder, if any.
///
///
public List SubFolders
{
get { return this._subFolders; }
set { this._subFolders = value; }
}
// Check to see if SubFolders property is set
internal bool IsSetSubFolders()
{
return this._subFolders != null && this._subFolders.Count > 0;
}
///
/// Gets and sets the property SubModules.
///
/// The list of submodules in the specified folder, if any.
///
///
public List SubModules
{
get { return this._subModules; }
set { this._subModules = value; }
}
// Check to see if SubModules property is set
internal bool IsSetSubModules()
{
return this._subModules != null && this._subModules.Count > 0;
}
///
/// Gets and sets the property SymbolicLinks.
///
/// The list of symbolic links to other files and folders in the specified folder, if
/// any.
///
///
public List SymbolicLinks
{
get { return this._symbolicLinks; }
set { this._symbolicLinks = value; }
}
// Check to see if SymbolicLinks property is set
internal bool IsSetSymbolicLinks()
{
return this._symbolicLinks != null && this._symbolicLinks.Count > 0;
}
///
/// Gets and sets the property TreeId.
///
/// The full SHA-1 pointer of the tree information for the commit that contains the folder.
///
///
public string TreeId
{
get { return this._treeId; }
set { this._treeId = value; }
}
// Check to see if TreeId property is set
internal bool IsSetTreeId()
{
return this._treeId != null;
}
}
}