garage-admin-sdk-golang/docs/AddNode200ResponseInner.md
2022-11-13 14:22:00 +01:00

2.6 KiB

AddNode200ResponseInner

Properties

Name Type Description Notes
Success Pointer to bool [optional]
Error Pointer to NullableString [optional]

Methods

NewAddNode200ResponseInner

func NewAddNode200ResponseInner() *AddNode200ResponseInner

NewAddNode200ResponseInner instantiates a new AddNode200ResponseInner 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

NewAddNode200ResponseInnerWithDefaults

func NewAddNode200ResponseInnerWithDefaults() *AddNode200ResponseInner

NewAddNode200ResponseInnerWithDefaults instantiates a new AddNode200ResponseInner 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

GetSuccess

func (o *AddNode200ResponseInner) GetSuccess() bool

GetSuccess returns the Success field if non-nil, zero value otherwise.

GetSuccessOk

func (o *AddNode200ResponseInner) GetSuccessOk() (*bool, bool)

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

SetSuccess

func (o *AddNode200ResponseInner) SetSuccess(v bool)

SetSuccess sets Success field to given value.

HasSuccess

func (o *AddNode200ResponseInner) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

GetError

func (o *AddNode200ResponseInner) GetError() string

GetError returns the Error field if non-nil, zero value otherwise.

GetErrorOk

func (o *AddNode200ResponseInner) GetErrorOk() (*string, bool)

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

SetError

func (o *AddNode200ResponseInner) SetError(v string)

SetError sets Error field to given value.

HasError

func (o *AddNode200ResponseInner) HasError() bool

HasError returns a boolean if a field has been set.

SetErrorNil

func (o *AddNode200ResponseInner) SetErrorNil(b bool)

SetErrorNil sets the value for Error to be an explicit nil

UnsetError

func (o *AddNode200ResponseInner) UnsetError()

UnsetError ensures that no value is present for Error, not even an explicit nil

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