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-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java | ApiOvhOrder.cart_cartId_coupon_DELETE | public void cart_cartId_coupon_DELETE(String cartId, String coupon) throws IOException {
String qPath = "/order/cart/{cartId}/coupon";
StringBuilder sb = path(qPath, cartId);
query(sb, "coupon", coupon);
execN(qPath, "DELETE", sb.toString(), null);
} | java | public void cart_cartId_coupon_DELETE(String cartId, String coupon) throws IOException {
String qPath = "/order/cart/{cartId}/coupon";
StringBuilder sb = path(qPath, cartId);
query(sb, "coupon", coupon);
execN(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"cart_cartId_coupon_DELETE",
"(",
"String",
"cartId",
",",
"String",
"coupon",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/order/cart/{cartId}/coupon\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"cartId",
")"... | Delete a coupon from cart
REST: DELETE /order/cart/{cartId}/coupon
@param cartId [required] Cart identifier
@param coupon [required] Coupon identifier | [
"Delete",
"a",
"coupon",
"from",
"cart"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java#L10018-L10023 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java | ApiOvhOrder.cart_cartId_csp2_GET | public ArrayList<OvhGenericProductDefinition> cart_cartId_csp2_GET(String cartId) throws IOException {
String qPath = "/order/cart/{cartId}/csp2";
StringBuilder sb = path(qPath, cartId);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | java | public ArrayList<OvhGenericProductDefinition> cart_cartId_csp2_GET(String cartId) throws IOException {
String qPath = "/order/cart/{cartId}/csp2";
StringBuilder sb = path(qPath, cartId);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | [
"public",
"ArrayList",
"<",
"OvhGenericProductDefinition",
">",
"cart_cartId_csp2_GET",
"(",
"String",
"cartId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/order/cart/{cartId}/csp2\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"... | Get informations about SaaS CSP2 offers
REST: GET /order/cart/{cartId}/csp2
@param cartId [required] Cart identifier | [
"Get",
"informations",
"about",
"SaaS",
"CSP2",
"offers"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java#L10257-L10262 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java | ApiOvhOrder.cart_cartId_csp2_options_GET | public ArrayList<OvhGenericOptionDefinition> cart_cartId_csp2_options_GET(String cartId, String planCode) throws IOException {
String qPath = "/order/cart/{cartId}/csp2/options";
StringBuilder sb = path(qPath, cartId);
query(sb, "planCode", planCode);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<OvhGenericOptionDefinition> cart_cartId_csp2_options_GET(String cartId, String planCode) throws IOException {
String qPath = "/order/cart/{cartId}/csp2/options";
StringBuilder sb = path(qPath, cartId);
query(sb, "planCode", planCode);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"OvhGenericOptionDefinition",
">",
"cart_cartId_csp2_options_GET",
"(",
"String",
"cartId",
",",
"String",
"planCode",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/order/cart/{cartId}/csp2/options\"",
";",
"StringBuilder",
"sb... | Get informations about SaaS CSP2 options
REST: GET /order/cart/{cartId}/csp2/options
@param cartId [required] Cart identifier
@param planCode [required] Identifier of a SaaS CSP2 main offer | [
"Get",
"informations",
"about",
"SaaS",
"CSP2",
"options"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java#L10293-L10299 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java | ApiOvhOrder.cart_cartId_domainTransfer_GET | public ArrayList<OvhProductInformation> cart_cartId_domainTransfer_GET(String cartId, String domain) throws IOException {
String qPath = "/order/cart/{cartId}/domainTransfer";
StringBuilder sb = path(qPath, cartId);
query(sb, "domain", domain);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | java | public ArrayList<OvhProductInformation> cart_cartId_domainTransfer_GET(String cartId, String domain) throws IOException {
String qPath = "/order/cart/{cartId}/domainTransfer";
StringBuilder sb = path(qPath, cartId);
query(sb, "domain", domain);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | [
"public",
"ArrayList",
"<",
"OvhProductInformation",
">",
"cart_cartId_domainTransfer_GET",
"(",
"String",
"cartId",
",",
"String",
"domain",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/order/cart/{cartId}/domainTransfer\"",
";",
"StringBuilder",
"sb",
... | Get informations about a domain name transfer
REST: GET /order/cart/{cartId}/domainTransfer
@param cartId [required] Cart identifier
@param domain [required] Domain name requested
API beta | [
"Get",
"informations",
"about",
"a",
"domain",
"name",
"transfer"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java#L10949-L10955 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java | ApiOvhOrder.cart_cartId_summary_GET | public OvhOrder cart_cartId_summary_GET(String cartId) throws IOException {
String qPath = "/order/cart/{cartId}/summary";
StringBuilder sb = path(qPath, cartId);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOrder.class);
} | java | public OvhOrder cart_cartId_summary_GET(String cartId) throws IOException {
String qPath = "/order/cart/{cartId}/summary";
StringBuilder sb = path(qPath, cartId);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOrder.class);
} | [
"public",
"OvhOrder",
"cart_cartId_summary_GET",
"(",
"String",
"cartId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/order/cart/{cartId}/summary\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
",",
"cartId",
")",
";",
"String",
"resp... | Get a summary of your current order
REST: GET /order/cart/{cartId}/summary
@param cartId [required] Cart identifier | [
"Get",
"a",
"summary",
"of",
"your",
"current",
"order"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-order/src/main/java/net/minidev/ovh/api/ApiOvhOrder.java#L11396-L11401 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_publicFolder_POST | public OvhTask organizationName_service_exchangeService_publicFolder_POST(String organizationName, String exchangeService, OvhPublicFolderRightTypeEnum anonymousPermission, OvhPublicFolderRightTypeEnum defaultPermission, String path, Long quota, OvhPublicFolderTypeEnum type) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "anonymousPermission", anonymousPermission);
addBody(o, "defaultPermission", defaultPermission);
addBody(o, "path", path);
addBody(o, "quota", quota);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_publicFolder_POST(String organizationName, String exchangeService, OvhPublicFolderRightTypeEnum anonymousPermission, OvhPublicFolderRightTypeEnum defaultPermission, String path, Long quota, OvhPublicFolderTypeEnum type) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "anonymousPermission", anonymousPermission);
addBody(o, "defaultPermission", defaultPermission);
addBody(o, "path", path);
addBody(o, "quota", quota);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_publicFolder_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"OvhPublicFolderRightTypeEnum",
"anonymousPermission",
",",
"OvhPublicFolderRightTypeEnum",
"defaultPermission",
",",
"String",... | Create organization public folder
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/publicFolder
@param anonymousPermission [required] [default=none] Access right for the guest users
@param type [required] Type for public folder
@param quota [required] Quota for public folder in MB
@param defaultPermission [required] [default=none] Default access right
@param path [required] Path for public folder
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Create",
"organization",
"public",
"folder"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L145-L156 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_publicFolder_path_permission_POST | public OvhTask organizationName_service_exchangeService_publicFolder_path_permission_POST(String organizationName, String exchangeService, String path, OvhPublicFolderRightTypeEnum accessRights, Long allowedAccountId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder/{path}/permission";
StringBuilder sb = path(qPath, organizationName, exchangeService, path);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "accessRights", accessRights);
addBody(o, "allowedAccountId", allowedAccountId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_publicFolder_path_permission_POST(String organizationName, String exchangeService, String path, OvhPublicFolderRightTypeEnum accessRights, Long allowedAccountId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder/{path}/permission";
StringBuilder sb = path(qPath, organizationName, exchangeService, path);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "accessRights", accessRights);
addBody(o, "allowedAccountId", allowedAccountId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_publicFolder_path_permission_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"path",
",",
"OvhPublicFolderRightTypeEnum",
"accessRights",
",",
"Long",
"allowedAccountId",
")"... | Create public folder permission
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/publicFolder/{path}/permission
@param allowedAccountId [required] Account id to have access to public folder
@param accessRights [required] Access rights to be set for the account
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param path [required] Path for public folder | [
"Create",
"public",
"folder",
"permission"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L229-L237 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_publicFolderQuota_GET | public OvhPublicFolderQuota organizationName_service_exchangeService_publicFolderQuota_GET(String organizationName, String exchangeService) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolderQuota";
StringBuilder sb = path(qPath, organizationName, exchangeService);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPublicFolderQuota.class);
} | java | public OvhPublicFolderQuota organizationName_service_exchangeService_publicFolderQuota_GET(String organizationName, String exchangeService) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolderQuota";
StringBuilder sb = path(qPath, organizationName, exchangeService);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPublicFolderQuota.class);
} | [
"public",
"OvhPublicFolderQuota",
"organizationName_service_exchangeService_publicFolderQuota_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/exchange/{organizationName}/service/{exchangeS... | Get public folder quota usage in total available space
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/publicFolderQuota
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Get",
"public",
"folder",
"quota",
"usage",
"in",
"total",
"available",
"space"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L364-L369 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_domain_POST | public OvhTask organizationName_service_exchangeService_domain_POST(String organizationName, String exchangeService, Boolean configureAutodiscover, Boolean configureMx, Boolean main, String mxRelay, String name, String organization2010, OvhDomainTypeEnum type) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/domain";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "configureAutodiscover", configureAutodiscover);
addBody(o, "configureMx", configureMx);
addBody(o, "main", main);
addBody(o, "mxRelay", mxRelay);
addBody(o, "name", name);
addBody(o, "organization2010", organization2010);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_domain_POST(String organizationName, String exchangeService, Boolean configureAutodiscover, Boolean configureMx, Boolean main, String mxRelay, String name, String organization2010, OvhDomainTypeEnum type) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/domain";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "configureAutodiscover", configureAutodiscover);
addBody(o, "configureMx", configureMx);
addBody(o, "main", main);
addBody(o, "mxRelay", mxRelay);
addBody(o, "name", name);
addBody(o, "organization2010", organization2010);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_domain_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"Boolean",
"configureAutodiscover",
",",
"Boolean",
"configureMx",
",",
"Boolean",
"main",
",",
"String",
"mxRelay",
",",
... | Create new domain in exchange services
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/domain
@param configureMx [required] If you host domain in OVH we can configure mx record automatically
@param type [required] Type of domain that You want to install
@param name [required] Domain to install on server
@param configureAutodiscover [required] If you host domain in OVH we can configure autodiscover record automatically
@param main [required] This newly created domain will be an organization (Exchange 2010 only)
@param organization2010 [required] If specified, indicates which organization this newly created domain will be part of (Exchange 2010 only)
@param mxRelay [required] If specified, emails to not existing address will be redirected to that domain
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Create",
"new",
"domain",
"in",
"exchange",
"services"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L445-L458 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_sharedAccount_POST | public OvhTask organizationName_service_exchangeService_sharedAccount_POST(String organizationName, String exchangeService, String displayName, String firstName, Boolean hiddenFromGAL, String initials, String lastName, OvhMailingFilterEnum[] mailingFilter, Long quota, String sharedEmailAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/sharedAccount";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "firstName", firstName);
addBody(o, "hiddenFromGAL", hiddenFromGAL);
addBody(o, "initials", initials);
addBody(o, "lastName", lastName);
addBody(o, "mailingFilter", mailingFilter);
addBody(o, "quota", quota);
addBody(o, "sharedEmailAddress", sharedEmailAddress);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_sharedAccount_POST(String organizationName, String exchangeService, String displayName, String firstName, Boolean hiddenFromGAL, String initials, String lastName, OvhMailingFilterEnum[] mailingFilter, Long quota, String sharedEmailAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/sharedAccount";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "firstName", firstName);
addBody(o, "hiddenFromGAL", hiddenFromGAL);
addBody(o, "initials", initials);
addBody(o, "lastName", lastName);
addBody(o, "mailingFilter", mailingFilter);
addBody(o, "quota", quota);
addBody(o, "sharedEmailAddress", sharedEmailAddress);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_sharedAccount_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"displayName",
",",
"String",
"firstName",
",",
"Boolean",
"hiddenFromGAL",
",",
"String",
"initials",
","... | Create new shared mailbox in exchange server
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/sharedAccount
@param mailingFilter [required] Enable mailing filtrering
@param lastName [required] Shared account last name
@param hiddenFromGAL [required] Hide the shared account in Global Address List
@param initials [required] Shared account initials
@param quota [required] Shared account maximum size
@param displayName [required] Shared account display name
@param sharedEmailAddress [required] Shared account email address
@param firstName [required] Shared account first name
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Create",
"new",
"shared",
"mailbox",
"in",
"exchange",
"server"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L617-L631 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_externalContact_GET | public ArrayList<String> organizationName_service_exchangeService_externalContact_GET(String organizationName, String exchangeService, String displayName, String externalEmailAddress, String firstName, Long id, String lastName) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/externalContact";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "displayName", displayName);
query(sb, "externalEmailAddress", externalEmailAddress);
query(sb, "firstName", firstName);
query(sb, "id", id);
query(sb, "lastName", lastName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> organizationName_service_exchangeService_externalContact_GET(String organizationName, String exchangeService, String displayName, String externalEmailAddress, String firstName, Long id, String lastName) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/externalContact";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "displayName", displayName);
query(sb, "externalEmailAddress", externalEmailAddress);
query(sb, "firstName", firstName);
query(sb, "id", id);
query(sb, "lastName", lastName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"organizationName_service_exchangeService_externalContact_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"displayName",
",",
"String",
"externalEmailAddress",
",",
"String",
"firstName",
"... | External contacts for this service
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/externalContact
@param lastName [required] Filter the value of lastName property (like)
@param displayName [required] Filter the value of displayName property (like)
@param id [required] Filter the value of id property (like)
@param externalEmailAddress [required] Filter the value of externalEmailAddress property (like)
@param firstName [required] Filter the value of firstName property (like)
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"External",
"contacts",
"for",
"this",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L961-L971 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_renewSSL_POST | public OvhTask organizationName_service_exchangeService_renewSSL_POST(String organizationName, String exchangeService, String dcv) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/renewSSL";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "dcv", dcv);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_renewSSL_POST(String organizationName, String exchangeService, String dcv) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/renewSSL";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "dcv", dcv);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_renewSSL_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"dcv",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/exchange/{organizationName}/service/{ex... | Renew SSL if it will expire in next 30 days
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/renewSSL
@param dcv [required] DCV email require for order ssl varification process
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Renew",
"SSL",
"if",
"it",
"will",
"expire",
"in",
"next",
"30",
"days"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1010-L1017 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_activateSharepoint_POST | public OvhTask organizationName_service_exchangeService_activateSharepoint_POST(String organizationName, String exchangeService, String primaryEmailAddress, String subDomain) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/activateSharepoint";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "primaryEmailAddress", primaryEmailAddress);
addBody(o, "subDomain", subDomain);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_activateSharepoint_POST(String organizationName, String exchangeService, String primaryEmailAddress, String subDomain) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/activateSharepoint";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "primaryEmailAddress", primaryEmailAddress);
addBody(o, "subDomain", subDomain);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_activateSharepoint_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"primaryEmailAddress",
",",
"String",
"subDomain",
")",
"throws",
"IOException",
"{",
"String",
"qPath"... | Activate Sharepoint infra connected to this exchange service
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/activateSharepoint
@param subDomain [required] sub domain that will be used for Your sharepoint infra (You will not be able to change it!)
@param primaryEmailAddress [required] primary email address of a user that will be admin of sharepoint (You will not be able to change it!)
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Activate",
"Sharepoint",
"infra",
"connected",
"to",
"this",
"exchange",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1028-L1036 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_mailingList_mailingListAddress_member_account_GET | public ArrayList<Long> organizationName_service_exchangeService_mailingList_mailingListAddress_member_account_GET(String organizationName, String exchangeService, String mailingListAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/account";
StringBuilder sb = path(qPath, organizationName, exchangeService, mailingListAddress);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> organizationName_service_exchangeService_mailingList_mailingListAddress_member_account_GET(String organizationName, String exchangeService, String mailingListAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/account";
StringBuilder sb = path(qPath, organizationName, exchangeService, mailingListAddress);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"organizationName_service_exchangeService_mailingList_mailingListAddress_member_account_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"mailingListAddress",
")",
"throws",
"IOException",
"{",
"S... | Mailing list account member
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/account
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param mailingListAddress [required] The mailing list address | [
"Mailing",
"list",
"account",
"member"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1060-L1065 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_mailingList_mailingListAddress_member_contact_POST | public OvhTask organizationName_service_exchangeService_mailingList_mailingListAddress_member_contact_POST(String organizationName, String exchangeService, String mailingListAddress, Long memberAccountId, Long memberContactId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/contact";
StringBuilder sb = path(qPath, organizationName, exchangeService, mailingListAddress);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "memberAccountId", memberAccountId);
addBody(o, "memberContactId", memberContactId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_mailingList_mailingListAddress_member_contact_POST(String organizationName, String exchangeService, String mailingListAddress, Long memberAccountId, Long memberContactId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/contact";
StringBuilder sb = path(qPath, organizationName, exchangeService, mailingListAddress);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "memberAccountId", memberAccountId);
addBody(o, "memberContactId", memberContactId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_mailingList_mailingListAddress_member_contact_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"mailingListAddress",
",",
"Long",
"memberAccountId",
",",
"Long",
"memberContactI... | Add new mailing list member
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}/member/contact
@param memberAccountId [required] Member account id
@param memberContactId [required] Member contact id
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param mailingListAddress [required] The mailing list address | [
"Add",
"new",
"mailing",
"list",
"member"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1176-L1184 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_mailingList_mailingListAddress_DELETE | public OvhTask organizationName_service_exchangeService_mailingList_mailingListAddress_DELETE(String organizationName, String exchangeService, String mailingListAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}";
StringBuilder sb = path(qPath, organizationName, exchangeService, mailingListAddress);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_mailingList_mailingListAddress_DELETE(String organizationName, String exchangeService, String mailingListAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}";
StringBuilder sb = path(qPath, organizationName, exchangeService, mailingListAddress);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_mailingList_mailingListAddress_DELETE",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"mailingListAddress",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/... | Delete mailing list
REST: DELETE /email/exchange/{organizationName}/service/{exchangeService}/mailingList/{mailingListAddress}
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param mailingListAddress [required] The mailing list address | [
"Delete",
"mailing",
"list"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1354-L1359 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_mailingList_POST | public OvhTask organizationName_service_exchangeService_mailingList_POST(String organizationName, String exchangeService, OvhMailingListDepartRestrictionEnum departRestriction, String displayName, Boolean hiddenFromGAL, OvhMailingListJoinRestrictionEnum joinRestriction, String mailingListAddress, Long maxReceiveSize, Long maxSendSize, Boolean senderAuthentification) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "departRestriction", departRestriction);
addBody(o, "displayName", displayName);
addBody(o, "hiddenFromGAL", hiddenFromGAL);
addBody(o, "joinRestriction", joinRestriction);
addBody(o, "mailingListAddress", mailingListAddress);
addBody(o, "maxReceiveSize", maxReceiveSize);
addBody(o, "maxSendSize", maxSendSize);
addBody(o, "senderAuthentification", senderAuthentification);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_mailingList_POST(String organizationName, String exchangeService, OvhMailingListDepartRestrictionEnum departRestriction, String displayName, Boolean hiddenFromGAL, OvhMailingListJoinRestrictionEnum joinRestriction, String mailingListAddress, Long maxReceiveSize, Long maxSendSize, Boolean senderAuthentification) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/mailingList";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "departRestriction", departRestriction);
addBody(o, "displayName", displayName);
addBody(o, "hiddenFromGAL", hiddenFromGAL);
addBody(o, "joinRestriction", joinRestriction);
addBody(o, "mailingListAddress", mailingListAddress);
addBody(o, "maxReceiveSize", maxReceiveSize);
addBody(o, "maxSendSize", maxSendSize);
addBody(o, "senderAuthentification", senderAuthentification);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_mailingList_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"OvhMailingListDepartRestrictionEnum",
"departRestriction",
",",
"String",
"displayName",
",",
"Boolean",
"hiddenFromGAL",
"... | Add mailing list
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/mailingList
@param senderAuthentification [required] If true sender has to authenticate
@param hiddenFromGAL [required] If true mailing list is hiddend in Global Address List
@param departRestriction [required] Depart restriction policy
@param maxSendSize [required] Maximum send email size in MB
@param joinRestriction [required] Join restriction policy
@param mailingListAddress [required] The mailing list address
@param maxReceiveSize [required] Maximum receive email size in MB
@param displayName [required] Name displayed in Global Access List
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Add",
"mailing",
"list"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1522-L1536 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_account_primaryEmailAddress_archive_POST | public OvhTask organizationName_service_exchangeService_account_primaryEmailAddress_archive_POST(String organizationName, String exchangeService, String primaryEmailAddress, Long quota) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/archive";
StringBuilder sb = path(qPath, organizationName, exchangeService, primaryEmailAddress);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "quota", quota);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_account_primaryEmailAddress_archive_POST(String organizationName, String exchangeService, String primaryEmailAddress, Long quota) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/archive";
StringBuilder sb = path(qPath, organizationName, exchangeService, primaryEmailAddress);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "quota", quota);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_account_primaryEmailAddress_archive_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"primaryEmailAddress",
",",
"Long",
"quota",
")",
"throws",
"IOException",
"{",
"String"... | Create new archive mailbox
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/archive
@param quota [required] Archive mailbox quota (if not provided mailbox quota will be taken)
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param primaryEmailAddress [required] Default email for this mailbox | [
"Create",
"new",
"archive",
"mailbox"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L1577-L1584 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_account_primaryEmailAddress_outlookURL_POST | public OvhTask organizationName_service_exchangeService_account_primaryEmailAddress_outlookURL_POST(String organizationName, String exchangeService, String primaryEmailAddress, OvhLanguageEnum language, OvhOutlookVersionEnum version) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/outlookURL";
StringBuilder sb = path(qPath, organizationName, exchangeService, primaryEmailAddress);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "language", language);
addBody(o, "version", version);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_account_primaryEmailAddress_outlookURL_POST(String organizationName, String exchangeService, String primaryEmailAddress, OvhLanguageEnum language, OvhOutlookVersionEnum version) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/outlookURL";
StringBuilder sb = path(qPath, organizationName, exchangeService, primaryEmailAddress);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "language", language);
addBody(o, "version", version);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_account_primaryEmailAddress_outlookURL_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"primaryEmailAddress",
",",
"OvhLanguageEnum",
"language",
",",
"OvhOutlookVersionEnum",
... | Generate outlook url
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/account/{primaryEmailAddress}/outlookURL
@param version [required] Version of outlook
@param language [required] Language of outlook
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param primaryEmailAddress [required] Default email for this mailbox | [
"Generate",
"outlook",
"url"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2058-L2066 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_account_GET | public ArrayList<String> organizationName_service_exchangeService_account_GET(String organizationName, String exchangeService, OvhOvhLicenceEnum accountLicense, Long id, String primaryEmailAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "accountLicense", accountLicense);
query(sb, "id", id);
query(sb, "primaryEmailAddress", primaryEmailAddress);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> organizationName_service_exchangeService_account_GET(String organizationName, String exchangeService, OvhOvhLicenceEnum accountLicense, Long id, String primaryEmailAddress) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "accountLicense", accountLicense);
query(sb, "id", id);
query(sb, "primaryEmailAddress", primaryEmailAddress);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"organizationName_service_exchangeService_account_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"OvhOvhLicenceEnum",
"accountLicense",
",",
"Long",
"id",
",",
"String",
"primaryEmailAddress",
")",
... | Accounts associated to this exchange service
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/account
@param accountLicense [required] Filter the value of accountLicense property (=)
@param primaryEmailAddress [required] Filter the value of primaryEmailAddress property (like)
@param id [required] Filter the value of id property (like)
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Accounts",
"associated",
"to",
"this",
"exchange",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2153-L2161 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_account_POST | public OvhTask organizationName_service_exchangeService_account_POST(String organizationName, String exchangeService, String SAMAccountName, String company, String displayName, String domain, String firstName, Boolean hiddenFromGAL, String initials, String lastName, OvhOvhLicenceEnum license, Boolean litigation, Long litigationPeriod, String login, OvhMailingFilterEnum[] mailingFilter, Boolean outlookLicense, String password, OvhSpamAndVirusConfiguration spamAndVirusConfiguration) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "SAMAccountName", SAMAccountName);
addBody(o, "company", company);
addBody(o, "displayName", displayName);
addBody(o, "domain", domain);
addBody(o, "firstName", firstName);
addBody(o, "hiddenFromGAL", hiddenFromGAL);
addBody(o, "initials", initials);
addBody(o, "lastName", lastName);
addBody(o, "license", license);
addBody(o, "litigation", litigation);
addBody(o, "litigationPeriod", litigationPeriod);
addBody(o, "login", login);
addBody(o, "mailingFilter", mailingFilter);
addBody(o, "outlookLicense", outlookLicense);
addBody(o, "password", password);
addBody(o, "spamAndVirusConfiguration", spamAndVirusConfiguration);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_account_POST(String organizationName, String exchangeService, String SAMAccountName, String company, String displayName, String domain, String firstName, Boolean hiddenFromGAL, String initials, String lastName, OvhOvhLicenceEnum license, Boolean litigation, Long litigationPeriod, String login, OvhMailingFilterEnum[] mailingFilter, Boolean outlookLicense, String password, OvhSpamAndVirusConfiguration spamAndVirusConfiguration) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/account";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "SAMAccountName", SAMAccountName);
addBody(o, "company", company);
addBody(o, "displayName", displayName);
addBody(o, "domain", domain);
addBody(o, "firstName", firstName);
addBody(o, "hiddenFromGAL", hiddenFromGAL);
addBody(o, "initials", initials);
addBody(o, "lastName", lastName);
addBody(o, "license", license);
addBody(o, "litigation", litigation);
addBody(o, "litigationPeriod", litigationPeriod);
addBody(o, "login", login);
addBody(o, "mailingFilter", mailingFilter);
addBody(o, "outlookLicense", outlookLicense);
addBody(o, "password", password);
addBody(o, "spamAndVirusConfiguration", spamAndVirusConfiguration);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_account_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"SAMAccountName",
",",
"String",
"company",
",",
"String",
"displayName",
",",
"String",
"domain",
",",
"Strin... | Create new mailbox in exchange server
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/account
@param outlookLicense [required] Buy outlook license
@param displayName [required] Account display name
@param license [required] Exchange license
@param company [required] Company name
@param initials [required] Account initials
@param hiddenFromGAL [required] Hide the account in Global Address List
@param login [required] Account login
@param lastName [required] Account last name
@param firstName [required] Account first name
@param litigationPeriod [required] Litigation length in days, 0 means unlimited
@param SAMAccountName [required] SAM account name (exchange 2010 login)
@param litigation [required] Litigation status
@param password [required] Account password
@param mailingFilter [required] Enable mailing filtrering
@param domain [required] Email domain
@param spamAndVirusConfiguration [required] Antispam and Antivirus configuration
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Create",
"new",
"mailbox",
"in",
"exchange",
"server"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2186-L2208 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_device_GET | public ArrayList<String> organizationName_service_exchangeService_device_GET(String organizationName, String exchangeService, String IMEI, OvhDeviceActiveSyncStateEnum deviceState, String identity) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/device";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "IMEI", IMEI);
query(sb, "deviceState", deviceState);
query(sb, "identity", identity);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> organizationName_service_exchangeService_device_GET(String organizationName, String exchangeService, String IMEI, OvhDeviceActiveSyncStateEnum deviceState, String identity) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/device";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "IMEI", IMEI);
query(sb, "deviceState", deviceState);
query(sb, "identity", identity);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"organizationName_service_exchangeService_device_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"String",
"IMEI",
",",
"OvhDeviceActiveSyncStateEnum",
"deviceState",
",",
"String",
"identity",
")",
... | List of your ActiveSync devices registered on this Exchange service
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/device
@param IMEI [required] Filter the value of IMEI property (like)
@param deviceState [required] Filter the value of deviceState property (=)
@param identity [required] Filter the value of identity property (like)
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"List",
"of",
"your",
"ActiveSync",
"devices",
"registered",
"on",
"this",
"Exchange",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2265-L2273 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_protocol_activeSyncMailNotification_notifiedAccountId_DELETE | public OvhTask organizationName_service_exchangeService_protocol_activeSyncMailNotification_notifiedAccountId_DELETE(String organizationName, String exchangeService, Long notifiedAccountId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification/{notifiedAccountId}";
StringBuilder sb = path(qPath, organizationName, exchangeService, notifiedAccountId);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_protocol_activeSyncMailNotification_notifiedAccountId_DELETE(String organizationName, String exchangeService, Long notifiedAccountId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification/{notifiedAccountId}";
StringBuilder sb = path(qPath, organizationName, exchangeService, notifiedAccountId);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_protocol_activeSyncMailNotification_notifiedAccountId_DELETE",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"Long",
"notifiedAccountId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",... | Unubscribe address from ActiveSync quarantine notifications
REST: DELETE /email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification/{notifiedAccountId}
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service
@param notifiedAccountId [required] Notified Account Id | [
"Unubscribe",
"address",
"from",
"ActiveSync",
"quarantine",
"notifications"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2326-L2331 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_protocol_activeSyncMailNotification_POST | public OvhTask organizationName_service_exchangeService_protocol_activeSyncMailNotification_POST(String organizationName, String exchangeService, Long notifiedAccountId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "notifiedAccountId", notifiedAccountId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_protocol_activeSyncMailNotification_POST(String organizationName, String exchangeService, Long notifiedAccountId) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "notifiedAccountId", notifiedAccountId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_protocol_activeSyncMailNotification_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"Long",
"notifiedAccountId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/... | Subscribe new address to ActiveSync quarantine notifications
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/protocol/activeSyncMailNotification
@param notifiedAccountId [required] Exchange Account Id
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Subscribe",
"new",
"address",
"to",
"ActiveSync",
"quarantine",
"notifications"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2355-L2362 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_sharedAccountQuota_GET | public OvhSharedAccountQuota organizationName_service_exchangeService_sharedAccountQuota_GET(String organizationName, String exchangeService) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/sharedAccountQuota";
StringBuilder sb = path(qPath, organizationName, exchangeService);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhSharedAccountQuota.class);
} | java | public OvhSharedAccountQuota organizationName_service_exchangeService_sharedAccountQuota_GET(String organizationName, String exchangeService) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/sharedAccountQuota";
StringBuilder sb = path(qPath, organizationName, exchangeService);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhSharedAccountQuota.class);
} | [
"public",
"OvhSharedAccountQuota",
"organizationName_service_exchangeService_sharedAccountQuota_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/exchange/{organizationName}/service/{exchang... | Get shared account quota usage in total available space
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/sharedAccountQuota
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Get",
"shared",
"account",
"quota",
"usage",
"in",
"total",
"available",
"space"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2371-L2376 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_outlookAvailability_GET | public ArrayList<OvhOutlookVersions> organizationName_service_exchangeService_outlookAvailability_GET(String organizationName, String exchangeService, OvhLanguageEnum outlookLanguage, OvhOutlookVersionEnum outlookVersion) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/outlookAvailability";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "outlookLanguage", outlookLanguage);
query(sb, "outlookVersion", outlookVersion);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | java | public ArrayList<OvhOutlookVersions> organizationName_service_exchangeService_outlookAvailability_GET(String organizationName, String exchangeService, OvhLanguageEnum outlookLanguage, OvhOutlookVersionEnum outlookVersion) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/outlookAvailability";
StringBuilder sb = path(qPath, organizationName, exchangeService);
query(sb, "outlookLanguage", outlookLanguage);
query(sb, "outlookVersion", outlookVersion);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | [
"public",
"ArrayList",
"<",
"OvhOutlookVersions",
">",
"organizationName_service_exchangeService_outlookAvailability_GET",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"OvhLanguageEnum",
"outlookLanguage",
",",
"OvhOutlookVersionEnum",
"outlookVersion",... | Show available outlooks
REST: GET /email/exchange/{organizationName}/service/{exchangeService}/outlookAvailability
@param outlookLanguage [required] Language version of outlook
@param outlookVersion [required] OS version of outlook
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"Show",
"available",
"outlooks"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2387-L2394 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java | ApiOvhEmailexchange.organizationName_service_exchangeService_resourceAccount_POST | public OvhTask organizationName_service_exchangeService_resourceAccount_POST(String organizationName, String exchangeService, Boolean addOrganizerToSubject, Boolean allowConflict, Long bookingWindow, Long capacity, Boolean deleteComments, Boolean deleteSubject, String displayName, String location, Long maximumDuration, String resourceEmailAddress, OvhShowMeetingDetailsEnum showMeetingDetails, OvhResourceTypeEnum type) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/resourceAccount";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "addOrganizerToSubject", addOrganizerToSubject);
addBody(o, "allowConflict", allowConflict);
addBody(o, "bookingWindow", bookingWindow);
addBody(o, "capacity", capacity);
addBody(o, "deleteComments", deleteComments);
addBody(o, "deleteSubject", deleteSubject);
addBody(o, "displayName", displayName);
addBody(o, "location", location);
addBody(o, "maximumDuration", maximumDuration);
addBody(o, "resourceEmailAddress", resourceEmailAddress);
addBody(o, "showMeetingDetails", showMeetingDetails);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask organizationName_service_exchangeService_resourceAccount_POST(String organizationName, String exchangeService, Boolean addOrganizerToSubject, Boolean allowConflict, Long bookingWindow, Long capacity, Boolean deleteComments, Boolean deleteSubject, String displayName, String location, Long maximumDuration, String resourceEmailAddress, OvhShowMeetingDetailsEnum showMeetingDetails, OvhResourceTypeEnum type) throws IOException {
String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/resourceAccount";
StringBuilder sb = path(qPath, organizationName, exchangeService);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "addOrganizerToSubject", addOrganizerToSubject);
addBody(o, "allowConflict", allowConflict);
addBody(o, "bookingWindow", bookingWindow);
addBody(o, "capacity", capacity);
addBody(o, "deleteComments", deleteComments);
addBody(o, "deleteSubject", deleteSubject);
addBody(o, "displayName", displayName);
addBody(o, "location", location);
addBody(o, "maximumDuration", maximumDuration);
addBody(o, "resourceEmailAddress", resourceEmailAddress);
addBody(o, "showMeetingDetails", showMeetingDetails);
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"organizationName_service_exchangeService_resourceAccount_POST",
"(",
"String",
"organizationName",
",",
"String",
"exchangeService",
",",
"Boolean",
"addOrganizerToSubject",
",",
"Boolean",
"allowConflict",
",",
"Long",
"bookingWindow",
",",
"Long",
"cap... | create new resource account in exchange server
REST: POST /email/exchange/{organizationName}/service/{exchangeService}/resourceAccount
@param bookingWindow [required] maximum number of days in advance that the resource can be reserved
@param resourceEmailAddress [required] resource address
@param type [required] type of your reservation
@param maximumDuration [required] maximum duration in minutes for meeting requests
@param allowConflict [required] resource can be scheduled by more than one person during the same time period
@param displayName [required] resource account display name
@param deleteComments [required] remove any text in the message body of incoming meeting requests on resourceAccount
@param addOrganizerToSubject [required] meeting organizer's name is used as the subject of the meeting request
@param deleteSubject [required] remove email subject of incoming meeting requests on resourceAccount
@param capacity [required] number of the same equipment or capacity of a room
@param showMeetingDetails [required] granted right on a calendar of that resourceAccount
@param location [required] resource location
@param organizationName [required] The internal name of your exchange organization
@param exchangeService [required] The internal name of your exchange service | [
"create",
"new",
"resource",
"account",
"in",
"exchange",
"server"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailexchange/src/main/java/net/minidev/ovh/api/ApiOvhEmailexchange.java#L2542-L2560 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/TypedDataSet.java | TypedDataSet.rows | public TypedDataSet<T> rows(Collection<? extends T> rows) {
for (T rowObj : rows) {
super.row(conv.convert(rowObj));
}
return this;
} | java | public TypedDataSet<T> rows(Collection<? extends T> rows) {
for (T rowObj : rows) {
super.row(conv.convert(rowObj));
}
return this;
} | [
"public",
"TypedDataSet",
"<",
"T",
">",
"rows",
"(",
"Collection",
"<",
"?",
"extends",
"T",
">",
"rows",
")",
"{",
"for",
"(",
"T",
"rowObj",
":",
"rows",
")",
"{",
"super",
".",
"row",
"(",
"conv",
".",
"convert",
"(",
"rowObj",
")",
")",
";",... | Add rows in a collection to the data set.
@param rows Collection of row objects.
@return The data set instance (for possible chaining). | [
"Add",
"rows",
"in",
"a",
"collection",
"to",
"the",
"data",
"set",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/TypedDataSet.java#L82-L87 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-licenseworklight/src/main/java/net/minidev/ovh/api/ApiOvhLicenseworklight.java | ApiOvhLicenseworklight.serviceName_tasks_GET | public ArrayList<Long> serviceName_tasks_GET(String serviceName, OvhActionType action, OvhTaskStateEnum status) throws IOException {
String qPath = "/license/worklight/{serviceName}/tasks";
StringBuilder sb = path(qPath, serviceName);
query(sb, "action", action);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | java | public ArrayList<Long> serviceName_tasks_GET(String serviceName, OvhActionType action, OvhTaskStateEnum status) throws IOException {
String qPath = "/license/worklight/{serviceName}/tasks";
StringBuilder sb = path(qPath, serviceName);
query(sb, "action", action);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_tasks_GET",
"(",
"String",
"serviceName",
",",
"OvhActionType",
"action",
",",
"OvhTaskStateEnum",
"status",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/license/worklight/{serviceName}/tasks\"",
";... | Tasks linked to this license
REST: GET /license/worklight/{serviceName}/tasks
@param status [required] Filter the value of status property (=)
@param action [required] Filter the value of action property (=)
@param serviceName [required] The name of your WorkLight license | [
"Tasks",
"linked",
"to",
"this",
"license"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-licenseworklight/src/main/java/net/minidev/ovh/api/ApiOvhLicenseworklight.java#L78-L85 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-licensevirtuozzo/src/main/java/net/minidev/ovh/api/ApiOvhLicensevirtuozzo.java | ApiOvhLicensevirtuozzo.serviceName_canLicenseBeMovedTo_GET | public OvhChangeIpStatus serviceName_canLicenseBeMovedTo_GET(String serviceName, String destinationIp) throws IOException {
String qPath = "/license/virtuozzo/{serviceName}/canLicenseBeMovedTo";
StringBuilder sb = path(qPath, serviceName);
query(sb, "destinationIp", destinationIp);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhChangeIpStatus.class);
} | java | public OvhChangeIpStatus serviceName_canLicenseBeMovedTo_GET(String serviceName, String destinationIp) throws IOException {
String qPath = "/license/virtuozzo/{serviceName}/canLicenseBeMovedTo";
StringBuilder sb = path(qPath, serviceName);
query(sb, "destinationIp", destinationIp);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhChangeIpStatus.class);
} | [
"public",
"OvhChangeIpStatus",
"serviceName_canLicenseBeMovedTo_GET",
"(",
"String",
"serviceName",
",",
"String",
"destinationIp",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/license/virtuozzo/{serviceName}/canLicenseBeMovedTo\"",
";",
"StringBuilder",
"sb",... | Will tell if the ip can accept the license
REST: GET /license/virtuozzo/{serviceName}/canLicenseBeMovedTo
@param destinationIp [required] The Ip on which you want to move this license
@param serviceName [required] The name of your Virtuozzo license | [
"Will",
"tell",
"if",
"the",
"ip",
"can",
"accept",
"the",
"license"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-licensevirtuozzo/src/main/java/net/minidev/ovh/api/ApiOvhLicensevirtuozzo.java#L227-L233 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-licensevirtuozzo/src/main/java/net/minidev/ovh/api/ApiOvhLicensevirtuozzo.java | ApiOvhLicensevirtuozzo.orderableVersions_GET | public ArrayList<OvhVirtuozzoOrderConfiguration> orderableVersions_GET(String ip) throws IOException {
String qPath = "/license/virtuozzo/orderableVersions";
StringBuilder sb = path(qPath);
query(sb, "ip", ip);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | java | public ArrayList<OvhVirtuozzoOrderConfiguration> orderableVersions_GET(String ip) throws IOException {
String qPath = "/license/virtuozzo/orderableVersions";
StringBuilder sb = path(qPath);
query(sb, "ip", ip);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | [
"public",
"ArrayList",
"<",
"OvhVirtuozzoOrderConfiguration",
">",
"orderableVersions_GET",
"(",
"String",
"ip",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/license/virtuozzo/orderableVersions\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",... | Get the orderable Virtuozzo versions
REST: GET /license/virtuozzo/orderableVersions
@param ip [required] Your license Ip | [
"Get",
"the",
"orderable",
"Virtuozzo",
"versions"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-licensevirtuozzo/src/main/java/net/minidev/ovh/api/ApiOvhLicensevirtuozzo.java#L257-L263 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.generate | public DataSetBuilder generate(int count) {
ensureValid(count, count > 0);
DataSource source = data.getSource();
int columnCount = data.getSource().getColumnCount();
if (fillerCount < fillers.length) {
for (int c = 0; c < columnCount; c++) {
if (fillers[c] == null) {
throw new InvalidOperationException("No filler is set for column '" +
source.getColumnName(c));
}
}
throw new InternalErrorException("Filler count does not match fillers set.");
}
for (int r=0; r < count; r++) {
Object[] colData = new Object[columnCount];
for (int c = 0; c < columnCount; c++) {
try {
colData[c] = fillers[c].next();
}
catch (Exception e) {
throw new ColumnFillerException("Error evaluating filler for '" + source.getColumnName(c) + "'", e);
}
}
data.addRow(new Row(colData));
}
return this;
} | java | public DataSetBuilder generate(int count) {
ensureValid(count, count > 0);
DataSource source = data.getSource();
int columnCount = data.getSource().getColumnCount();
if (fillerCount < fillers.length) {
for (int c = 0; c < columnCount; c++) {
if (fillers[c] == null) {
throw new InvalidOperationException("No filler is set for column '" +
source.getColumnName(c));
}
}
throw new InternalErrorException("Filler count does not match fillers set.");
}
for (int r=0; r < count; r++) {
Object[] colData = new Object[columnCount];
for (int c = 0; c < columnCount; c++) {
try {
colData[c] = fillers[c].next();
}
catch (Exception e) {
throw new ColumnFillerException("Error evaluating filler for '" + source.getColumnName(c) + "'", e);
}
}
data.addRow(new Row(colData));
}
return this;
} | [
"public",
"DataSetBuilder",
"generate",
"(",
"int",
"count",
")",
"{",
"ensureValid",
"(",
"count",
",",
"count",
">",
"0",
")",
";",
"DataSource",
"source",
"=",
"data",
".",
"getSource",
"(",
")",
";",
"int",
"columnCount",
"=",
"data",
".",
"getSource... | Associate a number of rows to the data set, according to
the current column fillers' configuration.
@param count Number of rows (a positive integer)
@return The data set instance (for chained calls).
@throws ColumnFillerException if there is an error evaluating
a column filler.
@throws InvalidOperationException for an invalid row count, or if
there are columns with no associated fillers. | [
"Associate",
"a",
"number",
"of",
"rows",
"to",
"the",
"data",
"set",
"according",
"to",
"the",
"current",
"column",
"fillers",
"configuration",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L170-L196 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.set | public DataSetBuilder set(String column, ColumnFiller<?> filler) {
ensureArgNotNull(column);
ensureArgNotNull(filler);
if (! data.getSource().getDB().isEnabled(DB.Option.CASE_SENSITIVE_COLUMN_NAMES)) {
column = column.toUpperCase();
}
Integer idx = columnIdx.get(column);
if (idx == null) {
throw new InvalidOperationException("Invalid column name: '" + column + "'.");
}
if (fillers[idx] == null) {
fillerCount ++;
}
fillers[idx] = filler;
return this;
} | java | public DataSetBuilder set(String column, ColumnFiller<?> filler) {
ensureArgNotNull(column);
ensureArgNotNull(filler);
if (! data.getSource().getDB().isEnabled(DB.Option.CASE_SENSITIVE_COLUMN_NAMES)) {
column = column.toUpperCase();
}
Integer idx = columnIdx.get(column);
if (idx == null) {
throw new InvalidOperationException("Invalid column name: '" + column + "'.");
}
if (fillers[idx] == null) {
fillerCount ++;
}
fillers[idx] = filler;
return this;
} | [
"public",
"DataSetBuilder",
"set",
"(",
"String",
"column",
",",
"ColumnFiller",
"<",
"?",
">",
"filler",
")",
"{",
"ensureArgNotNull",
"(",
"column",
")",
";",
"ensureArgNotNull",
"(",
"filler",
")",
";",
"if",
"(",
"!",
"data",
".",
"getSource",
"(",
"... | Set filler for column.
@param column Column name.
@param filler Column filler.
@return The builder instance (for chained calls). | [
"Set",
"filler",
"for",
"column",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L204-L219 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.remainingColumnsNull | public DataSetBuilder remainingColumnsNull() {
for (int i = 0; i < fillers.length; i++) {
if (fillers[i] == null) {
fillers[i] = NULL_FILLER;
fillerCount++;
}
}
return this;
} | java | public DataSetBuilder remainingColumnsNull() {
for (int i = 0; i < fillers.length; i++) {
if (fillers[i] == null) {
fillers[i] = NULL_FILLER;
fillerCount++;
}
}
return this;
} | [
"public",
"DataSetBuilder",
"remainingColumnsNull",
"(",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"fillers",
".",
"length",
";",
"i",
"++",
")",
"{",
"if",
"(",
"fillers",
"[",
"i",
"]",
"==",
"null",
")",
"{",
"fillers",
"[",
"... | Set the NULL value filler for all remaining columns.
<p>
A call to this method sets the {@link #nullValue} filler
for all columns without an associated filler.
</p>
@return The builder instance (for chained calls).
@see #nullValue(String)
@see #allColumnsNull() | [
"Set",
"the",
"NULL",
"value",
"filler",
"for",
"all",
"remaining",
"columns",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L308-L316 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.value | public DataSetBuilder value(String column, Object constant) {
return set(column, new ConstantFiller<Object>(constant));
} | java | public DataSetBuilder value(String column, Object constant) {
return set(column, new ConstantFiller<Object>(constant));
} | [
"public",
"DataSetBuilder",
"value",
"(",
"String",
"column",
",",
"Object",
"constant",
")",
"{",
"return",
"set",
"(",
"column",
",",
"new",
"ConstantFiller",
"<",
"Object",
">",
"(",
"constant",
")",
")",
";",
"}"
] | Set a constant value filler for a column.
@param column Column name.
@param constant Value of the constant .
@return The builder instance (for chained calls). | [
"Set",
"a",
"constant",
"value",
"filler",
"for",
"a",
"column",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L341-L343 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.value | public <E extends Enum<?>> DataSetBuilder value(String column, E enumConstant) {
return value(column, enumConstant.toString());
} | java | public <E extends Enum<?>> DataSetBuilder value(String column, E enumConstant) {
return value(column, enumConstant.toString());
} | [
"public",
"<",
"E",
"extends",
"Enum",
"<",
"?",
">",
">",
"DataSetBuilder",
"value",
"(",
"String",
"column",
",",
"E",
"enumConstant",
")",
"{",
"return",
"value",
"(",
"column",
",",
"enumConstant",
".",
"toString",
"(",
")",
")",
";",
"}"
] | Set a constant enum value for a column, converting the enumeration constant to a string.
<p>
A call to this method is shorthand for <code>value(column, enumConstant.toString())</code>.
</p>
@param <E> Enumeration type.
@param column Column name.
@param enumConstant Value of the constant.
@return The builder instance (for chained calls). | [
"Set",
"a",
"constant",
"enum",
"value",
"for",
"a",
"column",
"converting",
"the",
"enumeration",
"constant",
"to",
"a",
"string",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L357-L359 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.sequence | public <T> DataSetBuilder sequence(String column, T initial, UnaryOperator<T> step) {
ensureArgNotNull(initial);
ensureArgNotNull(step);
return set(column, new StdSeqFiller<T>(initial, step));
} | java | public <T> DataSetBuilder sequence(String column, T initial, UnaryOperator<T> step) {
ensureArgNotNull(initial);
ensureArgNotNull(step);
return set(column, new StdSeqFiller<T>(initial, step));
} | [
"public",
"<",
"T",
">",
"DataSetBuilder",
"sequence",
"(",
"String",
"column",
",",
"T",
"initial",
",",
"UnaryOperator",
"<",
"T",
">",
"step",
")",
"{",
"ensureArgNotNull",
"(",
"initial",
")",
";",
"ensureArgNotNull",
"(",
"step",
")",
";",
"return",
... | Set a sequence filler using a step-function.
<p>
The sequence of values generated by the filler starts
with the specified initial value, and subsequent values
are generated using the step function which takes as input the previous value.
The sequence will then be
<code>s(0), s(1), ...</code> where <code>s(0) = initial</code>
and <code>s(n+1) = step.apply(s(n))</code> for
all <code>n >= 0</code> .
</p>
@param <T> Column datum type.
@param column Column name.
@param initial Initial value.
@param step Step function.
@return The builder instance (for chained calls).
@see #sequence(String, IntFunction) | [
"Set",
"a",
"sequence",
"filler",
"using",
"a",
"step",
"-",
"function",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L381-L385 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.sequence | public DataSetBuilder sequence(String column, IntFunction<?> step, int initial) {
ensureArgNotNull(step);
return set(column, new SequenceFiller(step, initial));
} | java | public DataSetBuilder sequence(String column, IntFunction<?> step, int initial) {
ensureArgNotNull(step);
return set(column, new SequenceFiller(step, initial));
} | [
"public",
"DataSetBuilder",
"sequence",
"(",
"String",
"column",
",",
"IntFunction",
"<",
"?",
">",
"step",
",",
"int",
"initial",
")",
"{",
"ensureArgNotNull",
"(",
"step",
")",
";",
"return",
"set",
"(",
"column",
",",
"new",
"SequenceFiller",
"(",
"step... | Set sequence filler using a index-based step-function.
<p>
The sequence of values generated by the filler starts
with the specified initial value, and subsequent values
are generated using the step function which takes as input the
index of the row being generated, starting from the initial value.
The sequence will then be
<code>s(start), s(start+1), ...</code> where <code>s(i) = step.apply(i)</code>
for all <code>i >= start</code>.
</p>
@param column Column name.
@param step Step function.
@param initial Initial value fed to step function.
@return The builder instance (for chained calls).
@see #sequence(String, Object, UnaryOperator) | [
"Set",
"sequence",
"filler",
"using",
"a",
"index",
"-",
"based",
"step",
"-",
"function",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L439-L442 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.sequence | @SafeVarargs
public final <T> DataSetBuilder sequence(String column, T... values) {
ensureValidArray(values);
return sequence(column, i -> values [i % values.length]);
} | java | @SafeVarargs
public final <T> DataSetBuilder sequence(String column, T... values) {
ensureValidArray(values);
return sequence(column, i -> values [i % values.length]);
} | [
"@",
"SafeVarargs",
"public",
"final",
"<",
"T",
">",
"DataSetBuilder",
"sequence",
"(",
"String",
"column",
",",
"T",
"...",
"values",
")",
"{",
"ensureValidArray",
"(",
"values",
")",
";",
"return",
"sequence",
"(",
"column",
",",
"i",
"->",
"values",
... | Set sequence filler using array values.
<p>
A call to this method is shorthand for
<code>sequence(column, i -> values[i % values.length])</code>.
</p>
@param <T> Type of data.
@param column Column name.
@param values Sequence of values to use.
@return The builder instance (for chained calls).
@see #sequence(String, List)
@see #sequence(String,IntFunction) | [
"Set",
"sequence",
"filler",
"using",
"array",
"values",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L460-L464 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.sequence | public DataSetBuilder sequence(String column, List<?> values) {
ensureValidList(values);
return sequence(column, i -> values.get(i % values.size()));
} | java | public DataSetBuilder sequence(String column, List<?> values) {
ensureValidList(values);
return sequence(column, i -> values.get(i % values.size()));
} | [
"public",
"DataSetBuilder",
"sequence",
"(",
"String",
"column",
",",
"List",
"<",
"?",
">",
"values",
")",
"{",
"ensureValidList",
"(",
"values",
")",
";",
"return",
"sequence",
"(",
"column",
",",
"i",
"->",
"values",
".",
"get",
"(",
"i",
"%",
"valu... | Set sequence filler using a list of values.
<p>
A call to this method is shorthand for
<code>sequence(column, i -> values.get(i % values.size()))</code>.
</p>
@param column Column name.
@param values Sequence of values to use.
@return The builder instance (for chained calls).
@see #sequence(String,IntFunction) | [
"Set",
"sequence",
"filler",
"using",
"a",
"list",
"of",
"values",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L480-L483 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.random | @SafeVarargs
public final <T> DataSetBuilder random(String column, T... values) {
ensureValidArray(values);
return set(column, () -> values[rng.nextInt(values.length)]);
} | java | @SafeVarargs
public final <T> DataSetBuilder random(String column, T... values) {
ensureValidArray(values);
return set(column, () -> values[rng.nextInt(values.length)]);
} | [
"@",
"SafeVarargs",
"public",
"final",
"<",
"T",
">",
"DataSetBuilder",
"random",
"(",
"String",
"column",
",",
"T",
"...",
"values",
")",
"{",
"ensureValidArray",
"(",
"values",
")",
";",
"return",
"set",
"(",
"column",
",",
"(",
")",
"->",
"values",
... | Set random filler for column using an array of values.
<p>
The specified column will be filled with values that
are uniformly sampled from the given array.
</p>
@param <T> Type of data.
@param column Column name.
@param values Values to use.
@return The builder instance (for chained calls).
@see #random(String, List)
@see #sequence(String, Object...) | [
"Set",
"random",
"filler",
"for",
"column",
"using",
"an",
"array",
"of",
"values",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L730-L734 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.random | public DataSetBuilder random(String column, List<?> values) {
ensureValidList(values);
return set(column,() -> values.get(rng.nextInt(values.size())));
} | java | public DataSetBuilder random(String column, List<?> values) {
ensureValidList(values);
return set(column,() -> values.get(rng.nextInt(values.size())));
} | [
"public",
"DataSetBuilder",
"random",
"(",
"String",
"column",
",",
"List",
"<",
"?",
">",
"values",
")",
"{",
"ensureValidList",
"(",
"values",
")",
";",
"return",
"set",
"(",
"column",
",",
"(",
")",
"->",
"values",
".",
"get",
"(",
"rng",
".",
"ne... | Set random filler for column using a list of values.
<p>
The specified column will be filled with values that
are uniformly sampled from the given list.
</p>
@param column Column name.
@param values Values to use.
@return The builder instance (for chained calls).
@see #random(String, Object...)
@see #sequence(String, List) | [
"Set",
"random",
"filler",
"for",
"column",
"using",
"a",
"list",
"of",
"values",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L751-L754 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.nextRandomLong | private long nextRandomLong(long a, long b) {
return a + (rng.nextLong() & Long.MAX_VALUE) % (b - a + 1);
} | java | private long nextRandomLong(long a, long b) {
return a + (rng.nextLong() & Long.MAX_VALUE) % (b - a + 1);
} | [
"private",
"long",
"nextRandomLong",
"(",
"long",
"a",
",",
"long",
"b",
")",
"{",
"return",
"a",
"+",
"(",
"rng",
".",
"nextLong",
"(",
")",
"&",
"Long",
".",
"MAX_VALUE",
")",
"%",
"(",
"b",
"-",
"a",
"+",
"1",
")",
";",
"}"
] | Auxiliary method that generates a pseudo-random long
within a given internal
@param a Lower bound
@param b Upper bound
@return A long value in the interval <code>[a, b]</code> | [
"Auxiliary",
"method",
"that",
"generates",
"a",
"pseudo",
"-",
"random",
"long",
"within",
"a",
"given",
"internal"
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L878-L880 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.random | public DataSetBuilder random(String column, Function<Random,?> gen) {
return set(column, () -> gen.apply(rng));
} | java | public DataSetBuilder random(String column, Function<Random,?> gen) {
return set(column, () -> gen.apply(rng));
} | [
"public",
"DataSetBuilder",
"random",
"(",
"String",
"column",
",",
"Function",
"<",
"Random",
",",
"?",
">",
"gen",
")",
"{",
"return",
"set",
"(",
"column",
",",
"(",
")",
"->",
"gen",
".",
"apply",
"(",
"rng",
")",
")",
";",
"}"
] | Set customized random filler.
<p>
The specified column will be filled with values that are obtained
from a generator function. The generator function
takes a {@link Random} instance as an argument and returns a value:
it should use the generator to produce column values in deterministic
fashion (in particular, the random number generator argument should not
be re-seeded).
</p>
<p><b>Illustration of use</b></p>
<p>The filler below will yield strings
<code>"ID_0", ..., "ID_9"</code> with an uniform
distribution:</p>
<blockquote><pre>
DataSet ds = ...;
...
ds.random("SomeColumn", rng -> "ID_" + rng.nextInt(10));
</pre></blockquote>
@param column Column name.
@param gen Generator function.
@return The builder instance (for chained calls).
@see java.util.Random
@see #random(String, int, int)
@see #random(String, long, long)
@see #random(String, float, float)
@see #random(String, double, double)
@see #random(String, Date, Date)
@see #random(String, Time, Time)
@see #random(String, Timestamp, Timestamp) | [
"Set",
"customized",
"random",
"filler",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L981-L983 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DataSetBuilder.java | DataSetBuilder.ensureValidRange | private static <T extends Comparable<T>> void ensureValidRange(T min, T max) {
if (min == null) {
throw new InvalidOperationException("Null value for minimum.");
}
if (max == null) {
throw new InvalidOperationException("Null value for maximum.");
}
if (min.compareTo(max) >= 0) {
throw new InvalidOperationException("Invalid range: " + min + " >= " + max);
}
} | java | private static <T extends Comparable<T>> void ensureValidRange(T min, T max) {
if (min == null) {
throw new InvalidOperationException("Null value for minimum.");
}
if (max == null) {
throw new InvalidOperationException("Null value for maximum.");
}
if (min.compareTo(max) >= 0) {
throw new InvalidOperationException("Invalid range: " + min + " >= " + max);
}
} | [
"private",
"static",
"<",
"T",
"extends",
"Comparable",
"<",
"T",
">",
">",
"void",
"ensureValidRange",
"(",
"T",
"min",
",",
"T",
"max",
")",
"{",
"if",
"(",
"min",
"==",
"null",
")",
"{",
"throw",
"new",
"InvalidOperationException",
"(",
"\"Null value ... | Range validation utility method.
@param <T> Type of data.
@param min Minimum value.
@param max Maximum value.
@throws InvalidOperationException if the range is not valid. | [
"Range",
"validation",
"utility",
"method",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DataSetBuilder.java#L1043-L1053 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBAssert.java | DBAssert.deltaAssertion | static void deltaAssertion(CallInfo callInfo, DataSet oldData, DataSet newData) {
validateDeltaAssertion(oldData, newData);
final DataSource source = oldData.getSource();
final DB db = source.getDB();
final DataSet snapshot = source.getSnapshot();
final DataSet stateNow = source.executeQuery(callInfo, false);
final Delta dbDelta = new Delta(snapshot, stateNow);
final Delta oldDataMatch
= new Delta(oldData.getRows().iterator(), dbDelta.deleted());
final Delta newDataMatch
= new Delta(newData.getRows().iterator(), dbDelta.inserted());
final DeltaAssertion da =
new DeltaAssertion(oldData, newData, oldDataMatch, newDataMatch);
db.log(callInfo, da);
source.setDirtyStatus(!da.passed() || oldData.size() > 0 || newData.size() > 0);
if (!da.passed()) {
throw new DBAssertionError(callInfo.getMessage());
}
} | java | static void deltaAssertion(CallInfo callInfo, DataSet oldData, DataSet newData) {
validateDeltaAssertion(oldData, newData);
final DataSource source = oldData.getSource();
final DB db = source.getDB();
final DataSet snapshot = source.getSnapshot();
final DataSet stateNow = source.executeQuery(callInfo, false);
final Delta dbDelta = new Delta(snapshot, stateNow);
final Delta oldDataMatch
= new Delta(oldData.getRows().iterator(), dbDelta.deleted());
final Delta newDataMatch
= new Delta(newData.getRows().iterator(), dbDelta.inserted());
final DeltaAssertion da =
new DeltaAssertion(oldData, newData, oldDataMatch, newDataMatch);
db.log(callInfo, da);
source.setDirtyStatus(!da.passed() || oldData.size() > 0 || newData.size() > 0);
if (!da.passed()) {
throw new DBAssertionError(callInfo.getMessage());
}
} | [
"static",
"void",
"deltaAssertion",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"oldData",
",",
"DataSet",
"newData",
")",
"{",
"validateDeltaAssertion",
"(",
"oldData",
",",
"newData",
")",
";",
"final",
"DataSource",
"source",
"=",
"oldData",
".",
"getSource"... | Perform a delta assertion.
<p>
Delta assertion methods in the {@link JDBDT} delegate the
actual verification to this method.
</p>
@param callInfo Call info.
@param oldData Old data expected.
@param newData New data expected.
@throws DBAssertionError If the assertion fails.
@throws InvalidOperationException If the arguments are invalid. | [
"Perform",
"a",
"delta",
"assertion",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBAssert.java#L51-L69 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBAssert.java | DBAssert.stateAssertion | static void stateAssertion(CallInfo callInfo, DataSet expected) {
DataSource source = expected.getSource();
source.setDirtyStatus(true);
dataSetAssertion(callInfo,
expected,
source.executeQuery(callInfo, false));
} | java | static void stateAssertion(CallInfo callInfo, DataSet expected) {
DataSource source = expected.getSource();
source.setDirtyStatus(true);
dataSetAssertion(callInfo,
expected,
source.executeQuery(callInfo, false));
} | [
"static",
"void",
"stateAssertion",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"expected",
")",
"{",
"DataSource",
"source",
"=",
"expected",
".",
"getSource",
"(",
")",
";",
"source",
".",
"setDirtyStatus",
"(",
"true",
")",
";",
"dataSetAssertion",
"(",
... | Perform a database state assertion.
@param callInfo Call info.
@param expected Expected data.
@throws DBAssertionError If the assertion fails.
@throws InvalidOperationException If the arguments are invalid. | [
"Perform",
"a",
"database",
"state",
"assertion",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBAssert.java#L96-L102 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBAssert.java | DBAssert.dataSetAssertion | static void dataSetAssertion(CallInfo callInfo, DataSet expected, DataSet actual) {
validateDataSetAssertion(expected, actual);
DataSource source = expected.getSource();
Delta delta = new Delta(expected, actual);
DataSetAssertion assertion = new DataSetAssertion(expected, delta);
source.getDB().log(callInfo, assertion);
if (! assertion.passed()) {
throw new DBAssertionError(callInfo.getMessage());
}
} | java | static void dataSetAssertion(CallInfo callInfo, DataSet expected, DataSet actual) {
validateDataSetAssertion(expected, actual);
DataSource source = expected.getSource();
Delta delta = new Delta(expected, actual);
DataSetAssertion assertion = new DataSetAssertion(expected, delta);
source.getDB().log(callInfo, assertion);
if (! assertion.passed()) {
throw new DBAssertionError(callInfo.getMessage());
}
} | [
"static",
"void",
"dataSetAssertion",
"(",
"CallInfo",
"callInfo",
",",
"DataSet",
"expected",
",",
"DataSet",
"actual",
")",
"{",
"validateDataSetAssertion",
"(",
"expected",
",",
"actual",
")",
";",
"DataSource",
"source",
"=",
"expected",
".",
"getSource",
"(... | Perform a data set assertion.
@param callInfo Call info.
@param expected Expected data.
@param actual Actual data.
@throws DBAssertionError If the assertion fails.
@throws InvalidOperationException If the arguments are invalid. | [
"Perform",
"a",
"data",
"set",
"assertion",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBAssert.java#L113-L123 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBAssert.java | DBAssert.assertTableExistence | static void assertTableExistence(CallInfo callInfo, DB db, String tableName, boolean expected) {
boolean actual = tableExists(callInfo, db, tableName);
SimpleAssertion assertion = new SimpleAssertion(null, expected, actual);
db.log(callInfo, assertion);
if (!assertion.passed()) {
throw new DBAssertionError(callInfo.getMessage());
}
} | java | static void assertTableExistence(CallInfo callInfo, DB db, String tableName, boolean expected) {
boolean actual = tableExists(callInfo, db, tableName);
SimpleAssertion assertion = new SimpleAssertion(null, expected, actual);
db.log(callInfo, assertion);
if (!assertion.passed()) {
throw new DBAssertionError(callInfo.getMessage());
}
} | [
"static",
"void",
"assertTableExistence",
"(",
"CallInfo",
"callInfo",
",",
"DB",
"db",
",",
"String",
"tableName",
",",
"boolean",
"expected",
")",
"{",
"boolean",
"actual",
"=",
"tableExists",
"(",
"callInfo",
",",
"db",
",",
"tableName",
")",
";",
"Simple... | Assert if table exists or not.
@param callInfo Call info.
@param db Database.
@param tableName Table.
@param expected Expect if table exists or not. | [
"Assert",
"if",
"table",
"exists",
"or",
"not",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBAssert.java#L147-L154 | train |
JDBDT/jdbdt | src/main/java/org/jdbdt/DBAssert.java | DBAssert.tableExists | private static boolean tableExists(CallInfo callInfo, DB db, String tableName) {
return db.access(callInfo, () -> {
DatabaseMetaData dbmd = db.getConnection().getMetaData();
try(ResultSet rs = dbmd.getTables(null, null, null, new String[] {"TABLE"})) {
while(rs.next()) {
if (tableName.equalsIgnoreCase(rs.getString("TABLE_NAME"))) {
return true;
}
}
}
return false;
});
} | java | private static boolean tableExists(CallInfo callInfo, DB db, String tableName) {
return db.access(callInfo, () -> {
DatabaseMetaData dbmd = db.getConnection().getMetaData();
try(ResultSet rs = dbmd.getTables(null, null, null, new String[] {"TABLE"})) {
while(rs.next()) {
if (tableName.equalsIgnoreCase(rs.getString("TABLE_NAME"))) {
return true;
}
}
}
return false;
});
} | [
"private",
"static",
"boolean",
"tableExists",
"(",
"CallInfo",
"callInfo",
",",
"DB",
"db",
",",
"String",
"tableName",
")",
"{",
"return",
"db",
".",
"access",
"(",
"callInfo",
",",
"(",
")",
"->",
"{",
"DatabaseMetaData",
"dbmd",
"=",
"db",
".",
"getC... | Check if table exists.
@param callInfo Call info.
@param db Database.
@param tableName Table name.
@return <code>true<code> if and only if the table exists. | [
"Check",
"if",
"table",
"exists",
"."
] | 7e32845ad41dfbc5d6fd0fd561e3613697186df4 | https://github.com/JDBDT/jdbdt/blob/7e32845ad41dfbc5d6fd0fd561e3613697186df4/src/main/java/org/jdbdt/DBAssert.java#L163-L175 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java | ApiOvhClusterhadoop.serviceName_node_hostname_role_POST | public OvhTask serviceName_node_hostname_role_POST(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/node/{hostname}/role";
StringBuilder sb = path(qPath, serviceName, hostname);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask serviceName_node_hostname_role_POST(String serviceName, String hostname, OvhRoleTypeEnum type) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/node/{hostname}/role";
StringBuilder sb = path(qPath, serviceName, hostname);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "type", type);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"serviceName_node_hostname_role_POST",
"(",
"String",
"serviceName",
",",
"String",
"hostname",
",",
"OvhRoleTypeEnum",
"type",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cluster/hadoop/{serviceName}/node/{hostname}/role\"",
";",
"St... | Add the Role to the Node
REST: POST /cluster/hadoop/{serviceName}/node/{hostname}/role
@param type [required] Role name
@param serviceName [required] The internal name of your cluster
@param hostname [required] Hostname of the node | [
"Add",
"the",
"Role",
"to",
"the",
"Node"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java#L287-L294 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java | ApiOvhClusterhadoop.serviceName_node_GET | public ArrayList<String> serviceName_node_GET(String serviceName, OvhNodeProfileEnum softwareProfile) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/node";
StringBuilder sb = path(qPath, serviceName);
query(sb, "softwareProfile", softwareProfile);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> serviceName_node_GET(String serviceName, OvhNodeProfileEnum softwareProfile) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/node";
StringBuilder sb = path(qPath, serviceName);
query(sb, "softwareProfile", softwareProfile);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"serviceName_node_GET",
"(",
"String",
"serviceName",
",",
"OvhNodeProfileEnum",
"softwareProfile",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cluster/hadoop/{serviceName}/node\"",
";",
"StringBuilder",
"sb",
... | Nodes of the Cluster
REST: GET /cluster/hadoop/{serviceName}/node
@param softwareProfile [required] Filter the value of softwareProfile property (=)
@param serviceName [required] The internal name of your cluster | [
"Nodes",
"of",
"the",
"Cluster"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java#L392-L398 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java | ApiOvhClusterhadoop.serviceName_nodeConsumptions_GET | public ArrayList<OvhNodeConsumption> serviceName_nodeConsumptions_GET(String serviceName) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/nodeConsumptions";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | java | public ArrayList<OvhNodeConsumption> serviceName_nodeConsumptions_GET(String serviceName) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/nodeConsumptions";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | [
"public",
"ArrayList",
"<",
"OvhNodeConsumption",
">",
"serviceName_nodeConsumptions_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cluster/hadoop/{serviceName}/nodeConsumptions\"",
";",
"StringBuilder",
"sb",
"=",
"path",... | Get the current node consumptions that you will billed for on the next bill
REST: GET /cluster/hadoop/{serviceName}/nodeConsumptions
@param serviceName [required] The internal name of your cluster | [
"Get",
"the",
"current",
"node",
"consumptions",
"that",
"you",
"will",
"billed",
"for",
"on",
"the",
"next",
"bill"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java#L478-L483 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java | ApiOvhClusterhadoop.serviceName_user_POST | public OvhTask serviceName_user_POST(String serviceName, Boolean clouderaManager, Boolean httpFrontend, Boolean hue, String password, String username) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/user";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clouderaManager", clouderaManager);
addBody(o, "httpFrontend", httpFrontend);
addBody(o, "hue", hue);
addBody(o, "password", password);
addBody(o, "username", username);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask serviceName_user_POST(String serviceName, Boolean clouderaManager, Boolean httpFrontend, Boolean hue, String password, String username) throws IOException {
String qPath = "/cluster/hadoop/{serviceName}/user";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clouderaManager", clouderaManager);
addBody(o, "httpFrontend", httpFrontend);
addBody(o, "hue", hue);
addBody(o, "password", password);
addBody(o, "username", username);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"serviceName_user_POST",
"(",
"String",
"serviceName",
",",
"Boolean",
"clouderaManager",
",",
"Boolean",
"httpFrontend",
",",
"Boolean",
"hue",
",",
"String",
"password",
",",
"String",
"username",
")",
"throws",
"IOException",
"{",
"String",
... | Add an User to your cluster
REST: POST /cluster/hadoop/{serviceName}/user
@param clouderaManager [required] Whether or not the User is allowed to access to the Cloudera Manager interface
@param hue [required] Whether or not the User is allowed to access to the Hue interface
@param password [required] Password of the User
@param httpFrontend [required] Whether or not the User is allowed to access to the WebUI interfaces
@param username [required] Username of the User
@param serviceName [required] The internal name of your cluster | [
"Add",
"an",
"User",
"to",
"your",
"cluster"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java#L524-L535 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java | ApiOvhClusterhadoop.orderInformations_GET | public OvhOrderInformations orderInformations_GET() throws IOException {
String qPath = "/cluster/hadoop/orderInformations";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOrderInformations.class);
} | java | public OvhOrderInformations orderInformations_GET() throws IOException {
String qPath = "/cluster/hadoop/orderInformations";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOrderInformations.class);
} | [
"public",
"OvhOrderInformations",
"orderInformations_GET",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/cluster/hadoop/orderInformations\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"exec",
"(",
... | Get informations about the order of one cluster
REST: GET /cluster/hadoop/orderInformations | [
"Get",
"informations",
"about",
"the",
"order",
"of",
"one",
"cluster"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-clusterhadoop/src/main/java/net/minidev/ovh/api/ApiOvhClusterhadoop.java#L639-L644 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-saascsp2/src/main/java/net/minidev/ovh/api/ApiOvhSaascsp2.java | ApiOvhSaascsp2.serviceName_subscription_POST | public OvhOfficeTask serviceName_subscription_POST(String serviceName, Long licenseId, Long quantity) throws IOException {
String qPath = "/saas/csp2/{serviceName}/subscription";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "licenseId", licenseId);
addBody(o, "quantity", quantity);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhOfficeTask.class);
} | java | public OvhOfficeTask serviceName_subscription_POST(String serviceName, Long licenseId, Long quantity) throws IOException {
String qPath = "/saas/csp2/{serviceName}/subscription";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "licenseId", licenseId);
addBody(o, "quantity", quantity);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhOfficeTask.class);
} | [
"public",
"OvhOfficeTask",
"serviceName_subscription_POST",
"(",
"String",
"serviceName",
",",
"Long",
"licenseId",
",",
"Long",
"quantity",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/saas/csp2/{serviceName}/subscription\"",
";",
"StringBuilder",
"sb",... | Add a subscription to this tenant
REST: POST /saas/csp2/{serviceName}/subscription
@param licenseId [required] License's type unique identifier
@param quantity [required] Quantity of licenses to order
@param serviceName [required] The unique identifier of your Office service
API beta | [
"Add",
"a",
"subscription",
"to",
"this",
"tenant"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-saascsp2/src/main/java/net/minidev/ovh/api/ApiOvhSaascsp2.java#L70-L78 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-saascsp2/src/main/java/net/minidev/ovh/api/ApiOvhSaascsp2.java | ApiOvhSaascsp2.serviceName_changeAdministratorPassword_POST | public OvhOfficeTask serviceName_changeAdministratorPassword_POST(String serviceName, String newPassword) throws IOException {
String qPath = "/saas/csp2/{serviceName}/changeAdministratorPassword";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "newPassword", newPassword);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhOfficeTask.class);
} | java | public OvhOfficeTask serviceName_changeAdministratorPassword_POST(String serviceName, String newPassword) throws IOException {
String qPath = "/saas/csp2/{serviceName}/changeAdministratorPassword";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "newPassword", newPassword);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhOfficeTask.class);
} | [
"public",
"OvhOfficeTask",
"serviceName_changeAdministratorPassword_POST",
"(",
"String",
"serviceName",
",",
"String",
"newPassword",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/saas/csp2/{serviceName}/changeAdministratorPassword\"",
";",
"StringBuilder",
"s... | Changes the tenant administrator's password
REST: POST /saas/csp2/{serviceName}/changeAdministratorPassword
@param newPassword [required] New password for the tenant administrator
@param serviceName [required] The unique identifier of your Office service
API beta | [
"Changes",
"the",
"tenant",
"administrator",
"s",
"password"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-saascsp2/src/main/java/net/minidev/ovh/api/ApiOvhSaascsp2.java#L254-L261 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-saascsp2/src/main/java/net/minidev/ovh/api/ApiOvhSaascsp2.java | ApiOvhSaascsp2.serviceName_usageStatistics_GET | public ArrayList<OvhStatistics> serviceName_usageStatistics_GET(String serviceName, OvhLicensePeriodEnum timePeriod) throws IOException {
String qPath = "/saas/csp2/{serviceName}/usageStatistics";
StringBuilder sb = path(qPath, serviceName);
query(sb, "timePeriod", timePeriod);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | java | public ArrayList<OvhStatistics> serviceName_usageStatistics_GET(String serviceName, OvhLicensePeriodEnum timePeriod) throws IOException {
String qPath = "/saas/csp2/{serviceName}/usageStatistics";
StringBuilder sb = path(qPath, serviceName);
query(sb, "timePeriod", timePeriod);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t3);
} | [
"public",
"ArrayList",
"<",
"OvhStatistics",
">",
"serviceName_usageStatistics_GET",
"(",
"String",
"serviceName",
",",
"OvhLicensePeriodEnum",
"timePeriod",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/saas/csp2/{serviceName}/usageStatistics\"",
";",
"Str... | Get the usage statistics over the chose period
REST: GET /saas/csp2/{serviceName}/usageStatistics
@param timePeriod [required] The period to query
@param serviceName [required] The unique identifier of your Office service
API beta | [
"Get",
"the",
"usage",
"statistics",
"over",
"the",
"chose",
"period"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-saascsp2/src/main/java/net/minidev/ovh/api/ApiOvhSaascsp2.java#L323-L329 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-freefax/src/main/java/net/minidev/ovh/api/ApiOvhFreefax.java | ApiOvhFreefax.credits_GET | public OvhBalanceInformations credits_GET() throws IOException {
String qPath = "/freefax/credits";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhBalanceInformations.class);
} | java | public OvhBalanceInformations credits_GET() throws IOException {
String qPath = "/freefax/credits";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhBalanceInformations.class);
} | [
"public",
"OvhBalanceInformations",
"credits_GET",
"(",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/freefax/credits\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
"qPath",
")",
";",
"String",
"resp",
"=",
"exec",
"(",
"qPath",
",",
"\"GET... | Get the credit balance and the remaining pages available for all our freefax
REST: GET /freefax/credits | [
"Get",
"the",
"credit",
"balance",
"and",
"the",
"remaining",
"pages",
"available",
"for",
"all",
"our",
"freefax"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-freefax/src/main/java/net/minidev/ovh/api/ApiOvhFreefax.java#L204-L209 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailmxplan/src/main/java/net/minidev/ovh/api/ApiOvhEmailmxplan.java | ApiOvhEmailmxplan.service_account_GET | public ArrayList<String> service_account_GET(String service, Long id, String primaryEmailAddress) throws IOException {
String qPath = "/email/mxplan/{service}/account";
StringBuilder sb = path(qPath, service);
query(sb, "id", id);
query(sb, "primaryEmailAddress", primaryEmailAddress);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> service_account_GET(String service, Long id, String primaryEmailAddress) throws IOException {
String qPath = "/email/mxplan/{service}/account";
StringBuilder sb = path(qPath, service);
query(sb, "id", id);
query(sb, "primaryEmailAddress", primaryEmailAddress);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"service_account_GET",
"(",
"String",
"service",
",",
"Long",
"id",
",",
"String",
"primaryEmailAddress",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/mxplan/{service}/account\"",
";",
"StringBuilder",... | Accounts associated to this mxplan service
REST: GET /email/mxplan/{service}/account
@param id [required] Filter the value of id property (like)
@param primaryEmailAddress [required] Filter the value of primaryEmailAddress property (like)
@param service [required] The internal name of your mxplan organization
API beta | [
"Accounts",
"associated",
"to",
"this",
"mxplan",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailmxplan/src/main/java/net/minidev/ovh/api/ApiOvhEmailmxplan.java#L500-L507 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailmxplan/src/main/java/net/minidev/ovh/api/ApiOvhEmailmxplan.java | ApiOvhEmailmxplan.service_externalContact_externalEmailAddress_DELETE | public OvhTask service_externalContact_externalEmailAddress_DELETE(String service, String externalEmailAddress) throws IOException {
String qPath = "/email/mxplan/{service}/externalContact/{externalEmailAddress}";
StringBuilder sb = path(qPath, service, externalEmailAddress);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask service_externalContact_externalEmailAddress_DELETE(String service, String externalEmailAddress) throws IOException {
String qPath = "/email/mxplan/{service}/externalContact/{externalEmailAddress}";
StringBuilder sb = path(qPath, service, externalEmailAddress);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"service_externalContact_externalEmailAddress_DELETE",
"(",
"String",
"service",
",",
"String",
"externalEmailAddress",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/mxplan/{service}/externalContact/{externalEmailAddress}\"",
";",
"Stri... | delete external contact
REST: DELETE /email/mxplan/{service}/externalContact/{externalEmailAddress}
@param service [required] The internal name of your mxplan organization
@param externalEmailAddress [required] Contact email
API beta | [
"delete",
"external",
"contact"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailmxplan/src/main/java/net/minidev/ovh/api/ApiOvhEmailmxplan.java#L550-L555 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-emailmxplan/src/main/java/net/minidev/ovh/api/ApiOvhEmailmxplan.java | ApiOvhEmailmxplan.service_domain_domainName_disclaimer_DELETE | public OvhTask service_domain_domainName_disclaimer_DELETE(String service, String domainName) throws IOException {
String qPath = "/email/mxplan/{service}/domain/{domainName}/disclaimer";
StringBuilder sb = path(qPath, service, domainName);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | java | public OvhTask service_domain_domainName_disclaimer_DELETE(String service, String domainName) throws IOException {
String qPath = "/email/mxplan/{service}/domain/{domainName}/disclaimer";
StringBuilder sb = path(qPath, service, domainName);
String resp = exec(qPath, "DELETE", sb.toString(), null);
return convertTo(resp, OvhTask.class);
} | [
"public",
"OvhTask",
"service_domain_domainName_disclaimer_DELETE",
"(",
"String",
"service",
",",
"String",
"domainName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/email/mxplan/{service}/domain/{domainName}/disclaimer\"",
";",
"StringBuilder",
"sb",
"=",... | Delete existing organization disclaimer
REST: DELETE /email/mxplan/{service}/domain/{domainName}/disclaimer
@param service [required] The internal name of your mxplan organization
@param domainName [required] Domain name
API beta | [
"Delete",
"existing",
"organization",
"disclaimer"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-emailmxplan/src/main/java/net/minidev/ovh/api/ApiOvhEmailmxplan.java#L721-L726 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_http_route_GET | public ArrayList<Long> serviceName_http_route_GET(String serviceName, Long frontendId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/route";
StringBuilder sb = path(qPath, serviceName);
query(sb, "frontendId", frontendId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_http_route_GET(String serviceName, Long frontendId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/route";
StringBuilder sb = path(qPath, serviceName);
query(sb, "frontendId", frontendId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_http_route_GET",
"(",
"String",
"serviceName",
",",
"Long",
"frontendId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/http/route\"",
";",
"StringBuilder",
"sb",
"=",
... | HTTP routes for this iplb
REST: GET /ipLoadbalancing/{serviceName}/http/route
@param frontendId [required] Filter the value of frontendId property (=)
@param serviceName [required] The internal name of your IP load balancing | [
"HTTP",
"routes",
"for",
"this",
"iplb"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L102-L108 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_http_route_POST | public OvhRouteHttp serviceName_http_route_POST(String serviceName, OvhRouteHttpAction action, String displayName, Long frontendId, Long weight) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/route";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "action", action);
addBody(o, "displayName", displayName);
addBody(o, "frontendId", frontendId);
addBody(o, "weight", weight);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRouteHttp.class);
} | java | public OvhRouteHttp serviceName_http_route_POST(String serviceName, OvhRouteHttpAction action, String displayName, Long frontendId, Long weight) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/route";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "action", action);
addBody(o, "displayName", displayName);
addBody(o, "frontendId", frontendId);
addBody(o, "weight", weight);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRouteHttp.class);
} | [
"public",
"OvhRouteHttp",
"serviceName_http_route_POST",
"(",
"String",
"serviceName",
",",
"OvhRouteHttpAction",
"action",
",",
"String",
"displayName",
",",
"Long",
"frontendId",
",",
"Long",
"weight",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"... | Add a new HTTP route to your frontend
REST: POST /ipLoadbalancing/{serviceName}/http/route
@param weight [required] Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will trigger an action
@param frontendId [required] Route traffic for this frontend
@param action [required] Action triggered when all rules match
@param displayName [required] Human readable name for your route, this field is for you
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"HTTP",
"route",
"to",
"your",
"frontend"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L121-L131 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_http_frontend_POST | public OvhFrontendHttp serviceName_http_frontend_POST(String serviceName, String[] allowedSource, String[] dedicatedIpfo, Long defaultFarmId, Long defaultSslId, Boolean disabled, String displayName, Boolean hsts, String[] httpHeader, String port, String redirectLocation, Boolean ssl, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/frontend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "allowedSource", allowedSource);
addBody(o, "dedicatedIpfo", dedicatedIpfo);
addBody(o, "defaultFarmId", defaultFarmId);
addBody(o, "defaultSslId", defaultSslId);
addBody(o, "disabled", disabled);
addBody(o, "displayName", displayName);
addBody(o, "hsts", hsts);
addBody(o, "httpHeader", httpHeader);
addBody(o, "port", port);
addBody(o, "redirectLocation", redirectLocation);
addBody(o, "ssl", ssl);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFrontendHttp.class);
} | java | public OvhFrontendHttp serviceName_http_frontend_POST(String serviceName, String[] allowedSource, String[] dedicatedIpfo, Long defaultFarmId, Long defaultSslId, Boolean disabled, String displayName, Boolean hsts, String[] httpHeader, String port, String redirectLocation, Boolean ssl, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/frontend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "allowedSource", allowedSource);
addBody(o, "dedicatedIpfo", dedicatedIpfo);
addBody(o, "defaultFarmId", defaultFarmId);
addBody(o, "defaultSslId", defaultSslId);
addBody(o, "disabled", disabled);
addBody(o, "displayName", displayName);
addBody(o, "hsts", hsts);
addBody(o, "httpHeader", httpHeader);
addBody(o, "port", port);
addBody(o, "redirectLocation", redirectLocation);
addBody(o, "ssl", ssl);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFrontendHttp.class);
} | [
"public",
"OvhFrontendHttp",
"serviceName_http_frontend_POST",
"(",
"String",
"serviceName",
",",
"String",
"[",
"]",
"allowedSource",
",",
"String",
"[",
"]",
"dedicatedIpfo",
",",
"Long",
"defaultFarmId",
",",
"Long",
"defaultSslId",
",",
"Boolean",
"disabled",
",... | Add a new http frontend on your IP Load Balancing
REST: POST /ipLoadbalancing/{serviceName}/http/frontend
@param dedicatedIpfo [required] Only attach frontend on these ip. No restriction if null
@param redirectLocation [required] HTTP redirection (Ex : http://www.ovh.com)
@param port [required] Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range.
@param disabled [required] Disable your frontend. Default: 'false'
@param defaultFarmId [required] Default HTTP Farm of your frontend
@param displayName [required] Human readable name for your frontend, this field is for you
@param httpHeader [required] Add header to your frontend. Useful variables admitted : %ci <=> client_ip, %cp <=> client_port
@param hsts [required] HTTP Strict Transport Security. Default: 'false'
@param allowedSource [required] Restrict IP Load Balancing access to these ip block. No restriction if null
@param defaultSslId [required] Default ssl served to your customer
@param zone [required] Zone of your frontend. Use "all" for all owned zone.
@param ssl [required] SSL deciphering. Default: 'false'
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"http",
"frontend",
"on",
"your",
"IP",
"Load",
"Balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L296-L314 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_http_farm_GET | public ArrayList<Long> serviceName_http_farm_GET(String serviceName, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/farm";
StringBuilder sb = path(qPath, serviceName);
query(sb, "vrackNetworkId", vrackNetworkId);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_http_farm_GET(String serviceName, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/farm";
StringBuilder sb = path(qPath, serviceName);
query(sb, "vrackNetworkId", vrackNetworkId);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_http_farm_GET",
"(",
"String",
"serviceName",
",",
"Long",
"vrackNetworkId",
",",
"String",
"zone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/http/farm\"",
";",
"S... | HTTP Farm for this iplb
REST: GET /ipLoadbalancing/{serviceName}/http/farm
@param zone [required] Filter the value of zone property (=)
@param vrackNetworkId [required] Filter the value of vrackNetworkId property (=)
@param serviceName [required] The internal name of your IP load balancing | [
"HTTP",
"Farm",
"for",
"this",
"iplb"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L507-L514 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_http_farm_POST | public OvhBackendHttp serviceName_http_farm_POST(String serviceName, OvhBalanceHTTPEnum balance, String displayName, Long port, OvhBackendProbe probe, OvhStickinessHTTPEnum stickiness, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/farm";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "balance", balance);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "probe", probe);
addBody(o, "stickiness", stickiness);
addBody(o, "vrackNetworkId", vrackNetworkId);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendHttp.class);
} | java | public OvhBackendHttp serviceName_http_farm_POST(String serviceName, OvhBalanceHTTPEnum balance, String displayName, Long port, OvhBackendProbe probe, OvhStickinessHTTPEnum stickiness, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/http/farm";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "balance", balance);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "probe", probe);
addBody(o, "stickiness", stickiness);
addBody(o, "vrackNetworkId", vrackNetworkId);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendHttp.class);
} | [
"public",
"OvhBackendHttp",
"serviceName_http_farm_POST",
"(",
"String",
"serviceName",
",",
"OvhBalanceHTTPEnum",
"balance",
",",
"String",
"displayName",
",",
"Long",
"port",
",",
"OvhBackendProbe",
"probe",
",",
"OvhStickinessHTTPEnum",
"stickiness",
",",
"Long",
"vr... | Add a new HTTP Farm on your IP Load Balancing
REST: POST /ipLoadbalancing/{serviceName}/http/farm
@param zone [required] Zone of your farm
@param balance [required] Load balancing algorithm. 'roundrobin' if null
@param stickiness [required] Stickiness type. No stickiness if null
@param probe [required] Probe used to determine if a backend is alive and can handle requests
@param vrackNetworkId [required] Internal Load Balancer identifier of the vRack private network to attach to your farm, mandatory when your Load Balancer is attached to a vRack
@param displayName [required] Human readable name for your backend, this field is for you
@param port [required] Port attached to your farm ([1..49151]). Inherited from frontend if null
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"HTTP",
"Farm",
"on",
"your",
"IP",
"Load",
"Balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L529-L542 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_quotaHistory_GET | public ArrayList<Long> serviceName_quotaHistory_GET(String serviceName, Date historizedDate_from, Date historizedDate_to, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/quotaHistory";
StringBuilder sb = path(qPath, serviceName);
query(sb, "historizedDate.from", historizedDate_from);
query(sb, "historizedDate.to", historizedDate_to);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_quotaHistory_GET(String serviceName, Date historizedDate_from, Date historizedDate_to, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/quotaHistory";
StringBuilder sb = path(qPath, serviceName);
query(sb, "historizedDate.from", historizedDate_from);
query(sb, "historizedDate.to", historizedDate_to);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_quotaHistory_GET",
"(",
"String",
"serviceName",
",",
"Date",
"historizedDate_from",
",",
"Date",
"historizedDate_to",
",",
"String",
"zone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadb... | Quota history informations, per month
REST: GET /ipLoadbalancing/{serviceName}/quotaHistory
@param zone [required] Filter the value of zone property (=)
@param historizedDate_to [required] Filter the value of historizedDate property (<=)
@param historizedDate_from [required] Filter the value of historizedDate property (>=)
@param serviceName [required] The internal name of your IP load balancing | [
"Quota",
"history",
"informations",
"per",
"month"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L567-L575 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_definedFarms_GET | public ArrayList<OvhDefinedFarm> serviceName_definedFarms_GET(String serviceName, Long vrackNetworkId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/definedFarms";
StringBuilder sb = path(qPath, serviceName);
query(sb, "vrackNetworkId", vrackNetworkId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | java | public ArrayList<OvhDefinedFarm> serviceName_definedFarms_GET(String serviceName, Long vrackNetworkId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/definedFarms";
StringBuilder sb = path(qPath, serviceName);
query(sb, "vrackNetworkId", vrackNetworkId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | [
"public",
"ArrayList",
"<",
"OvhDefinedFarm",
">",
"serviceName_definedFarms_GET",
"(",
"String",
"serviceName",
",",
"Long",
"vrackNetworkId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/definedFarms\"",
";",
"StringBuilder"... | List of defined farms, and whether they are HTTP, TCP or UDP
REST: GET /ipLoadbalancing/{serviceName}/definedFarms
@param vrackNetworkId [required] The vrack network id you want to filter on
@param serviceName [required] The internal name of your IP load balancing | [
"List",
"of",
"defined",
"farms",
"and",
"whether",
"they",
"are",
"HTTP",
"TCP",
"or",
"UDP"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L695-L701 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_availableFarmProbes_GET | public ArrayList<OvhFarmAvailableProbe> serviceName_availableFarmProbes_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/availableFarmProbes";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t5);
} | java | public ArrayList<OvhFarmAvailableProbe> serviceName_availableFarmProbes_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/availableFarmProbes";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t5);
} | [
"public",
"ArrayList",
"<",
"OvhFarmAvailableProbe",
">",
"serviceName_availableFarmProbes_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/availableFarmProbes\"",
";",
"StringBuilder",
"sb",
"=",... | Available farm probes for health checks
REST: GET /ipLoadbalancing/{serviceName}/availableFarmProbes
@param serviceName [required] The internal name of your IP load balancing | [
"Available",
"farm",
"probes",
"for",
"health",
"checks"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L710-L715 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_instancesState_GET | public ArrayList<OvhInstancesState> serviceName_instancesState_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/instancesState";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t6);
} | java | public ArrayList<OvhInstancesState> serviceName_instancesState_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/instancesState";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t6);
} | [
"public",
"ArrayList",
"<",
"OvhInstancesState",
">",
"serviceName_instancesState_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/instancesState\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"... | Get the effective state of your IPLB instances on IPLB servers
REST: GET /ipLoadbalancing/{serviceName}/instancesState
@param serviceName [required] The internal name of your IP load balancing
@deprecated | [
"Get",
"the",
"effective",
"state",
"of",
"your",
"IPLB",
"instances",
"on",
"IPLB",
"servers"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L725-L730 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_availableRouteActions_GET | public ArrayList<OvhRouteAvailableAction> serviceName_availableRouteActions_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/availableRouteActions";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | java | public ArrayList<OvhRouteAvailableAction> serviceName_availableRouteActions_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/availableRouteActions";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | [
"public",
"ArrayList",
"<",
"OvhRouteAvailableAction",
">",
"serviceName_availableRouteActions_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/availableRouteActions\"",
";",
"StringBuilder",
"sb",
... | Available route actions
REST: GET /ipLoadbalancing/{serviceName}/availableRouteActions
@param serviceName [required] The internal name of your IP load balancing | [
"Available",
"route",
"actions"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L739-L744 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_udp_frontend_POST | public OvhFrontendUdp serviceName_udp_frontend_POST(String serviceName, String[] dedicatedIpfo, Long defaultFarmId, Boolean disabled, String displayName, String port, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/frontend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "dedicatedIpfo", dedicatedIpfo);
addBody(o, "defaultFarmId", defaultFarmId);
addBody(o, "disabled", disabled);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFrontendUdp.class);
} | java | public OvhFrontendUdp serviceName_udp_frontend_POST(String serviceName, String[] dedicatedIpfo, Long defaultFarmId, Boolean disabled, String displayName, String port, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/frontend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "dedicatedIpfo", dedicatedIpfo);
addBody(o, "defaultFarmId", defaultFarmId);
addBody(o, "disabled", disabled);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFrontendUdp.class);
} | [
"public",
"OvhFrontendUdp",
"serviceName_udp_frontend_POST",
"(",
"String",
"serviceName",
",",
"String",
"[",
"]",
"dedicatedIpfo",
",",
"Long",
"defaultFarmId",
",",
"Boolean",
"disabled",
",",
"String",
"displayName",
",",
"String",
"port",
",",
"String",
"zone",... | Add a new UDP frontend on your IP Load Balancing
REST: POST /ipLoadbalancing/{serviceName}/udp/frontend
@param zone [required] Zone of your frontend. Use "all" for all owned zone.
@param dedicatedIpfo [required] Only attach frontend on these ip. No restriction if null
@param disabled [required] Disable your frontend. Default: 'false'
@param displayName [required] Human readable name for your frontend, this field is for you
@param defaultFarmId [required] Default UDP Farm of your frontend
@param port [required] Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range.
@param serviceName [required] The internal name of your IP load balancing
API beta | [
"Add",
"a",
"new",
"UDP",
"frontend",
"on",
"your",
"IP",
"Load",
"Balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L829-L841 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_udp_farm_POST | public OvhBackendUdp serviceName_udp_farm_POST(String serviceName, String displayName, Long port, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/farm";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "vrackNetworkId", vrackNetworkId);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendUdp.class);
} | java | public OvhBackendUdp serviceName_udp_farm_POST(String serviceName, String displayName, Long port, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/farm";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "vrackNetworkId", vrackNetworkId);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendUdp.class);
} | [
"public",
"OvhBackendUdp",
"serviceName_udp_farm_POST",
"(",
"String",
"serviceName",
",",
"String",
"displayName",
",",
"Long",
"port",
",",
"Long",
"vrackNetworkId",
",",
"String",
"zone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalanc... | Add a new UDP Farm on your IP Load Balancing
REST: POST /ipLoadbalancing/{serviceName}/udp/farm
@param zone [required] Zone of your farm
@param vrackNetworkId [required] Internal Load Balancer identifier of the vRack private network to attach to your farm, mandatory when your Load Balancer is attached to a vRack
@param displayName [required] Human readable name for your backend, this field is for you
@param port [required] Port attached to your farm ([1..49151]). Inherited from frontend if null
@param serviceName [required] The internal name of your IP load balancing
API beta | [
"Add",
"a",
"new",
"UDP",
"Farm",
"on",
"your",
"IP",
"Load",
"Balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L874-L884 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_udp_farm_farmId_DELETE | public void serviceName_udp_farm_farmId_DELETE(String serviceName, Long farmId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}";
StringBuilder sb = path(qPath, serviceName, farmId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void serviceName_udp_farm_farmId_DELETE(String serviceName, Long farmId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}";
StringBuilder sb = path(qPath, serviceName, farmId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"serviceName_udp_farm_farmId_DELETE",
"(",
"String",
"serviceName",
",",
"Long",
"farmId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/udp/farm/{farmId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | Delete an UDP Farm
REST: DELETE /ipLoadbalancing/{serviceName}/udp/farm/{farmId}
@param serviceName [required] The internal name of your IP load balancing
@param farmId [required] Id of your farm
API beta | [
"Delete",
"an",
"UDP",
"Farm"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L927-L931 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_udp_farm_farmId_server_POST | public OvhBackendUDPServer serviceName_udp_farm_farmId_server_POST(String serviceName, Long farmId, String address, String displayName, Long port, OvhBackendCustomerServerStatusEnum status) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server";
StringBuilder sb = path(qPath, serviceName, farmId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "status", status);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendUDPServer.class);
} | java | public OvhBackendUDPServer serviceName_udp_farm_farmId_server_POST(String serviceName, Long farmId, String address, String displayName, Long port, OvhBackendCustomerServerStatusEnum status) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server";
StringBuilder sb = path(qPath, serviceName, farmId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "status", status);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendUDPServer.class);
} | [
"public",
"OvhBackendUDPServer",
"serviceName_udp_farm_farmId_server_POST",
"(",
"String",
"serviceName",
",",
"Long",
"farmId",
",",
"String",
"address",
",",
"String",
"displayName",
",",
"Long",
"port",
",",
"OvhBackendCustomerServerStatusEnum",
"status",
")",
"throws"... | Add a server to an UDP Farm
REST: POST /ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server
@param status [required] Enable or disable your server
@param address [required] Address of your server
@param port [required] Port attached to your server ([1..49151]). Inherited from farm if null
@param displayName [required] Human readable name for your server, this field is for you
@param serviceName [required] The internal name of your IP load balancing
@param farmId [required] Id of your farm
API beta | [
"Add",
"a",
"server",
"to",
"an",
"UDP",
"Farm"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1016-L1026 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_definedRoutes_GET | public ArrayList<OvhDefinedRoute> serviceName_definedRoutes_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/definedRoutes";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t8);
} | java | public ArrayList<OvhDefinedRoute> serviceName_definedRoutes_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/definedRoutes";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t8);
} | [
"public",
"ArrayList",
"<",
"OvhDefinedRoute",
">",
"serviceName_definedRoutes_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/definedRoutes\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(",
... | List of defined routes, and whether they are HTTP or TCP
REST: GET /ipLoadbalancing/{serviceName}/definedRoutes
@param serviceName [required] The internal name of your IP load balancing | [
"List",
"of",
"defined",
"routes",
"and",
"whether",
"they",
"are",
"HTTP",
"or",
"TCP"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1034-L1039 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_task_GET | public ArrayList<Long> serviceName_task_GET(String serviceName, OvhTaskActionEnum action, Date creationDate_from, Date creationDate_to, Date doneDate_from, Date doneDate_to, OvhTaskStatusEnum status) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/task";
StringBuilder sb = path(qPath, serviceName);
query(sb, "action", action);
query(sb, "creationDate.from", creationDate_from);
query(sb, "creationDate.to", creationDate_to);
query(sb, "doneDate.from", doneDate_from);
query(sb, "doneDate.to", doneDate_to);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_task_GET(String serviceName, OvhTaskActionEnum action, Date creationDate_from, Date creationDate_to, Date doneDate_from, Date doneDate_to, OvhTaskStatusEnum status) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/task";
StringBuilder sb = path(qPath, serviceName);
query(sb, "action", action);
query(sb, "creationDate.from", creationDate_from);
query(sb, "creationDate.to", creationDate_to);
query(sb, "doneDate.from", doneDate_from);
query(sb, "doneDate.to", doneDate_to);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_task_GET",
"(",
"String",
"serviceName",
",",
"OvhTaskActionEnum",
"action",
",",
"Date",
"creationDate_from",
",",
"Date",
"creationDate_to",
",",
"Date",
"doneDate_from",
",",
"Date",
"doneDate_to",
",",
"OvhTa... | Task for this iplb
REST: GET /ipLoadbalancing/{serviceName}/task
@param doneDate_to [required] Filter the value of doneDate property (<=)
@param doneDate_from [required] Filter the value of doneDate property (>=)
@param action [required] Filter the value of action property (=)
@param creationDate_to [required] Filter the value of creationDate property (<=)
@param creationDate_from [required] Filter the value of creationDate property (>=)
@param status [required] Filter the value of status property (=)
@param serviceName [required] The internal name of your IP load balancing | [
"Task",
"for",
"this",
"iplb"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1068-L1079 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_vrack_network_vrackNetworkId_updateFarmId_POST | public OvhVrackNetwork serviceName_vrack_network_vrackNetworkId_updateFarmId_POST(String serviceName, Long vrackNetworkId, Long[] farmId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}/updateFarmId";
StringBuilder sb = path(qPath, serviceName, vrackNetworkId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "farmId", farmId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVrackNetwork.class);
} | java | public OvhVrackNetwork serviceName_vrack_network_vrackNetworkId_updateFarmId_POST(String serviceName, Long vrackNetworkId, Long[] farmId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}/updateFarmId";
StringBuilder sb = path(qPath, serviceName, vrackNetworkId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "farmId", farmId);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVrackNetwork.class);
} | [
"public",
"OvhVrackNetwork",
"serviceName_vrack_network_vrackNetworkId_updateFarmId_POST",
"(",
"String",
"serviceName",
",",
"Long",
"vrackNetworkId",
",",
"Long",
"[",
"]",
"farmId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceNa... | Update farm attached to that vrack network id
REST: POST /ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}/updateFarmId
@param farmId [required] Farm Id you want to attach to that vrack network
@param serviceName [required] The internal name of your IP load balancing
@param vrackNetworkId [required] Internal Load Balancer identifier of the vRack private network description
API beta | [
"Update",
"farm",
"attached",
"to",
"that",
"vrack",
"network",
"id"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1091-L1098 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_vrack_network_vrackNetworkId_DELETE | public void serviceName_vrack_network_vrackNetworkId_DELETE(String serviceName, Long vrackNetworkId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}";
StringBuilder sb = path(qPath, serviceName, vrackNetworkId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void serviceName_vrack_network_vrackNetworkId_DELETE(String serviceName, Long vrackNetworkId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}";
StringBuilder sb = path(qPath, serviceName, vrackNetworkId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"serviceName_vrack_network_vrackNetworkId_DELETE",
"(",
"String",
"serviceName",
",",
"Long",
"vrackNetworkId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}\"",
";",
"StringBuilder",
... | Delete this description of a private network in the vRack. It must not be used by any farm server
REST: DELETE /ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}
@param serviceName [required] The internal name of your IP load balancing
@param vrackNetworkId [required] Internal Load Balancer identifier of the vRack private network description
API beta | [
"Delete",
"this",
"description",
"of",
"a",
"private",
"network",
"in",
"the",
"vRack",
".",
"It",
"must",
"not",
"be",
"used",
"by",
"any",
"farm",
"server"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1141-L1145 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_vrack_network_GET | public ArrayList<Long> serviceName_vrack_network_GET(String serviceName, String subnet, Long vlan) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network";
StringBuilder sb = path(qPath, serviceName);
query(sb, "subnet", subnet);
query(sb, "vlan", vlan);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_vrack_network_GET(String serviceName, String subnet, Long vlan) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network";
StringBuilder sb = path(qPath, serviceName);
query(sb, "subnet", subnet);
query(sb, "vlan", vlan);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_vrack_network_GET",
"(",
"String",
"serviceName",
",",
"String",
"subnet",
",",
"Long",
"vlan",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/vrack/network\"",
";",
"S... | Descriptions of private networks in the vRack attached to this Load Balancer
REST: GET /ipLoadbalancing/{serviceName}/vrack/network
@param vlan [required] Filter the value of vlan property (=)
@param subnet [required] Filter the value of subnet property (=)
@param serviceName [required] The internal name of your IP load balancing
API beta | [
"Descriptions",
"of",
"private",
"networks",
"in",
"the",
"vRack",
"attached",
"to",
"this",
"Load",
"Balancer"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1157-L1164 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_vrack_network_POST | public OvhVrackNetwork serviceName_vrack_network_POST(String serviceName, String displayName, Long[] farmId, String natIp, String subnet, Long vlan) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "farmId", farmId);
addBody(o, "natIp", natIp);
addBody(o, "subnet", subnet);
addBody(o, "vlan", vlan);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVrackNetwork.class);
} | java | public OvhVrackNetwork serviceName_vrack_network_POST(String serviceName, String displayName, Long[] farmId, String natIp, String subnet, Long vlan) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/vrack/network";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "farmId", farmId);
addBody(o, "natIp", natIp);
addBody(o, "subnet", subnet);
addBody(o, "vlan", vlan);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVrackNetwork.class);
} | [
"public",
"OvhVrackNetwork",
"serviceName_vrack_network_POST",
"(",
"String",
"serviceName",
",",
"String",
"displayName",
",",
"Long",
"[",
"]",
"farmId",
",",
"String",
"natIp",
",",
"String",
"subnet",
",",
"Long",
"vlan",
")",
"throws",
"IOException",
"{",
"... | Add a description of a private network in the attached vRack
REST: POST /ipLoadbalancing/{serviceName}/vrack/network
@param vlan [required] VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
@param farmId [required] Farm Id you want to attach to that vrack network
@param subnet [required] IP Block of the private network in the vRack
@param displayName [required] Human readable name for your vrack network
@param natIp [required] An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The block must be in the private network and reserved for the Load Balancer
@param serviceName [required] The internal name of your IP load balancing
API beta | [
"Add",
"a",
"description",
"of",
"a",
"private",
"network",
"in",
"the",
"attached",
"vRack"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1179-L1190 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_pendingChanges_GET | public ArrayList<OvhPendingChanges> serviceName_pendingChanges_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/pendingChanges";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t9);
} | java | public ArrayList<OvhPendingChanges> serviceName_pendingChanges_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/pendingChanges";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t9);
} | [
"public",
"ArrayList",
"<",
"OvhPendingChanges",
">",
"serviceName_pendingChanges_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/pendingChanges\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"... | List the pending changes on your Load Balancer configuration, per zone
REST: GET /ipLoadbalancing/{serviceName}/pendingChanges
@param serviceName [required] The internal name of your IP load balancing | [
"List",
"the",
"pending",
"changes",
"on",
"your",
"Load",
"Balancer",
"configuration",
"per",
"zone"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1228-L1233 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_route_POST | public OvhRouteTcp serviceName_tcp_route_POST(String serviceName, OvhRouteTcpAction action, String displayName, Long frontendId, Long weight) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/route";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "action", action);
addBody(o, "displayName", displayName);
addBody(o, "frontendId", frontendId);
addBody(o, "weight", weight);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRouteTcp.class);
} | java | public OvhRouteTcp serviceName_tcp_route_POST(String serviceName, OvhRouteTcpAction action, String displayName, Long frontendId, Long weight) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/route";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "action", action);
addBody(o, "displayName", displayName);
addBody(o, "frontendId", frontendId);
addBody(o, "weight", weight);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRouteTcp.class);
} | [
"public",
"OvhRouteTcp",
"serviceName_tcp_route_POST",
"(",
"String",
"serviceName",
",",
"OvhRouteTcpAction",
"action",
",",
"String",
"displayName",
",",
"Long",
"frontendId",
",",
"Long",
"weight",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ip... | Add a new TCP route to your frontend
REST: POST /ipLoadbalancing/{serviceName}/tcp/route
@param weight [required] Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will trigger an action
@param frontendId [required] Route traffic for this frontend
@param action [required] Action triggered when all rules match
@param displayName [required] Human readable name for your route, this field is for you
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"TCP",
"route",
"to",
"your",
"frontend"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1287-L1297 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_route_routeId_DELETE | public void serviceName_tcp_route_routeId_DELETE(String serviceName, Long routeId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/route/{routeId}";
StringBuilder sb = path(qPath, serviceName, routeId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void serviceName_tcp_route_routeId_DELETE(String serviceName, Long routeId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/route/{routeId}";
StringBuilder sb = path(qPath, serviceName, routeId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"serviceName_tcp_route_routeId_DELETE",
"(",
"String",
"serviceName",
",",
"Long",
"routeId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/tcp/route/{routeId}\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"(... | Delete this TCP route
REST: DELETE /ipLoadbalancing/{serviceName}/tcp/route/{routeId}
@param serviceName [required] The internal name of your IP load balancing
@param routeId [required] Id of your route | [
"Delete",
"this",
"TCP",
"route"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1334-L1338 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_route_routeId_rule_POST | public OvhRouteRule serviceName_tcp_route_routeId_rule_POST(String serviceName, Long routeId, String displayName, String field, OvhRouteRuleMatchesEnum match, Boolean negate, String pattern, String subField) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule";
StringBuilder sb = path(qPath, serviceName, routeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "field", field);
addBody(o, "match", match);
addBody(o, "negate", negate);
addBody(o, "pattern", pattern);
addBody(o, "subField", subField);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRouteRule.class);
} | java | public OvhRouteRule serviceName_tcp_route_routeId_rule_POST(String serviceName, Long routeId, String displayName, String field, OvhRouteRuleMatchesEnum match, Boolean negate, String pattern, String subField) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule";
StringBuilder sb = path(qPath, serviceName, routeId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(o, "field", field);
addBody(o, "match", match);
addBody(o, "negate", negate);
addBody(o, "pattern", pattern);
addBody(o, "subField", subField);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhRouteRule.class);
} | [
"public",
"OvhRouteRule",
"serviceName_tcp_route_routeId_rule_POST",
"(",
"String",
"serviceName",
",",
"Long",
"routeId",
",",
"String",
"displayName",
",",
"String",
"field",
",",
"OvhRouteRuleMatchesEnum",
"match",
",",
"Boolean",
"negate",
",",
"String",
"pattern",
... | Add a new rule to your route
REST: POST /ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule
@param field [required] Name of the field to match like "protocol" or "host". See "/ipLoadbalancing/{serviceName}/availableRouteRules" for a list of available rules
@param subField [required] Name of sub-field, if applicable. This may be a Cookie or Header name for instance
@param pattern [required] Value to match against this match. Interpretation if this field depends on the match and field
@param displayName [required] Human readable name for your rule
@param match [required] Matching operator. Not all operators are available for all fields. See "/ipLoadbalancing/{serviceName}/availableRouteRules"
@param negate [required] Invert the matching operator effect
@param serviceName [required] The internal name of your IP load balancing
@param routeId [required] Id of your route | [
"Add",
"a",
"new",
"rule",
"to",
"your",
"route"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1367-L1379 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_frontend_frontendId_DELETE | public void serviceName_tcp_frontend_frontendId_DELETE(String serviceName, Long frontendId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}";
StringBuilder sb = path(qPath, serviceName, frontendId);
exec(qPath, "DELETE", sb.toString(), null);
} | java | public void serviceName_tcp_frontend_frontendId_DELETE(String serviceName, Long frontendId) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}";
StringBuilder sb = path(qPath, serviceName, frontendId);
exec(qPath, "DELETE", sb.toString(), null);
} | [
"public",
"void",
"serviceName_tcp_frontend_frontendId_DELETE",
"(",
"String",
"serviceName",
",",
"Long",
"frontendId",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}\"",
";",
"StringBuilder",
"sb",
"=",... | Delete an TCP frontend
REST: DELETE /ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}
@param serviceName [required] The internal name of your IP load balancing
@param frontendId [required] Id of your frontend | [
"Delete",
"an",
"TCP",
"frontend"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1460-L1464 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_frontend_GET | public ArrayList<Long> serviceName_tcp_frontend_GET(String serviceName, Long defaultFarmId, String port, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend";
StringBuilder sb = path(qPath, serviceName);
query(sb, "defaultFarmId", defaultFarmId);
query(sb, "port", port);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_tcp_frontend_GET(String serviceName, Long defaultFarmId, String port, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend";
StringBuilder sb = path(qPath, serviceName);
query(sb, "defaultFarmId", defaultFarmId);
query(sb, "port", port);
query(sb, "zone", zone);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_tcp_frontend_GET",
"(",
"String",
"serviceName",
",",
"Long",
"defaultFarmId",
",",
"String",
"port",
",",
"String",
"zone",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{service... | TCP frontends for this iplb
REST: GET /ipLoadbalancing/{serviceName}/tcp/frontend
@param defaultFarmId [required] Filter the value of defaultFarmId property (=)
@param port [required] Filter the value of port property (like)
@param zone [required] Filter the value of zone property (=)
@param serviceName [required] The internal name of your IP load balancing | [
"TCP",
"frontends",
"for",
"this",
"iplb"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1475-L1483 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_frontend_POST | public OvhFrontendTcp serviceName_tcp_frontend_POST(String serviceName, String[] allowedSource, String[] dedicatedIpfo, Long defaultFarmId, Long defaultSslId, Boolean disabled, String displayName, String port, Boolean ssl, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "allowedSource", allowedSource);
addBody(o, "dedicatedIpfo", dedicatedIpfo);
addBody(o, "defaultFarmId", defaultFarmId);
addBody(o, "defaultSslId", defaultSslId);
addBody(o, "disabled", disabled);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "ssl", ssl);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFrontendTcp.class);
} | java | public OvhFrontendTcp serviceName_tcp_frontend_POST(String serviceName, String[] allowedSource, String[] dedicatedIpfo, Long defaultFarmId, Long defaultSslId, Boolean disabled, String displayName, String port, Boolean ssl, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/frontend";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "allowedSource", allowedSource);
addBody(o, "dedicatedIpfo", dedicatedIpfo);
addBody(o, "defaultFarmId", defaultFarmId);
addBody(o, "defaultSslId", defaultSslId);
addBody(o, "disabled", disabled);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "ssl", ssl);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhFrontendTcp.class);
} | [
"public",
"OvhFrontendTcp",
"serviceName_tcp_frontend_POST",
"(",
"String",
"serviceName",
",",
"String",
"[",
"]",
"allowedSource",
",",
"String",
"[",
"]",
"dedicatedIpfo",
",",
"Long",
"defaultFarmId",
",",
"Long",
"defaultSslId",
",",
"Boolean",
"disabled",
",",... | Add a new TCP frontend on your IP Load Balancing
REST: POST /ipLoadbalancing/{serviceName}/tcp/frontend
@param port [required] Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range.
@param disabled [required] Disable your frontend. Default: 'false'
@param defaultFarmId [required] Default TCP Farm of your frontend
@param displayName [required] Human readable name for your frontend, this field is for you
@param dedicatedIpfo [required] Only attach frontend on these ip. No restriction if null
@param ssl [required] SSL deciphering. Default: 'false'
@param zone [required] Zone of your frontend. Use "all" for all owned zone.
@param allowedSource [required] Restrict IP Load Balancing access to these ip block. No restriction if null
@param defaultSslId [required] Default ssl served to your customer
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"TCP",
"frontend",
"on",
"your",
"IP",
"Load",
"Balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1500-L1515 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_farm_POST | public OvhBackendTcp serviceName_tcp_farm_POST(String serviceName, OvhBalanceTCPEnum balance, String displayName, Long port, OvhBackendProbe probe, OvhStickinessTCPEnum stickiness, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "balance", balance);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "probe", probe);
addBody(o, "stickiness", stickiness);
addBody(o, "vrackNetworkId", vrackNetworkId);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendTcp.class);
} | java | public OvhBackendTcp serviceName_tcp_farm_POST(String serviceName, OvhBalanceTCPEnum balance, String displayName, Long port, OvhBackendProbe probe, OvhStickinessTCPEnum stickiness, Long vrackNetworkId, String zone) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "balance", balance);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "probe", probe);
addBody(o, "stickiness", stickiness);
addBody(o, "vrackNetworkId", vrackNetworkId);
addBody(o, "zone", zone);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendTcp.class);
} | [
"public",
"OvhBackendTcp",
"serviceName_tcp_farm_POST",
"(",
"String",
"serviceName",
",",
"OvhBalanceTCPEnum",
"balance",
",",
"String",
"displayName",
",",
"Long",
"port",
",",
"OvhBackendProbe",
"probe",
",",
"OvhStickinessTCPEnum",
"stickiness",
",",
"Long",
"vrackN... | Add a new TCP Farm on your IP Load Balancing
REST: POST /ipLoadbalancing/{serviceName}/tcp/farm
@param balance [required] Load balancing algorithm. 'roundrobin' if null
@param zone [required] Zone of your farm
@param stickiness [required] Stickiness type. No stickiness if null
@param port [required] Port attached to your farm ([1..49151]). Inherited from frontend if null
@param displayName [required] Human readable name for your backend, this field is for you
@param vrackNetworkId [required] Internal Load Balancer identifier of the vRack private network to attach to your farm, mandatory when your Load Balancer is attached to a vRack
@param probe [required] Probe used to determine if a backend is alive and can handle requests
@param serviceName [required] The internal name of your IP load balancing | [
"Add",
"a",
"new",
"TCP",
"Farm",
"on",
"your",
"IP",
"Load",
"Balancing"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1547-L1560 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_farm_farmId_server_GET | public ArrayList<Long> serviceName_tcp_farm_farmId_server_GET(String serviceName, Long farmId, String address, OvhBackendCustomerServerStatusEnum status) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server";
StringBuilder sb = path(qPath, serviceName, farmId);
query(sb, "address", address);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_tcp_farm_farmId_server_GET(String serviceName, Long farmId, String address, OvhBackendCustomerServerStatusEnum status) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server";
StringBuilder sb = path(qPath, serviceName, farmId);
query(sb, "address", address);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_tcp_farm_farmId_server_GET",
"(",
"String",
"serviceName",
",",
"Long",
"farmId",
",",
"String",
"address",
",",
"OvhBackendCustomerServerStatusEnum",
"status",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
... | TCP Farm's Servers
REST: GET /ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server
@param address [required] Filter the value of address property (=)
@param status [required] Filter the value of status property (=)
@param serviceName [required] The internal name of your IP load balancing
@param farmId [required] Id of your farm | [
"TCP",
"Farm",
"s",
"Servers"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1656-L1663 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_tcp_farm_farmId_server_POST | public OvhBackendTCPServer serviceName_tcp_farm_farmId_server_POST(String serviceName, Long farmId, String address, Boolean backup, String chain, String displayName, Long port, Boolean probe, OvhProxyProtocolVersionEnum proxyProtocolVersion, Boolean ssl, OvhBackendCustomerServerStatusEnum status, Long weight) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server";
StringBuilder sb = path(qPath, serviceName, farmId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "backup", backup);
addBody(o, "chain", chain);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "probe", probe);
addBody(o, "proxyProtocolVersion", proxyProtocolVersion);
addBody(o, "ssl", ssl);
addBody(o, "status", status);
addBody(o, "weight", weight);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendTCPServer.class);
} | java | public OvhBackendTCPServer serviceName_tcp_farm_farmId_server_POST(String serviceName, Long farmId, String address, Boolean backup, String chain, String displayName, Long port, Boolean probe, OvhProxyProtocolVersionEnum proxyProtocolVersion, Boolean ssl, OvhBackendCustomerServerStatusEnum status, Long weight) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server";
StringBuilder sb = path(qPath, serviceName, farmId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "backup", backup);
addBody(o, "chain", chain);
addBody(o, "displayName", displayName);
addBody(o, "port", port);
addBody(o, "probe", probe);
addBody(o, "proxyProtocolVersion", proxyProtocolVersion);
addBody(o, "ssl", ssl);
addBody(o, "status", status);
addBody(o, "weight", weight);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhBackendTCPServer.class);
} | [
"public",
"OvhBackendTCPServer",
"serviceName_tcp_farm_farmId_server_POST",
"(",
"String",
"serviceName",
",",
"Long",
"farmId",
",",
"String",
"address",
",",
"Boolean",
"backup",
",",
"String",
"chain",
",",
"String",
"displayName",
",",
"Long",
"port",
",",
"Bool... | Add a server to a TCP Farm
REST: POST /ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server
@param probe [required] Enable/disable probe. Default: 'false'
@param status [required] Enable or disable your server
@param ssl [required] SSL ciphering. Probes will also be sent ciphered. Default: 'false'
@param proxyProtocolVersion [required] Disabled if null. Send PROXY protocol header. Requires a compatible server.
@param address [required] Address of your server
@param port [required] Port attached to your server ([1..49151]). Inherited from farm if null
@param backup [required] Set server as backup. Default: 'false'
@param displayName [required] Human readable name for your server, this field is for you
@param chain [required] Certificate chain. Allow server certificate verification (Avoid man-in-the-middle attacks)
@param weight [required] Set weight on that server [1..256]. 0 if not used in load balancing. 1 if left null. Servers with higher weight get more requests.
@param serviceName [required] The internal name of your IP load balancing
@param farmId [required] Id of your farm | [
"Add",
"a",
"server",
"to",
"a",
"TCP",
"Farm"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1682-L1698 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_availableRouteRules_GET | public ArrayList<OvhRouteAvailableRule> serviceName_availableRouteRules_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/availableRouteRules";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t11);
} | java | public ArrayList<OvhRouteAvailableRule> serviceName_availableRouteRules_GET(String serviceName) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/availableRouteRules";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t11);
} | [
"public",
"ArrayList",
"<",
"OvhRouteAvailableRule",
">",
"serviceName_availableRouteRules_GET",
"(",
"String",
"serviceName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/availableRouteRules\"",
";",
"StringBuilder",
"sb",
"=",... | Available route match rules
REST: GET /ipLoadbalancing/{serviceName}/availableRouteRules
@param serviceName [required] The internal name of your IP load balancing | [
"Available",
"route",
"match",
"rules"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1762-L1767 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_zone_name_terminate_POST | public void serviceName_zone_name_terminate_POST(String serviceName, String name) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/zone/{name}/terminate";
StringBuilder sb = path(qPath, serviceName, name);
exec(qPath, "POST", sb.toString(), null);
} | java | public void serviceName_zone_name_terminate_POST(String serviceName, String name) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/zone/{name}/terminate";
StringBuilder sb = path(qPath, serviceName, name);
exec(qPath, "POST", sb.toString(), null);
} | [
"public",
"void",
"serviceName_zone_name_terminate_POST",
"(",
"String",
"serviceName",
",",
"String",
"name",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{serviceName}/zone/{name}/terminate\"",
";",
"StringBuilder",
"sb",
"=",
"path",
"... | Terminate your service zone option
REST: POST /ipLoadbalancing/{serviceName}/zone/{name}/terminate
@param serviceName [required] The internal name of your IP load balancing
@param name [required] Name of your zone | [
"Terminate",
"your",
"service",
"zone",
"option"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1790-L1794 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java | ApiOvhIpLoadbalancing.serviceName_ssl_GET | public ArrayList<Long> serviceName_ssl_GET(String serviceName, String fingerprint, String serial, OvhSslTypeEnum type) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/ssl";
StringBuilder sb = path(qPath, serviceName);
query(sb, "fingerprint", fingerprint);
query(sb, "serial", serial);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java | public ArrayList<Long> serviceName_ssl_GET(String serviceName, String fingerprint, String serial, OvhSslTypeEnum type) throws IOException {
String qPath = "/ipLoadbalancing/{serviceName}/ssl";
StringBuilder sb = path(qPath, serviceName);
query(sb, "fingerprint", fingerprint);
query(sb, "serial", serial);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | [
"public",
"ArrayList",
"<",
"Long",
">",
"serviceName_ssl_GET",
"(",
"String",
"serviceName",
",",
"String",
"fingerprint",
",",
"String",
"serial",
",",
"OvhSslTypeEnum",
"type",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/ipLoadbalancing/{servic... | Ssl for this iplb
REST: GET /ipLoadbalancing/{serviceName}/ssl
@param type [required] Filter the value of type property (=)
@param serial [required] Filter the value of serial property (like)
@param fingerprint [required] Filter the value of fingerprint property (like)
@param serviceName [required] The internal name of your IP load balancing | [
"Ssl",
"for",
"this",
"iplb"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-ipLoadbalancing/src/main/java/net/minidev/ovh/api/ApiOvhIpLoadbalancing.java#L1914-L1922 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-status/src/main/java/net/minidev/ovh/api/ApiOvhStatus.java | ApiOvhStatus.task_GET | public ArrayList<OvhTask> task_GET(OvhTaskImpactEnum impact, OvhTaskStatusEnum status, OvhTaskTypeEnum type) throws IOException {
String qPath = "/status/task";
StringBuilder sb = path(qPath);
query(sb, "impact", impact);
query(sb, "status", status);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<OvhTask> task_GET(OvhTaskImpactEnum impact, OvhTaskStatusEnum status, OvhTaskTypeEnum type) throws IOException {
String qPath = "/status/task";
StringBuilder sb = path(qPath);
query(sb, "impact", impact);
query(sb, "status", status);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"OvhTask",
">",
"task_GET",
"(",
"OvhTaskImpactEnum",
"impact",
",",
"OvhTaskStatusEnum",
"status",
",",
"OvhTaskTypeEnum",
"type",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/status/task\"",
";",
"StringBuilder",
"sb",... | Find all the incidents or maintenances linked to your services
REST: GET /status/task
@param impact [required] Filter by impact
@param status [required] Filter by status
@param type [required] Filter by type
API beta | [
"Find",
"all",
"the",
"incidents",
"or",
"maintenances",
"linked",
"to",
"your",
"services"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-status/src/main/java/net/minidev/ovh/api/ApiOvhStatus.java#L33-L41 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-distributionimage/src/main/java/net/minidev/ovh/api/ApiOvhDistributionimage.java | ApiOvhDistributionimage.serviceType_imageName_GET | public OvhImage serviceType_imageName_GET(net.minidev.ovh.api.distribution.image.OvhService serviceType, String imageName) throws IOException {
String qPath = "/distribution/image/{serviceType}/{imageName}";
StringBuilder sb = path(qPath, serviceType, imageName);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhImage.class);
} | java | public OvhImage serviceType_imageName_GET(net.minidev.ovh.api.distribution.image.OvhService serviceType, String imageName) throws IOException {
String qPath = "/distribution/image/{serviceType}/{imageName}";
StringBuilder sb = path(qPath, serviceType, imageName);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhImage.class);
} | [
"public",
"OvhImage",
"serviceType_imageName_GET",
"(",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"distribution",
".",
"image",
".",
"OvhService",
"serviceType",
",",
"String",
"imageName",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"... | Show image details
REST: GET /distribution/image/{serviceType}/{imageName}
@param serviceType [required] service type name
@param imageName [required] image name
API beta | [
"Show",
"image",
"details"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-distributionimage/src/main/java/net/minidev/ovh/api/ApiOvhDistributionimage.java#L29-L34 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-distributionimage/src/main/java/net/minidev/ovh/api/ApiOvhDistributionimage.java | ApiOvhDistributionimage.serviceType_GET | public ArrayList<String> serviceType_GET(net.minidev.ovh.api.distribution.image.OvhService serviceType) throws IOException {
String qPath = "/distribution/image/{serviceType}";
StringBuilder sb = path(qPath, serviceType);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java | public ArrayList<String> serviceType_GET(net.minidev.ovh.api.distribution.image.OvhService serviceType) throws IOException {
String qPath = "/distribution/image/{serviceType}";
StringBuilder sb = path(qPath, serviceType);
String resp = execN(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | [
"public",
"ArrayList",
"<",
"String",
">",
"serviceType_GET",
"(",
"net",
".",
"minidev",
".",
"ovh",
".",
"api",
".",
"distribution",
".",
"image",
".",
"OvhService",
"serviceType",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/distribution/i... | List images for a service
REST: GET /distribution/image/{serviceType}
@param serviceType [required] service type name
API beta | [
"List",
"images",
"for",
"a",
"service"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-distributionimage/src/main/java/net/minidev/ovh/api/ApiOvhDistributionimage.java#L44-L49 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-supplymondialRelay/src/main/java/net/minidev/ovh/api/ApiOvhSupplymondialRelay.java | ApiOvhSupplymondialRelay.POST | public OvhMondialRelayReturn POST(String address, String city, OvhCountryEnum country, String zipcode) throws IOException {
String qPath = "/supply/mondialRelay";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "city", city);
addBody(o, "country", country);
addBody(o, "zipcode", zipcode);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhMondialRelayReturn.class);
} | java | public OvhMondialRelayReturn POST(String address, String city, OvhCountryEnum country, String zipcode) throws IOException {
String qPath = "/supply/mondialRelay";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "address", address);
addBody(o, "city", city);
addBody(o, "country", country);
addBody(o, "zipcode", zipcode);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhMondialRelayReturn.class);
} | [
"public",
"OvhMondialRelayReturn",
"POST",
"(",
"String",
"address",
",",
"String",
"city",
",",
"OvhCountryEnum",
"country",
",",
"String",
"zipcode",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/supply/mondialRelay\"",
";",
"StringBuilder",
"sb",... | Find the 10 nearest MondialRelay points from address or city.
REST: POST /supply/mondialRelay
@param city [required] City
@param address [required] Address
@param country [required] ISO country code
@param zipcode [required] Zip Code | [
"Find",
"the",
"10",
"nearest",
"MondialRelay",
"points",
"from",
"address",
"or",
"city",
"."
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-supplymondialRelay/src/main/java/net/minidev/ovh/api/ApiOvhSupplymondialRelay.java#L29-L39 | train |
UrielCh/ovh-java-sdk | ovh-java-sdk-router/src/main/java/net/minidev/ovh/api/ApiOvhRouter.java | ApiOvhRouter.serviceName_vpn_POST | public OvhVpn serviceName_vpn_POST(String serviceName, String clientIp, String clientPrivNet, String psk, String serverPrivNet) throws IOException {
String qPath = "/router/{serviceName}/vpn";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clientIp", clientIp);
addBody(o, "clientPrivNet", clientPrivNet);
addBody(o, "psk", psk);
addBody(o, "serverPrivNet", serverPrivNet);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVpn.class);
} | java | public OvhVpn serviceName_vpn_POST(String serviceName, String clientIp, String clientPrivNet, String psk, String serverPrivNet) throws IOException {
String qPath = "/router/{serviceName}/vpn";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "clientIp", clientIp);
addBody(o, "clientPrivNet", clientPrivNet);
addBody(o, "psk", psk);
addBody(o, "serverPrivNet", serverPrivNet);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, OvhVpn.class);
} | [
"public",
"OvhVpn",
"serviceName_vpn_POST",
"(",
"String",
"serviceName",
",",
"String",
"clientIp",
",",
"String",
"clientPrivNet",
",",
"String",
"psk",
",",
"String",
"serverPrivNet",
")",
"throws",
"IOException",
"{",
"String",
"qPath",
"=",
"\"/router/{serviceN... | Add a VPN to your router
REST: POST /router/{serviceName}/vpn
@param serverPrivNet [required] Server's private network
@param psk [required] Your PSK key
@param clientIp [required] IP you will be connecting from / NULL (allow all)
@param clientPrivNet [required] Client's private network
@param serviceName [required] The internal name of your Router offer | [
"Add",
"a",
"VPN",
"to",
"your",
"router"
] | 6d531a40e56e09701943e334c25f90f640c55701 | https://github.com/UrielCh/ovh-java-sdk/blob/6d531a40e56e09701943e334c25f90f640c55701/ovh-java-sdk-router/src/main/java/net/minidev/ovh/api/ApiOvhRouter.java#L151-L161 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.