/* * 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 { /// /// If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving /// conflicts during a merge. /// public partial class ConflictResolution { private List _deleteFiles = new List(); private List _replaceContents = new List(); private List _setFileModes = new List(); /// /// Gets and sets the property DeleteFiles. /// /// Files to be deleted as part of the merge conflict resolution. /// /// public List DeleteFiles { get { return this._deleteFiles; } set { this._deleteFiles = value; } } // Check to see if DeleteFiles property is set internal bool IsSetDeleteFiles() { return this._deleteFiles != null && this._deleteFiles.Count > 0; } /// /// Gets and sets the property ReplaceContents. /// /// Files to have content replaced as part of the merge conflict resolution. /// /// public List ReplaceContents { get { return this._replaceContents; } set { this._replaceContents = value; } } // Check to see if ReplaceContents property is set internal bool IsSetReplaceContents() { return this._replaceContents != null && this._replaceContents.Count > 0; } /// /// Gets and sets the property SetFileModes. /// /// File modes that are set as part of the merge conflict resolution. /// /// public List SetFileModes { get { return this._setFileModes; } set { this._setFileModes = value; } } // Check to see if SetFileModes property is set internal bool IsSetSetFileModes() { return this._setFileModes != null && this._setFileModes.Count > 0; } } }