code: func (client *Client) GetSpaceQuotas(orgGUID string) ([]SpaceQuota, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetOrganizationSpaceQuotasRequest,
  		URIParams:   Params{"organization_guid": orgGUID},
  	})
  
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var spaceQuotas []SpaceQuota
  	warnings, err := client.paginate(request, SpaceQuota{}, func(item interface{}) error {
  		if spaceQuota, ok := item.(SpaceQuota); ok {
  			spaceQuotas = append(spaceQuotas, spaceQuota)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   SpaceQuota{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return spaceQuotas, warnings, err
  }
docs: // GetSpaceQuotas returns all the space quotas for the org