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.

QualificationType

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

type QualificationType struct { AnswerKey *string `type:"string"` AutoGranted *bool `type:"boolean"` AutoGrantedValue *int64 `type:"integer"` CreationTime *time.Time `type:"timestamp"` Description *string `type:"string"` IsRequestable *bool `type:"boolean"` Keywords *string `type:"string"` Name *string `type:"string"` QualificationTypeId *string `min:"1" type:"string"` QualificationTypeStatus *string `type:"string" enum:"QualificationTypeStatus"` RetryDelayInSeconds *int64 `type:"long"` Test *string `type:"string"` TestDurationInSeconds *int64 `type:"long"` }

The QualificationType data structure represents a Qualification type, a description of a property of a Worker that must match the requirements of a HIT for the Worker to be able to accept the HIT. The type also describes how a Worker can obtain a Qualification of that type, such as through a Qualification test.

AnswerKey

Type: *string

The answers to the Qualification test specified in the Test parameter.

AutoGranted

Type: *bool

Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.

AutoGrantedValue

Type: *int64

The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default.

CreationTime

Type: *time.Time

The date and time the Qualification type was created.

Description

Type: *string

A long description for the Qualification type.

IsRequestable

Type: *bool

Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False.

Keywords

Type: *string

One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search.

Name

Type: *string

The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search.

QualificationTypeId

Type: *string

A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation.

QualificationTypeStatus

Type: *string

The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type. Valid values are Active | Inactive.

RetryDelayInSeconds

Type: *int64

The amount of time, in seconds, Workers must wait after taking the Qualification test before they can take it again. Workers can take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and they want a better score. If not specified, retries are disabled and Workers can request a Qualification only once.

Test

Type: *string

The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This parameter must be specified if AnswerKey is present. A Qualification type cannot have both a specified Test parameter and an AutoGranted value of true.

TestDurationInSeconds

Type: *int64

The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification.

Method

GoString

func (s QualificationType) GoString() string

GoString returns the string representation

SetAnswerKey

func (s *QualificationType) SetAnswerKey(v string) *QualificationType

SetAnswerKey sets the AnswerKey field's value.

SetAutoGranted

func (s *QualificationType) SetAutoGranted(v bool) *QualificationType

SetAutoGranted sets the AutoGranted field's value.

SetAutoGrantedValue

func (s *QualificationType) SetAutoGrantedValue(v int64) *QualificationType

SetAutoGrantedValue sets the AutoGrantedValue field's value.

SetCreationTime

func (s *QualificationType) SetCreationTime(v time.Time) *QualificationType

SetCreationTime sets the CreationTime field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetIsRequestable

func (s *QualificationType) SetIsRequestable(v bool) *QualificationType

SetIsRequestable sets the IsRequestable field's value.

SetKeywords

func (s *QualificationType) SetKeywords(v string) *QualificationType

SetKeywords sets the Keywords field's value.

SetName

func (s *QualificationType) SetName(v string) *QualificationType

SetName sets the Name field's value.

SetQualificationTypeId

func (s *QualificationType) SetQualificationTypeId(v string) *QualificationType

SetQualificationTypeId sets the QualificationTypeId field's value.

SetQualificationTypeStatus

func (s *QualificationType) SetQualificationTypeStatus(v string) *QualificationType

SetQualificationTypeStatus sets the QualificationTypeStatus field's value.

SetRetryDelayInSeconds

func (s *QualificationType) SetRetryDelayInSeconds(v int64) *QualificationType

SetRetryDelayInSeconds sets the RetryDelayInSeconds field's value.

SetTest

func (s *QualificationType) SetTest(v string) *QualificationType

SetTest sets the Test field's value.

SetTestDurationInSeconds

func (s *QualificationType) SetTestDurationInSeconds(v int64) *QualificationType

SetTestDurationInSeconds sets the TestDurationInSeconds field's value.

String

func (s QualificationType) String() string

String returns the string representation

On this page: