2020-05-04 22:59:45 -04:00
|
|
|
// Code generated by "make api"; DO NOT EDIT.
|
2020-05-04 10:58:20 -04:00
|
|
|
package api
|
|
|
|
|
|
2020-09-11 00:51:55 -04:00
|
|
|
import "bytes"
|
|
|
|
|
|
2020-05-04 10:58:20 -04:00
|
|
|
type Error struct {
|
2020-08-07 12:55:02 -04:00
|
|
|
Status int32 `json:"status,omitempty"`
|
|
|
|
|
Code string `json:"code,omitempty"`
|
|
|
|
|
Message string `json:"message,omitempty"`
|
2020-05-04 10:58:20 -04:00
|
|
|
Details *ErrorDetails `json:"details,omitempty"`
|
2020-09-11 00:51:55 -04:00
|
|
|
|
|
|
|
|
lastResponseBody *bytes.Buffer
|
|
|
|
|
lastResponseMap map[string]interface{}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (n Error) LastResponseBody() *bytes.Buffer {
|
|
|
|
|
return n.lastResponseBody
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (n Error) LastResponseMap() map[string]interface{} {
|
|
|
|
|
return n.lastResponseMap
|
2020-05-04 10:58:20 -04:00
|
|
|
}
|