Module Values.JobSource

Represents a device.

Sourcetype nonrec t = {
  1. arn : AmazonResourceName.t option;
    (*

    The job's ARN.

    *)
  2. name : Name.t option;
    (*

    The job's name.

    *)
  3. type_ : TestType.t option;
    (*

    The job's type. Allowed values include the following: BUILTIN_FUZZ APPIUM_JAVA_JUNIT APPIUM_JAVA_TESTNG APPIUM_PYTHON APPIUM_NODE APPIUM_RUBY APPIUM_WEB_JAVA_JUNIT APPIUM_WEB_JAVA_TESTNG APPIUM_WEB_PYTHON APPIUM_WEB_NODE APPIUM_WEB_RUBY INSTRUMENTATION XCTEST XCTEST_UI

    *)
  4. created : DateTime.t option;
    (*

    When the job was created.

    *)
  5. status : ExecutionStatus.t option;
    (*

    The job's status. Allowed values include: PENDING PENDING_CONCURRENCY PENDING_DEVICE PROCESSING SCHEDULING PREPARING RUNNING COMPLETED STOPPING

    *)
  6. result : ExecutionResult.t option;
    (*

    The job's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED

    *)
  7. started : DateTime.t option;
    (*

    The job's start time.

    *)
  8. stopped : DateTime.t option;
    (*

    The job's stop time.

    *)
  9. counters : Counters.t option;
    (*

    The job's result counters.

    *)
  10. message : Message.t option;
    (*

    A message about the job's result.

    *)
  11. device : Device.t option;
    (*

    The device (phone or tablet).

    *)
  12. instanceArn : AmazonResourceName.t option;
    (*

    The ARN of the instance.

    *)
  13. deviceMinutes : DeviceMinutes.t option;
    (*

    Represents the total (metered or unmetered) minutes used by the job.

    *)
  14. videoEndpoint : String_.t option;
    (*

    The endpoint for streaming device video.

    *)
  15. videoCapture : VideoCapture.t option;
    (*

    This value is set to true if video capture is enabled. Otherwise, it is set to false.

    *)
}
Sourceval make : ?arn:??? -> ?name:??? -> ?type_:??? -> ?created:??? -> ?status:??? -> ?result:??? -> ?started:??? -> ?stopped:??? -> ?counters:??? -> ?message:??? -> ?device:??? -> ?instanceArn:??? -> ?deviceMinutes:??? -> ?videoEndpoint:??? -> ?videoCapture:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of VideoCapture.t | `Enum of string | `String of AmazonResourceName.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `String of AmazonResourceName.t | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list | `String of AmazonResourceName.t ]) list ]) list ] list | `Long of Long.t | `String of AmazonResourceName.t | `Structure of (string * [> `Double of Double.t | `Integer of Integer.t | `String of String_.t ]) list ]) list | `Timestamp of DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t