shared/api/response.go
func (r *Response) MetadataAsMap() (map[string]interface{}, error) {
	ret := map[string]interface{}{}
	err := r.MetadataAsStruct(&ret)
	if err != nil {
		return nil, err
	}

	return ret, nil
}
func (r *Response) MetadataAsMap() (map[string]interface{}, error) {
	ret := map[string]interface{}{}
	err := r.MetadataAsStruct(&ret)
	if err != nil {
		return nil, err
	}

	return ret, nil
}
func ( r * Response ) MetadataAsMap ( ) ( map [ string ] interface { } , error ) { ret := map [ string ] interface { } { } err := r . MetadataAsStruct ( & ret ) if err != nil { return nil , err } return ret , nil }
// MetadataAsMap parses the Response metadata into a map
MetadataAsMap parses the Response metadata into a map