<pre>
Use this operation to modify NTP Server.
</pre>
196248
public static ntp_param update(nitro_service client, ntp_param resource) throws Exception
	{
		resource.validate("modify");
		return ((ntp_param[]) resource.update_resource(client))[0];
	}
187230
public void updateServiceInstance(ProvidedServiceInstance instance){
        ProtocolHeader header = new ProtocolHeader();
        header.setType(ProtocolType.UpdateServiceInstance);

        UpdateServiceInstanceProtocol p = new UpdateServiceInstanceProtocol(instance);
        connection.submitRequest(header, p, null);
    }
616554
function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement )
    {
        $operatorValue = str_replace( "\n",
                                      "<br />",
                                      $operatorValue );
    }
1308516
public static base_response update(nitro_service client, nsip resource) throws Exception {
		nsip updateresource = new nsip();
		updateresource.ipaddress = resource.ipaddress;
		updateresource.td = resource.td;
		updateresource.netmask = resource.netmask;
		updateresource.arp = resource.arp;
		updateresource.icmp = resource.icmp;
		updateresource.vserver = resource.vserver;
		updateresource.telnet = resource.telnet;
		updateresource.ftp = resource.ftp;
		updateresource.gui = resource.gui;
		updateresource.ssh = resource.ssh;
		updateresource.snmp = resource.snmp;
		updateresource.mgmtaccess = resource.mgmtaccess;
		updateresource.restrictaccess = resource.restrictaccess;
		updateresource.dynamicrouting = resource.dynamicrouting;
		updateresource.ospf = resource.ospf;
		updateresource.bgp = resource.bgp;
		updateresource.rip = resource.rip;
		updateresource.hostroute = resource.hostroute;
		updateresource.hostrtgw = resource.hostrtgw;
		updateresource.metric = resource.metric;
		updateresource.vserverrhilevel = resource.vserverrhilevel;
		updateresource.ospflsatype = resource.ospflsatype;
		updateresource.ospfarea = resource.ospfarea;
		updateresource.vrid = resource.vrid;
		updateresource.icmpresponse = resource.icmpresponse;
		updateresource.arpresponse = resource.arpresponse;
		return updateresource.update_resource(client);
	}
7443
public static ns_ns_ip add(nitro_service client, ns_ns_ip resource) throws Exception
	{
		resource.validate("add");
		return ((ns_ns_ip[]) resource.perform_operation(client, "add"))[0];
	}
702909
public static base_response unset(nitro_service client, ntpserver resource, String[] args) throws Exception{
		ntpserver unsetresource = new ntpserver();
		unsetresource.serverip = resource.serverip;
		unsetresource.servername = resource.servername;
		return unsetresource.unset_resource(client,args);
	}
816981
public OperationFuture<Server> modifyPublicIp(Server server, ModifyPublicIpConfig config) {
        checkNotNull(config, CHECK_PUBLIC_IP_CONFIG);
        List<IpAddress> ipAddresses = findByRef(server).getDetails().getIpAddresses();

        List<String> responseIds = ipAddresses.stream()
            .map(IpAddress::getPublicIp)
            .filter(notNull())
            .map(ipAddress ->
                client.modifyPublicIp(idByRef(server),
                    ipAddress,
                    publicIpConverter.createPublicIpRequest(config)))
            .map(Link::getId)
            .collect(toList());

        return new OperationFuture<>(
            server,
            responseIds,
            queueClient
        );
    }
273054
def set_ntp_servers(ntp_servers)
      new_action = { 'StaticNTPServers' => ntp_servers }
      response = rest_patch('/redfish/v1/Managers/1/DateTime/', body: new_action)
      response_handler(response)
      true
    end
1052546
public function modifyAction()
  {
    $this->assignTitle("Modify Virtual Server");

    /* grab user parameters from $_REQUEST array */
    $sid = TeamSpeak3_Helper_Uri::getUserParam("id", 0);

    try
    {
      $icons = array();

      try
      {
        /* init file transfer for each icon available */
        foreach($this->ts3->serverGetById($sid)->channelFileList(0, "", "/icons") as $ftid => $file)
        {
          $icons[$file["name"]->section("_", 1)->toString()] = base64_encode(serialize($this->ts3->serverGetById($sid)->transferInitDownload($ftid, 0, $file["src"])));
        }
      }
      catch(Exception $e)
      {}

      /* query virtual server properties and assign icons list */
      $this->tpl->ts3_props = $this->ts3->serverGetById($sid)->getInfo(TRUE);
      $this->tpl->ts3_icons = $icons;
    }
    catch(Exception $e)
    {
      /* save catched error mesage */
      $this->setLastEvent($e->getMessage(), TRUE);

      /* goto indexAction() */
      $this->redirect("server");
    }

    /* assign some default property values */
    $this->tpl->defaultPassword = "{keep_password}";

    $this->assignLastEvent();
  }
1271975
public static snmp_user update(nitro_service client, snmp_user resource) throws Exception
	{
		resource.validate("modify");
		return ((snmp_user[]) resource.update_resource(client))[0];
	}
1283539
public static smtp_server update(nitro_service client, smtp_server resource) throws Exception
	{
		resource.validate("modify");
		return ((smtp_server[]) resource.update_resource(client))[0];
	}
870052
public static prune_policy update(nitro_service client, prune_policy resource) throws Exception
	{
		resource.validate("modify");
		return ((prune_policy[]) resource.update_resource(client))[0];
	}
574590
public ApiSuccessResponse modifyInboundSettings(ModifyInboundData body) throws ApiException {
        ApiResponse<ApiSuccessResponse> resp = modifyInboundSettingsWithHttpInfo(body);
        return resp.getData();
    }
555702
def set_ntp(use_ntp)
      new_action = { 'Oem' => { 'Hp' => { 'DHCPv4' => { 'UseNTPServers' => use_ntp } } } }
      response = rest_patch('/redfish/v1/Managers/1/EthernetInterfaces/1/', body: new_action)
      response_handler(response)
      true
    end
221560
function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$value, $namedParameters, $placement )
    {
        $phpname = $this->PHPNames[$operatorName];
        if ( $value !== null )
            $operand = $value;
        else
            $operand = $tpl->elementValue( $operatorParameters[0], $rootNamespace, $currentNamespace, $placement );
        $value = $phpname( $operand );
    }
1223455
public static base_response update(nitro_service client, server resource) throws Exception {
		server updateresource = new server();
		updateresource.name = resource.name;
		updateresource.ipaddress = resource.ipaddress;
		updateresource.domainresolveretry = resource.domainresolveretry;
		updateresource.translationip = resource.translationip;
		updateresource.translationmask = resource.translationmask;
		updateresource.domainresolvenow = resource.domainresolvenow;
		updateresource.comment = resource.comment;
		return updateresource.update_resource(client);
	}
669827
public static sdx_network_config update(nitro_service client, sdx_network_config resource) throws Exception
	{
		resource.validate("modify");
		return ((sdx_network_config[]) resource.update_resource(client))[0];
	}