/*
* 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
{
///
/// A file to be added, updated, or deleted as part of a commit.
///
public partial class FileMetadata
{
private string _absolutePath;
private string _blobId;
private FileModeTypeEnum _fileMode;
///
/// Gets and sets the property AbsolutePath.
///
/// The full path to the file to be added or updated, including the name of the file.
///
///
public string AbsolutePath
{
get { return this._absolutePath; }
set { this._absolutePath = value; }
}
// Check to see if AbsolutePath property is set
internal bool IsSetAbsolutePath()
{
return this._absolutePath != null;
}
///
/// Gets and sets the property BlobId.
///
/// The blob ID that contains the file information.
///
///
public string BlobId
{
get { return this._blobId; }
set { this._blobId = value; }
}
// Check to see if BlobId property is set
internal bool IsSetBlobId()
{
return this._blobId != null;
}
///
/// Gets and sets the property FileMode.
///
/// The extrapolated file mode permissions for the file. Valid values include EXECUTABLE
/// and NORMAL.
///
///
public FileModeTypeEnum FileMode
{
get { return this._fileMode; }
set { this._fileMode = value; }
}
// Check to see if FileMode property is set
internal bool IsSetFileMode()
{
return this._fileMode != null;
}
}
}