Name | Type | Description | Notes |
---|---|---|---|
Error | Pointer to string | User-visible unstructured error message | [optional] |
ErrorJson | Pointer to map[string]interface{} | User visible structured error message as json object | [optional] |
HttpMethod | Pointer to string | Method for HTTP call that resulted in this error | [optional] |
RequestJson | Pointer to map[string]interface{} | User request JSON object | [optional] |
RequestUri | Pointer to string | URI for HTTP request that resulted in this error | [optional] |
Success | Pointer to bool | Always set to false to indicate failure | [optional] |
func NewYBPError() *YBPError
NewYBPError instantiates a new YBPError 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 NewYBPErrorWithDefaults() *YBPError
NewYBPErrorWithDefaults instantiates a new YBPError 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 *YBPError) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
func (o *YBPError) 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.
func (o *YBPError) SetError(v string)
SetError sets Error field to given value.
func (o *YBPError) HasError() bool
HasError returns a boolean if a field has been set.
func (o *YBPError) GetErrorJson() map[string]interface{}
GetErrorJson returns the ErrorJson field if non-nil, zero value otherwise.
func (o *YBPError) GetErrorJsonOk() (*map[string]interface{}, bool)
GetErrorJsonOk returns a tuple with the ErrorJson field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YBPError) SetErrorJson(v map[string]interface{})
SetErrorJson sets ErrorJson field to given value.
func (o *YBPError) HasErrorJson() bool
HasErrorJson returns a boolean if a field has been set.
func (o *YBPError) GetHttpMethod() string
GetHttpMethod returns the HttpMethod field if non-nil, zero value otherwise.
func (o *YBPError) GetHttpMethodOk() (*string, bool)
GetHttpMethodOk returns a tuple with the HttpMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YBPError) SetHttpMethod(v string)
SetHttpMethod sets HttpMethod field to given value.
func (o *YBPError) HasHttpMethod() bool
HasHttpMethod returns a boolean if a field has been set.
func (o *YBPError) GetRequestJson() map[string]interface{}
GetRequestJson returns the RequestJson field if non-nil, zero value otherwise.
func (o *YBPError) GetRequestJsonOk() (*map[string]interface{}, bool)
GetRequestJsonOk returns a tuple with the RequestJson field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YBPError) SetRequestJson(v map[string]interface{})
SetRequestJson sets RequestJson field to given value.
func (o *YBPError) HasRequestJson() bool
HasRequestJson returns a boolean if a field has been set.
func (o *YBPError) GetRequestUri() string
GetRequestUri returns the RequestUri field if non-nil, zero value otherwise.
func (o *YBPError) GetRequestUriOk() (*string, bool)
GetRequestUriOk returns a tuple with the RequestUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *YBPError) SetRequestUri(v string)
SetRequestUri sets RequestUri field to given value.
func (o *YBPError) HasRequestUri() bool
HasRequestUri returns a boolean if a field has been set.
func (o *YBPError) GetSuccess() bool
GetSuccess returns the Success field if non-nil, zero value otherwise.
func (o *YBPError) 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.
func (o *YBPError) SetSuccess(v bool)
SetSuccess sets Success field to given value.
func (o *YBPError) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.