/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
- /*
- * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License").
- * You may not use this file except in compliance with the License.
- * A copy of the License is located at
- *
- * http://aws.amazon.com/apache2.0
- *
- * or in the "license" file accompanying this file. This file is distributed
- * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
- * express or implied. See the License for the specific language governing
- * permissions and limitations under the License.
- */
- /*
- * Do not modify this file. This file is generated from the devicefarm-2015-06-23.normal.json service model.
- */
- using System;
- using System.Collections.Generic;
- using System.Xml.Serialization;
- using System.Text;
- using System.IO;
- using Amazon.Runtime;
- using Amazon.Runtime.Internal;
- namespace Amazon.DeviceFarm.Model
- {
- /// <summary>
- /// Represents the output of a test. Examples of artifacts include logs and screenshots.
- /// </summary>
- public partial class Artifact
- {
- private string _arn;
- private string _extension;
- private string _name;
- private ArtifactType _type;
- private string _url;
- /// <summary>
- /// Gets and sets the property Arn.
- /// <para>
- /// The artifact's ARN.
- /// </para>
- /// </summary>
- public string Arn
- {
- get { return this._arn; }
- set { this._arn = value; }
- }
- // Check to see if Arn property is set
- internal bool IsSetArn()
- {
- return this._arn != null;
- }
- /// <summary>
- /// Gets and sets the property Extension.
- /// <para>
- /// The artifact's file extension.
- /// </para>
- /// </summary>
- public string Extension
- {
- get { return this._extension; }
- set { this._extension = value; }
- }
- // Check to see if Extension property is set
- internal bool IsSetExtension()
- {
- return this._extension != null;
- }
- /// <summary>
- /// Gets and sets the property Name.
- /// <para>
- /// The artifact's name.
- /// </para>
- /// </summary>
- public string Name
- {
- get { return this._name; }
- set { this._name = value; }
- }
- // Check to see if Name property is set
- internal bool IsSetName()
- {
- return this._name != null;
- }
- /// <summary>
- /// Gets and sets the property Type.
- /// <para>
- /// The artifact's type.
- /// </para>
- ///
- /// <para>
- /// Allowed values include the following:
- /// </para>
- /// <ul> <li>
- /// <para>
- /// UNKNOWN: An unknown type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// SCREENSHOT: The screenshot type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// DEVICE_LOG: The device log type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// MESSAGE_LOG: The message log type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// RESULT_LOG: The result log type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// SERVICE_LOG: The service log type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// WEBKIT_LOG: The web kit log type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// INSTRUMENTATION_OUTPUT: The instrumentation type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz
- /// test.
- /// </para>
- /// </li> <li>
- /// <para>
- /// CALABASH_JSON_OUTPUT: The Calabash JSON output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// CALABASH_STANDARD_OUTPUT: The Calabash standard output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// AUTOMATION_OUTPUT: The automation output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// APPIUM_SERVER_OUTPUT: The Appium server output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// APPIUM_JAVA_OUTPUT: The Appium Java output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// APPIUM_PYTHON_OUTPUT: The Appium Python output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// EXPLORER_EVENT_LOG: The Explorer event log output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// EXPLORER_SUMMARY_LOG: The Explorer summary log output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// APPLICATION_CRASH_REPORT: The application crash report output type.
- /// </para>
- /// </li> <li>
- /// <para>
- /// XCTEST_LOG: The XCode test output type.
- /// </para>
- /// </li> </ul>
- /// </summary>
- public ArtifactType Type
- {
- get { return this._type; }
- set { this._type = value; }
- }
- // Check to see if Type property is set
- internal bool IsSetType()
- {
- return this._type != null;
- }
- /// <summary>
- /// Gets and sets the property Url.
- /// <para>
- /// The pre-signed Amazon S3 URL that can be used with a corresponding GET request to
- /// download the artifact's file.
- /// </para>
- /// </summary>
- public string Url
- {
- get { return this._url; }
- set { this._url = value; }
- }
- // Check to see if Url property is set
- internal bool IsSetUrl()
- {
- return this._url != null;
- }
- }
- }