code: func (client *Client) GetApplications(query ...Query) ([]Application, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetApplicationsRequest,
  		Query:       query,
  	})
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var fullAppsList []Application
  	warnings, err := client.paginate(request, Application{}, func(item interface{}) error {
  		if app, ok := item.(Application); ok {
  			fullAppsList = append(fullAppsList, app)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   Application{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return fullAppsList, warnings, err
  }
docs: // GetApplications lists applications with optional queries.