-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ApiRevisionContract.cs
58 lines (52 loc) · 3.03 KB
/
ApiRevisionContract.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
47
48
49
50
51
52
53
54
55
56
57
58
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> Summary of revision metadata. </summary>
public partial class ApiRevisionContract
{
/// <summary> Initializes a new instance of ApiRevisionContract. </summary>
internal ApiRevisionContract()
{
}
/// <summary> Initializes a new instance of ApiRevisionContract. </summary>
/// <param name="apiId"> Identifier of the API Revision. </param>
/// <param name="apiRevision"> Revision number of API. </param>
/// <param name="createdOn"> The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. </param>
/// <param name="updatedOn"> The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. </param>
/// <param name="description"> Description of the API Revision. </param>
/// <param name="privateUri"> Gateway URL for accessing the non-current API Revision. </param>
/// <param name="isOnline"> Indicates if API revision is the current api revision. </param>
/// <param name="isCurrent"> Indicates if API revision is accessible via the gateway. </param>
internal ApiRevisionContract(string apiId, string apiRevision, DateTimeOffset? createdOn, DateTimeOffset? updatedOn, string description, Uri privateUri, bool? isOnline, bool? isCurrent)
{
ApiId = apiId;
ApiRevision = apiRevision;
CreatedOn = createdOn;
UpdatedOn = updatedOn;
Description = description;
PrivateUri = privateUri;
IsOnline = isOnline;
IsCurrent = isCurrent;
}
/// <summary> Identifier of the API Revision. </summary>
public string ApiId { get; }
/// <summary> Revision number of API. </summary>
public string ApiRevision { get; }
/// <summary> The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. </summary>
public DateTimeOffset? CreatedOn { get; }
/// <summary> The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. </summary>
public DateTimeOffset? UpdatedOn { get; }
/// <summary> Description of the API Revision. </summary>
public string Description { get; }
/// <summary> Gateway URL for accessing the non-current API Revision. </summary>
public Uri PrivateUri { get; }
/// <summary> Indicates if API revision is the current api revision. </summary>
public bool? IsOnline { get; }
/// <summary> Indicates if API revision is accessible via the gateway. </summary>
public bool? IsCurrent { get; }
}
}