// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNet.Mvc.ApplicationModels { /// /// A model for ApiExplorer properties associated with a controller or action. /// public class ApiExplorerModel { /// /// Creates a new . /// public ApiExplorerModel() { } /// /// Creates a new with properties copied from . /// /// The to copy. public ApiExplorerModel([NotNull] ApiExplorerModel other) { GroupName = other.GroupName; IsVisible = other.IsVisible; } /// /// If true, objects will be created for the associated /// controller or action. /// /// /// Set this value to configure whether or not the associated controller or action will appear in ApiExplorer. /// public bool? IsVisible { get; set; } /// /// The value for of /// objects created for the associated controller or action. /// public string GroupName { get; set; } } }