/* * 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 CreateCommit operation. /// public partial class CreateCommitResponse : AmazonWebServiceResponse { private string _commitId; private List _filesAdded = new List(); private List _filesDeleted = new List(); private List _filesUpdated = new List(); private string _treeId; /// /// Gets and sets the property CommitId. /// /// The full commit ID of the commit that contains your committed file changes. /// /// 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 FilesAdded. /// /// The files added as part of the committed file changes. /// /// public List FilesAdded { get { return this._filesAdded; } set { this._filesAdded = value; } } // Check to see if FilesAdded property is set internal bool IsSetFilesAdded() { return this._filesAdded != null && this._filesAdded.Count > 0; } /// /// Gets and sets the property FilesDeleted. /// /// The files deleted as part of the committed file changes. /// /// public List FilesDeleted { get { return this._filesDeleted; } set { this._filesDeleted = value; } } // Check to see if FilesDeleted property is set internal bool IsSetFilesDeleted() { return this._filesDeleted != null && this._filesDeleted.Count > 0; } /// /// Gets and sets the property FilesUpdated. /// /// The files updated as part of the commited file changes. /// /// public List FilesUpdated { get { return this._filesUpdated; } set { this._filesUpdated = value; } } // Check to see if FilesUpdated property is set internal bool IsSetFilesUpdated() { return this._filesUpdated != null && this._filesUpdated.Count > 0; } /// /// Gets and sets the property TreeId. /// /// The full SHA-1 pointer of the tree information for the commit that contains the commited /// file changes. /// /// 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; } } }