23 lines
510 B
Go
23 lines
510 B
Go
// Code generated by "make api"; DO NOT EDIT.
|
|
package api
|
|
|
|
import "bytes"
|
|
|
|
type Error struct {
|
|
Status int32 `json:"status,omitempty"`
|
|
Code string `json:"code,omitempty"`
|
|
Message string `json:"message,omitempty"`
|
|
Details *ErrorDetails `json:"details,omitempty"`
|
|
|
|
responseBody *bytes.Buffer
|
|
responseMap map[string]interface{}
|
|
}
|
|
|
|
func (n Error) ResponseBody() *bytes.Buffer {
|
|
return n.responseBody
|
|
}
|
|
|
|
func (n Error) ResponseMap() map[string]interface{} {
|
|
return n.responseMap
|
|
}
|