Get planned migrations

REST: GET /cloud/project/{serviceName}/migration
@param serviceName [required] Service name

API beta
19677
public ArrayList<OvhMigration> project_serviceName_migration_GET(String serviceName) throws IOException {
		String qPath = "/cloud/project/{serviceName}/migration";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t10);
	}
553847
public ArrayList<OvhFailoverIp> project_serviceName_ip_failover_GET(String serviceName) throws IOException {
		String qPath = "/cloud/project/{serviceName}/ip/failover";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t13);
	}
896331
public List<ModelServiceInstance> getUPModelInstances(String serviceName){
        List<ModelServiceInstance> list = new ArrayList<ModelServiceInstance>();
        for(ModelServiceInstance instance : getModelInstances(serviceName)){
            if(instance.getStatus().equals(OperationalStatus.UP)) {
                list.add(instance);
            }
        }
        return list;
    }
1033466
public ServiceRRLoadBalancer getServiceRRLoadBalancer(String serviceName) {
        for (ServiceRRLoadBalancer lb : svcLBList) {
            if (lb.getServiceName().equals(serviceName)) {
                return lb;
            }
        }
        ServiceRRLoadBalancer lb = new ServiceRRLoadBalancer(lookupService,
                serviceName);
        svcLBList.add(lb);
        return lb;
    }
482976
public ArrayList<OvhBackup> project_serviceName_region_regionName_workflow_backup_GET(String serviceName, String regionName) throws IOException {
		String qPath = "/cloud/project/{serviceName}/region/{regionName}/workflow/backup";
		StringBuilder sb = path(qPath, serviceName, regionName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t2);
	}
89530
public ArrayList<OvhPendingChanges> serviceName_pendingChanges_GET(String serviceName) throws IOException {
		String qPath = "/ipLoadbalancing/{serviceName}/pendingChanges";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t9);
	}
488287
public ModelService lookupService(String serviceName){
        HttpResponse result = invoker.invoke("/service/" + serviceName , null, HttpMethod.GET);

        if (result.getHttpCode() != HTTP_OK) {
            throw new ServiceException(ErrorCode.REMOTE_DIRECTORY_SERVER_ERROR,
                    "HTTP Code is not OK, code=%s", result.getHttpCode());
        }

        ModelService service = _deserialize(result.getRetBody(), ModelService.class);
        return service;
    }
1224427
public ModelService getModelService(String serviceName) {
        ModelService service = null;
        try{
            service = getDirectoryServiceClient().lookupService(serviceName);
        }catch(ServiceException se){
            if (se.getErrorCode()==ErrorCode.SERVICE_DOES_NOT_EXIST){
                LOGGER.error(se.getMessage());
            }else {
                LOGGER.error("Error when getModelService", se);
            }
            throw se;
        }
        return service;
    }
1088117
function getService(serviceName) {

		var serviceData = services[serviceName];

		if (serviceData) {

			if (!serviceData.instance) {
				// check for circular dependencies
				if (isServiceBeingInstantiated(serviceName)) {
					error(new ReferenceError('Circular service dependency: ' + serviceStack.join(' -> ') + ' -> ' + serviceName));
					return null;
				}

				// flag that this service is being initialized just in case there's a circular dependency issue
				serviceStack.push(serviceName);

				serviceData.instance = serviceData.creator(application);

				// no error was thrown for circular dependencies, so we're done
				serviceStack.pop();
			}

			return serviceData.instance;
		} else {
			error(new Error('Service "' + serviceName + '" not found'));
		}

		return null;
	}
1026139
public ArrayList<OvhFarmAvailableProbe> serviceName_availableFarmProbes_GET(String serviceName) throws IOException {
		String qPath = "/ipLoadbalancing/{serviceName}/availableFarmProbes";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t5);
	}
1189155
public ArrayList<OvhInstanceGroup> project_serviceName_instance_group_GET(String serviceName, String region) throws IOException {
		String qPath = "/cloud/project/{serviceName}/instance/group";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "region", region);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t23);
	}
578565
@SuppressWarnings("unchecked")
  public <S> S getService(ObjectName name) {
    return (S) servicesByName.get(name);
  }
485214
public OvhUsageHistoryDetail project_serviceName_usage_history_usageId_GET(String serviceName, String usageId) throws IOException {
		String qPath = "/cloud/project/{serviceName}/usage/history/{usageId}";
		StringBuilder sb = path(qPath, serviceName, usageId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhUsageHistoryDetail.class);
	}
920735
public OvhOption serviceName_option_option_GET(String serviceName, net.minidev.ovh.api.dedicated.server.OvhOptionEnum option) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/option/{option}";
		StringBuilder sb = path(qPath, serviceName, option);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhOption.class);
	}
112588
public OvhDedicatedCloud serviceName_dedicatedCloud_dedicatedCloud_GET(String serviceName, String dedicatedCloud) throws IOException {
		String qPath = "/vrack/{serviceName}/dedicatedCloud/{dedicatedCloud}";
		StringBuilder sb = path(qPath, serviceName, dedicatedCloud);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhDedicatedCloud.class);
	}
909031
public ArrayList<OvhFlavor> project_serviceName_flavor_GET(String serviceName, String region) throws IOException {
		String qPath = "/cloud/project/{serviceName}/flavor";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "region", region);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t24);
	}
1063113
public ArrayList<OvhVolume> project_serviceName_volume_GET(String serviceName, String region) throws IOException {
		String qPath = "/cloud/project/{serviceName}/volume";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "region", region);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t11);
	}