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.

UserPhoneConfig

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

type UserPhoneConfig struct { AfterContactWorkTimeLimit *int64 `type:"integer"` AutoAccept *bool `type:"boolean"` DeskPhoneNumber *string `type:"string"` PhoneType *string `type:"string" required:"true" enum:"PhoneType"` }

A UserPhoneConfig object that contains information about the user phone configuration settings.

AfterContactWorkTimeLimit

Type: *int64

The After Call Work (ACW) timeout setting, in seconds, for the user.

AutoAccept

Type: *bool

The Auto accept setting for the user, Yes or No.

DeskPhoneNumber

Type: *string

The phone number for the user's desk phone.

PhoneType

Type: *string

The phone type selected for the user, either Soft phone or Desk phone.

PhoneType is a required field

Method

GoString

func (s UserPhoneConfig) GoString() string

GoString returns the string representation

SetAfterContactWorkTimeLimit

func (s *UserPhoneConfig) SetAfterContactWorkTimeLimit(v int64) *UserPhoneConfig

SetAfterContactWorkTimeLimit sets the AfterContactWorkTimeLimit field's value.

SetAutoAccept

func (s *UserPhoneConfig) SetAutoAccept(v bool) *UserPhoneConfig

SetAutoAccept sets the AutoAccept field's value.

SetDeskPhoneNumber

func (s *UserPhoneConfig) SetDeskPhoneNumber(v string) *UserPhoneConfig

SetDeskPhoneNumber sets the DeskPhoneNumber field's value.

SetPhoneType

func (s *UserPhoneConfig) SetPhoneType(v string) *UserPhoneConfig

SetPhoneType sets the PhoneType field's value.

String

func (s UserPhoneConfig) String() string

String returns the string representation

Validate

func (s *UserPhoneConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: