2.1 KiB
TrainChose
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Mode | Pointer to string | Mode is the mode the job runs. | [optional] |
| Why | Pointer to string | Why says what decided it. | [optional] |
Methods
NewTrainChose
func NewTrainChose() *TrainChose
NewTrainChose instantiates a new TrainChose 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
NewTrainChoseWithDefaults
func NewTrainChoseWithDefaults() *TrainChose
NewTrainChoseWithDefaults instantiates a new TrainChose 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
GetMode
func (o *TrainChose) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
GetModeOk
func (o *TrainChose) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMode
func (o *TrainChose) SetMode(v string)
SetMode sets Mode field to given value.
HasMode
func (o *TrainChose) HasMode() bool
HasMode returns a boolean if a field has been set.
GetWhy
func (o *TrainChose) GetWhy() string
GetWhy returns the Why field if non-nil, zero value otherwise.
GetWhyOk
func (o *TrainChose) GetWhyOk() (*string, bool)
GetWhyOk returns a tuple with the Why field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWhy
func (o *TrainChose) SetWhy(v string)
SetWhy sets Why field to given value.
HasWhy
func (o *TrainChose) HasWhy() bool
HasWhy returns a boolean if a field has been set.