Name | Type | Description | Notes |
---|---|---|---|
WorkerId | string | ||
Version | string | ||
VersionMatching | bool |
func NewWorker(workerId string, version string, versionMatching bool, ) *Worker
NewWorker instantiates a new Worker 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
func NewWorkerWithDefaults() *Worker
NewWorkerWithDefaults instantiates a new Worker 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
func (o *Worker) GetWorkerId() string
GetWorkerId returns the WorkerId field if non-nil, zero value otherwise.
func (o *Worker) GetWorkerIdOk() (*string, bool)
GetWorkerIdOk returns a tuple with the WorkerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Worker) SetWorkerId(v string)
SetWorkerId sets WorkerId field to given value.
func (o *Worker) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Worker) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Worker) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *Worker) GetVersionMatching() bool
GetVersionMatching returns the VersionMatching field if non-nil, zero value otherwise.
func (o *Worker) GetVersionMatchingOk() (*bool, bool)
GetVersionMatchingOk returns a tuple with the VersionMatching field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Worker) SetVersionMatching(v bool)
SetVersionMatching sets VersionMatching field to given value.