Change the Operating System for a license

REST: POST /license/directadmin/{serviceName}/changeOs
@param os [required] The operating system you want for this license
@param serviceName [required] The name of your DirectAdmin license
338279
public OvhTask serviceName_changeOs_POST(String serviceName, OvhDirectAdminOsEnum os) throws IOException {
		String qPath = "/license/directadmin/{serviceName}/changeOs";
		StringBuilder sb = path(qPath, serviceName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "os", os);
		String resp = exec(qPath, "POST", sb.toString(), o);
		return convertTo(resp, OvhTask.class);
	}
225944
public void putService(K serviceName, V service){
        if(cache.containsKey(serviceName)){
            cache.remove(serviceName);
        }
        cache.put(serviceName, service);
    }
573663
public void serviceName_sharepoint_PUT(String serviceName, OvhSharepointService body) throws IOException {
		String qPath = "/msServices/{serviceName}/sharepoint";
		StringBuilder sb = path(qPath, serviceName);
		exec(qPath, "PUT", sb.toString(), body);
	}
77589
public void serviceName_PUT(String serviceName, net.minidev.ovh.api.timeseries.OvhProject body) throws IOException {
		String qPath = "/paas/timeseries/{serviceName}";
		StringBuilder sb = path(qPath, serviceName);
		exec(qPath, "PUT", sb.toString(), body);
	}
354181
void putOs() {
    Map<String, Object> os = createMap();
    os.put(OS_NAME_KEY, "Android");
    os.put(OS_VERSION_KEY, Build.VERSION.RELEASE);
    put(OS_KEY, os);
  }
346309
public void billingAccount_service_serviceName_offerChange_POST(String billingAccount, String serviceName, String offer) throws IOException {
		String qPath = "/telephony/{billingAccount}/service/{serviceName}/offerChange";
		StringBuilder sb = path(qPath, billingAccount, serviceName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "offer", offer);
		exec(qPath, "POST", sb.toString(), o);
	}
1330773
public void service_PUT(String service, OvhService body) throws IOException {
		String qPath = "/email/pro/{service}";
		StringBuilder sb = path(qPath, service);
		exec(qPath, "PUT", sb.toString(), body);
	}
316178
def _sysv_enable(name):
    '''
    
    '''
    if not _service_is_chkconfig(name) and not _chkconfig_add(name):
        return False
    cmd = '/sbin/chkconfig {0} on'.format(name)
    return not __salt__['cmd.retcode'](cmd, python_shell=False)
57452
public ArrayList<Long> serviceName_boot_GET(String serviceName, OvhBootTypeEnum bootType) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/boot";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "bootType", bootType);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t5);
	}
1328669
def deactivate_license(key_name=None):
    '''
    

    '''

    _required_version = '7.0.0'
    if not __proxy__['panos.is_required_version'](_required_version):
        return False, 'The panos device requires version {0} or greater for this command.'.format(_required_version)

    if not key_name:
        return False, 'You must specify a key_name.'
    else:
        query = {'type': 'op', 'cmd': '<request><license><deactivate><key><features><member>{0}</member></features>'
                                      '</key></deactivate></license></request>'.format(key_name)}

    return __proxy__['panos.call'](query)
1113624
public void serviceName_email_PUT(String serviceName, OvhEmail body) throws IOException {
		String qPath = "/hosting/web/{serviceName}/email";
		StringBuilder sb = path(qPath, serviceName);
		exec(qPath, "PUT", sb.toString(), body);
	}
1230151
public void setTargetedOperatingSystemVersions(com.google.api.ads.admanager.axis.v201808.Technology[] targetedOperatingSystemVersions) {
        this.targetedOperatingSystemVersions = targetedOperatingSystemVersions;
    }
1067954
def update_os_type(self):
        """"""
        self.chain.connection.log("Detecting os type")
        os_type = self.driver.get_os_type(self.version_text)
        if os_type:
            self.chain.connection.log("SW Type: {}".format(os_type))
            self.os_type = os_type
700638
public void serviceName_domains_domain_PUT(String serviceName, String domain, OvhDomain body) throws IOException {
		String qPath = "/cdn/dedicated/{serviceName}/domains/{domain}";
		StringBuilder sb = path(qPath, serviceName, domain);
		exec(qPath, "PUT", sb.toString(), body);
	}
158019
public void service_domain_domainName_PUT(String service, String domainName, OvhDomain body) throws IOException {
		String qPath = "/email/pro/{service}/domain/{domainName}";
		StringBuilder sb = path(qPath, service, domainName);
		exec(qPath, "PUT", sb.toString(), body);
	}
597867
private void addAdminObjectService(ServiceReference<AdminObjectService> reference, String id, boolean jndiName) {
        NamedAdminObjectServiceInfo aosInfo = createNamedAdminObjectServiceInfo(id);
        aosInfo.getServices(jndiName).addReference(reference);

        // If the highest reference after updating is the one we just added,
        // then we need to deactivate any endpoints using the old admin object
        // and reactive them using the new admin object.
        ServiceReference<AdminObjectService> oldServiceRef = aosInfo.serviceRef;
        if (aosInfo.updateServiceRef().equals(reference)) {
            if (oldServiceRef != null) {
                deactivateEndpoints(aosInfo.endpointFactories);
            }
            activateDeferredEndpoints(aosInfo.endpointFactories);
        }

        // With a new adminObjectService, there is a possibility that lookups which
        // failed earlier could now succeed, allowing endpoint activation.
        updateSchemeJndiNames(true);
    }
1321173
def enabled(name, **kwargs):
    '''
    
    '''
    if _service_is_upstart(name):
        return _upstart_is_enabled(name)
    else:
        if _service_is_sysv(name):
            return _sysv_is_enabled(name)
    return None