OpenAPI.NET.OData/src/Microsoft.OpenApi.OData.Reader/Capabilities/CustomParameter.cs
2019-04-11 16:32:21 -07:00

41 lines
1.4 KiB
C#

// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System.Collections.Generic;
namespace Microsoft.OpenApi.OData.Capabilities
{
/// <summary>
/// Complex type: Org.OData.Capabilities.V1.CustomParameter
/// </summary>
internal class CustomParameter
{
/// <summary>
/// Gets/sets the name of the custom parameter.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets/sets the description of the custom parameter.
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets/sets the documentationURL of the custom parameter.
/// </summary>
public string DocumentationURL { get; set; }
/// <summary>
/// Gets/sets the reuired of the custom parameter. true: parameter is required, false or not specified: parameter is optional.
/// </summary>
public bool Required { get; set; }
/// <summary>
/// Gets the list of scopes that can provide access to the resource.
/// </summary>s
public IList<PrimitiveExampleValue> Scopes { get; set; }
}
}