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] |
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
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
func (o *APIResponse) GetData() map[string]interface{}
GetData returns the Data field if non-nil, zero value otherwise.
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.
func (o *APIResponse) SetData(v map[string]interface{})
SetData sets Data field to given value.
func (o *APIResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (o *APIResponse) GetError() bool
GetError returns the Error field if non-nil, zero value otherwise.
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.
func (o *APIResponse) SetError(v bool)
SetError sets Error field to given value.
func (o *APIResponse) HasError() bool
HasError returns a boolean if a field has been set.
func (o *APIResponse) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
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.
func (o *APIResponse) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *APIResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *APIResponse) GetStatus() int32
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *APIResponse) SetStatus(v int32)
SetStatus sets Status field to given value.
func (o *APIResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.