func (si *ServiceInstance) ToInfo() (ServiceInstanceWithInfo, error) {
	info, err := si.Info("")
	if err != nil {
		info = nil
	}
	return ServiceInstanceWithInfo{
		Id:          si.Id,
		Name:        si.Name,
		Teams:       si.Teams,
		PlanName:    si.PlanName,
		Apps:        si.Apps,
		ServiceName: si.ServiceName,
		Info:        info,
		TeamOwner:   si.TeamOwner,
	}, nil
}
func (si *ServiceInstance) ToInfo() (ServiceInstanceWithInfo, error) {
	info, err := si.Info("")
	if err != nil {
		info = nil
	}
	return ServiceInstanceWithInfo{
		Id:          si.Id,
		Name:        si.Name,
		Teams:       si.Teams,
		PlanName:    si.PlanName,
		Apps:        si.Apps,
		ServiceName: si.ServiceName,
		Info:        info,
		TeamOwner:   si.TeamOwner,
	}, nil
}
// ToInfo returns the service instance as a struct compatible with the return
// of the service info api call.