func (r Response) String() string {
	ret := fmt.Sprintf("Request id: %s\n", r.ID)
	if r.Receipt != "" {
		ret += fmt.Sprintf("Receipt: %s\n", r.Receipt)
	}
	if r.Limit != nil {
		ret += fmt.Sprintf("Usage %d/%d messages\nNext reset : %s",
			r.Limit.Remaining, r.Limit.Total, r.Limit.NextReset)
	}
	return ret
}
String represents a printable form of the response.
package pushover
import "fmt"
type Response struct {
	Status  int    `json:"status"`
	ID      string `json:"request"`
	Errors  Errors `json:"errors"`
	Receipt string `json:"receipt"`
	Limit   *Limit
}