repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 | partition stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.ip_firewall_GET | public ArrayList<String> ip_firewall_GET(String ip, Boolean enabled, OvhFirewallStateEnum state) throws IOException {
String qPath = "/ip/{ip}/firewall";
StringBuilder sb = path(qPath, ip);
query(sb, "enabled", enabled);
query(sb, "state", state);
String resp = exec(qPath, "GET", sb.toString(), null);
retur... | java | public ArrayList<String> ip_firewall_GET(String ip, Boolean enabled, OvhFirewallStateEnum state) throws IOException {
String qPath = "/ip/{ip}/firewall";
StringBuilder sb = path(qPath, ip);
query(sb, "enabled", enabled);
query(sb, "state", state);
String resp = exec(qPath, "GET", sb.toString(), null);
retur... | [
"public",
"ArrayList",
"<",
"String",
">",
"ip_firewall_GET",
"(",
"String",
"ip",
",",
"Boolean",
"enabled",
",",
"OvhFirewallStateEnum",
"state",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/{ip}/firewall\"",
";",
"StringBuilder",
"sb",
"=",... | Ip under firewall
REST: GET /ip/{ip}/firewall
@param enabled [required] Filter the value of enabled property (=)
@param state [required] Filter the value of state property (=)
@param ip [required] | [
"Ip",
"under",
"firewall"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L973-L980 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.ip_firewall_POST | public OvhFirewallIp ip_firewall_POST(String ip, String ipOnFirewall) throws IOException {
String qPath = "/ip/{ip}/firewall";
StringBuilder sb = path(qPath, ip);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ipOnFirewall", ipOnFirewall);
String resp = exec(qPath, "POST", sb.toString()... | java | public OvhFirewallIp ip_firewall_POST(String ip, String ipOnFirewall) throws IOException {
String qPath = "/ip/{ip}/firewall";
StringBuilder sb = path(qPath, ip);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "ipOnFirewall", ipOnFirewall);
String resp = exec(qPath, "POST", sb.toString()... | [
"public",
"OvhFirewallIp",
"ip_firewall_POST",
"(",
"String",
"ip",
",",
"String",
"ipOnFirewall",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/{ip}/firewall\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"ip",
")",
";",
"... | AntiDDOS option. Add new IP on firewall
REST: POST /ip/{ip}/firewall
@param ipOnFirewall [required]
@param ip [required] | [
"AntiDDOS",
"option",
".",
"Add",
"new",
"IP",
"on",
"firewall"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L989-L996 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.ip_firewall_ipOnFirewall_rule_GET | public ArrayList<Long> ip_firewall_ipOnFirewall_rule_GET(String ip, String ipOnFirewall, OvhFirewallRuleStateEnum state) throws IOException {
String qPath = "/ip/{ip}/firewall/{ipOnFirewall}/rule";
StringBuilder sb = path(qPath, ip, ipOnFirewall);
query(sb, "state", state);
String resp = exec(qPath, "GET", sb.t... | java | public ArrayList<Long> ip_firewall_ipOnFirewall_rule_GET(String ip, String ipOnFirewall, OvhFirewallRuleStateEnum state) throws IOException {
String qPath = "/ip/{ip}/firewall/{ipOnFirewall}/rule";
StringBuilder sb = path(qPath, ip, ipOnFirewall);
query(sb, "state", state);
String resp = exec(qPath, "GET", sb.t... | [
"public",
"ArrayList",
"<",
"Long",
">",
"ip_firewall_ipOnFirewall_rule_GET",
"(",
"String",
"ip",
",",
"String",
"ipOnFirewall",
",",
"OvhFirewallRuleStateEnum",
"state",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/{ip}/firewall/{ipOnFirewall}/rule\... | Rules for this IP
REST: GET /ip/{ip}/firewall/{ipOnFirewall}/rule
@param state [required] Filter the value of state property (=)
@param ip [required]
@param ipOnFirewall [required] | [
"Rules",
"for",
"this",
"IP"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1078-L1084 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.ip_firewall_ipOnFirewall_rule_POST | public OvhFirewallNetworkRule ip_firewall_ipOnFirewall_rule_POST(String ip, String ipOnFirewall, OvhFirewallActionEnum action, Long destinationPort, OvhFirewallProtocolEnum protocol, OvhFirewallSequenceRangeEnum sequence, String source, Long sourcePort, OvhFirewallOptionTCP tcpOption) throws IOException {
String qPat... | java | public OvhFirewallNetworkRule ip_firewall_ipOnFirewall_rule_POST(String ip, String ipOnFirewall, OvhFirewallActionEnum action, Long destinationPort, OvhFirewallProtocolEnum protocol, OvhFirewallSequenceRangeEnum sequence, String source, Long sourcePort, OvhFirewallOptionTCP tcpOption) throws IOException {
String qPat... | [
"public",
"OvhFirewallNetworkRule",
"ip_firewall_ipOnFirewall_rule_POST",
"(",
"String",
"ip",
",",
"String",
"ipOnFirewall",
",",
"OvhFirewallActionEnum",
"action",
",",
"Long",
"destinationPort",
",",
"OvhFirewallProtocolEnum",
"protocol",
",",
"OvhFirewallSequenceRangeEnum",... | AntiDDOS option. Add new rule on your IP
REST: POST /ip/{ip}/firewall/{ipOnFirewall}/rule
@param protocol [required] Network protocol
@param destinationPort [required] Destination port for your rule. Only with TCP/UDP protocol
@param action [required] Action on this rule
@param tcpOption [required] Option on your rule... | [
"AntiDDOS",
"option",
".",
"Add",
"new",
"rule",
"on",
"your",
"IP"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1100-L1113 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.GET | public ArrayList<String> GET(String description, String ip, String routedTo_serviceName, OvhIpTypeEnum type) throws IOException {
String qPath = "/ip";
StringBuilder sb = path(qPath);
query(sb, "description", description);
query(sb, "ip", ip);
query(sb, "routedTo.serviceName", routedTo_serviceName);
query(s... | java | public ArrayList<String> GET(String description, String ip, String routedTo_serviceName, OvhIpTypeEnum type) throws IOException {
String qPath = "/ip";
StringBuilder sb = path(qPath);
query(sb, "description", description);
query(sb, "ip", ip);
query(sb, "routedTo.serviceName", routedTo_serviceName);
query(s... | [
"public",
"ArrayList",
"<",
"String",
">",
"GET",
"(",
"String",
"description",
",",
"String",
"ip",
",",
"String",
"routedTo_serviceName",
",",
"OvhIpTypeEnum",
"type",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip\"",
";",
"StringBuilder",
... | Your OVH IPs
REST: GET /ip
@param description [required] Filter the value of description property (like)
@param ip [required] Filter the value of ip property (contains or equals)
@param routedTo_serviceName [required] Filter the value of routedTo.serviceName property (like)
@param type [required] Filter the value of t... | [
"Your",
"OVH",
"IPs"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1244-L1253 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_importCustomSsl_POST | public OvhLoadBalancingTask loadBalancing_serviceName_importCustomSsl_POST(String serviceName, String certificate, String chain, String key) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/importCustomSsl";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<St... | java | public OvhLoadBalancingTask loadBalancing_serviceName_importCustomSsl_POST(String serviceName, String certificate, String chain, String key) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/importCustomSsl";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<St... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_importCustomSsl_POST",
"(",
"String",
"serviceName",
",",
"String",
"certificate",
",",
"String",
"chain",
",",
"String",
"key",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{s... | Import your own ssl certificate on your IP load balancing. Ssl option is needed to use this url.
REST: POST /ip/loadBalancing/{serviceName}/importCustomSsl
@param chain [required] certificate chain
@param key [required] certificate key
@param certificate [required] certificate
@param serviceName [required] The interna... | [
"Import",
"your",
"own",
"ssl",
"certificate",
"on",
"your",
"IP",
"load",
"balancing",
".",
"Ssl",
"option",
"is",
"needed",
"to",
"use",
"this",
"url",
"."
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1276-L1285 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_internalNatIp_GET | public String loadBalancing_serviceName_internalNatIp_GET(String serviceName, OvhLoadBalancingZoneEnum zone) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/internalNatIp";
StringBuilder sb = path(qPath, serviceName);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), ... | java | public String loadBalancing_serviceName_internalNatIp_GET(String serviceName, OvhLoadBalancingZoneEnum zone) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/internalNatIp";
StringBuilder sb = path(qPath, serviceName);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), ... | [
"public",
"String",
"loadBalancing_serviceName_internalNatIp_GET",
"(",
"String",
"serviceName",
",",
"OvhLoadBalancingZoneEnum",
"zone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{serviceName}/internalNatIp\"",
";",
"StringBuilder",
"sb",
... | Ip subnet used by OVH to nat requests on your ip lb to your backends. You must ensure that your backends are not part of a network that overlap with this one.
REST: GET /ip/loadBalancing/{serviceName}/internalNatIp
@param zone [required] one of your ip loadbalancing's zone
@param serviceName [required] The internal na... | [
"Ip",
"subnet",
"used",
"by",
"OVH",
"to",
"nat",
"requests",
"on",
"your",
"ip",
"lb",
"to",
"your",
"backends",
".",
"You",
"must",
"ensure",
"that",
"your",
"backends",
"are",
"not",
"part",
"of",
"a",
"network",
"that",
"overlap",
"with",
"this",
"... | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1347-L1353 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_backend_backend_setWeight_POST | public OvhLoadBalancingTask loadBalancing_serviceName_backend_backend_setWeight_POST(String serviceName, String backend, Long weight) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/backend/{backend}/setWeight";
StringBuilder sb = path(qPath, serviceName, backend);
HashMap<String, Object>o = ... | java | public OvhLoadBalancingTask loadBalancing_serviceName_backend_backend_setWeight_POST(String serviceName, String backend, Long weight) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/backend/{backend}/setWeight";
StringBuilder sb = path(qPath, serviceName, backend);
HashMap<String, Object>o = ... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_backend_backend_setWeight_POST",
"(",
"String",
"serviceName",
",",
"String",
"backend",
",",
"Long",
"weight",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{serviceName}/backend/{ba... | Set the weight of a backend. For instance, if backend A has a weight of 8 and backup B was a weight of 16, backend B will receive twice more connections as backend A. Backends must be on the same POP for the weight parameter to take effect between them.
REST: POST /ip/loadBalancing/{serviceName}/backend/{backend}/setW... | [
"Set",
"the",
"weight",
"of",
"a",
"backend",
".",
"For",
"instance",
"if",
"backend",
"A",
"has",
"a",
"weight",
"of",
"8",
"and",
"backup",
"B",
"was",
"a",
"weight",
"of",
"16",
"backend",
"B",
"will",
"receive",
"twice",
"more",
"connections",
"as"... | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1363-L1370 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_backend_backend_backupState_POST | public OvhLoadBalancingTask loadBalancing_serviceName_backend_backend_backupState_POST(String serviceName, String backend, Boolean backupStateSet, String mainBackendIp) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/backend/{backend}/backupState";
StringBuilder sb = path(qPath, serviceName, ba... | java | public OvhLoadBalancingTask loadBalancing_serviceName_backend_backend_backupState_POST(String serviceName, String backend, Boolean backupStateSet, String mainBackendIp) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/backend/{backend}/backupState";
StringBuilder sb = path(qPath, serviceName, ba... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_backend_backend_backupState_POST",
"(",
"String",
"serviceName",
",",
"String",
"backend",
",",
"Boolean",
"backupStateSet",
",",
"String",
"mainBackendIp",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=... | Set or unset the backend as a backup of another backend. Requests will be directed to the backup only if the main backend is in probe fail
REST: POST /ip/loadBalancing/{serviceName}/backend/{backend}/backupState
@param backupStateSet [required] Set or unset the backend as backup. mainBackendIp is optional in case of u... | [
"Set",
"or",
"unset",
"the",
"backend",
"as",
"a",
"backup",
"of",
"another",
"backend",
".",
"Requests",
"will",
"be",
"directed",
"to",
"the",
"backup",
"only",
"if",
"the",
"main",
"backend",
"is",
"in",
"probe",
"fail"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1381-L1389 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_backend_POST | public OvhLoadBalancingTask loadBalancing_serviceName_backend_POST(String serviceName, String ipBackend, OvhLoadBalancingBackendProbeEnum probe, Long weight) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/backend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new H... | java | public OvhLoadBalancingTask loadBalancing_serviceName_backend_POST(String serviceName, String ipBackend, OvhLoadBalancingBackendProbeEnum probe, Long weight) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/backend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new H... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_backend_POST",
"(",
"String",
"serviceName",
",",
"String",
"ipBackend",
",",
"OvhLoadBalancingBackendProbeEnum",
"probe",
",",
"Long",
"weight",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip... | Add a new backend on your IP load balancing
REST: POST /ip/loadBalancing/{serviceName}/backend
@param weight [required] Weight of the backend on its zone, must be between 1 and 100
@param probe [required] The type of probe used
@param ipBackend [required] IP of your backend
@param serviceName [required] The internal n... | [
"Add",
"a",
"new",
"backend",
"on",
"your",
"IP",
"load",
"balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1455-L1464 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_portsRedirection_srcPort_DELETE | public OvhLoadBalancingTask loadBalancing_serviceName_portsRedirection_srcPort_DELETE(String serviceName, net.minidev.ovh.api.ip.OvhLoadBalancingAdditionalPortEnum srcPort) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection/{srcPort}";
StringBuilder sb = path(qPath, serviceName, s... | java | public OvhLoadBalancingTask loadBalancing_serviceName_portsRedirection_srcPort_DELETE(String serviceName, net.minidev.ovh.api.ip.OvhLoadBalancingAdditionalPortEnum srcPort) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection/{srcPort}";
StringBuilder sb = path(qPath, serviceName, s... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_portsRedirection_srcPort_DELETE",
"(",
"String",
"serviceName",
",",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"ip",
".",
"OvhLoadBalancingAdditionalPortEnum",
"srcPort",
")",
"throws",
"IOException",
... | Delete a port redirection
REST: DELETE /ip/loadBalancing/{serviceName}/portsRedirection/{srcPort}
@param serviceName [required] The internal name of your IP load balancing
@param srcPort [required] The port you want to redirect from | [
"Delete",
"a",
"port",
"redirection"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1513-L1518 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_portsRedirection_GET | public ArrayList<OvhLoadBalancingAdditionalPortEnum> loadBalancing_serviceName_portsRedirection_GET(String serviceName) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
retu... | java | public ArrayList<OvhLoadBalancingAdditionalPortEnum> loadBalancing_serviceName_portsRedirection_GET(String serviceName) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
retu... | [
"public",
"ArrayList",
"<",
"OvhLoadBalancingAdditionalPortEnum",
">",
"loadBalancing_serviceName_portsRedirection_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{serviceName}/portsRedirection\"",
";",
"StringBu... | Get all srcPort
REST: GET /ip/loadBalancing/{serviceName}/portsRedirection
@param serviceName [required] The internal name of your IP load balancing | [
"Get",
"all",
"srcPort"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1526-L1531 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_portsRedirection_POST | public OvhLoadBalancingTask loadBalancing_serviceName_portsRedirection_POST(String serviceName, OvhLoadBalancingPort body) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "POST", sb.toString(), body);
... | java | public OvhLoadBalancingTask loadBalancing_serviceName_portsRedirection_POST(String serviceName, OvhLoadBalancingPort body) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/portsRedirection";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "POST", sb.toString(), body);
... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_portsRedirection_POST",
"(",
"String",
"serviceName",
",",
"OvhLoadBalancingPort",
"body",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{serviceName}/portsRedirection\"",
";",
"StringB... | Add a new port redirection
REST: POST /ip/loadBalancing/{serviceName}/portsRedirection
@param body [required] The port you want to redirect to
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"port",
"redirection"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1541-L1546 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_stickiness_POST | public OvhLoadBalancingTask loadBalancing_serviceName_stickiness_POST(String serviceName, OvhLoadBalancingStickinessEnum stickiness) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/stickiness";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>... | java | public OvhLoadBalancingTask loadBalancing_serviceName_stickiness_POST(String serviceName, OvhLoadBalancingStickinessEnum stickiness) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/stickiness";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>... | [
"public",
"OvhLoadBalancingTask",
"loadBalancing_serviceName_stickiness_POST",
"(",
"String",
"serviceName",
",",
"OvhLoadBalancingStickinessEnum",
"stickiness",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{serviceName}/stickiness\"",
";",
"Str... | Set Stickiness type. 'ipSource' will stick clients to a backend by their source ip, 'cookie' will stick them by inserting a cookie, 'none' is to set no stickiness
REST: POST /ip/loadBalancing/{serviceName}/stickiness
@param stickiness [required] The stickiness you want on your IP LoadBalancing
@param serviceName [requ... | [
"Set",
"Stickiness",
"type",
".",
"ipSource",
"will",
"stick",
"clients",
"to",
"a",
"backend",
"by",
"their",
"source",
"ip",
"cookie",
"will",
"stick",
"them",
"by",
"inserting",
"a",
"cookie",
"none",
"is",
"to",
"set",
"no",
"stickiness"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1568-L1575 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java | ApiOvhIp.loadBalancing_serviceName_probeIp_GET | public ArrayList<String> loadBalancing_serviceName_probeIp_GET(String serviceName, OvhLoadBalancingZoneEnum zone) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/probeIp";
StringBuilder sb = path(qPath, serviceName);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), n... | java | public ArrayList<String> loadBalancing_serviceName_probeIp_GET(String serviceName, OvhLoadBalancingZoneEnum zone) throws IOException {
String qPath = "/ip/loadBalancing/{serviceName}/probeIp";
StringBuilder sb = path(qPath, serviceName);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), n... | [
"public",
"ArrayList",
"<",
"String",
">",
"loadBalancing_serviceName_probeIp_GET",
"(",
"String",
"serviceName",
",",
"OvhLoadBalancingZoneEnum",
"zone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip/loadBalancing/{serviceName}/probeIp\"",
";",
"StringB... | Ip subnet used to send probes to your backends
REST: GET /ip/loadBalancing/{serviceName}/probeIp
@param zone [required] one of your ip loadbalancing's zone
@param serviceName [required] The internal name of your IP load balancing | [
"Ip",
"subnet",
"used",
"to",
"send",
"probes",
"to",
"your",
"backends"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ip/src/main/java/net/minidev/ovh/api/ApiOvhIp.java#L1584-L1590 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java | ApiOvhPartners.register_company_POST | public OvhCompany register_company_POST(OvhOVHCertifications OVHCertifications, OvhOVHCustomersAdvisedEnum OVHCustomersAdvised, OvhKnowledgeResourcesRangeEnum OVHKnowledgeResources, OvhOVHProductsUsed OVHProductsUsed, OvhTechnicalAdvancedResourcesRangeEnum OVHTechnicalAdvancedResources, OvhTechnicalExpertResourcesRange... | java | public OvhCompany register_company_POST(OvhOVHCertifications OVHCertifications, OvhOVHCustomersAdvisedEnum OVHCustomersAdvised, OvhKnowledgeResourcesRangeEnum OVHKnowledgeResources, OvhOVHProductsUsed OVHProductsUsed, OvhTechnicalAdvancedResourcesRangeEnum OVHTechnicalAdvancedResources, OvhTechnicalExpertResourcesRange... | [
"public",
"OvhCompany",
"register_company_POST",
"(",
"OvhOVHCertifications",
"OVHCertifications",
",",
"OvhOVHCustomersAdvisedEnum",
"OVHCustomersAdvised",
",",
"OvhKnowledgeResourcesRangeEnum",
"OVHKnowledgeResources",
",",
"OvhOVHProductsUsed",
"OVHProductsUsed",
",",
"OvhTechnica... | Created a new company for the inscription
REST: POST /partners/register/company
@param name [required] Name of the company
@param commercialName [required] The commercial name of the company
@param registrationNumber [required] Company's registration number
@param address [required] Company's street address
@param cit... | [
"Created",
"a",
"new",
"company",
"for",
"the",
"inscription"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java#L86-L121 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java | ApiOvhPartners.register_company_companyId_GET | public OvhCompany register_company_companyId_GET(String companyId) throws IOException {
String qPath = "/partners/register/company/{companyId}";
StringBuilder sb = path(qPath, companyId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhCompany.class);
} | java | public OvhCompany register_company_companyId_GET(String companyId) throws IOException {
String qPath = "/partners/register/company/{companyId}";
StringBuilder sb = path(qPath, companyId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhCompany.class);
} | [
"public",
"OvhCompany",
"register_company_companyId_GET",
"(",
"String",
"companyId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/partners/register/company/{companyId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"companyId",
")",
... | Get information on a created company
REST: GET /partners/register/company/{companyId}
@param companyId [required] Company's id | [
"Get",
"information",
"on",
"a",
"created",
"company"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java#L129-L134 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java | ApiOvhPartners.register_company_companyId_contact_POST | public OvhContact register_company_companyId_contact_POST(String companyId, String email, String facebook, String firstName, String lastName, String linkedin, Boolean newsletter, OvhNic[] otherNics, String phone, String role, String twitter) throws IOException {
String qPath = "/partners/register/company/{companyId}/... | java | public OvhContact register_company_companyId_contact_POST(String companyId, String email, String facebook, String firstName, String lastName, String linkedin, Boolean newsletter, OvhNic[] otherNics, String phone, String role, String twitter) throws IOException {
String qPath = "/partners/register/company/{companyId}/... | [
"public",
"OvhContact",
"register_company_companyId_contact_POST",
"(",
"String",
"companyId",
",",
"String",
"email",
",",
"String",
"facebook",
",",
"String",
"firstName",
",",
"String",
"lastName",
",",
"String",
"linkedin",
",",
"Boolean",
"newsletter",
",",
"Ov... | Created a new contact for the inscription
REST: POST /partners/register/company/{companyId}/contact
@param companyId [required] Company's id
@param otherNics [required] List of nics to associate with this contact
@param firstName [required] Contact's first name
@param lastName [required] Contact's last name
@param ema... | [
"Created",
"a",
"new",
"contact",
"for",
"the",
"inscription"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java#L250-L266 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java | ApiOvhPartners.register_company_companyId_application_POST | public OvhApplication register_company_companyId_application_POST(String companyId, Boolean termsAndConditionsOfServiceAccepted) throws IOException {
String qPath = "/partners/register/company/{companyId}/application";
StringBuilder sb = path(qPath, companyId);
HashMap<String, Object>o = new HashMap<String, Objec... | java | public OvhApplication register_company_companyId_application_POST(String companyId, Boolean termsAndConditionsOfServiceAccepted) throws IOException {
String qPath = "/partners/register/company/{companyId}/application";
StringBuilder sb = path(qPath, companyId);
HashMap<String, Object>o = new HashMap<String, Objec... | [
"public",
"OvhApplication",
"register_company_companyId_application_POST",
"(",
"String",
"companyId",
",",
"Boolean",
"termsAndConditionsOfServiceAccepted",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/partners/register/company/{companyId}/application\"",
";",
... | Submit application information for validation
REST: POST /partners/register/company/{companyId}/application
@param companyId [required] Company's id
@param termsAndConditionsOfServiceAccepted [required] I have read the terms and conditions of the OVH partner program and accept them | [
"Submit",
"application",
"information",
"for",
"validation"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-partners/src/main/java/net/minidev/ovh/api/ApiOvhPartners.java#L338-L345 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.database | public static DB database(String url, String user, String password) throws SQLException {
return database(DriverManager.getConnection(url, user, password));
} | java | public static DB database(String url, String user, String password) throws SQLException {
return database(DriverManager.getConnection(url, user, password));
} | [
"public",
"static",
"DB",
"database",
"(",
"String",
"url",
",",
"String",
"user",
",",
"String",
"password",
")",
"throws",
"SQLException",
"{",
"return",
"database",
"(",
"DriverManager",
".",
"getConnection",
"(",
"url",
",",
"user",
",",
"password",
")",... | Create a new database handle for given database
URL, user and password .
<p>Calling this method is shorthand for:<br>
<code>database( DriverManager.getConnection(url, user, password) )</code>.
</p>
@param url Database URL.
@param user Database user.
@param password Database password.
@return ... | [
"Create",
"a",
"new",
"database",
"handle",
"for",
"given",
"database",
"URL",
"user",
"and",
"password",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L110-L112 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.data | public static <T> TypedDataSet<T> data(DataSource dataSource, Conversion<T> conv) {
return new TypedDataSet<>(dataSource, conv);
} | java | public static <T> TypedDataSet<T> data(DataSource dataSource, Conversion<T> conv) {
return new TypedDataSet<>(dataSource, conv);
} | [
"public",
"static",
"<",
"T",
">",
"TypedDataSet",
"<",
"T",
">",
"data",
"(",
"DataSource",
"dataSource",
",",
"Conversion",
"<",
"T",
">",
"conv",
")",
"{",
"return",
"new",
"TypedDataSet",
"<>",
"(",
"dataSource",
",",
"conv",
")",
";",
"}"
] | Create a new typed data set.
@param <T> Type of objects.
@param dataSource Data source.
@param conv Conversion function.
@return A new typed data set for the given source. | [
"Create",
"a",
"new",
"typed",
"data",
"set",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L225-L227 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.query | @SafeVarargs
public static Query query(DB db, String sql, Object... args) {
return new Query(db, sql, args);
} | java | @SafeVarargs
public static Query query(DB db, String sql, Object... args) {
return new Query(db, sql, args);
} | [
"@",
"SafeVarargs",
"public",
"static",
"Query",
"query",
"(",
"DB",
"db",
",",
"String",
"sql",
",",
"Object",
"...",
"args",
")",
"{",
"return",
"new",
"Query",
"(",
"db",
",",
"sql",
",",
"args",
")",
";",
"}"
] | Create a query data source from given SQL code.
@param db Database handle.
@param sql SQL code.
@param args Optional query arguments.
@return A new query data source. | [
"Create",
"a",
"query",
"data",
"source",
"from",
"given",
"SQL",
"code",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L254-L257 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.takeSnapshot | @SafeVarargs
public static void
takeSnapshot(DataSource... dataSources) {
ensureDistinctDataSources(dataSources, Function.identity());
foreach(dataSources,
(callInfo, dataSource) -> dataSource.executeQuery(callInfo, true),
CallInfo.create());
} | java | @SafeVarargs
public static void
takeSnapshot(DataSource... dataSources) {
ensureDistinctDataSources(dataSources, Function.identity());
foreach(dataSources,
(callInfo, dataSource) -> dataSource.executeQuery(callInfo, true),
CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"takeSnapshot",
"(",
"DataSource",
"...",
"dataSources",
")",
"{",
"ensureDistinctDataSources",
"(",
"dataSources",
",",
"Function",
".",
"identity",
"(",
")",
")",
";",
"foreach",
"(",
"dataSources",
",",
"(",
"... | Take a database snapshot for several data sources.
@param dataSources Data sources.
@see #takeSnapshot(DataSource)
@since 1.2 | [
"Take",
"a",
"database",
"snapshot",
"for",
"several",
"data",
"sources",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L318-L325 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.assertEquals | public static void assertEquals(DataSet expected, DataSet actual) throws DBAssertionError {
DBAssert.dataSetAssertion(CallInfo.create(), expected, actual);
} | java | public static void assertEquals(DataSet expected, DataSet actual) throws DBAssertionError {
DBAssert.dataSetAssertion(CallInfo.create(), expected, actual);
} | [
"public",
"static",
"void",
"assertEquals",
"(",
"DataSet",
"expected",
",",
"DataSet",
"actual",
")",
"throws",
"DBAssertionError",
"{",
"DBAssert",
".",
"dataSetAssertion",
"(",
"CallInfo",
".",
"create",
"(",
")",
",",
"expected",
",",
"actual",
")",
";",
... | Assert that two data sets are equivalent.
<p>
Note that the executed data set comparison is insensitive
to the order of rows in both data sets.
</p>
@param expected Expected data.
@param actual Actual data.
@throws DBAssertionError if the assertion fails.
@see #assertEquals(String,DataSet,DataSet) | [
"Assert",
"that",
"two",
"data",
"sets",
"are",
"equivalent",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L350-L352 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.assertTableExists | public static void assertTableExists(DB db, String tableName) throws DBAssertionError {
DBAssert.assertTableExistence(CallInfo.create(), db, tableName, true);
} | java | public static void assertTableExists(DB db, String tableName) throws DBAssertionError {
DBAssert.assertTableExistence(CallInfo.create(), db, tableName, true);
} | [
"public",
"static",
"void",
"assertTableExists",
"(",
"DB",
"db",
",",
"String",
"tableName",
")",
"throws",
"DBAssertionError",
"{",
"DBAssert",
".",
"assertTableExistence",
"(",
"CallInfo",
".",
"create",
"(",
")",
",",
"db",
",",
"tableName",
",",
"true",
... | Assert that table exists in the database.
@param db Database.
@param tableName Table name.
@throws DBAssertionError If the assertion fails.
@see #assertTableDoesNotExist(DB, String)
@see #drop(Table) | [
"Assert",
"that",
"table",
"exists",
"in",
"the",
"database",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L739-L741 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.assertTableDoesNotExist | public static void assertTableDoesNotExist(DB db, String tableName) throws DBAssertionError {
DBAssert.assertTableExistence(CallInfo.create(), db, tableName, false);
} | java | public static void assertTableDoesNotExist(DB db, String tableName) throws DBAssertionError {
DBAssert.assertTableExistence(CallInfo.create(), db, tableName, false);
} | [
"public",
"static",
"void",
"assertTableDoesNotExist",
"(",
"DB",
"db",
",",
"String",
"tableName",
")",
"throws",
"DBAssertionError",
"{",
"DBAssert",
".",
"assertTableExistence",
"(",
"CallInfo",
".",
"create",
"(",
")",
",",
"db",
",",
"tableName",
",",
"fa... | Assert that table does not exist in a database.
@param db Database.
@param tableName Table name.
@throws DBAssertionError If the assertion fails.
@see #assertTableExists(DB,String)
@see #drop(Table) | [
"Assert",
"that",
"table",
"does",
"not",
"exist",
"in",
"a",
"database",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L766-L768 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.assertTableExists | @SafeVarargs
public static void assertTableExists(DB db, String... tableNames) throws DBAssertionError {
multipleTableExistenceAssertions(CallInfo.create(), db, tableNames, true);
} | java | @SafeVarargs
public static void assertTableExists(DB db, String... tableNames) throws DBAssertionError {
multipleTableExistenceAssertions(CallInfo.create(), db, tableNames, true);
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"assertTableExists",
"(",
"DB",
"db",
",",
"String",
"...",
"tableNames",
")",
"throws",
"DBAssertionError",
"{",
"multipleTableExistenceAssertions",
"(",
"CallInfo",
".",
"create",
"(",
")",
",",
"db",
",",
"table... | Assert that tables exist in the database.
@param db Database.
@param tableNames Table names.
@throws DBAssertionError If the assertion fails.
@see #assertTableDoesNotExist(DB, String...)
@see #drop(Table...)
@since 1.2 | [
"Assert",
"that",
"tables",
"exist",
"in",
"the",
"database",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L794-L797 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.insert | @SafeVarargs
public static void insert(DataSet... dataSets) {
foreach(dataSets, DBSetup::insert, CallInfo.create());
} | java | @SafeVarargs
public static void insert(DataSet... dataSets) {
foreach(dataSets, DBSetup::insert, CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"insert",
"(",
"DataSet",
"...",
"dataSets",
")",
"{",
"foreach",
"(",
"dataSets",
",",
"DBSetup",
"::",
"insert",
",",
"CallInfo",
".",
"create",
"(",
")",
")",
";",
"}"
] | Insert data sets into the database.
@param dataSets Data sets for insertion.
@see #insert(DataSet)
@see #delete(DataSet...)
@see #update(DataSet...)
@see #populate(DataSet...)
@see #populateIfChanged(DataSet...)
@since 1.2 | [
"Insert",
"data",
"sets",
"into",
"the",
"database",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L880-L883 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.update | @SafeVarargs
public static void update(DataSet... dataSets) {
foreach(dataSets, DBSetup::update, CallInfo.create());
} | java | @SafeVarargs
public static void update(DataSet... dataSets) {
foreach(dataSets, DBSetup::update, CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"update",
"(",
"DataSet",
"...",
"dataSets",
")",
"{",
"foreach",
"(",
"dataSets",
",",
"DBSetup",
"::",
"update",
",",
"CallInfo",
".",
"create",
"(",
")",
")",
";",
"}"
] | Update database according to given data sets.
<p>The data sets should be associated to tables
with defined key columns. The key column values
of each entry in a data set determine the rows to be updated,
and the remaining column values are used in the update.
</p>
@param dataSets Data sets for update.
@see TableBuild... | [
"Update",
"database",
"according",
"to",
"given",
"data",
"sets",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L924-L927 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.delete | @SafeVarargs
public static void delete(DataSet... dataSets) {
foreach(dataSets, DBSetup::delete, CallInfo.create());
} | java | @SafeVarargs
public static void delete(DataSet... dataSets) {
foreach(dataSets, DBSetup::delete, CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"delete",
"(",
"DataSet",
"...",
"dataSets",
")",
"{",
"foreach",
"(",
"dataSets",
",",
"DBSetup",
"::",
"delete",
",",
"CallInfo",
".",
"create",
"(",
")",
")",
";",
"}"
] | Delete data sets from the database.
<p>The data sets should be associated to tables
with defined key columns. The key column values
of each entry a data set determine the rows to delete.
</p>
@param dataSets Data sets for deletion.
@see TableBuilder#key(String...)
@see Table#getKeyColumns()
@see #update(DataSet...)
@... | [
"Delete",
"data",
"sets",
"from",
"the",
"database",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L967-L970 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.populate | @SafeVarargs
public static void populate(DataSet... dataSets) {
ensureDistinctDataSources(dataSets, DataSet::getSource);
foreach(dataSets, DBSetup::populate, CallInfo.create());
} | java | @SafeVarargs
public static void populate(DataSet... dataSets) {
ensureDistinctDataSources(dataSets, DataSet::getSource);
foreach(dataSets, DBSetup::populate, CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"populate",
"(",
"DataSet",
"...",
"dataSets",
")",
"{",
"ensureDistinctDataSources",
"(",
"dataSets",
",",
"DataSet",
"::",
"getSource",
")",
";",
"foreach",
"(",
"dataSets",
",",
"DBSetup",
"::",
"populate",
",... | Populate database with given data sets.
@param dataSets Data sets for insertion.
@see #populate(DataSet)
@see #populateIfChanged(DataSet)
@see #insert(DataSet...)
@see #update(DataSet...)
@see #delete(DataSet...)
@since 1.2 | [
"Populate",
"database",
"with",
"given",
"data",
"sets",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L997-L1001 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.deleteAll | @SafeVarargs
public static void deleteAll(Table... tables) {
foreach(tables, DBSetup::deleteAll, CallInfo.create());
} | java | @SafeVarargs
public static void deleteAll(Table... tables) {
foreach(tables, DBSetup::deleteAll, CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"deleteAll",
"(",
"Table",
"...",
"tables",
")",
"{",
"foreach",
"(",
"tables",
",",
"DBSetup",
"::",
"deleteAll",
",",
"CallInfo",
".",
"create",
"(",
")",
")",
";",
"}"
] | Delete all data from given tables.
@param tables Tables.
@see #deleteAll(Table)
@see #truncate(Table...)
@see #deleteAllWhere(Table,String,Object...)
@since 1.2 | [
"Delete",
"all",
"data",
"from",
"given",
"tables",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1063-L1066 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.truncate | @SafeVarargs
public static void truncate(Table... tables) {
foreach(tables, DBSetup::truncate, CallInfo.create());
} | java | @SafeVarargs
public static void truncate(Table... tables) {
foreach(tables, DBSetup::truncate, CallInfo.create());
} | [
"@",
"SafeVarargs",
"public",
"static",
"void",
"truncate",
"(",
"Table",
"...",
"tables",
")",
"{",
"foreach",
"(",
"tables",
",",
"DBSetup",
"::",
"truncate",
",",
"CallInfo",
".",
"create",
"(",
")",
")",
";",
"}"
] | Truncate tables.
@param tables Tables to truncate.
@see #truncate(Table)
@see #deleteAll(Table...)
@see #drop(Table...)
@since 1.2 | [
"Truncate",
"tables",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1168-L1171 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.execute | @SafeVarargs
public static int execute(DB db, String sql, Object... args) {
return DBSetup.execute(CallInfo.create(), db, sql, args);
} | java | @SafeVarargs
public static int execute(DB db, String sql, Object... args) {
return DBSetup.execute(CallInfo.create(), db, sql, args);
} | [
"@",
"SafeVarargs",
"public",
"static",
"int",
"execute",
"(",
"DB",
"db",
",",
"String",
"sql",
",",
"Object",
"...",
"args",
")",
"{",
"return",
"DBSetup",
".",
"execute",
"(",
"CallInfo",
".",
"create",
"(",
")",
",",
"db",
",",
"sql",
",",
"args"... | Execute arbitrary SQL for a database instance.
<p>
You may use this method for arbitrary database setup
actions.
</p>
@param db Database.
@param sql SQL statement.
@param args SQL statement arguments.
@return The value obtained through {@link PreparedStatement#getUpdateCount()}, after executing the statement.
@since ... | [
"Execute",
"arbitrary",
"SQL",
"for",
"a",
"database",
"instance",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1187-L1190 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.changed | @SafeVarargs
public static boolean changed(DataSource... dataSources) {
if (dataSources == null || dataSources.length == 0) {
throw new InvalidOperationException("No data sources specified");
}
for (DataSource ds : dataSources) {
if (ds.getDirtyStatus()) {
return true;
}
}
... | java | @SafeVarargs
public static boolean changed(DataSource... dataSources) {
if (dataSources == null || dataSources.length == 0) {
throw new InvalidOperationException("No data sources specified");
}
for (DataSource ds : dataSources) {
if (ds.getDirtyStatus()) {
return true;
}
}
... | [
"@",
"SafeVarargs",
"public",
"static",
"boolean",
"changed",
"(",
"DataSource",
"...",
"dataSources",
")",
"{",
"if",
"(",
"dataSources",
"==",
"null",
"||",
"dataSources",
".",
"length",
"==",
"0",
")",
"{",
"throw",
"new",
"InvalidOperationException",
"(",
... | Check if given data sources are seen as changed.
@param dataSources Data sources.
@return <code>true</code> if at least one of the given data sources
is marked as changed.
@see #changed(DataSource)
@see #populateIfChanged(DataSet...) | [
"Check",
"if",
"given",
"data",
"sources",
"are",
"seen",
"as",
"changed",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1294-L1305 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.dump | public static void dump(DataSet data, PrintStream out) {
try (Log log = Log.create(out)) {
log.write(CallInfo.create(), data);
}
} | java | public static void dump(DataSet data, PrintStream out) {
try (Log log = Log.create(out)) {
log.write(CallInfo.create(), data);
}
} | [
"public",
"static",
"void",
"dump",
"(",
"DataSet",
"data",
",",
"PrintStream",
"out",
")",
"{",
"try",
"(",
"Log",
"log",
"=",
"Log",
".",
"create",
"(",
"out",
")",
")",
"{",
"log",
".",
"write",
"(",
"CallInfo",
".",
"create",
"(",
")",
",",
"... | Dump the contents of a data set.
@param data Data set.
@param out Output stream. | [
"Dump",
"the",
"contents",
"of",
"a",
"data",
"set",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1312-L1316 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.dump | public static void dump(DataSource dataSource, PrintStream out) {
try (Log log = Log.create(out)) {
log.write(CallInfo.create(), executeQuery(dataSource));
}
} | java | public static void dump(DataSource dataSource, PrintStream out) {
try (Log log = Log.create(out)) {
log.write(CallInfo.create(), executeQuery(dataSource));
}
} | [
"public",
"static",
"void",
"dump",
"(",
"DataSource",
"dataSource",
",",
"PrintStream",
"out",
")",
"{",
"try",
"(",
"Log",
"log",
"=",
"Log",
".",
"create",
"(",
"out",
")",
")",
"{",
"log",
".",
"write",
"(",
"CallInfo",
".",
"create",
"(",
")",
... | Dump the database contents for a data source.
@param dataSource Data source.
@param out Output stream. | [
"Dump",
"the",
"database",
"contents",
"for",
"a",
"data",
"source",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1340-L1344 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/JDBDT.java | JDBDT.foreach | private static <T> void foreach(T[] arguments, CallHandler<T> handler, CallInfo callInfo) {
if (arguments == null || arguments.length == 0) {
throw new InvalidOperationException("Empty or null array!");
}
for (T argument : arguments) {
handler.action(callInfo, argument);
}
} | java | private static <T> void foreach(T[] arguments, CallHandler<T> handler, CallInfo callInfo) {
if (arguments == null || arguments.length == 0) {
throw new InvalidOperationException("Empty or null array!");
}
for (T argument : arguments) {
handler.action(callInfo, argument);
}
} | [
"private",
"static",
"<",
"T",
">",
"void",
"foreach",
"(",
"T",
"[",
"]",
"arguments",
",",
"CallHandler",
"<",
"T",
">",
"handler",
",",
"CallInfo",
"callInfo",
")",
"{",
"if",
"(",
"arguments",
"==",
"null",
"||",
"arguments",
".",
"length",
"==",
... | Utility method to deal with facade methods that accept
variable length arguments.
@param arguments Argument array.
@param handler handler.
@param callInfo Call info.
@param <T> Type of objects. | [
"Utility",
"method",
"to",
"deal",
"with",
"facade",
"methods",
"that",
"accept",
"variable",
"length",
"arguments",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/JDBDT.java#L1385-L1392 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-hostingreseller/src/main/java/net/minidev/ovh/api/ApiOvhHostingreseller.java | ApiOvhHostingreseller.serviceName_reverse_POST | public String serviceName_reverse_POST(String serviceName, String reverse) throws IOException {
String qPath = "/hosting/reseller/{serviceName}/reverse";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "reverse", reverse);
String resp = exec(qP... | java | public String serviceName_reverse_POST(String serviceName, String reverse) throws IOException {
String qPath = "/hosting/reseller/{serviceName}/reverse";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "reverse", reverse);
String resp = exec(qP... | [
"public",
"String",
"serviceName_reverse_POST",
"(",
"String",
"serviceName",
",",
"String",
"reverse",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/hosting/reseller/{serviceName}/reverse\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
","... | Set new reverse to ip
REST: POST /hosting/reseller/{serviceName}/reverse
@param serviceName [required] The internal name of your reseller service
@param reverse [required] Domain to set the ip reverse | [
"Set",
"new",
"reverse",
"to",
"ip"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-hostingreseller/src/main/java/net/minidev/ovh/api/ApiOvhHostingreseller.java#L129-L136 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-hostingreseller/src/main/java/net/minidev/ovh/api/ApiOvhHostingreseller.java | ApiOvhHostingreseller.serviceName_language_POST | public String serviceName_language_POST(String serviceName, OvhPleskLanguageTypeEnum language) throws IOException {
String qPath = "/hosting/reseller/{serviceName}/language";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "language", language);
... | java | public String serviceName_language_POST(String serviceName, OvhPleskLanguageTypeEnum language) throws IOException {
String qPath = "/hosting/reseller/{serviceName}/language";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "language", language);
... | [
"public",
"String",
"serviceName_language_POST",
"(",
"String",
"serviceName",
",",
"OvhPleskLanguageTypeEnum",
"language",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/hosting/reseller/{serviceName}/language\"",
";",
"StringBuilder",
"sb",
"=",
"path",
... | Change language of the Plesk instance
REST: POST /hosting/reseller/{serviceName}/language
@param serviceName [required] The internal name of your reseller service
@param language [required] Locale value | [
"Change",
"language",
"of",
"the",
"Plesk",
"instance"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-hostingreseller/src/main/java/net/minidev/ovh/api/ApiOvhHostingreseller.java#L188-L195 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_vendor_ovhId_POST | public OvhOvhId serviceName_vendor_ovhId_POST(String serviceName, OvhVendorObjectTypeEnum objectType, String vendorId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/vendor/ovhId";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(... | java | public OvhOvhId serviceName_vendor_ovhId_POST(String serviceName, OvhVendorObjectTypeEnum objectType, String vendorId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/vendor/ovhId";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(... | [
"public",
"OvhOvhId",
"serviceName_vendor_ovhId_POST",
"(",
"String",
"serviceName",
",",
"OvhVendorObjectTypeEnum",
"objectType",
",",
"String",
"vendorId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{serviceName}/vendor/ovhId\"",
";",
"S... | Get ovh id from object type
REST: POST /dedicatedCloud/{serviceName}/vendor/ovhId
@param vendorId [required] object type id
@param objectType [required] object type
@param serviceName [required] Domain of the service | [
"Get",
"ovh",
"id",
"from",
"object",
"type"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L180-L188 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_task_taskId_changeMaintenanceExecutionDate_POST | public OvhTask serviceName_task_taskId_changeMaintenanceExecutionDate_POST(String serviceName, Long taskId, Date executionDate) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/task/{taskId}/changeMaintenanceExecutionDate";
StringBuilder sb = path(qPath, serviceName, taskId);
HashMap<String, Obj... | java | public OvhTask serviceName_task_taskId_changeMaintenanceExecutionDate_POST(String serviceName, Long taskId, Date executionDate) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/task/{taskId}/changeMaintenanceExecutionDate";
StringBuilder sb = path(qPath, serviceName, taskId);
HashMap<String, Obj... | [
"public",
"OvhTask",
"serviceName_task_taskId_changeMaintenanceExecutionDate_POST",
"(",
"String",
"serviceName",
",",
"Long",
"taskId",
",",
"Date",
"executionDate",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{serviceName}/task/{taskId}/chang... | Change the execution date of a maintenance. Works only if task type is maintenance and if it has not started yet.
REST: POST /dedicatedCloud/{serviceName}/task/{taskId}/changeMaintenanceExecutionDate
@param executionDate [required] The new execution date
@param serviceName [required] Domain of the service
@param taskI... | [
"Change",
"the",
"execution",
"date",
"of",
"a",
"maintenance",
".",
"Works",
"only",
"if",
"task",
"type",
"is",
"maintenance",
"and",
"if",
"it",
"has",
"not",
"started",
"yet",
"."
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L225-L232 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_vmEncryption_kms_kmsId_changeProperties_POST | public OvhTask serviceName_vmEncryption_kms_kmsId_changeProperties_POST(String serviceName, Long kmsId, String description, String sslThumbprint) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/vmEncryption/kms/{kmsId}/changeProperties";
StringBuilder sb = path(qPath, serviceName, kmsId);
HashM... | java | public OvhTask serviceName_vmEncryption_kms_kmsId_changeProperties_POST(String serviceName, Long kmsId, String description, String sslThumbprint) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/vmEncryption/kms/{kmsId}/changeProperties";
StringBuilder sb = path(qPath, serviceName, kmsId);
HashM... | [
"public",
"OvhTask",
"serviceName_vmEncryption_kms_kmsId_changeProperties_POST",
"(",
"String",
"serviceName",
",",
"Long",
"kmsId",
",",
"String",
"description",
",",
"String",
"sslThumbprint",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud... | Change option user access properties
REST: POST /dedicatedCloud/{serviceName}/vmEncryption/kms/{kmsId}/changeProperties
@param sslThumbprint [required] SSL thumbprint of the remote service, e.g. A7:61:68:...:61:91:2F
@param description [required] Description of your option access network
@param serviceName [required] ... | [
"Change",
"option",
"user",
"access",
"properties"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L590-L598 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_user_userId_objectRight_POST | public OvhTask serviceName_user_userId_objectRight_POST(String serviceName, Long userId, Boolean propagate, OvhRightEnum right, OvhUserObjectRightTypeEnum type, String vmwareObjectId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/user/{userId}/objectRight";
StringBuilder sb = path(qPath, servic... | java | public OvhTask serviceName_user_userId_objectRight_POST(String serviceName, Long userId, Boolean propagate, OvhRightEnum right, OvhUserObjectRightTypeEnum type, String vmwareObjectId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/user/{userId}/objectRight";
StringBuilder sb = path(qPath, servic... | [
"public",
"OvhTask",
"serviceName_user_userId_objectRight_POST",
"(",
"String",
"serviceName",
",",
"Long",
"userId",
",",
"Boolean",
"propagate",
",",
"OvhRightEnum",
"right",
",",
"OvhUserObjectRightTypeEnum",
"type",
",",
"String",
"vmwareObjectId",
")",
"throws",
"I... | Add a new object right to user in datacenter on Private Cloud
REST: POST /dedicatedCloud/{serviceName}/user/{userId}/objectRight
@param type [required] Type of the object
@param vmwareObjectId [required] The VMware MoRef of the object
@param propagate [required] Right propagation on children objects
@param right [requ... | [
"Add",
"a",
"new",
"object",
"right",
"to",
"user",
"in",
"datacenter",
"on",
"Private",
"Cloud"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L666-L676 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_user_userId_changeProperties_POST | public OvhTask serviceName_user_userId_changeProperties_POST(String serviceName, Long userId, Boolean canManageIpFailOvers, Boolean canManageNetwork, Boolean canManageRights, String email, String firstName, Boolean fullAdminRo, String lastName, Boolean nsxRight, String phoneNumber, Boolean receiveAlerts, Boolean tokenV... | java | public OvhTask serviceName_user_userId_changeProperties_POST(String serviceName, Long userId, Boolean canManageIpFailOvers, Boolean canManageNetwork, Boolean canManageRights, String email, String firstName, Boolean fullAdminRo, String lastName, Boolean nsxRight, String phoneNumber, Boolean receiveAlerts, Boolean tokenV... | [
"public",
"OvhTask",
"serviceName_user_userId_changeProperties_POST",
"(",
"String",
"serviceName",
",",
"Long",
"userId",
",",
"Boolean",
"canManageIpFailOvers",
",",
"Boolean",
"canManageNetwork",
",",
"Boolean",
"canManageRights",
",",
"String",
"email",
",",
"String",... | Change Private Cloud user properties
REST: POST /dedicatedCloud/{serviceName}/user/{userId}/changeProperties
@param fullAdminRo [required] Defines if the user is a full admin in readonly
@param canManageNetwork [required] Defines if the user can manage the network
@param canManageRights [required] Defines if the user ... | [
"Change",
"Private",
"Cloud",
"user",
"properties"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L801-L818 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_user_POST | public OvhTask serviceName_user_POST(String serviceName, Boolean canAddRessource, Boolean canManageRights, String email, Date expirationDate, String firstName, String lastName, String name, OvhNetworkRoleEnum networkRole, Boolean nsxRight, String password, String phoneNumber, Boolean receiveAlerts, OvhRightEnum right, ... | java | public OvhTask serviceName_user_POST(String serviceName, Boolean canAddRessource, Boolean canManageRights, String email, Date expirationDate, String firstName, String lastName, String name, OvhNetworkRoleEnum networkRole, Boolean nsxRight, String password, String phoneNumber, Boolean receiveAlerts, OvhRightEnum right, ... | [
"public",
"OvhTask",
"serviceName_user_POST",
"(",
"String",
"serviceName",
",",
"Boolean",
"canAddRessource",
",",
"Boolean",
"canManageRights",
",",
"String",
"email",
",",
"Date",
"expirationDate",
",",
"String",
"firstName",
",",
"String",
"lastName",
",",
"Stri... | Create a new User in your Private Cloud
REST: POST /dedicatedCloud/{serviceName}/user
@param phoneNumber [required] Mobile phone number of the user
@param email [required] The user email. If this field is empty, user informations will be sent to the dedicatedCloud administrator contact.
@param lastName [required] Last... | [
"Create",
"a",
"new",
"User",
"in",
"your",
"Private",
"Cloud"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L967-L988 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_globalTasks_GET | public ArrayList<Long> serviceName_globalTasks_GET(String serviceName, Long datacenterId, Date endDate_from, Date endDate_to, Date executionDate_from, Date executionDate_to, Long filerId, Long hostId, Date lastModificationDate_from, Date lastModificationDate_to, String name, Long networkAccessId, Long orderId, Long par... | java | public ArrayList<Long> serviceName_globalTasks_GET(String serviceName, Long datacenterId, Date endDate_from, Date endDate_to, Date executionDate_from, Date executionDate_to, Long filerId, Long hostId, Date lastModificationDate_from, Date lastModificationDate_to, String name, Long networkAccessId, Long orderId, Long par... | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_globalTasks_GET",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"Date",
"endDate_from",
",",
"Date",
"endDate_to",
",",
"Date",
"executionDate_from",
",",
"Date",
"executionDate_to",
",",
"Long"... | Get filtered tasks associated with this Private Cloud
REST: GET /dedicatedCloud/{serviceName}/globalTasks
@param executionDate_to [required] Filter the tasks by execution date (<=)
@param datacenterId [required] Filter the tasks by datacenter Id
@param hostId [required] Filter the tasks by host Id
@param lastModificat... | [
"Get",
"filtered",
"tasks",
"associated",
"with",
"this",
"Private",
"Cloud"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1012-L1033 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_federation_activeDirectory_POST | public OvhTask serviceName_federation_activeDirectory_POST(String serviceName, String baseDnForGroups, String baseDnForUsers, String description, String domainAlias, String domainName, String ip, String password, String username) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/federation/activeDire... | java | public OvhTask serviceName_federation_activeDirectory_POST(String serviceName, String baseDnForGroups, String baseDnForUsers, String description, String domainAlias, String domainName, String ip, String password, String username) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/federation/activeDire... | [
"public",
"OvhTask",
"serviceName_federation_activeDirectory_POST",
"(",
"String",
"serviceName",
",",
"String",
"baseDnForGroups",
",",
"String",
"baseDnForUsers",
",",
"String",
"description",
",",
"String",
"domainAlias",
",",
"String",
"domainName",
",",
"String",
"... | Add a new option user access
REST: POST /dedicatedCloud/{serviceName}/federation/activeDirectory
@param domainAlias [required] Active Directory NetBIOS name, e.g. example
@param username [required] Active Directory username, e.g. jdoe@example.com
@param description [required] Description of your option access network
... | [
"Add",
"a",
"new",
"option",
"user",
"access"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1075-L1089 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_federation_activeDirectory_activeDirectoryId_changeProperties_POST | public OvhTask serviceName_federation_activeDirectory_activeDirectoryId_changeProperties_POST(String serviceName, Long activeDirectoryId, String description, String password, String username) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/federation/activeDirectory/{activeDirectoryId}/changeProper... | java | public OvhTask serviceName_federation_activeDirectory_activeDirectoryId_changeProperties_POST(String serviceName, Long activeDirectoryId, String description, String password, String username) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/federation/activeDirectory/{activeDirectoryId}/changeProper... | [
"public",
"OvhTask",
"serviceName_federation_activeDirectory_activeDirectoryId_changeProperties_POST",
"(",
"String",
"serviceName",
",",
"Long",
"activeDirectoryId",
",",
"String",
"description",
",",
"String",
"password",
",",
"String",
"username",
")",
"throws",
"IOExcepti... | Change Active Directory properties
REST: POST /dedicatedCloud/{serviceName}/federation/activeDirectory/{activeDirectoryId}/changeProperties
@param username [required] Active Directory username, e.g. jdoe@example.com
@param password [required] Active Directory password
@param description [required] Description of your ... | [
"Change",
"Active",
"Directory",
"properties"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1101-L1110 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_changeProperties_POST | public OvhTask serviceName_changeProperties_POST(String serviceName, String description, Boolean sslV3, OvhUserAccessPolicyEnum userAccessPolicy, Long userLimitConcurrentSession, OvhUserLogoutPolicyEnum userLogoutPolicy, Long userSessionTimeout) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/chang... | java | public OvhTask serviceName_changeProperties_POST(String serviceName, String description, Boolean sslV3, OvhUserAccessPolicyEnum userAccessPolicy, Long userLimitConcurrentSession, OvhUserLogoutPolicyEnum userLogoutPolicy, Long userSessionTimeout) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/chang... | [
"public",
"OvhTask",
"serviceName_changeProperties_POST",
"(",
"String",
"serviceName",
",",
"String",
"description",
",",
"Boolean",
"sslV3",
",",
"OvhUserAccessPolicyEnum",
"userAccessPolicy",
",",
"Long",
"userLimitConcurrentSession",
",",
"OvhUserLogoutPolicyEnum",
"userL... | Update this Private Cloud properties.
REST: POST /dedicatedCloud/{serviceName}/changeProperties
@param sslV3 [required] Enable SSL v3 support. Warning: this option is not recommended as it was recognized as a security breach. If this is enabled, we advise you to enable the filtered User access policy
@param userLimitC... | [
"Update",
"this",
"Private",
"Cloud",
"properties",
"."
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1195-L1207 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_ip_network_details_GET | public ArrayList<OvhIpDetails> serviceName_ip_network_details_GET(String serviceName, String network) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/ip/{network}/details";
StringBuilder sb = path(qPath, serviceName, network);
String resp = exec(qPath, "GET", sb.toString(), null);
return conv... | java | public ArrayList<OvhIpDetails> serviceName_ip_network_details_GET(String serviceName, String network) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/ip/{network}/details";
StringBuilder sb = path(qPath, serviceName, network);
String resp = exec(qPath, "GET", sb.toString(), null);
return conv... | [
"public",
"ArrayList",
"<",
"OvhIpDetails",
">",
"serviceName_ip_network_details_GET",
"(",
"String",
"serviceName",
",",
"String",
"network",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{serviceName}/ip/{network}/details\"",
";",
"StringBu... | List details about this IP Block
REST: GET /dedicatedCloud/{serviceName}/ip/{network}/details
@param serviceName [required] Domain of the service
@param network [required] IP ex: 213.186.33.34/24 | [
"List",
"details",
"about",
"this",
"IP",
"Block"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1310-L1315 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_POST | public OvhTask serviceName_datacenter_POST(String serviceName, String commercialRangeName, String vrackName) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "commerci... | java | public OvhTask serviceName_datacenter_POST(String serviceName, String commercialRangeName, String vrackName) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "commerci... | [
"public",
"OvhTask",
"serviceName_datacenter_POST",
"(",
"String",
"serviceName",
",",
"String",
"commercialRangeName",
",",
"String",
"vrackName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{serviceName}/datacenter\"",
";",
"StringBuilder... | Add a new Datacenter in your Private Cloud
REST: POST /dedicatedCloud/{serviceName}/datacenter
@param vrackName [required] Name of the Vrack link to the new datacenter.
@param commercialRangeName [required] The commercial range of this new datacenter. You can see what commercial ranges are orderable on this API sectio... | [
"Add",
"a",
"new",
"Datacenter",
"in",
"your",
"Private",
"Cloud"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1572-L1580 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_host_hostId_hourlyConsumption_GET | public net.minidev.ovh.api.dedicatedcloud.host.OvhHourlyConsumption serviceName_datacenter_datacenterId_host_hostId_hourlyConsumption_GET(String serviceName, Long datacenterId, Long hostId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/host/{hostId}/hourlyConsumption";
... | java | public net.minidev.ovh.api.dedicatedcloud.host.OvhHourlyConsumption serviceName_datacenter_datacenterId_host_hostId_hourlyConsumption_GET(String serviceName, Long datacenterId, Long hostId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/host/{hostId}/hourlyConsumption";
... | [
"public",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"dedicatedcloud",
".",
"host",
".",
"OvhHourlyConsumption",
"serviceName_datacenter_datacenterId_host_hostId_hourlyConsumption_GET",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"Long",
"ho... | Hourly consumption associated with this host.
REST: GET /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/host/{hostId}/hourlyConsumption
@param serviceName [required] Domain of the service
@param datacenterId [required]
@param hostId [required] Id of the host | [
"Hourly",
"consumption",
"associated",
"with",
"this",
"host",
"."
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1605-L1610 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_orderableFilerProfiles_GET | public ArrayList<OvhProfile> serviceName_datacenter_datacenterId_orderableFilerProfiles_GET(String serviceName, Long datacenterId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/orderableFilerProfiles";
StringBuilder sb = path(qPath, serviceName, datacenterId);
String... | java | public ArrayList<OvhProfile> serviceName_datacenter_datacenterId_orderableFilerProfiles_GET(String serviceName, Long datacenterId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/orderableFilerProfiles";
StringBuilder sb = path(qPath, serviceName, datacenterId);
String... | [
"public",
"ArrayList",
"<",
"OvhProfile",
">",
"serviceName_datacenter_datacenterId_orderableFilerProfiles_GET",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{serviceName}/datacenter/{da... | List available filers in a given Private Cloud Datacenter
REST: GET /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/orderableFilerProfiles
@param serviceName [required] Domain of the service
@param datacenterId [required] | [
"List",
"available",
"filers",
"in",
"a",
"given",
"Private",
"Cloud",
"Datacenter"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1739-L1744 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_disasterRecovery_zerto_state_POST | public net.minidev.ovh.api.dedicatedcloud.disasterrecovery.OvhProfile serviceName_datacenter_datacenterId_disasterRecovery_zerto_state_POST(String serviceName, Long datacenterId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zerto/state";
StringBuilder... | java | public net.minidev.ovh.api.dedicatedcloud.disasterrecovery.OvhProfile serviceName_datacenter_datacenterId_disasterRecovery_zerto_state_POST(String serviceName, Long datacenterId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zerto/state";
StringBuilder... | [
"public",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"dedicatedcloud",
".",
"disasterrecovery",
".",
"OvhProfile",
"serviceName_datacenter_datacenterId_disasterRecovery_zerto_state_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
")",
"throws",
... | Get the current state of Zerto deployment on your dedicated Cloud.
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zerto/state
@param serviceName [required] Domain of the service
@param datacenterId [required]
API beta | [
"Get",
"the",
"current",
"state",
"of",
"Zerto",
"deployment",
"on",
"your",
"dedicated",
"Cloud",
"."
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1835-L1840 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_configureVpn_POST | public OvhTask serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_configureVpn_POST(String serviceName, Long datacenterId, String preSharedKey, String remoteEndpointInternalIp, String remoteEndpointPublicIp, String remoteVraNetwork, String remoteZvmInternalIp) throws IOException {
String qPath = "/dedic... | java | public OvhTask serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_configureVpn_POST(String serviceName, Long datacenterId, String preSharedKey, String remoteEndpointInternalIp, String remoteEndpointPublicIp, String remoteVraNetwork, String remoteZvmInternalIp) throws IOException {
String qPath = "/dedic... | [
"public",
"OvhTask",
"serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_configureVpn_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"String",
"preSharedKey",
",",
"String",
"remoteEndpointInternalIp",
",",
"String",
"remoteEndpointPublicIp",
... | Configure vpn between your OVH Private Cloud and your onsite infrastructure
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zertoSingle/configureVpn
@param remoteEndpointPublicIp [required] Your onsite endpoint public IP for the secured replication data tunnel
@param remoteVraNetwor... | [
"Configure",
"vpn",
"between",
"your",
"OVH",
"Private",
"Cloud",
"and",
"your",
"onsite",
"infrastructure"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1856-L1867 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_enable_POST | public OvhTask serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_enable_POST(String serviceName, Long datacenterId, String localVraNetwork, String ovhEndpointIp, String remoteVraNetwork) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zertoS... | java | public OvhTask serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_enable_POST(String serviceName, Long datacenterId, String localVraNetwork, String ovhEndpointIp, String remoteVraNetwork) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zertoS... | [
"public",
"OvhTask",
"serviceName_datacenter_datacenterId_disasterRecovery_zertoSingle_enable_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"String",
"localVraNetwork",
",",
"String",
"ovhEndpointIp",
",",
"String",
"remoteVraNetwork",
")",
"throws",
... | Enable Zerto replication between your OVH Private Cloud and your onsite infrastructure
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/disasterRecovery/zertoSingle/enable
@param ovhEndpointIp [required] Your OVH Private Cloud public IP for the secured replication data tunnel endpoint
@param remoteVr... | [
"Enable",
"Zerto",
"replication",
"between",
"your",
"OVH",
"Private",
"Cloud",
"and",
"your",
"onsite",
"infrastructure"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L1881-L1890 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_vm_vmId_backupJob_restorePoints_restorePointId_restore_POST | public OvhTask serviceName_datacenter_datacenterId_vm_vmId_backupJob_restorePoints_restorePointId_restore_POST(String serviceName, Long datacenterId, Long vmId, Long restorePointId, Long filerId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/vm/{vmId}/backupJob/restorePo... | java | public OvhTask serviceName_datacenter_datacenterId_vm_vmId_backupJob_restorePoints_restorePointId_restore_POST(String serviceName, Long datacenterId, Long vmId, Long restorePointId, Long filerId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/vm/{vmId}/backupJob/restorePo... | [
"public",
"OvhTask",
"serviceName_datacenter_datacenterId_vm_vmId_backupJob_restorePoints_restorePointId_restore_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"Long",
"vmId",
",",
"Long",
"restorePointId",
",",
"Long",
"filerId",
")",
"throws",
"IOExc... | Restore this restore point
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/vm/{vmId}/backupJob/restorePoints/{restorePointId}/restore
@param filerId [required] Id of the filer where we should restore this Backup.
@param serviceName [required] Domain of the service
@param datacenterId [required]
@par... | [
"Restore",
"this",
"restore",
"point"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L2092-L2099 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_vm_vmId_backupJob_enable_POST | public OvhTask serviceName_datacenter_datacenterId_vm_vmId_backupJob_enable_POST(String serviceName, Long datacenterId, Long vmId, OvhBackupDaysEnum[] backupDays) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/vm/{vmId}/backupJob/enable";
StringBuilder sb = path(qPath, ... | java | public OvhTask serviceName_datacenter_datacenterId_vm_vmId_backupJob_enable_POST(String serviceName, Long datacenterId, Long vmId, OvhBackupDaysEnum[] backupDays) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/vm/{vmId}/backupJob/enable";
StringBuilder sb = path(qPath, ... | [
"public",
"OvhTask",
"serviceName_datacenter_datacenterId_vm_vmId_backupJob_enable_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"Long",
"vmId",
",",
"OvhBackupDaysEnum",
"[",
"]",
"backupDays",
")",
"throws",
"IOException",
"{",
"String",
"qPath"... | Enable backup solution on this virtual Machine
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/vm/{vmId}/backupJob/enable
@param backupDays [required] Backup offer type
@param serviceName [required] Domain of the service
@param datacenterId [required]
@param vmId [required] Id of the virtual machine... | [
"Enable",
"backup",
"solution",
"on",
"this",
"virtual",
"Machine"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L2111-L2118 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_filer_filerId_hourlyConsumption_GET | public OvhHourlyConsumption serviceName_datacenter_datacenterId_filer_filerId_hourlyConsumption_GET(String serviceName, Long datacenterId, Long filerId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/filer/{filerId}/hourlyConsumption";
StringBuilder sb = path(qPath, ser... | java | public OvhHourlyConsumption serviceName_datacenter_datacenterId_filer_filerId_hourlyConsumption_GET(String serviceName, Long datacenterId, Long filerId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/filer/{filerId}/hourlyConsumption";
StringBuilder sb = path(qPath, ser... | [
"public",
"OvhHourlyConsumption",
"serviceName_datacenter_datacenterId_filer_filerId_hourlyConsumption_GET",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"Long",
"filerId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{service... | Hourly consumption associated with this Filer
REST: GET /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/filer/{filerId}/hourlyConsumption
@param serviceName [required] Domain of the service
@param datacenterId [required]
@param filerId [required] Filer Id | [
"Hourly",
"consumption",
"associated",
"with",
"this",
"Filer"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L2238-L2243 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_orderableHostProfiles_GET | public ArrayList<net.minidev.ovh.api.dedicatedcloud.host.OvhProfile> serviceName_datacenter_datacenterId_orderableHostProfiles_GET(String serviceName, Long datacenterId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/orderableHostProfiles";
StringBuilder sb = path(qPath... | java | public ArrayList<net.minidev.ovh.api.dedicatedcloud.host.OvhProfile> serviceName_datacenter_datacenterId_orderableHostProfiles_GET(String serviceName, Long datacenterId) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/orderableHostProfiles";
StringBuilder sb = path(qPath... | [
"public",
"ArrayList",
"<",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"dedicatedcloud",
".",
"host",
".",
"OvhProfile",
">",
"serviceName_datacenter_datacenterId_orderableHostProfiles_GET",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
")",
"t... | List available hosts in a given Private Cloud Datacenter
REST: GET /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/orderableHostProfiles
@param serviceName [required] Domain of the service
@param datacenterId [required] | [
"List",
"available",
"hosts",
"in",
"a",
"given",
"Private",
"Cloud",
"Datacenter"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L2355-L2360 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_backup_changeProperties_POST | public OvhTask serviceName_datacenter_datacenterId_backup_changeProperties_POST(String serviceName, Long datacenterId, Boolean backupDurationInReport, OvhOfferTypeEnum backupOffer, Boolean backupSizeInReport, Boolean diskSizeInReport, Boolean fullDayInReport, String mailAddress, Boolean restorePointInReport, Date sched... | java | public OvhTask serviceName_datacenter_datacenterId_backup_changeProperties_POST(String serviceName, Long datacenterId, Boolean backupDurationInReport, OvhOfferTypeEnum backupOffer, Boolean backupSizeInReport, Boolean diskSizeInReport, Boolean fullDayInReport, String mailAddress, Boolean restorePointInReport, Date sched... | [
"public",
"OvhTask",
"serviceName_datacenter_datacenterId_backup_changeProperties_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"Boolean",
"backupDurationInReport",
",",
"OvhOfferTypeEnum",
"backupOffer",
",",
"Boolean",
"backupSizeInReport",
",",
"Bool... | Edit the backup on a Private Cloud
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/backup/changeProperties
@param scheduleHour [required] Schedule hour for start backup. UTC Timezone
@param fullDayInReport [required] Full day on mail report
@param mailAddress [required] Unique additional email addre... | [
"Edit",
"the",
"backup",
"on",
"a",
"Private",
"Cloud"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L2406-L2420 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.serviceName_datacenter_datacenterId_backup_enable_POST | public OvhTask serviceName_datacenter_datacenterId_backup_enable_POST(String serviceName, Long datacenterId, OvhOfferTypeEnum backupOffer) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/backup/enable";
StringBuilder sb = path(qPath, serviceName, datacenterId);
HashMap... | java | public OvhTask serviceName_datacenter_datacenterId_backup_enable_POST(String serviceName, Long datacenterId, OvhOfferTypeEnum backupOffer) throws IOException {
String qPath = "/dedicatedCloud/{serviceName}/datacenter/{datacenterId}/backup/enable";
StringBuilder sb = path(qPath, serviceName, datacenterId);
HashMap... | [
"public",
"OvhTask",
"serviceName_datacenter_datacenterId_backup_enable_POST",
"(",
"String",
"serviceName",
",",
"Long",
"datacenterId",
",",
"OvhOfferTypeEnum",
"backupOffer",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/{serviceName}/datacent... | Enable backup solution on a Private Cloud
REST: POST /dedicatedCloud/{serviceName}/datacenter/{datacenterId}/backup/enable
@param backupOffer [required] Backup offer type
@param serviceName [required] Domain of the service
@param datacenterId [required] | [
"Enable",
"backup",
"solution",
"on",
"a",
"Private",
"Cloud"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L2430-L2437 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.location_pccZone_stock_zpool_GET | public ArrayList<OvhZpoolStockProfile> location_pccZone_stock_zpool_GET(String pccZone, String profileFilter) throws IOException {
String qPath = "/dedicatedCloud/location/{pccZone}/stock/zpool";
StringBuilder sb = path(qPath, pccZone);
query(sb, "profileFilter", profileFilter);
String resp = exec(qPath, "GET",... | java | public ArrayList<OvhZpoolStockProfile> location_pccZone_stock_zpool_GET(String pccZone, String profileFilter) throws IOException {
String qPath = "/dedicatedCloud/location/{pccZone}/stock/zpool";
StringBuilder sb = path(qPath, pccZone);
query(sb, "profileFilter", profileFilter);
String resp = exec(qPath, "GET",... | [
"public",
"ArrayList",
"<",
"OvhZpoolStockProfile",
">",
"location_pccZone_stock_zpool_GET",
"(",
"String",
"pccZone",
",",
"String",
"profileFilter",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/location/{pccZone}/stock/zpool\"",
";",
"Stri... | Available zpool stock
REST: GET /dedicatedCloud/location/{pccZone}/stock/zpool
@param profileFilter [required] Profile filter
@param pccZone [required] Name of pccZone | [
"Available",
"zpool",
"stock"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L3022-L3028 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.location_pccZone_stock_host_GET | public ArrayList<OvhHostStockProfile> location_pccZone_stock_host_GET(String pccZone, Long minYear) throws IOException {
String qPath = "/dedicatedCloud/location/{pccZone}/stock/host";
StringBuilder sb = path(qPath, pccZone);
query(sb, "minYear", minYear);
String resp = exec(qPath, "GET", sb.toString(), null);
... | java | public ArrayList<OvhHostStockProfile> location_pccZone_stock_host_GET(String pccZone, Long minYear) throws IOException {
String qPath = "/dedicatedCloud/location/{pccZone}/stock/host";
StringBuilder sb = path(qPath, pccZone);
query(sb, "minYear", minYear);
String resp = exec(qPath, "GET", sb.toString(), null);
... | [
"public",
"ArrayList",
"<",
"OvhHostStockProfile",
">",
"location_pccZone_stock_host_GET",
"(",
"String",
"pccZone",
",",
"Long",
"minYear",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/location/{pccZone}/stock/host\"",
";",
"StringBuilder",... | Available host stock
REST: GET /dedicatedCloud/location/{pccZone}/stock/host
@param minYear [required] Minimum reference year
@param pccZone [required] Name of pccZone | [
"Available",
"host",
"stock"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L3038-L3044 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java | ApiOvhDedicatedCloud.location_pccZone_stock_pcc_GET | public ArrayList<OvhPccStockProfile> location_pccZone_stock_pcc_GET(String pccZone) throws IOException {
String qPath = "/dedicatedCloud/location/{pccZone}/stock/pcc";
StringBuilder sb = path(qPath, pccZone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t9);
} | java | public ArrayList<OvhPccStockProfile> location_pccZone_stock_pcc_GET(String pccZone) throws IOException {
String qPath = "/dedicatedCloud/location/{pccZone}/stock/pcc";
StringBuilder sb = path(qPath, pccZone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t9);
} | [
"public",
"ArrayList",
"<",
"OvhPccStockProfile",
">",
"location_pccZone_stock_pcc_GET",
"(",
"String",
"pccZone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicatedCloud/location/{pccZone}/stock/pcc\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | Available PCC stock
REST: GET /dedicatedCloud/location/{pccZone}/stock/pcc
@param pccZone [required] Name of pccZone | [
"Available",
"PCC",
"stock"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedCloud/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedCloud.java#L3053-L3058 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java | ApiOvhSupport.tickets_ticketId_reply_POST | public void tickets_ticketId_reply_POST(Long ticketId, String body) throws IOException {
String qPath = "/support/tickets/{ticketId}/reply";
StringBuilder sb = path(qPath, ticketId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "body", body);
exec(qPath, "POST", sb.toString(), o);
} | java | public void tickets_ticketId_reply_POST(Long ticketId, String body) throws IOException {
String qPath = "/support/tickets/{ticketId}/reply";
StringBuilder sb = path(qPath, ticketId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "body", body);
exec(qPath, "POST", sb.toString(), o);
} | [
"public",
"void",
"tickets_ticketId_reply_POST",
"(",
"Long",
"ticketId",
",",
"String",
"body",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/support/tickets/{ticketId}/reply\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"ticketId... | Reply to ticket
REST: POST /support/tickets/{ticketId}/reply
@param ticketId [required] internal ticket identifier
@param body [required] text body of ticket response | [
"Reply",
"to",
"ticket"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java#L36-L42 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java | ApiOvhSupport.tickets_ticketId_canBeScored_GET | public Boolean tickets_ticketId_canBeScored_GET(Long ticketId) throws IOException {
String qPath = "/support/tickets/{ticketId}/canBeScored";
StringBuilder sb = path(qPath, ticketId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, Boolean.class);
} | java | public Boolean tickets_ticketId_canBeScored_GET(Long ticketId) throws IOException {
String qPath = "/support/tickets/{ticketId}/canBeScored";
StringBuilder sb = path(qPath, ticketId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, Boolean.class);
} | [
"public",
"Boolean",
"tickets_ticketId_canBeScored_GET",
"(",
"Long",
"ticketId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/support/tickets/{ticketId}/canBeScored\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"ticketId",
")",
";"... | Checks whether ticket can be scored
REST: GET /support/tickets/{ticketId}/canBeScored
@param ticketId [required] internal ticket identifier | [
"Checks",
"whether",
"ticket",
"can",
"be",
"scored"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java#L50-L55 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java | ApiOvhSupport.tickets_ticketId_messages_GET | public ArrayList<OvhMessage> tickets_ticketId_messages_GET(Long ticketId) throws IOException {
String qPath = "/support/tickets/{ticketId}/messages";
StringBuilder sb = path(qPath, ticketId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<OvhMessage> tickets_ticketId_messages_GET(Long ticketId) throws IOException {
String qPath = "/support/tickets/{ticketId}/messages";
StringBuilder sb = path(qPath, ticketId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"OvhMessage",
">",
"tickets_ticketId_messages_GET",
"(",
"Long",
"ticketId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/support/tickets/{ticketId}/messages\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
... | Get ticket messages
REST: GET /support/tickets/{ticketId}/messages
@param ticketId [required] internal ticket identifier | [
"Get",
"ticket",
"messages"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java#L78-L83 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java | ApiOvhSupport.tickets_ticketId_score_POST | public void tickets_ticketId_score_POST(Long ticketId, String score, String scoreComment) throws IOException {
String qPath = "/support/tickets/{ticketId}/score";
StringBuilder sb = path(qPath, ticketId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "score", score);
addBody(o, "scoreCo... | java | public void tickets_ticketId_score_POST(Long ticketId, String score, String scoreComment) throws IOException {
String qPath = "/support/tickets/{ticketId}/score";
StringBuilder sb = path(qPath, ticketId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "score", score);
addBody(o, "scoreCo... | [
"public",
"void",
"tickets_ticketId_score_POST",
"(",
"Long",
"ticketId",
",",
"String",
"score",
",",
"String",
"scoreComment",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/support/tickets/{ticketId}/score\"",
";",
"StringBuilder",
"sb",
"=",
"path"... | Set ticket score
REST: POST /support/tickets/{ticketId}/score
@param ticketId [required] internal ticket identifier
@param scoreComment [required] ticket comment about the score
@param score [required] ticket score | [
"Set",
"ticket",
"score"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java#L119-L126 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java | ApiOvhSupport.tickets_GET | public ArrayList<Long> tickets_GET(Boolean archived, OvhTicketCategoryEnum category, Date maxCreationDate, Date minCreationDate, OvhTicketProductEnum product, String serviceName, OvhTicketStatusEnum status, String subject, String ticketNumber) throws IOException {
String qPath = "/support/tickets";
StringBuilder sb... | java | public ArrayList<Long> tickets_GET(Boolean archived, OvhTicketCategoryEnum category, Date maxCreationDate, Date minCreationDate, OvhTicketProductEnum product, String serviceName, OvhTicketStatusEnum status, String subject, String ticketNumber) throws IOException {
String qPath = "/support/tickets";
StringBuilder sb... | [
"public",
"ArrayList",
"<",
"Long",
">",
"tickets_GET",
"(",
"Boolean",
"archived",
",",
"OvhTicketCategoryEnum",
"category",
",",
"Date",
"maxCreationDate",
",",
"Date",
"minCreationDate",
",",
"OvhTicketProductEnum",
"product",
",",
"String",
"serviceName",
",",
"... | List support tickets identifiers for this service
REST: GET /support/tickets
@param serviceName [required] Ticket message service name
@param subject [required] Search by ticket subject
@param maxCreationDate [required] Maximum creation date
@param status [required] Status of ticket
@param product [required] Search by... | [
"List",
"support",
"tickets",
"identifiers",
"for",
"this",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java#L142-L156 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java | ApiOvhSupport.tickets_create_POST | public OvhNewMessageInfo tickets_create_POST(String body, OvhTicketCategoryEnum category, OvhTicketProductEnum product, String serviceName, OvhTicketSubCategoryEnum subcategory, String subject, OvhTicketTypeEnum type) throws IOException {
String qPath = "/support/tickets/create";
StringBuilder sb = path(qPath);
H... | java | public OvhNewMessageInfo tickets_create_POST(String body, OvhTicketCategoryEnum category, OvhTicketProductEnum product, String serviceName, OvhTicketSubCategoryEnum subcategory, String subject, OvhTicketTypeEnum type) throws IOException {
String qPath = "/support/tickets/create";
StringBuilder sb = path(qPath);
H... | [
"public",
"OvhNewMessageInfo",
"tickets_create_POST",
"(",
"String",
"body",
",",
"OvhTicketCategoryEnum",
"category",
",",
"OvhTicketProductEnum",
"product",
",",
"String",
"serviceName",
",",
"OvhTicketSubCategoryEnum",
"subcategory",
",",
"String",
"subject",
",",
"Ovh... | Create a new ticket
REST: POST /support/tickets/create
@param product [required] Ticket message product
@param category [required] Ticket message category
@param type [required] Ticket type (criticalIntervention requires VIP support level)
@param body [required] Ticket message body
@param serviceName [required] Ticket... | [
"Create",
"a",
"new",
"ticket"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-support/src/main/java/net/minidev/ovh/api/ApiOvhSupport.java#L171-L184 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/TableBuilder.java | TableBuilder.columns | @SafeVarargs
public final TableBuilder columns(String... columns) {
if (columns == null || columns.length == 0) {
throw new InvalidOperationException("Columns array is null or empty.");
}
if (tableColumns != null) {
throw new InvalidOperationException("The table columns are already defined.");... | java | @SafeVarargs
public final TableBuilder columns(String... columns) {
if (columns == null || columns.length == 0) {
throw new InvalidOperationException("Columns array is null or empty.");
}
if (tableColumns != null) {
throw new InvalidOperationException("The table columns are already defined.");... | [
"@",
"SafeVarargs",
"public",
"final",
"TableBuilder",
"columns",
"(",
"String",
"...",
"columns",
")",
"{",
"if",
"(",
"columns",
"==",
"null",
"||",
"columns",
".",
"length",
"==",
"0",
")",
"{",
"throw",
"new",
"InvalidOperationException",
"(",
"\"Columns... | Set columns.
@param columns Columns for the table.
@return The builder instance for chained calls. | [
"Set",
"columns",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/TableBuilder.java#L83-L93 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/TableBuilder.java | TableBuilder.key | @SafeVarargs
public final TableBuilder key(String... columns) {
if (columns == null || columns.length == 0) {
throw new InvalidOperationException("Columns array is null or empty.");
}
if (keyColumns != null) {
throw new InvalidOperationException("The key columns are already defined.");
}
... | java | @SafeVarargs
public final TableBuilder key(String... columns) {
if (columns == null || columns.length == 0) {
throw new InvalidOperationException("Columns array is null or empty.");
}
if (keyColumns != null) {
throw new InvalidOperationException("The key columns are already defined.");
}
... | [
"@",
"SafeVarargs",
"public",
"final",
"TableBuilder",
"key",
"(",
"String",
"...",
"columns",
")",
"{",
"if",
"(",
"columns",
"==",
"null",
"||",
"columns",
".",
"length",
"==",
"0",
")",
"{",
"throw",
"new",
"InvalidOperationException",
"(",
"\"Columns arr... | Set key columns.
<p>
Values for the key columns are used to uniquely identify database rows, e.g., they
can be set to the columns that define the table's primary key. The key
columns are used by key-based operations like {@link JDBDT#delete(DataSet)}
and {@link JDBDT#update(DataSet)}.
@param columns Columns for the t... | [
"Set",
"key",
"columns",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/TableBuilder.java#L107-L117 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/TableBuilder.java | TableBuilder.build | public Table build(DB db) {
if (tableName == null) {
throw new InvalidOperationException("The table name has not been set.");
}
if (tableColumns == null) {
tableColumns = ALL_COLUMNS;
}
return new Table(CallInfo.create(), db, tableName, tableColumns, keyColumns);
} | java | public Table build(DB db) {
if (tableName == null) {
throw new InvalidOperationException("The table name has not been set.");
}
if (tableColumns == null) {
tableColumns = ALL_COLUMNS;
}
return new Table(CallInfo.create(), db, tableName, tableColumns, keyColumns);
} | [
"public",
"Table",
"build",
"(",
"DB",
"db",
")",
"{",
"if",
"(",
"tableName",
"==",
"null",
")",
"{",
"throw",
"new",
"InvalidOperationException",
"(",
"\"The table name has not been set.\"",
")",
";",
"}",
"if",
"(",
"tableColumns",
"==",
"null",
")",
"{",... | Build the table object.
@param db Database.
@return A new {@link Table} instance. | [
"Build",
"the",
"table",
"object",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/TableBuilder.java#L123-L131 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-core/src/main/java/net/minidev/ovh/core/ApiOvhConfigBasic.java | ApiOvhConfigBasic.gettmpStore | protected File gettmpStore(String nic) {
if (consumer_key_storage == null || !consumer_key_storage.isDirectory()) {
if (e1 == 0) {
e1++;
log.error(
"No cert directory, can not save consumer_key! please set `consumer_key_storage` variable to a valid directory in your {}, or in your environ variale OVH... | java | protected File gettmpStore(String nic) {
if (consumer_key_storage == null || !consumer_key_storage.isDirectory()) {
if (e1 == 0) {
e1++;
log.error(
"No cert directory, can not save consumer_key! please set `consumer_key_storage` variable to a valid directory in your {}, or in your environ variale OVH... | [
"protected",
"File",
"gettmpStore",
"(",
"String",
"nic",
")",
"{",
"if",
"(",
"consumer_key_storage",
"==",
"null",
"||",
"!",
"consumer_key_storage",
".",
"isDirectory",
"(",
")",
")",
"{",
"if",
"(",
"e1",
"==",
"0",
")",
"{",
"e1",
"++",
";",
"log"... | storage for previous CK
@return File used to store consumer key | [
"storage",
"for",
"previous",
"CK"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-core/src/main/java/net/minidev/ovh/core/ApiOvhConfigBasic.java#L128-L140 | train |
UrielCh/ovh-java-sdk | ovh-java-sample/src/main/java/net/minidev/ovh/ListNetworks.java | ListNetworks.main | public static void main(String[] args) throws IOException {
ApiOvhCore core = new ApiOvhCore();
ApiOvhCloud cloud = new ApiOvhCloud(core);
ArrayList<String> projects = cloud.project_GET();
for (String project: projects) {
System.out.println(project);
ArrayList<OvhNetwork> networds = cloud.project_serviceN... | java | public static void main(String[] args) throws IOException {
ApiOvhCore core = new ApiOvhCore();
ApiOvhCloud cloud = new ApiOvhCloud(core);
ArrayList<String> projects = cloud.project_GET();
for (String project: projects) {
System.out.println(project);
ArrayList<OvhNetwork> networds = cloud.project_serviceN... | [
"public",
"static",
"void",
"main",
"(",
"String",
"[",
"]",
"args",
")",
"throws",
"IOException",
"{",
"ApiOvhCore",
"core",
"=",
"new",
"ApiOvhCore",
"(",
")",
";",
"ApiOvhCloud",
"cloud",
"=",
"new",
"ApiOvhCloud",
"(",
"core",
")",
";",
"ArrayList",
... | Login using ovh.conf
@throws IOException | [
"Login",
"using",
"ovh",
".",
"conf"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sample/src/main/java/net/minidev/ovh/ListNetworks.java#L19-L33 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedhousing/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedhousing.java | ApiOvhDedicatedhousing.serviceName_task_taskId_cancel_POST | public void serviceName_task_taskId_cancel_POST(String serviceName, Long taskId) throws IOException {
String qPath = "/dedicated/housing/{serviceName}/task/{taskId}/cancel";
StringBuilder sb = path(qPath, serviceName, taskId);
exec(qPath, "POST", sb.toString(), null);
} | java | public void serviceName_task_taskId_cancel_POST(String serviceName, Long taskId) throws IOException {
String qPath = "/dedicated/housing/{serviceName}/task/{taskId}/cancel";
StringBuilder sb = path(qPath, serviceName, taskId);
exec(qPath, "POST", sb.toString(), null);
} | [
"public",
"void",
"serviceName_task_taskId_cancel_POST",
"(",
"String",
"serviceName",
",",
"Long",
"taskId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicated/housing/{serviceName}/task/{taskId}/cancel\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"... | this action stop the task progression if it's possible
REST: POST /dedicated/housing/{serviceName}/task/{taskId}/cancel
@param serviceName [required] The internal name of your Housing bay
@param taskId [required] the id of the task | [
"this",
"action",
"stop",
"the",
"task",
"progression",
"if",
"it",
"s",
"possible"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedhousing/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedhousing.java#L80-L84 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedhousing/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedhousing.java | ApiOvhDedicatedhousing.serviceName_features_backupFTP_POST | public net.minidev.ovh.api.dedicated.server.OvhTask serviceName_features_backupFTP_POST(String serviceName) throws IOException {
String qPath = "/dedicated/housing/{serviceName}/features/backupFTP";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "POST", sb.toString(), null);
return conve... | java | public net.minidev.ovh.api.dedicated.server.OvhTask serviceName_features_backupFTP_POST(String serviceName) throws IOException {
String qPath = "/dedicated/housing/{serviceName}/features/backupFTP";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "POST", sb.toString(), null);
return conve... | [
"public",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"dedicated",
".",
"server",
".",
"OvhTask",
"serviceName_features_backupFTP_POST",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicated/housing/{serviceNa... | Create a new Backup FTP space
REST: POST /dedicated/housing/{serviceName}/features/backupFTP
@param serviceName [required] The internal name of your Housing bay | [
"Create",
"a",
"new",
"Backup",
"FTP",
"space"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedhousing/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedhousing.java#L118-L123 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java | ApiOvhDedicatedceph.serviceName_PUT | public String serviceName_PUT(String serviceName, OvhCrushTunablesEnum crushTunables, String label) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "crushTunables", crushTunable... | java | public String serviceName_PUT(String serviceName, OvhCrushTunablesEnum crushTunables, String label) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "crushTunables", crushTunable... | [
"public",
"String",
"serviceName_PUT",
"(",
"String",
"serviceName",
",",
"OvhCrushTunablesEnum",
"crushTunables",
",",
"String",
"label",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicated/ceph/{serviceName}\"",
";",
"StringBuilder",
"sb",
"=",
... | Update cluster details
REST: PUT /dedicated/ceph/{serviceName}
@param serviceName [required] ID of cluster
@param crushTunables [required] Tunables of cluster
@param label [required] Name of the cluster
API beta | [
"Update",
"cluster",
"details"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java#L66-L74 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java | ApiOvhDedicatedceph.serviceName_pool_POST | public String serviceName_pool_POST(String serviceName, String poolName) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}/pool";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "poolName", poolName);
String resp = exec(qPath, ... | java | public String serviceName_pool_POST(String serviceName, String poolName) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}/pool";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "poolName", poolName);
String resp = exec(qPath, ... | [
"public",
"String",
"serviceName_pool_POST",
"(",
"String",
"serviceName",
",",
"String",
"poolName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicated/ceph/{serviceName}/pool\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"se... | Create a new ceph pool
REST: POST /dedicated/ceph/{serviceName}/pool
@param serviceName [required] ID of cluster
@param poolName [required] Name of new pool
API beta | [
"Create",
"a",
"new",
"ceph",
"pool"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java#L108-L115 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java | ApiOvhDedicatedceph.serviceName_user_userName_pool_PUT | public String serviceName_user_userName_pool_PUT(String serviceName, String userName, Boolean classRead, Boolean classWrite, Boolean execute, String poolName, Boolean read, Boolean write) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}/user/{userName}/pool";
StringBuilder sb = path(qPath, service... | java | public String serviceName_user_userName_pool_PUT(String serviceName, String userName, Boolean classRead, Boolean classWrite, Boolean execute, String poolName, Boolean read, Boolean write) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}/user/{userName}/pool";
StringBuilder sb = path(qPath, service... | [
"public",
"String",
"serviceName_user_userName_pool_PUT",
"(",
"String",
"serviceName",
",",
"String",
"userName",
",",
"Boolean",
"classRead",
",",
"Boolean",
"classWrite",
",",
"Boolean",
"execute",
",",
"String",
"poolName",
",",
"Boolean",
"read",
",",
"Boolean"... | Update user-pool permission for single pool
REST: PUT /dedicated/ceph/{serviceName}/user/{userName}/pool
@param userName [required] Name of ceph user
@param serviceName [required] ID of cluster
@param write [required] Write permission
@param execute [required] Execute permission
@param classWrite [required] Class writ... | [
"Update",
"user",
"-",
"pool",
"permission",
"for",
"single",
"pool"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java#L304-L316 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java | ApiOvhDedicatedceph.serviceName_acl_POST | public String serviceName_acl_POST(String serviceName, String[] aclList) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}/acl";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "aclList", aclList);
String resp = exec(qPath, "PO... | java | public String serviceName_acl_POST(String serviceName, String[] aclList) throws IOException {
String qPath = "/dedicated/ceph/{serviceName}/acl";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "aclList", aclList);
String resp = exec(qPath, "PO... | [
"public",
"String",
"serviceName_acl_POST",
"(",
"String",
"serviceName",
",",
"String",
"[",
"]",
"aclList",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/dedicated/ceph/{serviceName}/acl\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
... | Create one or more new IP ACLs
REST: POST /dedicated/ceph/{serviceName}/acl
@param serviceName [required] ID of cluster
@param aclList [required] List of new ACLs
API beta | [
"Create",
"one",
"or",
"more",
"new",
"IP",
"ACLs"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-dedicatedceph/src/main/java/net/minidev/ovh/api/ApiOvhDedicatedceph.java#L467-L474 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-veeamCloudConnect/src/main/java/net/minidev/ovh/api/ApiOvhVeeamCloudConnect.java | ApiOvhVeeamCloudConnect.serviceName_backupRepository_inventoryName_upgradeQuota_POST | public ArrayList<OvhTask> serviceName_backupRepository_inventoryName_upgradeQuota_POST(String serviceName, String inventoryName, Long newQuota) throws IOException {
String qPath = "/veeamCloudConnect/{serviceName}/backupRepository/{inventoryName}/upgradeQuota";
StringBuilder sb = path(qPath, serviceName, inventoryN... | java | public ArrayList<OvhTask> serviceName_backupRepository_inventoryName_upgradeQuota_POST(String serviceName, String inventoryName, Long newQuota) throws IOException {
String qPath = "/veeamCloudConnect/{serviceName}/backupRepository/{inventoryName}/upgradeQuota";
StringBuilder sb = path(qPath, serviceName, inventoryN... | [
"public",
"ArrayList",
"<",
"OvhTask",
">",
"serviceName_backupRepository_inventoryName_upgradeQuota_POST",
"(",
"String",
"serviceName",
",",
"String",
"inventoryName",
",",
"Long",
"newQuota",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/veeamCloudConn... | Change your quota
REST: POST /veeamCloudConnect/{serviceName}/backupRepository/{inventoryName}/upgradeQuota
@param newQuota [required] my new quota in GB
@param serviceName [required] Domain of the service
@param inventoryName [required] The inventory name of your backup repository | [
"Change",
"your",
"quota"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-veeamCloudConnect/src/main/java/net/minidev/ovh/api/ApiOvhVeeamCloudConnect.java#L116-L123 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-metrics/src/main/java/net/minidev/ovh/api/ApiOvhMetrics.java | ApiOvhMetrics.serviceName_consumption_GET | public OvhConsumption serviceName_consumption_GET(String serviceName, Long duration) throws IOException {
String qPath = "/metrics/{serviceName}/consumption";
StringBuilder sb = path(qPath, serviceName);
query(sb, "duration", duration);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(r... | java | public OvhConsumption serviceName_consumption_GET(String serviceName, Long duration) throws IOException {
String qPath = "/metrics/{serviceName}/consumption";
StringBuilder sb = path(qPath, serviceName);
query(sb, "duration", duration);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(r... | [
"public",
"OvhConsumption",
"serviceName_consumption_GET",
"(",
"String",
"serviceName",
",",
"Long",
"duration",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/metrics/{serviceName}/consumption\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
... | Get consumption for your service
REST: GET /metrics/{serviceName}/consumption
@param serviceName [required] Name of your service
@param duration [required] Last 'm' minutes. Default is 60min
API beta | [
"Get",
"consumption",
"for",
"your",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-metrics/src/main/java/net/minidev/ovh/api/ApiOvhMetrics.java#L142-L148 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-metrics/src/main/java/net/minidev/ovh/api/ApiOvhMetrics.java | ApiOvhMetrics.serviceName_token_tokenId_GET | public OvhToken serviceName_token_tokenId_GET(String serviceName, String tokenId) throws IOException {
String qPath = "/metrics/{serviceName}/token/{tokenId}";
StringBuilder sb = path(qPath, serviceName, tokenId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhToken.class);
} | java | public OvhToken serviceName_token_tokenId_GET(String serviceName, String tokenId) throws IOException {
String qPath = "/metrics/{serviceName}/token/{tokenId}";
StringBuilder sb = path(qPath, serviceName, tokenId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhToken.class);
} | [
"public",
"OvhToken",
"serviceName_token_tokenId_GET",
"(",
"String",
"serviceName",
",",
"String",
"tokenId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/metrics/{serviceName}/token/{tokenId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",... | Get a specific token
REST: GET /metrics/{serviceName}/token/{tokenId}
@param serviceName [required] Name of your service
@param tokenId [required] ID of the desired token
API beta | [
"Get",
"a",
"specific",
"token"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-metrics/src/main/java/net/minidev/ovh/api/ApiOvhMetrics.java#L249-L254 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-metrics/src/main/java/net/minidev/ovh/api/ApiOvhMetrics.java | ApiOvhMetrics.serviceName_token_tokenId_PUT | public OvhToken serviceName_token_tokenId_PUT(String serviceName, String tokenId, String description) throws IOException {
String qPath = "/metrics/{serviceName}/token/{tokenId}";
StringBuilder sb = path(qPath, serviceName, tokenId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "descript... | java | public OvhToken serviceName_token_tokenId_PUT(String serviceName, String tokenId, String description) throws IOException {
String qPath = "/metrics/{serviceName}/token/{tokenId}";
StringBuilder sb = path(qPath, serviceName, tokenId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "descript... | [
"public",
"OvhToken",
"serviceName_token_tokenId_PUT",
"(",
"String",
"serviceName",
",",
"String",
"tokenId",
",",
"String",
"description",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/metrics/{serviceName}/token/{tokenId}\"",
";",
"StringBuilder",
"sb"... | Modify a token
REST: PUT /metrics/{serviceName}/token/{tokenId}
@param description [required] New description for your token
@param serviceName [required] Name of your service
@param tokenId [required] ID of the desired token
API beta | [
"Modify",
"a",
"token"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-metrics/src/main/java/net/minidev/ovh/api/ApiOvhMetrics.java#L266-L273 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.insert | static void insert(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
if (data.isEmpty()) {
throw new InvalidOperationException("Empty data set.");
}
table.setDirtyStatus(true);
doInsert(callInfo, table, data);
} | java | static void insert(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
if (data.isEmpty()) {
throw new InvalidOperationException("Empty data set.");
}
table.setDirtyStatus(true);
doInsert(callInfo, table, data);
} | [
"static",
"void",
"insert",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"data",
")",
"{",
"Table",
"table",
"=",
"asTable",
"(",
"data",
".",
"getSource",
"(",
")",
")",
";",
"if",
"(",
"data",
".",
"isEmpty",
"(",
")",
")",
"{",
"throw",
"new",
"... | Insert a data set onto the database.
@param callInfo Call information.
@param data Data Set. | [
"Insert",
"a",
"data",
"set",
"onto",
"the",
"database",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L44-L51 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.populate | static void populate(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
table.setDirtyStatus(true);
doPopulate(callInfo, table, data);
} | java | static void populate(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
table.setDirtyStatus(true);
doPopulate(callInfo, table, data);
} | [
"static",
"void",
"populate",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"data",
")",
"{",
"Table",
"table",
"=",
"asTable",
"(",
"data",
".",
"getSource",
"(",
")",
")",
";",
"table",
".",
"setDirtyStatus",
"(",
"true",
")",
";",
"doPopulate",
"(",
... | Populate database with a data set.
@param callInfo Call Info.
@param data Data Set. | [
"Populate",
"database",
"with",
"a",
"data",
"set",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L58-L63 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.populateIfChanged | static void populateIfChanged(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
if ( table.getDirtyStatus() ) {
table.setDirtyStatus(true);
doPopulate(callInfo, table, data);
}
} | java | static void populateIfChanged(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
if ( table.getDirtyStatus() ) {
table.setDirtyStatus(true);
doPopulate(callInfo, table, data);
}
} | [
"static",
"void",
"populateIfChanged",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"data",
")",
"{",
"Table",
"table",
"=",
"asTable",
"(",
"data",
".",
"getSource",
"(",
")",
")",
";",
"if",
"(",
"table",
".",
"getDirtyStatus",
"(",
")",
")",
"{",
"t... | Populate database table with a data set, if associated table
has changed.
@param callInfo Call Info.
@param data Data Set. | [
"Populate",
"database",
"table",
"with",
"a",
"data",
"set",
"if",
"associated",
"table",
"has",
"changed",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L80-L86 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.doPopulate | private static void doPopulate(CallInfo callInfo, Table table, DataSet data) {
doDeleteAll(callInfo, table);
doInsert(callInfo, table, data);
table.setSnapshot(data);
} | java | private static void doPopulate(CallInfo callInfo, Table table, DataSet data) {
doDeleteAll(callInfo, table);
doInsert(callInfo, table, data);
table.setSnapshot(data);
} | [
"private",
"static",
"void",
"doPopulate",
"(",
"CallInfo",
"callInfo",
",",
"Table",
"table",
",",
"DataSet",
"data",
")",
"{",
"doDeleteAll",
"(",
"callInfo",
",",
"table",
")",
";",
"doInsert",
"(",
"callInfo",
",",
"table",
",",
"data",
")",
";",
"ta... | Auxiliary method to populate a table.
@param callInfo Call info.
@param table Table.
@param data Data set. | [
"Auxiliary",
"method",
"to",
"populate",
"a",
"table",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L94-L98 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.doInsert | private static void doInsert(CallInfo callInfo, Table table, DataSet data) {
StringBuilder sql = new StringBuilder("INSERT INTO ");
List<String> tableColumns = table.getColumns();
int columnCount = tableColumns.size();
int[] paramIdx = new int[columnCount];
int param = 0;
Iterator<String> itr = ... | java | private static void doInsert(CallInfo callInfo, Table table, DataSet data) {
StringBuilder sql = new StringBuilder("INSERT INTO ");
List<String> tableColumns = table.getColumns();
int columnCount = tableColumns.size();
int[] paramIdx = new int[columnCount];
int param = 0;
Iterator<String> itr = ... | [
"private",
"static",
"void",
"doInsert",
"(",
"CallInfo",
"callInfo",
",",
"Table",
"table",
",",
"DataSet",
"data",
")",
"{",
"StringBuilder",
"sql",
"=",
"new",
"StringBuilder",
"(",
"\"INSERT INTO \"",
")",
";",
"List",
"<",
"String",
">",
"tableColumns",
... | Utility method to perform actual data insertion.
@param callInfo Call Info.
@param table Table.
@param data Data set. | [
"Utility",
"method",
"to",
"perform",
"actual",
"data",
"insertion",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L106-L133 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.update | public static void update(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
List<String> keyColumns = table.getKeyColumns();
if (keyColumns.isEmpty()) {
throw new InvalidOperationException("No key columns defined.");
}
List<String> tableColumns = table.getColum... | java | public static void update(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
List<String> keyColumns = table.getKeyColumns();
if (keyColumns.isEmpty()) {
throw new InvalidOperationException("No key columns defined.");
}
List<String> tableColumns = table.getColum... | [
"public",
"static",
"void",
"update",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"data",
")",
"{",
"Table",
"table",
"=",
"asTable",
"(",
"data",
".",
"getSource",
"(",
")",
")",
";",
"List",
"<",
"String",
">",
"keyColumns",
"=",
"table",
".",
"getK... | Update rows according to data set.
<p>
The data set must relate to a table with a defined key (see {@link TableBuilder#key(String...)}.
</p>
@param callInfo Call Info.
@param data Data set. | [
"Update",
"rows",
"according",
"to",
"data",
"set",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L145-L200 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.delete | public static void delete(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
List<String> keyColumns = table.getKeyColumns();
if (keyColumns.isEmpty()) {
throw new InvalidOperationException("No key columns defined.");
}
List<String> tableColumns = table.getC... | java | public static void delete(CallInfo callInfo, DataSet data) {
Table table = asTable(data.getSource());
List<String> keyColumns = table.getKeyColumns();
if (keyColumns.isEmpty()) {
throw new InvalidOperationException("No key columns defined.");
}
List<String> tableColumns = table.getC... | [
"public",
"static",
"void",
"delete",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"data",
")",
"{",
"Table",
"table",
"=",
"asTable",
"(",
"data",
".",
"getSource",
"(",
")",
")",
";",
"List",
"<",
"String",
">",
"keyColumns",
"=",
"table",
".",
"getK... | Delete rows from data set.
<p>
The data set must relate to a table with a defined key (see {@link TableBuilder#key(String...)}.
</p>
@param callInfo Call Info.
@param data Data set. | [
"Delete",
"rows",
"from",
"data",
"set",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L211-L243 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.deleteAll | static int deleteAll(CallInfo callInfo, Table table) {
table.setDirtyStatus(true);
return doDeleteAll(callInfo, table);
} | java | static int deleteAll(CallInfo callInfo, Table table) {
table.setDirtyStatus(true);
return doDeleteAll(callInfo, table);
} | [
"static",
"int",
"deleteAll",
"(",
"CallInfo",
"callInfo",
",",
"Table",
"table",
")",
"{",
"table",
".",
"setDirtyStatus",
"(",
"true",
")",
";",
"return",
"doDeleteAll",
"(",
"callInfo",
",",
"table",
")",
";",
"}"
] | Delete all data from table.
@param callInfo Call info.
@param table Table.
@return Number of deleted rows. | [
"Delete",
"all",
"data",
"from",
"table",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L293-L296 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.doDeleteAll | private static int doDeleteAll(CallInfo callInfo, Table table) {
DB db = table.getDB();
return db.access(callInfo, () -> {
String sql = DELETE_FROM_ + table.getName();
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
return ws.getStatement().executeUpdate();
... | java | private static int doDeleteAll(CallInfo callInfo, Table table) {
DB db = table.getDB();
return db.access(callInfo, () -> {
String sql = DELETE_FROM_ + table.getName();
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
return ws.getStatement().executeUpdate();
... | [
"private",
"static",
"int",
"doDeleteAll",
"(",
"CallInfo",
"callInfo",
",",
"Table",
"table",
")",
"{",
"DB",
"db",
"=",
"table",
".",
"getDB",
"(",
")",
";",
"return",
"db",
".",
"access",
"(",
"callInfo",
",",
"(",
")",
"->",
"{",
"String",
"sql",... | Perform a "delete-all" operation.
@param callInfo Call info.
@param table Table.
@return Number of deleted rows. | [
"Perform",
"a",
"delete",
"-",
"all",
"operation",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L304-L313 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.truncate | static void truncate(CallInfo callInfo, Table table) {
final DB db = table.getDB();
db.access(callInfo, () -> {
String sql = "TRUNCATE TABLE " + table.getName();
table.setDirtyStatus(true);
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
ws.getStateme... | java | static void truncate(CallInfo callInfo, Table table) {
final DB db = table.getDB();
db.access(callInfo, () -> {
String sql = "TRUNCATE TABLE " + table.getName();
table.setDirtyStatus(true);
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
ws.getStateme... | [
"static",
"void",
"truncate",
"(",
"CallInfo",
"callInfo",
",",
"Table",
"table",
")",
"{",
"final",
"DB",
"db",
"=",
"table",
".",
"getDB",
"(",
")",
";",
"db",
".",
"access",
"(",
"callInfo",
",",
"(",
")",
"->",
"{",
"String",
"sql",
"=",
"\"TRU... | Truncate table.
@param callInfo Call info.
@param table Table. | [
"Truncate",
"table",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L320-L332 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.deleteAll | static int deleteAll(CallInfo callInfo, Table table, String where, Object... args) {
final DB db = table.getDB();
return db.access(callInfo, () -> {
table.setDirtyStatus(true);
String sql =
DELETE_FROM_ + table.getName() +
WHERE_ + where;
db.logSetup(callInfo, sql);
... | java | static int deleteAll(CallInfo callInfo, Table table, String where, Object... args) {
final DB db = table.getDB();
return db.access(callInfo, () -> {
table.setDirtyStatus(true);
String sql =
DELETE_FROM_ + table.getName() +
WHERE_ + where;
db.logSetup(callInfo, sql);
... | [
"static",
"int",
"deleteAll",
"(",
"CallInfo",
"callInfo",
",",
"Table",
"table",
",",
"String",
"where",
",",
"Object",
"...",
"args",
")",
"{",
"final",
"DB",
"db",
"=",
"table",
".",
"getDB",
"(",
")",
";",
"return",
"db",
".",
"access",
"(",
"cal... | Delete all data based on a WHERE clause.
@param callInfo Call info.
@param table Table.
@param where <code>WHERE</code> clause.
@param args Optional arguments for <code>WHERE</code> clause.
@return The number of deleted rows. | [
"Delete",
"all",
"data",
"based",
"on",
"a",
"WHERE",
"clause",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L342-L361 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.drop | static void drop(CallInfo callInfo, DB db, String tableName) {
String sql = String.format("DROP TABLE %s", tableName);
db.access(callInfo, () -> {
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
PreparedStatement dropStmt = ws.getStatement();
dropStmt.execut... | java | static void drop(CallInfo callInfo, DB db, String tableName) {
String sql = String.format("DROP TABLE %s", tableName);
db.access(callInfo, () -> {
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
PreparedStatement dropStmt = ws.getStatement();
dropStmt.execut... | [
"static",
"void",
"drop",
"(",
"CallInfo",
"callInfo",
",",
"DB",
"db",
",",
"String",
"tableName",
")",
"{",
"String",
"sql",
"=",
"String",
".",
"format",
"(",
"\"DROP TABLE %s\"",
",",
"tableName",
")",
";",
"db",
".",
"access",
"(",
"callInfo",
",",
... | Drop a table.
@param callInfo Call info.
@param db Database
@param tableName Table name. | [
"Drop",
"a",
"table",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L369-L379 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBSetup.java | DBSetup.execute | static int execute(CallInfo callInfo, DB db, String sql, Object[] args) {
return db.access(callInfo, () -> {
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
PreparedStatement stmt = ws.getStatement();
if (args != null && args.length != 0) {
for (int i=... | java | static int execute(CallInfo callInfo, DB db, String sql, Object[] args) {
return db.access(callInfo, () -> {
db.logSetup(callInfo, sql);
try (WrappedStatement ws = db.compile(sql)) {
PreparedStatement stmt = ws.getStatement();
if (args != null && args.length != 0) {
for (int i=... | [
"static",
"int",
"execute",
"(",
"CallInfo",
"callInfo",
",",
"DB",
"db",
",",
"String",
"sql",
",",
"Object",
"[",
"]",
"args",
")",
"{",
"return",
"db",
".",
"access",
"(",
"callInfo",
",",
"(",
")",
"->",
"{",
"db",
".",
"logSetup",
"(",
"callIn... | Execute arbitrary SQL code.
@param callInfo Call info.
@param db Database
@param sql SQL statement.
@param args Arguments.
@return The value obtained through {@link PreparedStatement#getUpdateCount()}, after executing the statement. | [
"Execute",
"arbitrary",
"SQL",
"code",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBSetup.java#L389-L403 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.