Add Result types to Go SDK and properly populate body/map fields (#358)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-15 01:08:21 -04:00
1 parent d8dc1ed0b2
commit a00ee7a948
61 files changed
+1888 -1099

No files matched your search

@@ -1,20 +1,7 @@
// Code generated by "make api"; DO NOT EDIT.
package authmethods
import "bytes"
type PasswordAuthMethodAttributes struct {
MinLoginNameLength uint32 `json:"min_login_name_length,omitempty"`
MinPasswordLength uint32 `json:"min_password_length,omitempty"`
lastResponseBody *bytes.Buffer
lastResponseMap map[string]interface{}
}
func (n PasswordAuthMethodAttributes) LastResponseBody() *bytes.Buffer {
return n.lastResponseBody
}
func (n PasswordAuthMethodAttributes) LastResponseMap() map[string]interface{} {
return n.lastResponseMap
}