// UnmarshalPayload unmarshals the io.Reader payload into the SDK shape using
// the Unmarshalers HandlerList provided. Returns an error if unable
// unmarshaling fails.
UnmarshalPayload unmarshals the io.Reader payload into the SDK shape using
the Unmarshalers HandlerList provided. Returns an error if unable
unmarshaling fails.
// UnmarshalPayload unmarshals the io . Reader payload into the SDK shape using // the Unmarshalers HandlerList provided . Returns an error if unable // unmarshaling fails .
func (h HandlerPayloadUnmarshal) UnmarshalPayload(r io.Reader, v interface{}) error {
	req := &request.Request{
		HTTPRequest: &http.Request{},
		HTTPResponse: &http.Response{
			StatusCode: 200,
			Header:     http.Header{},
			Body:       ioutil.NopCloser(r),
		},
		Data: v,
	}
	h.Unmarshalers.Run(req)
	return req.Error
}
func ( h HandlerPayloadUnmarshal ) UnmarshalPayload ( r io . Reader , v interface { } ) error { req := & request . Request { HTTPRequest : & http . Request { } , HTTPResponse : & http . Response { StatusCode : 200 , Header : http . Header { } , Body : ioutil . NopCloser ( r ) , } , Data : v , } h . Unmarshalers . Run ( req ) return req . Error }
UnmarshalPayload unmarshals the io.Reader payload into the SDK shape using
the Unmarshalers HandlerList provided.
UnmarshalPayload unmarshals the io . Reader payload into the SDK shape using the Unmarshalers HandlerList provided .