code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
public ArrayList<OvhInputAction> serviceName_input_inputId_action_GET(String serviceName, String inputId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/input/{inputId}/action";
StringBuilder sb = path(qPath, serviceName, inputId);
String resp = exec(qPath, "GET", sb.toString(), null);
return co... | java |
public OvhOption serviceName_option_optionId_GET(String serviceName, String optionId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/option/{optionId}";
StringBuilder sb = path(qPath, serviceName, optionId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOption.... | java |
public OvhRole serviceName_role_roleId_GET(String serviceName, String roleId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/role/{roleId}";
StringBuilder sb = path(qPath, serviceName, roleId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhRole.class);
} | java |
public OvhOperation serviceName_role_roleId_PUT(String serviceName, String roleId, String description, String name, String optionId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/role/{roleId}";
StringBuilder sb = path(qPath, serviceName, roleId);
HashMap<String, Object>o = new HashMap<String, Ob... | java |
public ArrayList<OvhPermission> serviceName_role_roleId_permission_permissionId_GET(String serviceName, String roleId, String permissionId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/role/{roleId}/permission/{permissionId}";
StringBuilder sb = path(qPath, serviceName, roleId, permissionId);
St... | java |
public OvhOperation serviceName_role_roleId_member_POST(String serviceName, String roleId, String note, String username) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/role/{roleId}/member";
StringBuilder sb = path(qPath, serviceName, roleId);
HashMap<String, Object>o = new HashMap<String, Object>... | java |
public OvhMember serviceName_role_roleId_member_username_GET(String serviceName, String roleId, String username) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/role/{roleId}/member/{username}";
StringBuilder sb = path(qPath, serviceName, roleId, username);
String resp = exec(qPath, "GET", sb.toStr... | java |
public net.minidev.ovh.api.dbaas.logs.OvhService serviceName_GET(String serviceName) throws IOException {
String qPath = "/dbaas/logs/{serviceName}";
StringBuilder sb = path(qPath, serviceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, net.minidev.ovh.api.dbaas.logs.OvhServi... | java |
public OvhOperation serviceName_PUT(String serviceName, String displayName, Boolean isCapped) throws IOException {
String qPath = "/dbaas/logs/{serviceName}";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "displayName", displayName);
addBody(... | java |
public OvhOperation serviceName_output_graylog_dashboard_POST(String serviceName, Boolean autoSelectOption, String description, String optionId, String title) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/dashboard";
StringBuilder sb = path(qPath, serviceName);
HashMap<String, Obje... | java |
public OvhDashboard serviceName_output_graylog_dashboard_dashboardId_GET(String serviceName, String dashboardId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/dashboard/{dashboardId}";
StringBuilder sb = path(qPath, serviceName, dashboardId);
String resp = exec(qPath, "GET", sb.toS... | java |
public OvhStream serviceName_output_graylog_stream_streamId_GET(String serviceName, String streamId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}";
StringBuilder sb = path(qPath, serviceName, streamId);
String resp = exec(qPath, "GET", sb.toString(), null);
ret... | java |
public OvhOperation serviceName_output_graylog_stream_streamId_PUT(String serviceName, String streamId, OvhStreamColdStorageCompressionEnum coldStorageCompression, Boolean coldStorageEnabled, Boolean coldStorageNotifyEnabled, Long coldStorageRetention, String description, Boolean indexingEnabled, String optionId, Strin... | java |
public OvhOperation serviceName_output_graylog_stream_streamId_alert_POST(String serviceName, String streamId, Long backlog, OvhStreamAlertConditionConditionTypeEnum conditionType, OvhStreamAlertConditionConstraintTypeEnum constraintType, String field, Long grace, String queryFilter, Boolean repeatNotificationsEnabled,... | java |
public OvhStreamAlertCondition serviceName_output_graylog_stream_streamId_alert_alertId_GET(String serviceName, String streamId, String alertId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert/{alertId}";
StringBuilder sb = path(qPath, serviceName, streamId, ale... | java |
public OvhArchive serviceName_output_graylog_stream_streamId_archive_archiveId_GET(String serviceName, String streamId, String archiveId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/archive/{archiveId}";
StringBuilder sb = path(qPath, serviceName, streamId, archiv... | java |
public OvhArchiveUrl serviceName_output_graylog_stream_streamId_archive_archiveId_url_POST(String serviceName, String streamId, String archiveId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/archive/{archiveId}/url";
StringBuilder sb = path(qPath, serviceName, stre... | java |
public ArrayList<OvhStreamRule> serviceName_output_graylog_stream_streamId_rule_ruleId_GET(String serviceName, String streamId, String ruleId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule/{ruleId}";
StringBuilder sb = path(qPath, serviceName, streamId, ruleId)... | java |
public OvhOperation serviceName_output_graylog_stream_streamId_rule_POST(String serviceName, String streamId, String field, Boolean isInverted, OvhStreamRuleOperatorEnum operator, String value) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule";
StringBuilder sb = ... | java |
public OvhOperation serviceName_output_elasticsearch_alias_aliasId_index_POST(String serviceName, String aliasId, String indexId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/elasticsearch/alias/{aliasId}/index";
StringBuilder sb = path(qPath, serviceName, aliasId);
HashMap<String, Object... | java |
public OvhAlias serviceName_output_elasticsearch_alias_aliasId_GET(String serviceName, String aliasId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/elasticsearch/alias/{aliasId}";
StringBuilder sb = path(qPath, serviceName, aliasId);
String resp = exec(qPath, "GET", sb.toString(), null);
... | java |
public OvhOperation serviceName_output_elasticsearch_alias_aliasId_PUT(String serviceName, String aliasId, String description, String optionId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/elasticsearch/alias/{aliasId}";
StringBuilder sb = path(qPath, serviceName, aliasId);
HashMap<String... | java |
public OvhIndex serviceName_output_elasticsearch_index_indexId_GET(String serviceName, String indexId) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/elasticsearch/index/{indexId}";
StringBuilder sb = path(qPath, serviceName, indexId);
String resp = exec(qPath, "GET", sb.toString(), null);
... | java |
public OvhOperation serviceName_output_elasticsearch_index_indexId_PUT(String serviceName, String indexId, Boolean alertNotifyEnabled, String description) throws IOException {
String qPath = "/dbaas/logs/{serviceName}/output/elasticsearch/index/{indexId}";
StringBuilder sb = path(qPath, serviceName, indexId);
Has... | java |
public ArrayList<Long> serviceName_consumption_GET(String serviceName, Date hpcspotItemEndDate_from, Date hpcspotItemEndDate_to, Long hpcspotItemId, Long orderId, OvhConsumptionTypeEnum type) throws IOException {
String qPath = "/hpcspot/{serviceName}/consumption";
StringBuilder sb = path(qPath, serviceName);
que... | java |
void write(CallInfo callInfo, DataSet data) {
Element rootNode = root(callInfo);
write(rootNode, data.getSource());
Element dsNode = createNode(rootNode, DATA_SET_TAG);
write(dsNode, ROWS_TAG, data.getSource().getMetaData().columns(), data.getRows().iterator());
flush(rootNode);
} | java |
void write(CallInfo callInfo, SQLException e) {
Element rootNode = root(callInfo);
Element exNode = createNode(rootNode, DATABASE_EXCEPTION_TAG);
StringWriter sw = new StringWriter();
sw.append('\n');
e.printStackTrace(new PrintWriter(sw));
exNode.appendChild(xmlDoc.createCDATASection(sw.toStrin... | java |
void writeSQL(CallInfo callInfo, String sql) {
Element rootNode = root(callInfo);
writeSQL(rootNode, sql);
flush(rootNode);
} | java |
void writeCallInfo(CallInfo callInfo) {
Element rootNode = root(callInfo);
createNode(rootNode, callInfo.getAPIMethodInfo().getMethodName());
flush(rootNode);
} | java |
public OvhPrice xdsl_offers_offersName_GET(net.minidev.ovh.api.price.xdsl.OvhOffersEnum offersName) throws IOException {
String qPath = "/price/xdsl/offers/{offersName}";
StringBuilder sb = path(qPath, offersName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.class);
} | java |
public OvhPrice xdsl_addressMove_fee_option_GET(net.minidev.ovh.api.price.xdsl.addressmove.OvhFeeEnum option) throws IOException {
String qPath = "/price/xdsl/addressMove/fee/{option}";
StringBuilder sb = path(qPath, option);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice... | java |
public OvhPrice xdsl_options_ipv4_ipRange_GET(net.minidev.ovh.api.price.xdsl.options.OvhIpv4Enum ipRange) throws IOException {
String qPath = "/price/xdsl/options/ipv4/{ipRange}";
StringBuilder sb = path(qPath, ipRange);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.clas... | java |
public OvhPrice xdsl_options_line_lineAction_GET(net.minidev.ovh.api.price.xdsl.options.OvhLineEnum lineAction) throws IOException {
String qPath = "/price/xdsl/options/line/{lineAction}";
StringBuilder sb = path(qPath, lineAction);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, O... | java |
public OvhPrice dedicated_server_antiDDoSPro_commercialRange_GET(net.minidev.ovh.api.price.dedicated.server.OvhAntiDDoSProEnum commercialRange) throws IOException {
String qPath = "/price/dedicated/server/antiDDoSPro/{commercialRange}";
StringBuilder sb = path(qPath, commercialRange);
String resp = exec(qPath, "G... | java |
public OvhPrice dedicated_server_firewall_firewallModel_GET(net.minidev.ovh.api.price.dedicated.server.OvhFirewallEnum firewallModel) throws IOException {
String qPath = "/price/dedicated/server/firewall/{firewallModel}";
StringBuilder sb = path(qPath, firewallModel);
String resp = exec(qPath, "GET", sb.toString(... | java |
public OvhPrice dedicated_server_ip_routedTo_GET(net.minidev.ovh.api.price.dedicated.server.OvhIpEnum routedTo) throws IOException {
String qPath = "/price/dedicated/server/ip/{routedTo}";
StringBuilder sb = path(qPath, routedTo);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, Ovh... | java |
public OvhPrice dedicated_server_backupStorage_capacity_GET(net.minidev.ovh.api.price.dedicated.server.OvhBackupStorageEnum capacity) throws IOException {
String qPath = "/price/dedicated/server/backupStorage/{capacity}";
StringBuilder sb = path(qPath, capacity);
String resp = exec(qPath, "GET", sb.toString(), nu... | java |
public OvhPrice dedicated_nasha_model_modelName_GET(net.minidev.ovh.api.price.dedicated.nasha.OvhModelEnum modelName) throws IOException {
String qPath = "/price/dedicated/nasha/model/{modelName}";
StringBuilder sb = path(qPath, modelName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo... | java |
public OvhPrice overTheBox_offer_offerName_GET(net.minidev.ovh.api.price.overthebox.OvhOfferEnum offerName) throws IOException {
String qPath = "/price/overTheBox/offer/{offerName}";
StringBuilder sb = path(qPath, offerName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice... | java |
public OvhPrice hpcspot_consumption_job_reference_GET(net.minidev.ovh.api.price.hpcspot.consumption.OvhJobEnum reference) throws IOException {
String qPath = "/price/hpcspot/consumption/job/{reference}";
StringBuilder sb = path(qPath, reference);
String resp = exec(qPath, "GET", sb.toString(), null);
return con... | java |
public OvhPrice hpcspot_account_subscription_subscriptionName_GET(net.minidev.ovh.api.price.hpcspot.account.OvhSubscriptionEnum subscriptionName) throws IOException {
String qPath = "/price/hpcspot/account/subscription/{subscriptionName}";
StringBuilder sb = path(qPath, subscriptionName);
String resp = exec(qPath... | java |
public OvhPrice hosting_web_cdn_cdnName_GET(net.minidev.ovh.api.price.hosting.web.OvhCdnEnum cdnName) throws IOException {
String qPath = "/price/hosting/web/cdn/{cdnName}";
StringBuilder sb = path(qPath, cdnName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.class);
} | java |
public OvhPrice hosting_web_ssl_sslName_GET(net.minidev.ovh.api.price.hosting.web.OvhSslEnum sslName) throws IOException {
String qPath = "/price/hosting/web/ssl/{sslName}";
StringBuilder sb = path(qPath, sslName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.class);
} | java |
public OvhPrice hosting_web_extraSqlPerso_extraSqlPersoName_GET(net.minidev.ovh.api.price.hosting.web.OvhExtraSqlPersoEnum extraSqlPersoName) throws IOException {
String qPath = "/price/hosting/web/extraSqlPerso/{extraSqlPersoName}";
StringBuilder sb = path(qPath, extraSqlPersoName);
String resp = exec(qPath, "GE... | java |
public OvhPrice hosting_privateDatabase_privateDatabaseName_GET(net.minidev.ovh.api.price.hosting.OvhPrivateDatabaseEnum privateDatabaseName) throws IOException {
String qPath = "/price/hosting/privateDatabase/{privateDatabaseName}";
StringBuilder sb = path(qPath, privateDatabaseName);
String resp = exec(qPath, "... | java |
public OvhPrice domain_zone_option_optionName_GET(net.minidev.ovh.api.price.domain.zone.OvhOptionEnum optionName) throws IOException {
String qPath = "/price/domain/zone/option/{optionName}";
StringBuilder sb = path(qPath, optionName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp... | java |
public OvhPrice dedicatedCloud_2018v2_rbx2a_infrastructure_filer_hourly_filerProfile_GET(net.minidev.ovh.api.price.dedicatedcloud._2018v2.rbx2a.infrastructure.filer.OvhHourlyEnum filerProfile) throws IOException {
String qPath = "/price/dedicatedCloud/2018v2/rbx2a/infrastructure/filer/hourly/{filerProfile}";
String... | java |
public OvhPrice dedicatedCloud_2016v7_sbg1a_enterprise_host_monthly_hostProfile_GET(net.minidev.ovh.api.price.dedicatedcloud._2016v7.sbg1a.enterprise.host.OvhMonthlyEnum hostProfile) throws IOException {
String qPath = "/price/dedicatedCloud/2016v7/sbg1a/enterprise/host/monthly/{hostProfile}";
StringBuilder sb = pa... | java |
public OvhPrice vps_2014v1_cloud_model_modelName_GET(net.minidev.ovh.api.price.vps._2014v1.cloud.OvhModelEnum modelName) throws IOException {
String qPath = "/price/vps/2014v1/cloud/model/{modelName}";
StringBuilder sb = path(qPath, modelName);
String resp = exec(qPath, "GET", sb.toString(), null);
return conve... | java |
public OvhPrice saas_csp2_license_licenseName_GET(net.minidev.ovh.api.price.saas.csp2.OvhLicenseEnum licenseName) throws IOException {
String qPath = "/price/saas/csp2/license/{licenseName}";
StringBuilder sb = path(qPath, licenseName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(res... | java |
public OvhPrice license_office_officeName_GET(net.minidev.ovh.api.price.license.OvhOfficeEnum officeName) throws IOException {
String qPath = "/price/license/office/{officeName}";
StringBuilder sb = path(qPath, officeName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPrice.c... | java |
public void mailingList_subscribe_POST(String email, String mailingList) throws IOException {
String qPath = "/me/mailingList/subscribe";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "email", email);
addBody(o, "mailingList", mailingList);
exec(qPath, ... | java |
public void identity_user_POST(String description, String email, String group, String login, String password) throws IOException {
String qPath = "/me/identity/user";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "e... | java |
public void identity_user_user_PUT(String user, String description, String email, String group) throws IOException {
String qPath = "/me/identity/user/{user}";
StringBuilder sb = path(qPath, user);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "em... | java |
public void identity_group_group_PUT(String group, String description, OvhRoleEnum role) throws IOException {
String qPath = "/me/identity/group/{group}";
StringBuilder sb = path(qPath, group);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "role",... | java |
public void billing_invoicesByPostalMail_POST(Boolean enable) throws IOException {
String qPath = "/me/billing/invoicesByPostalMail";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "enable", enable);
exec(qPath, "POST", sb.toString(), o);
} | java |
public OvhAutomaticPaymentMean availableAutomaticPaymentMeans_GET() throws IOException {
String qPath = "/me/availableAutomaticPaymentMeans";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhAutomaticPaymentMean.class);
} | java |
public void api_application_applicationId_DELETE(Long applicationId) throws IOException {
String qPath = "/me/api/application/{applicationId}";
StringBuilder sb = path(qPath, applicationId);
exec(qPath, "DELETE", sb.toString(), null);
} | java |
public void api_credential_credentialId_DELETE(Long credentialId) throws IOException {
String qPath = "/me/api/credential/{credentialId}";
StringBuilder sb = path(qPath, credentialId);
exec(qPath, "DELETE", sb.toString(), null);
} | java |
public ArrayList<Long> api_credential_GET(Long applicationId, OvhCredentialStateEnum status) throws IOException {
String qPath = "/me/api/credential";
StringBuilder sb = path(qPath);
query(sb, "applicationId", applicationId);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
... | java |
public void autorenew_POST(Long renewDay) throws IOException {
String qPath = "/me/autorenew";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "renewDay", renewDay);
exec(qPath, "POST", sb.toString(), o);
} | java |
public OvhPaymentMeanValidation paymentMean_bankAccount_POST(String bic, String description, String iban, String ownerAddress, String ownerName, Boolean setDefault) throws IOException {
String qPath = "/me/paymentMean/bankAccount";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Obj... | java |
public OvhPaymentMeanValidation paymentMean_creditCard_POST(String description, String returnUrl, Boolean setDefault) throws IOException {
String qPath = "/me/paymentMean/creditCard";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description)... | java |
public OvhMovement credit_code_POST(String inputCode) throws IOException {
String qPath = "/me/credit/code";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "inputCode", inputCode);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(res... | java |
public OvhMovement credit_balance_balanceName_movement_movementId_GET(String balanceName, Long movementId) throws IOException {
String qPath = "/me/credit/balance/{balanceName}/movement/{movementId}";
StringBuilder sb = path(qPath, balanceName, movementId);
String resp = exec(qPath, "GET", sb.toString(), null);
... | java |
public OvhBalance credit_balance_balanceName_GET(String balanceName) throws IOException {
String qPath = "/me/credit/balance/{balanceName}";
StringBuilder sb = path(qPath, balanceName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhBalance.class);
} | java |
public ArrayList<String> credit_balance_GET(OvhType type) throws IOException {
String qPath = "/me/credit/balance";
StringBuilder sb = path(qPath);
query(sb, "type", type);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t1);
} | java |
public OvhIpxe ipxeScript_POST(String description, String name, String script) throws IOException {
String qPath = "/me/ipxeScript";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
addBody(o, "name", name);
addBody(o, "script"... | java |
public ArrayList<Long> payment_thod_GET(String paymentType, OvhStatus status) throws IOException {
String qPath = "/me/payment/method";
StringBuilder sb = path(qPath);
query(sb, "paymentType", paymentType);
query(sb, "status", status);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(... | java |
public OvhValidationResult payment_thod_POST(Long billingContactId, OvhCallbackUrl callbackUrl, Boolean _default, String description, Long orderId, String paymentType, Boolean register) throws IOException {
String qPath = "/me/payment/method";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap... | java |
public OvhPaymentMethod payment_thod_paymentMethodId_GET(Long paymentMethodId) throws IOException {
String qPath = "/me/payment/method/{paymentMethodId}";
StringBuilder sb = path(qPath, paymentMethodId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPaymentMethod.class);
} | java |
public net.minidev.ovh.api.billing.OvhPaymentMethod payment_thod_paymentMethodId_PUT(Long paymentMethodId, Long billingContactId, Boolean _default, String description) throws IOException {
String qPath = "/me/payment/method/{paymentMethodId}";
StringBuilder sb = path(qPath, paymentMethodId);
HashMap<String, Objec... | java |
public OvhPaymentMethod payment_thod_paymentMethodId_finalize_POST(Long paymentMethodId, Long expirationMonth, Long expirationYear, String registrationId) throws IOException {
String qPath = "/me/payment/method/{paymentMethodId}/finalize";
StringBuilder sb = path(qPath, paymentMethodId);
HashMap<String, Object>o ... | java |
public OvhTransaction payment_transaction_transactionId_GET(Long transactionId) throws IOException {
String qPath = "/me/payment/transaction/{transactionId}";
StringBuilder sb = path(qPath, transactionId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhTransaction.class);
} | java |
public ArrayList<Long> payment_transaction_GET(Long paymentMethodId, net.minidev.ovh.api.me.payment.method.transaction.OvhStatus status) throws IOException {
String qPath = "/me/payment/transaction";
StringBuilder sb = path(qPath);
query(sb, "paymentMethodId", paymentMethodId);
query(sb, "status", status);
St... | java |
public ArrayList<OvhSlaOperationService> sla_id_services_GET(Long id) throws IOException {
String qPath = "/me/sla/{id}/services";
StringBuilder sb = path(qPath, id);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t4);
} | java |
public void sshKey_POST(String key, String keyName) throws IOException {
String qPath = "/me/sshKey";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "key", key);
addBody(o, "keyName", keyName);
exec(qPath, "POST", sb.toString(), o);
} | java |
public void sshKey_keyName_DELETE(String keyName) throws IOException {
String qPath = "/me/sshKey/{keyName}";
StringBuilder sb = path(qPath, keyName);
exec(qPath, "DELETE", sb.toString(), null);
} | java |
public Long subAccount_POST(String description) throws IOException {
String qPath = "/me/subAccount";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "description", description);
String resp = exec(qPath, "POST", sb.toString(), o);
return convertTo(resp, ... | java |
public ArrayList<String> refund_GET(Date date_from, Date date_to, Long orderId) throws IOException {
String qPath = "/me/refund";
StringBuilder sb = path(qPath);
query(sb, "date.from", date_from);
query(sb, "date.to", date_to);
query(sb, "orderId", orderId);
String resp = exec(qPath, "GET", sb.toString(), n... | java |
public ArrayList<Long> agreements_GET(OvhAgreementStateEnum agreed, Long contractId) throws IOException {
String qPath = "/me/agreements";
StringBuilder sb = path(qPath);
query(sb, "agreed", agreed);
query(sb, "contractId", contractId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo... | java |
public OvhVoucherStatus voucher_checkValidity_POST(String voucher) throws IOException {
String qPath = "/me/voucher/checkValidity";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "voucher", voucher);
String resp = exec(qPath, "POST", sb.toString(), o);
r... | java |
public OvhCampaign consent_campaignName_GET(String campaignName) throws IOException {
String qPath = "/me/consent/{campaignName}";
StringBuilder sb = path(qPath, campaignName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhCampaign.class);
} | java |
public OvhConsent consent_campaignName_decision_GET(String campaignName) throws IOException {
String qPath = "/me/consent/{campaignName}/decision";
StringBuilder sb = path(qPath, campaignName);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhConsent.class);
} | java |
public void consent_campaignName_decision_PUT(String campaignName, Boolean value) throws IOException {
String qPath = "/me/consent/{campaignName}/decision";
StringBuilder sb = path(qPath, campaignName);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "value", value);
exec(qPath, "PUT", sb... | java |
public OvhMailDomain2Service fax_customDomains_POST(String domain) throws IOException {
String qPath = "/me/fax/customDomains";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "domain", domain);
String resp = exec(qPath, "POST", sb.toString(), o);
return ... | java |
public OvhDefaultIpRestriction telephony_defaultIpRestriction_POST(String subnet, OvhProtocolEnum type) throws IOException {
String qPath = "/me/telephony/defaultIpRestriction";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "subnet", subnet);
addBody(o, "... | java |
public OvhSettings telephony_settings_GET() throws IOException {
String qPath = "/me/telephony/settings";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhSettings.class);
} | java |
public void telephony_settings_POST(OvhSettings settings) throws IOException {
String qPath = "/me/telephony/settings";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "settings", settings);
exec(qPath, "POST", sb.toString(), o);
} | java |
public void order_orderId_pay_POST(Long orderId, OvhPayWithPaymentMethod paymentMethod) throws IOException {
String qPath = "/me/order/{orderId}/pay";
StringBuilder sb = path(qPath, orderId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "paymentMethod", paymentMethod);
exec(qPath, "POS... | java |
public OvhOrderStatusEnum order_orderId_status_GET(Long orderId) throws IOException {
String qPath = "/me/order/{orderId}/status";
StringBuilder sb = path(qPath, orderId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhOrderStatusEnum.class);
} | java |
public void order_orderId_payWithRegisteredPaymentMean_POST(Long orderId, OvhReusablePaymentMeanEnum paymentMean, Long paymentMeanId) throws IOException {
String qPath = "/me/order/{orderId}/payWithRegisteredPaymentMean";
StringBuilder sb = path(qPath, orderId);
HashMap<String, Object>o = new HashMap<String, Obje... | java |
public OvhPaymentMethods order_orderId_paymentMethods_GET(Long orderId) throws IOException {
String qPath = "/me/order/{orderId}/paymentMethods";
StringBuilder sb = path(qPath, orderId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhPaymentMethods.class);
} | java |
public ArrayList<OvhRegisteredPaymentMean> order_orderId_availableRegisteredPaymentMean_GET(Long orderId) throws IOException {
String qPath = "/me/order/{orderId}/availableRegisteredPaymentMean";
StringBuilder sb = path(qPath, orderId);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(res... | java |
public void order_orderId_retraction_POST(Long orderId, String comment, OvhRetractionReasonEnum reason) throws IOException {
String qPath = "/me/order/{orderId}/retraction";
StringBuilder sb = path(qPath, orderId);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "comment", comment);
addBo... | java |
public ArrayList<Long> order_GET(Date date_from, Date date_to) throws IOException {
String qPath = "/me/order";
StringBuilder sb = path(qPath);
query(sb, "date.from", date_from);
query(sb, "date.to", date_to);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t2);
} | java |
public ArrayList<net.minidev.ovh.api.me.consumption.OvhTransaction> consumption_usage_history_GET(Date beginDate, Date endDate) throws IOException {
String qPath = "/me/consumption/usage/history";
StringBuilder sb = path(qPath);
query(sb, "beginDate", beginDate);
query(sb, "endDate", endDate);
String resp = e... | java |
public ArrayList<net.minidev.ovh.api.me.consumption.OvhTransaction> consumption_usage_forecast_GET() throws IOException {
String qPath = "/me/consumption/usage/forecast";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, t7);
} | java |
public OvhSetting xdsl_setting_GET() throws IOException {
String qPath = "/me/xdsl/setting";
StringBuilder sb = path(qPath);
String resp = exec(qPath, "GET", sb.toString(), null);
return convertTo(resp, OvhSetting.class);
} | java |
public void xdsl_setting_POST(Boolean resellerFastModemShipping, Boolean resellerModemBasicConfig) throws IOException {
String qPath = "/me/xdsl/setting";
StringBuilder sb = path(qPath);
HashMap<String, Object>o = new HashMap<String, Object>();
addBody(o, "resellerFastModemShipping", resellerFastModemShipping);... | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.