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
|
|
|
|
2020-09-15 01:08:21 -04:00
|
|
|
responseBody *bytes.Buffer
|
|
|
|
|
responseMap map[string]interface{}
|
2020-09-11 00:51:55 -04:00
|
|
|
}
|
|
|
|
|
|
2020-09-15 01:08:21 -04:00
|
|
|
func (n Error) ResponseBody() *bytes.Buffer {
|
|
|
|
|
return n.responseBody
|
2020-09-11 00:51:55 -04:00
|
|
|
}
|
|
|
|
|
|
2020-09-15 01:08:21 -04:00
|
|
|
func (n Error) ResponseMap() map[string]interface{} {
|
|
|
|
|
return n.responseMap
|
2020-05-04 10:58:20 -04:00
|
|
|
}
|