// 
// 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.Collections.Generic;
using System.Linq;
using Hyak.Common;
using Microsoft.Azure.Management.ApiManagement.SmapiModels;

namespace Microsoft.Azure.Management.ApiManagement.SmapiModels
{
    /// <summary>
    /// Parameters supplied to the Update Backend operation.
    /// </summary>
    public partial class BackendUpdateParameters
    {
        private BackendCredentialsContract _credentials;
        
        /// <summary>
        /// Optional. Gets or sets Backend type specific authentication.
        /// </summary>
        public BackendCredentialsContract Credentials
        {
            get { return this._credentials; }
            set { this._credentials = value; }
        }
        
        private string _description;
        
        /// <summary>
        /// Optional. Gets or sets Backend description.
        /// </summary>
        public string Description
        {
            get { return this._description; }
            set { this._description = value; }
        }
        
        private IDictionary<string, object> _properties;
        
        /// <summary>
        /// Optional. Gets or sets Backend type specific properties.
        /// </summary>
        public IDictionary<string, object> Properties
        {
            get { return this._properties; }
            set { this._properties = value; }
        }
        
        private string _protocol;
        
        /// <summary>
        /// Optional. Gets or sets Backend communication protocol.
        /// </summary>
        public string Protocol
        {
            get { return this._protocol; }
            set { this._protocol = value; }
        }
        
        private BackendProxyContract _proxy;
        
        /// <summary>
        /// Optional. Gets or sets proxy details.
        /// </summary>
        public BackendProxyContract Proxy
        {
            get { return this._proxy; }
            set { this._proxy = value; }
        }
        
        private string _resourceId;
        
        /// <summary>
        /// Optional. Gets or sets Original uri of entity in external system
        /// backend points to.
        /// </summary>
        public string ResourceId
        {
            get { return this._resourceId; }
            set { this._resourceId = value; }
        }
        
        private string _title;
        
        /// <summary>
        /// Optional. Gets or sets Backend title.
        /// </summary>
        public string Title
        {
            get { return this._title; }
            set { this._title = value; }
        }
        
        private string _url;
        
        /// <summary>
        /// Optional. Gets or sets the runtime Url of the Backend.
        /// </summary>
        public string Url
        {
            get { return this._url; }
            set { this._url = value; }
        }
        
        /// <summary>
        /// Initializes a new instance of the BackendUpdateParameters class.
        /// </summary>
        public BackendUpdateParameters()
        {
            this.Properties = new LazyDictionary<string, object>();
        }
    }
}
