/sdk/src/Services/DeviceFarm/Generated/Model/Artifact.cs

https://gitlab.com/vectorci/aws-sdk-net · C# · 231 lines · 63 code · 14 blank · 154 comment · 5 complexity · 5296652693a6e4088d4c2f6e0bcb32f4 MD5 · raw file

  1. /*
  2. * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License").
  5. * You may not use this file except in compliance with the License.
  6. * A copy of the License is located at
  7. *
  8. * http://aws.amazon.com/apache2.0
  9. *
  10. * or in the "license" file accompanying this file. This file is distributed
  11. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  12. * express or implied. See the License for the specific language governing
  13. * permissions and limitations under the License.
  14. */
  15. /*
  16. * Do not modify this file. This file is generated from the devicefarm-2015-06-23.normal.json service model.
  17. */
  18. using System;
  19. using System.Collections.Generic;
  20. using System.Xml.Serialization;
  21. using System.Text;
  22. using System.IO;
  23. using Amazon.Runtime;
  24. using Amazon.Runtime.Internal;
  25. namespace Amazon.DeviceFarm.Model
  26. {
  27. /// <summary>
  28. /// Represents the output of a test. Examples of artifacts include logs and screenshots.
  29. /// </summary>
  30. public partial class Artifact
  31. {
  32. private string _arn;
  33. private string _extension;
  34. private string _name;
  35. private ArtifactType _type;
  36. private string _url;
  37. /// <summary>
  38. /// Gets and sets the property Arn.
  39. /// <para>
  40. /// The artifact's ARN.
  41. /// </para>
  42. /// </summary>
  43. public string Arn
  44. {
  45. get { return this._arn; }
  46. set { this._arn = value; }
  47. }
  48. // Check to see if Arn property is set
  49. internal bool IsSetArn()
  50. {
  51. return this._arn != null;
  52. }
  53. /// <summary>
  54. /// Gets and sets the property Extension.
  55. /// <para>
  56. /// The artifact's file extension.
  57. /// </para>
  58. /// </summary>
  59. public string Extension
  60. {
  61. get { return this._extension; }
  62. set { this._extension = value; }
  63. }
  64. // Check to see if Extension property is set
  65. internal bool IsSetExtension()
  66. {
  67. return this._extension != null;
  68. }
  69. /// <summary>
  70. /// Gets and sets the property Name.
  71. /// <para>
  72. /// The artifact's name.
  73. /// </para>
  74. /// </summary>
  75. public string Name
  76. {
  77. get { return this._name; }
  78. set { this._name = value; }
  79. }
  80. // Check to see if Name property is set
  81. internal bool IsSetName()
  82. {
  83. return this._name != null;
  84. }
  85. /// <summary>
  86. /// Gets and sets the property Type.
  87. /// <para>
  88. /// The artifact's type.
  89. /// </para>
  90. ///
  91. /// <para>
  92. /// Allowed values include the following:
  93. /// </para>
  94. /// <ul> <li>
  95. /// <para>
  96. /// UNKNOWN: An unknown type.
  97. /// </para>
  98. /// </li> <li>
  99. /// <para>
  100. /// SCREENSHOT: The screenshot type.
  101. /// </para>
  102. /// </li> <li>
  103. /// <para>
  104. /// DEVICE_LOG: The device log type.
  105. /// </para>
  106. /// </li> <li>
  107. /// <para>
  108. /// MESSAGE_LOG: The message log type.
  109. /// </para>
  110. /// </li> <li>
  111. /// <para>
  112. /// RESULT_LOG: The result log type.
  113. /// </para>
  114. /// </li> <li>
  115. /// <para>
  116. /// SERVICE_LOG: The service log type.
  117. /// </para>
  118. /// </li> <li>
  119. /// <para>
  120. /// WEBKIT_LOG: The web kit log type.
  121. /// </para>
  122. /// </li> <li>
  123. /// <para>
  124. /// INSTRUMENTATION_OUTPUT: The instrumentation type.
  125. /// </para>
  126. /// </li> <li>
  127. /// <para>
  128. /// EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz
  129. /// test.
  130. /// </para>
  131. /// </li> <li>
  132. /// <para>
  133. /// CALABASH_JSON_OUTPUT: The Calabash JSON output type.
  134. /// </para>
  135. /// </li> <li>
  136. /// <para>
  137. /// CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.
  138. /// </para>
  139. /// </li> <li>
  140. /// <para>
  141. /// CALABASH_STANDARD_OUTPUT: The Calabash standard output type.
  142. /// </para>
  143. /// </li> <li>
  144. /// <para>
  145. /// CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.
  146. /// </para>
  147. /// </li> <li>
  148. /// <para>
  149. /// AUTOMATION_OUTPUT: The automation output type.
  150. /// </para>
  151. /// </li> <li>
  152. /// <para>
  153. /// APPIUM_SERVER_OUTPUT: The Appium server output type.
  154. /// </para>
  155. /// </li> <li>
  156. /// <para>
  157. /// APPIUM_JAVA_OUTPUT: The Appium Java output type.
  158. /// </para>
  159. /// </li> <li>
  160. /// <para>
  161. /// APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.
  162. /// </para>
  163. /// </li> <li>
  164. /// <para>
  165. /// APPIUM_PYTHON_OUTPUT: The Appium Python output type.
  166. /// </para>
  167. /// </li> <li>
  168. /// <para>
  169. /// APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.
  170. /// </para>
  171. /// </li> <li>
  172. /// <para>
  173. /// EXPLORER_EVENT_LOG: The Explorer event log output type.
  174. /// </para>
  175. /// </li> <li>
  176. /// <para>
  177. /// EXPLORER_SUMMARY_LOG: The Explorer summary log output type.
  178. /// </para>
  179. /// </li> <li>
  180. /// <para>
  181. /// APPLICATION_CRASH_REPORT: The application crash report output type.
  182. /// </para>
  183. /// </li> <li>
  184. /// <para>
  185. /// XCTEST_LOG: The XCode test output type.
  186. /// </para>
  187. /// </li> </ul>
  188. /// </summary>
  189. public ArtifactType Type
  190. {
  191. get { return this._type; }
  192. set { this._type = value; }
  193. }
  194. // Check to see if Type property is set
  195. internal bool IsSetType()
  196. {
  197. return this._type != null;
  198. }
  199. /// <summary>
  200. /// Gets and sets the property Url.
  201. /// <para>
  202. /// The pre-signed Amazon S3 URL that can be used with a corresponding GET request to
  203. /// download the artifact's file.
  204. /// </para>
  205. /// </summary>
  206. public string Url
  207. {
  208. get { return this._url; }
  209. set { this._url = value; }
  210. }
  211. // Check to see if Url property is set
  212. internal bool IsSetUrl()
  213. {
  214. return this._url != null;
  215. }
  216. }
  217. }