// 
// Copyright (c) Microsoft and contributors.  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.
// You may obtain a copy of the License at
//   http://www.apache.org/licenses/LICENSE-2.0
// 
// Unless required by applicable law or agreed to in writing, software
// distributed under the License 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.
// 

// Warning: This code was generated by a tool.
// 
// Changes to this file may cause incorrect behavior and will be lost if the
// code is regenerated.

using System;
using System.Linq;
using Microsoft.WindowsAzure.Management.StorSimple.Models;

namespace Microsoft.WindowsAzure.Management.StorSimple.Models
{
    /// <summary>
    /// Job Step
    /// </summary>
    public partial class JobStep
    {
        private string _detail;
        
        /// <summary>
        /// Required. Details text for this step
        /// </summary>
        public string Detail
        {
            get { return this._detail; }
            set { this._detail = value; }
        }
        
        private string _errorCode;
        
        /// <summary>
        /// Required. Error code if this step had an error
        /// </summary>
        public string ErrorCode
        {
            get { return this._errorCode; }
            set { this._errorCode = value; }
        }
        
        private string _message;
        
        /// <summary>
        /// Required. Message text for this job step
        /// </summary>
        public string Message
        {
            get { return this._message; }
            set { this._message = value; }
        }
        
        private JobResult _result;
        
        /// <summary>
        /// Required. Result of this step
        /// </summary>
        public JobResult Result
        {
            get { return this._result; }
            set { this._result = value; }
        }
        
        private JobStatus _status;
        
        /// <summary>
        /// Required. Status of this step
        /// </summary>
        public JobStatus Status
        {
            get { return this._status; }
            set { this._status = value; }
        }
        
        /// <summary>
        /// Initializes a new instance of the JobStep class.
        /// </summary>
        public JobStep()
        {
        }
    }
}
