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.

DeviceMinutes

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

type DeviceMinutes struct { Metered *float64 `locationName:"metered" type:"double"` Total *float64 `locationName:"total" type:"double"` Unmetered *float64 `locationName:"unmetered" type:"double"` }

Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.

Metered

Type: *float64

When specified, represents only the sum of metered minutes used by the resource to run tests.

Total

Type: *float64

When specified, represents the total minutes used by the resource to run tests.

Unmetered

Type: *float64

When specified, represents only the sum of unmetered minutes used by the resource to run tests.

Method

GoString

func (s DeviceMinutes) GoString() string

GoString returns the string representation

SetMetered

func (s *DeviceMinutes) SetMetered(v float64) *DeviceMinutes

SetMetered sets the Metered field's value.

SetTotal

func (s *DeviceMinutes) SetTotal(v float64) *DeviceMinutes

SetTotal sets the Total field's value.

SetUnmetered

func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes

SetUnmetered sets the Unmetered field's value.

String

func (s DeviceMinutes) String() string

String returns the string representation

On this page: