1 parent
3ab8bb03de
commit
ea23737258
18 files changed
+101
-407
No files matched your search
@@ -1,8 +1,6 @@
|
||||
// Code generated by "make api"; DO NOT EDIT.
|
||||
package api
|
||||
|
||||
import "bytes"
|
||||
|
||||
type Error struct {
|
||||
Kind string `json:"kind,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
@@ -11,15 +9,3 @@ type Error struct {
|
||||
|
||||
response *Response
|
||||
}
|
||||
|
||||
func (n Error) ResponseBody() *bytes.Buffer {
|
||||
return n.response.Body
|
||||
}
|
||||
|
||||
func (n Error) ResponseMap() map[string]interface{} {
|
||||
return n.response.Map
|
||||
}
|
||||
|
||||
func (n Error) ResponseStatus() int {
|
||||
return n.response.HttpResponse().StatusCode
|
||||
}
|
||||
Reference in new issue
Block a user