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.

Offering

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

type Offering struct { Description *string `locationName:"description" type:"string"` Id *string `locationName:"id" min:"32" type:"string"` Platform *string `locationName:"platform" type:"string" enum:"DevicePlatform"` RecurringCharges []*RecurringCharge `locationName:"recurringCharges" type:"list"` Type *string `locationName:"type" type:"string" enum:"OfferingType"` }

Represents the metadata of a device offering.

Description

Type: *string

A string describing the offering.

Id

Type: *string

The ID that corresponds to a device offering.

Platform

Type: *string

The platform of the device (e.g., ANDROID or IOS).

RecurringCharges

Specifies whether charges for devices will be recurring.

Type

Type: *string

The type of offering (e.g., "RECURRING") for a device.

Method

GoString

func (s Offering) GoString() string

GoString returns the string representation

SetDescription

func (s *Offering) SetDescription(v string) *Offering

SetDescription sets the Description field's value.

SetId

func (s *Offering) SetId(v string) *Offering

SetId sets the Id field's value.

SetPlatform

func (s *Offering) SetPlatform(v string) *Offering

SetPlatform sets the Platform field's value.

SetRecurringCharges

func (s *Offering) SetRecurringCharges(v []*RecurringCharge) *Offering

SetRecurringCharges sets the RecurringCharges field's value.

SetType

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

SetType sets the Type field's value.

String

func (s Offering) String() string

String returns the string representation

On this page: