AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Problem

import "github.com/aws/aws-sdk-go/service/devicefarm"

type Problem struct { Device *Device `locationName:"device" type:"structure"` Job *ProblemDetail `locationName:"job" type:"structure"` Message *string `locationName:"message" type:"string"` Result *string `locationName:"result" type:"string" enum:"ExecutionResult"` Run *ProblemDetail `locationName:"run" type:"structure"` Suite *ProblemDetail `locationName:"suite" type:"structure"` Test *ProblemDetail `locationName:"test" type:"structure"` }

Represents a specific warning or failure.

Device

Represents a device type that an app is tested against.

Job

Information about a problem detail.

Message

Type: *string

A message about the problem's result.

Result

Type: *string

The problem's result.

Allowed values include:

  • PENDING: A pending condition.

  • PASSED: A passing condition.

  • WARNED: A warning condition.

  • FAILED: A failed condition.

  • SKIPPED: A skipped condition.

  • ERRORED: An error condition.

  • STOPPED: A stopped condition.

Run

Information about a problem detail.

Suite

Information about a problem detail.

Test

Information about a problem detail.

Method

GoString

func (s Problem) GoString() string

GoString returns the string representation

SetDevice

func (s *Problem) SetDevice(v *Device) *Problem

SetDevice sets the Device field's value.

SetJob

func (s *Problem) SetJob(v *ProblemDetail) *Problem

SetJob sets the Job field's value.

SetMessage

func (s *Problem) SetMessage(v string) *Problem

SetMessage sets the Message field's value.

SetResult

func (s *Problem) SetResult(v string) *Problem

SetResult sets the Result field's value.

SetRun

func (s *Problem) SetRun(v *ProblemDetail) *Problem

SetRun sets the Run field's value.

SetSuite

func (s *Problem) SetSuite(v *ProblemDetail) *Problem

SetSuite sets the Suite field's value.

SetTest

func (s *Problem) SetTest(v *ProblemDetail) *Problem

SetTest sets the Test field's value.

String

func (s Problem) String() string

String returns the string representation

On this page: