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.

OfferingStatus

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

type OfferingStatus struct { EffectiveOn *time.Time `locationName:"effectiveOn" type:"timestamp"` Offering *Offering `locationName:"offering" type:"structure"` Quantity *int64 `locationName:"quantity" type:"integer"` Type *string `locationName:"type" type:"string" enum:"OfferingTransactionType"` }

The status of the offering.

EffectiveOn

Type: *time.Time

The date on which the offering is effective.

Offering

Represents the metadata of a device offering.

Quantity

Type: *int64

The number of available devices in the offering.

Type

Type: *string

The type specified for the offering status.

Method

GoString

func (s OfferingStatus) GoString() string

GoString returns the string representation

SetEffectiveOn

func (s *OfferingStatus) SetEffectiveOn(v time.Time) *OfferingStatus

SetEffectiveOn sets the EffectiveOn field's value.

SetOffering

func (s *OfferingStatus) SetOffering(v *Offering) *OfferingStatus

SetOffering sets the Offering field's value.

SetQuantity

func (s *OfferingStatus) SetQuantity(v int64) *OfferingStatus

SetQuantity sets the Quantity field's value.

SetType

func (s *OfferingStatus) SetType(v string) *OfferingStatus

SetType sets the Type field's value.

String

func (s OfferingStatus) String() string

String returns the string representation

On this page: