2.8 KiB
DtoCreateTaintRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Effect | Pointer to string | [optional] | |
| Key | Pointer to string | [optional] | |
| Value | Pointer to string | [optional] |
Methods
NewDtoCreateTaintRequest
func NewDtoCreateTaintRequest() *DtoCreateTaintRequest
NewDtoCreateTaintRequest instantiates a new DtoCreateTaintRequest 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
NewDtoCreateTaintRequestWithDefaults
func NewDtoCreateTaintRequestWithDefaults() *DtoCreateTaintRequest
NewDtoCreateTaintRequestWithDefaults instantiates a new DtoCreateTaintRequest 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
GetEffect
func (o *DtoCreateTaintRequest) GetEffect() string
GetEffect returns the Effect field if non-nil, zero value otherwise.
GetEffectOk
func (o *DtoCreateTaintRequest) GetEffectOk() (*string, bool)
GetEffectOk returns a tuple with the Effect field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEffect
func (o *DtoCreateTaintRequest) SetEffect(v string)
SetEffect sets Effect field to given value.
HasEffect
func (o *DtoCreateTaintRequest) HasEffect() bool
HasEffect returns a boolean if a field has been set.
GetKey
func (o *DtoCreateTaintRequest) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
GetKeyOk
func (o *DtoCreateTaintRequest) 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 *DtoCreateTaintRequest) SetKey(v string)
SetKey sets Key field to given value.
HasKey
func (o *DtoCreateTaintRequest) HasKey() bool
HasKey returns a boolean if a field has been set.
GetValue
func (o *DtoCreateTaintRequest) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
GetValueOk
func (o *DtoCreateTaintRequest) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValue
func (o *DtoCreateTaintRequest) SetValue(v string)
SetValue sets Value field to given value.
HasValue
func (o *DtoCreateTaintRequest) HasValue() bool
HasValue returns a boolean if a field has been set.