Export the phonebook's contacts

REST: GET /sms/{serviceName}/phonebooks/{bookKey}/export
@param format [required] Format of the file
@param serviceName [required] The internal name of your SMS offer
@param bookKey [required] Identifier of the phonebook
499665
public OvhPcsFile serviceName_phonebooks_bookKey_export_GET(String serviceName, String bookKey, OvhContactsExportFormatsEnum format) throws IOException {
		String qPath = "/sms/{serviceName}/phonebooks/{bookKey}/export";
		StringBuilder sb = path(qPath, serviceName, bookKey);
		query(sb, "format", format);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhPcsFile.class);
	}
1358046
@ManyToOne( cascade = {CascadeType.PERSIST, CascadeType.MERGE} )
    @JoinColumn(name="PHONEBOOK_ID")
	public PhoneBook getPhoneBook() 
	{
		return phoneBook;
	}
131482
public ArrayList<OvhLinePhoneAssociable> billingAccount_line_serviceName_listAssociablePhones_GET(String billingAccount, String serviceName) throws IOException {
		String qPath = "/telephony/{billingAccount}/line/{serviceName}/listAssociablePhones";
		StringBuilder sb = path(qPath, billingAccount, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t6);
	}
1244357
def create_service_key(self, service_name, key_name):
        
        if self.has_key(service_name, key_name):
            logging.warning("Reusing existing service key %s" % (key_name))
            return self.get_service_key(service_name, key_name)

        body = {
            'service_instance_guid': self.get_instance_guid(service_name),
            'name': key_name
            }

        return self.api.post('/v2/service_keys', body)
954020
public DocServiceBuilder exampleRequestForMethod(Class<?> serviceType, String methodName,
                                                     Iterable<?> exampleRequests) {
        requireNonNull(serviceType, "serviceType");
        return exampleRequestForMethod(serviceType.getName(), methodName, exampleRequests);
    }
270175
def get_service_keys(self, service_name):
        
        keys = []
        for key in self._get_service_keys(service_name)['resources']:
            keys.append(key['entity']['name'])

        return keys
924408
public Instance get(String serviceName) {
        if (serviceName == null) {
            return null;
        }
        return get(serviceName, Strategy.roundRobin());
    }
962104
function getService(serviceName) {
		var serviceData = services[serviceName];

		if (serviceData) {
			if (!serviceData.instance) {
				serviceData.instance = serviceData.creator(application);
			}

			return serviceData.instance;
		}

		return null;
	}
1329689
def delete_service_key(self, service_name, key_name):
        
        key = self.get_service_key(service_name, key_name)
        logging.info("Deleting service key %s for service %s" % (key, service_name))
        return self.api.delete(key['metadata']['url'])
601870
@Override
    public MethodDescriptor<String> getServiceDescriptor(String key) {
        Preconditions.checkNotNull(key, "Key cannot be null");
        return serviceRegistry.getServiceDescriptorByKey(key);
    }
1171106
public net.minidev.ovh.api.dbaas.logs.OvhService serviceName_GET(String serviceName) throws IOException {
		String qPath = "/dbaas/logs/{serviceName}";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, net.minidev.ovh.api.dbaas.logs.OvhService.class);
	}
340646
public String getMessage(final String messageKey, final Object... objects) {
        //TODO validate input
        return getFormattedMessage(getMessagePattern(messageKey), objects);
    }
1259547
def service_record(self, service_name):
    
    if not self.services().has_key(service_name):
      return None
    return self.services()[service_name]
1225038
public String format(String key, Object ... params) {
        ResourceBundle bundle = getBundle();
        if (bundle.containsKey(key)) {
            String msg = bundle.getString(key);
            return MessageFormat.format(msg, params);
        } else {
            return MessageFormat.format("!!{0}!!", key); //$NON-NLS-1$
        }
    }
858282
public void serviceName_phonebooks_bookKey_DELETE(String serviceName, String bookKey) throws IOException {
		String qPath = "/sms/{serviceName}/phonebooks/{bookKey}";
		StringBuilder sb = path(qPath, serviceName, bookKey);
		exec(qPath, "DELETE", sb.toString(), null);
	}
321101
public static DownloadResponse exportFile(Drive drive, File file, String format) throws IOException {
	  return exportFile(drive, file.getId(), format);
	}
1347895
public OvhKey serviceName_key_keyId_GET(String serviceName, String keyId) throws IOException {
		String qPath = "/dbaas/queue/{serviceName}/key/{keyId}";
		StringBuilder sb = path(qPath, serviceName, keyId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhKey.class);
	}