-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
RequestContract.cs
46 lines (40 loc) · 2.02 KB
/
RequestContract.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> Operation request details. </summary>
public partial class RequestContract
{
/// <summary> Initializes a new instance of RequestContract. </summary>
public RequestContract()
{
QueryParameters = new ChangeTrackingList<ParameterContract>();
Headers = new ChangeTrackingList<ParameterContract>();
Representations = new ChangeTrackingList<RepresentationContract>();
}
/// <summary> Initializes a new instance of RequestContract. </summary>
/// <param name="description"> Operation request description. </param>
/// <param name="queryParameters"> Collection of operation request query parameters. </param>
/// <param name="headers"> Collection of operation request headers. </param>
/// <param name="representations"> Collection of operation request representations. </param>
internal RequestContract(string description, IList<ParameterContract> queryParameters, IList<ParameterContract> headers, IList<RepresentationContract> representations)
{
Description = description;
QueryParameters = queryParameters;
Headers = headers;
Representations = representations;
}
/// <summary> Operation request description. </summary>
public string Description { get; set; }
/// <summary> Collection of operation request query parameters. </summary>
public IList<ParameterContract> QueryParameters { get; }
/// <summary> Collection of operation request headers. </summary>
public IList<ParameterContract> Headers { get; }
/// <summary> Collection of operation request representations. </summary>
public IList<RepresentationContract> Representations { get; }
}
}