Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.3 KB

APIResponse.md

File metadata and controls

134 lines (73 loc) · 3.3 KB

APIResponse

Properties

Name Type Description Notes
Data Pointer to map[string]interface{} [optional]
Error Pointer to bool [optional]
Message Pointer to string [optional]
Status Pointer to int32 [optional]

Methods

NewAPIResponse

func NewAPIResponse() *APIResponse

NewAPIResponse instantiates a new APIResponse 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

NewAPIResponseWithDefaults

func NewAPIResponseWithDefaults() *APIResponse

NewAPIResponseWithDefaults instantiates a new APIResponse 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

GetData

func (o *APIResponse) GetData() map[string]interface{}

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *APIResponse) GetDataOk() (*map[string]interface{}, bool)

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

SetData

func (o *APIResponse) SetData(v map[string]interface{})

SetData sets Data field to given value.

HasData

func (o *APIResponse) HasData() bool

HasData returns a boolean if a field has been set.

GetError

func (o *APIResponse) GetError() bool

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

GetErrorOk

func (o *APIResponse) GetErrorOk() (*bool, 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 *APIResponse) SetError(v bool)

SetError sets Error field to given value.

HasError

func (o *APIResponse) HasError() bool

HasError returns a boolean if a field has been set.

GetMessage

func (o *APIResponse) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *APIResponse) GetMessageOk() (*string, bool)

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

SetMessage

func (o *APIResponse) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *APIResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetStatus

func (o *APIResponse) GetStatus() int32

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *APIResponse) GetStatusOk() (*int32, bool)

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

SetStatus

func (o *APIResponse) SetStatus(v int32)

SetStatus sets Status field to given value.

HasStatus

func (o *APIResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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