/*
GetPrevious
Return the previous page of the paginated collection as pointed to by the
`.links.previous` field in the {json:api} response
*/
GetPrevious
Return the previous page of the paginated collection as pointed to by the
`.links.previous` field in the {json:api} response
/ * GetPrevious Return the previous page of the paginated collection as pointed to by the ` . links . previous ` field in the { json : api } response * /
func (c *Collection) GetPrevious() (Collection, error) {
	var result Collection
	if c.Previous == "" {
		return result, errors.New("no previous page")
	}
	result, err := c.API.listFromPath(c.Previous)
	if err != nil {
		return result, err
	}
	return result, err
}
func ( c * Collection ) GetPrevious ( ) ( Collection , error ) { var result Collection if c . Previous == " " { return result , errors . New ( " " ) } result , err := c . API . listFromPath ( c . Previous ) if err != nil { return result , err } return result , err }
GetPrevious
Return the previous page of the paginated collection as pointed to by the
`.links.previous` field in the {json:api} response
GetPrevious Return the previous page of the paginated collection as pointed to by the ` . links . previous ` field in the { json : api } response