/
ApiIssueAttachmentData.cs
46 lines (40 loc) · 2.06 KB
/
ApiIssueAttachmentData.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 Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement
{
/// <summary>
/// A class representing the ApiIssueAttachment data model.
/// Issue Attachment Contract details.
/// </summary>
public partial class ApiIssueAttachmentData : ResourceData
{
/// <summary> Initializes a new instance of ApiIssueAttachmentData. </summary>
public ApiIssueAttachmentData()
{
}
/// <summary> Initializes a new instance of ApiIssueAttachmentData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="title"> Filename by which the binary data will be saved. </param>
/// <param name="contentFormat"> Either 'link' if content is provided via an HTTP link or the MIME type of the Base64-encoded binary data provided in the 'content' property. </param>
/// <param name="content"> An HTTP link or Base64-encoded binary data. </param>
internal ApiIssueAttachmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string title, string contentFormat, string content) : base(id, name, resourceType, systemData)
{
Title = title;
ContentFormat = contentFormat;
Content = content;
}
/// <summary> Filename by which the binary data will be saved. </summary>
public string Title { get; set; }
/// <summary> Either 'link' if content is provided via an HTTP link or the MIME type of the Base64-encoded binary data provided in the 'content' property. </summary>
public string ContentFormat { get; set; }
/// <summary> An HTTP link or Base64-encoded binary data. </summary>
public string Content { get; set; }
}
}