// 
// 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;

namespace Microsoft.Azure.Management.DataFactories.Core.Registration.Models
{
    /// <summary>
    /// Parameters specifying how to return a list of ComputeType definitions
    /// for a List operation.Specifying both a name and scope will return a
    /// list with one ComputeType (if one exists).
    /// </summary>
    public partial class ComputeTypeListParameters
    {
        private string _computeTypeName;
        
        /// <summary>
        /// Optional. The name of the ComputeType to list.
        /// </summary>
        public string ComputeTypeName
        {
            get { return this._computeTypeName; }
            set { this._computeTypeName = value; }
        }
        
        private string _registrationScope;
        
        /// <summary>
        /// Required. The scope for which to list the ComputeType definitions.
        /// </summary>
        public string RegistrationScope
        {
            get { return this._registrationScope; }
            set { this._registrationScope = value; }
        }
        
        /// <summary>
        /// Initializes a new instance of the ComputeTypeListParameters class.
        /// </summary>
        public ComputeTypeListParameters()
        {
        }
        
        /// <summary>
        /// Initializes a new instance of the ComputeTypeListParameters class
        /// with required arguments.
        /// </summary>
        public ComputeTypeListParameters(string registrationScope)
            : this()
        {
            if (registrationScope == null)
            {
                throw new ArgumentNullException("registrationScope");
            }
            this.RegistrationScope = registrationScope;
        }
    }
}
