Files
sdk/docs/TrainQuestion.md

2.7 KiB

TrainQuestion

Properties

Name Type Description Notes
Key Pointer to string [optional]
Labels Pointer to []string [optional]
Type Pointer to string [optional]

Methods

NewTrainQuestion

func NewTrainQuestion() *TrainQuestion

NewTrainQuestion instantiates a new TrainQuestion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTrainQuestionWithDefaults

func NewTrainQuestionWithDefaults() *TrainQuestion

NewTrainQuestionWithDefaults instantiates a new TrainQuestion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetKey

func (o *TrainQuestion) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *TrainQuestion) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *TrainQuestion) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *TrainQuestion) HasKey() bool

HasKey returns a boolean if a field has been set.

GetLabels

func (o *TrainQuestion) GetLabels() []string

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *TrainQuestion) GetLabelsOk() (*[]string, bool)

GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLabels

func (o *TrainQuestion) SetLabels(v []string)

SetLabels sets Labels field to given value.

HasLabels

func (o *TrainQuestion) HasLabels() bool

HasLabels returns a boolean if a field has been set.

GetType

func (o *TrainQuestion) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *TrainQuestion) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *TrainQuestion) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *TrainQuestion) HasType() bool

HasType returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]