func NewResponsePayload(rspObj interface{}, exception error, attachments map[string]interface{}) *ResponsePayload {
	if attachments == nil {
		attachments = make(map[string]interface{})
	}
	return &ResponsePayload{
		RspObj:      rspObj,
		Exception:   exception,
		Attachments: attachments,
	}
}
// NewResponse create a new ResponsePayload
NewResponse create a new ResponsePayload
// NewResponse create a new ResponsePayload
func NewResponsePayload(rspObj interface{}, exception error, attachments map[string]interface{}) *ResponsePayload {
	if attachments == nil {
		attachments = make(map[string]interface{})
	}
	return &ResponsePayload{
		RspObj:      rspObj,
		Exception:   exception,
		Attachments: attachments,
	}
}
func NewResponsePayload ( rspObj interface { } , exception error , attachments map [ string ] interface { } ) * ResponsePayload { if attachments == nil { attachments = make ( map [ string ] interface { } ) } return & ResponsePayload { RspObj : rspObj , Exception : exception , Attachments : attachments , } }
NewResponse create a new ResponsePayload
NewResponse create a new ResponsePayload