PageRenderTime 48ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/Atlassian.Jira/AttachmentInfo.cs

https://bitbucket.org/yyo/atlassian.net-sdk-v2.0
C# | 22 lines | 17 code | 2 blank | 3 comment | 0 complexity | 422132f9eabac591a5be3dd324cc2b05 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Atlassian.Jira
  6. {
  7. /// <summary>
  8. /// Information about an attachment to be uploaded
  9. /// </summary>
  10. public class UploadAttachmentInfo
  11. {
  12. public string Name { get; set; }
  13. public byte[] Data { get; set; }
  14. public UploadAttachmentInfo(string name, byte[] data)
  15. {
  16. this.Name = name;
  17. this.Data = data;
  18. }
  19. }
  20. }