idx int64 0 165k | question stringlengths 73 5.81k | target stringlengths 5 918 |
|---|---|---|
12,500 | 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 convertTo ( resp , t3 ) ; } | Returns actions of specified input |
12,501 | 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 . class ) ; } | Returns details of a subscribed option |
12,502 | 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 ) ; } | Returns details of specified role |
12,503 | 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 , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "name" , name ) ; addBody ( o , "optionId" , optionId ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Update information of specified role |
12,504 | 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 ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Returns details of specified permission |
12,505 | 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 > ( ) ; addBody ( o , "note" , note ) ; addBody ( o , "username" , username ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Append user into the member list of specified role |
12,506 | 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 . toString ( ) , null ) ; return convertTo ( resp , OvhMember . class ) ; } | Returns the member metadata |
12,507 | 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 . OvhService . class ) ; } | Returns the service object of connected identity . |
12,508 | 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 ( o , "isCapped" , isCapped ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Update the service properties |
12,509 | 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 , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "autoSelectOption" , autoSelectOption ) ; addBody ( o , "description" , description ) ; addBody ( o , "optionId" , optionId ) ; addBody ( o , "title" , title ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Register a new graylog dashboard |
12,510 | 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 . toString ( ) , null ) ; return convertTo ( resp , OvhDashboard . class ) ; } | Returns details of specified graylog dashboard |
12,511 | 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 ) ; return convertTo ( resp , OvhStream . class ) ; } | Returns details of specified graylog stream |
12,512 | 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 , String title , Boolean webSocketEnabled ) throws IOException { String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}" ; StringBuilder sb = path ( qPath , serviceName , streamId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "coldStorageCompression" , coldStorageCompression ) ; addBody ( o , "coldStorageEnabled" , coldStorageEnabled ) ; addBody ( o , "coldStorageNotifyEnabled" , coldStorageNotifyEnabled ) ; addBody ( o , "coldStorageRetention" , coldStorageRetention ) ; addBody ( o , "description" , description ) ; addBody ( o , "indexingEnabled" , indexingEnabled ) ; addBody ( o , "optionId" , optionId ) ; addBody ( o , "title" , title ) ; addBody ( o , "webSocketEnabled" , webSocketEnabled ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Update information of specified graylog stream |
12,513 | 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 , Long threshold , OvhStreamAlertConditionThresholdTypeEnum thresholdType , Long time , String title , String value ) throws IOException { String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert" ; StringBuilder sb = path ( qPath , serviceName , streamId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "backlog" , backlog ) ; addBody ( o , "conditionType" , conditionType ) ; addBody ( o , "constraintType" , constraintType ) ; addBody ( o , "field" , field ) ; addBody ( o , "grace" , grace ) ; addBody ( o , "queryFilter" , queryFilter ) ; addBody ( o , "repeatNotificationsEnabled" , repeatNotificationsEnabled ) ; addBody ( o , "threshold" , threshold ) ; addBody ( o , "thresholdType" , thresholdType ) ; addBody ( o , "time" , time ) ; addBody ( o , "title" , title ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Register a new alert on specified graylog stream |
12,514 | 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 , alertId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhStreamAlertCondition . class ) ; } | Returns details of specified graylog stream alert |
12,515 | 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 , archiveId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhArchive . class ) ; } | Returns details of specified archive |
12,516 | 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 , streamId , archiveId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhArchiveUrl . class ) ; } | Get a public temporary URL to access the archive |
12,517 | 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 ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | Returns details of specified graylog stream rule |
12,518 | 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 = path ( qPath , serviceName , streamId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "field" , field ) ; addBody ( o , "isInverted" , isInverted ) ; addBody ( o , "operator" , operator ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Register a new rule on specified graylog stream |
12,519 | 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 > o = new HashMap < String , Object > ( ) ; addBody ( o , "indexId" , indexId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Attach a elasticsearch index to specified elasticsearch alias |
12,520 | 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 ) ; return convertTo ( resp , OvhAlias . class ) ; } | Returns specified elasticsearch alias |
12,521 | 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 , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "optionId" , optionId ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Update specified elasticsearch alias |
12,522 | 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 ) ; return convertTo ( resp , OvhIndex . class ) ; } | Returns specified elasticsearch index |
12,523 | 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 ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "alertNotifyEnabled" , alertNotifyEnabled ) ; addBody ( o , "description" , description ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; } | Update specified elasticsearch index |
12,524 | 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 ) ; query ( sb , "hpcspotItemEndDate.from" , hpcspotItemEndDate_from ) ; query ( sb , "hpcspotItemEndDate.to" , hpcspotItemEndDate_to ) ; query ( sb , "hpcspotItemId" , hpcspotItemId ) ; query ( sb , "orderId" , orderId ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Details of the consumption of your account |
12,525 | 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 ) ; } | Write a data set to the log . |
12,526 | 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 . toString ( ) ) ) ; flush ( rootNode ) ; } | Report a database exception onto the log . |
12,527 | void writeSQL ( CallInfo callInfo , String sql ) { Element rootNode = root ( callInfo ) ; writeSQL ( rootNode , sql ) ; flush ( rootNode ) ; } | Log SQL code . |
12,528 | void writeCallInfo ( CallInfo callInfo ) { Element rootNode = root ( callInfo ) ; createNode ( rootNode , callInfo . getAPIMethodInfo ( ) . getMethodName ( ) ) ; flush ( rootNode ) ; } | Log plain call information . |
12,529 | 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 ) ; } | Get the price of xdsl offers |
12,530 | 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 . class ) ; } | Get the price of address move option fee |
12,531 | 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 . class ) ; } | Get the price of IPv4 options |
12,532 | 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 , OvhPrice . class ) ; } | Get the price of line action |
12,533 | 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 , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get price of anti - DDos Pro option |
12,534 | 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 ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get price of available firewall models |
12,535 | 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 , OvhPrice . class ) ; } | Get price of IPs |
12,536 | 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 ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get price of backup storage offer |
12,537 | 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 ( resp , OvhPrice . class ) ; } | Get the price of Nas HA offers |
12,538 | 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 . class ) ; } | Get the price of overTheBox offers |
12,539 | 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 convertTo ( resp , OvhPrice . class ) ; } | Get the price of a JOB consumption for 1 hour |
12,540 | 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 , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get the price of a HPC Spot Account for 1 month |
12,541 | 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 ) ; } | Get the price for cdn option |
12,542 | 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 ) ; } | Get the price for hosted ssl option |
12,543 | 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 , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get the price for extra sql perso option |
12,544 | 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 , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get the price for a private database |
12,545 | 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 , OvhPrice . class ) ; } | Get price of zone options |
12,546 | 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}" ; StringBuilder sb = path ( qPath , filerProfile ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get price of dedicated Cloud hourly filer ressources |
12,547 | 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 = path ( qPath , hostProfile ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhPrice . class ) ; } | Get price of dedicated Cloud monthly host ressources |
12,548 | 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 convertTo ( resp , OvhPrice . class ) ; } | Get price of VPS Cloud 2014 |
12,549 | 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 ( resp , OvhPrice . class ) ; } | Get the monthly price for an Office 365 license |
12,550 | 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 . class ) ; } | Get the monthly price for an office license |
12,551 | 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 , "POST" , sb . toString ( ) , o ) ; } | Subscribe an email to a restricted mailing list |
12,552 | 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 , "email" , email ) ; addBody ( o , "group" , group ) ; addBody ( o , "login" , login ) ; addBody ( o , "password" , password ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Create a new user |
12,553 | 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 , "email" , email ) ; addBody ( o , "group" , group ) ; exec ( qPath , "PUT" , sb . toString ( ) , o ) ; } | Alter a user |
12,554 | 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" , role ) ; exec ( qPath , "PUT" , sb . toString ( ) , o ) ; } | Alter a group |
12,555 | 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 ) ; } | Enable or disable invoices by postal mail |
12,556 | 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 ) ; } | List available payment methods in this Nic s country |
12,557 | 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 ) ; } | Remove this application . It will revoke all credential belonging to this application . |
12,558 | 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 ) ; } | Remove this credential |
12,559 | 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 ) ; return convertTo ( resp , t2 ) ; } | List of your Api Credentials |
12,560 | 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 ) ; } | Activate auto renew for this nic |
12,561 | 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 , Object > ( ) ; addBody ( o , "bic" , bic ) ; addBody ( o , "description" , description ) ; addBody ( o , "iban" , iban ) ; addBody ( o , "ownerAddress" , ownerAddress ) ; addBody ( o , "ownerName" , ownerName ) ; addBody ( o , "setDefault" , setDefault ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhPaymentMeanValidation . class ) ; } | Enable payment through a new account |
12,562 | 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 ) ; addBody ( o , "returnUrl" , returnUrl ) ; addBody ( o , "setDefault" , setDefault ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhPaymentMeanValidation . class ) ; } | Add a new credit card |
12,563 | 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 ( resp , OvhMovement . class ) ; } | Validate a code to generate associated credit movement |
12,564 | 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 ) ; return convertTo ( resp , OvhMovement . class ) ; } | Retrieve a specific movement for a credit balance |
12,565 | 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 ) ; } | Retrieve a credit balance |
12,566 | 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 ) ; } | Retrieve credit balance names |
12,567 | 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" , script ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhIpxe . class ) ; } | Add an IPXE script |
12,568 | 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 ( resp , t2 ) ; } | Retrieve payment method ID list |
12,569 | 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 < String , Object > ( ) ; addBody ( o , "billingContactId" , billingContactId ) ; addBody ( o , "callbackUrl" , callbackUrl ) ; addBody ( o , "default" , _default ) ; addBody ( o , "description" , description ) ; addBody ( o , "orderId" , orderId ) ; addBody ( o , "paymentType" , paymentType ) ; addBody ( o , "register" , register ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhValidationResult . class ) ; } | Pay an order and register a new payment method if necessary |
12,570 | 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 ) ; } | Get one payment method |
12,571 | 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 , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "billingContactId" , billingContactId ) ; addBody ( o , "default" , _default ) ; addBody ( o , "description" , description ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , net . minidev . ovh . api . billing . OvhPaymentMethod . class ) ; } | Edit payment method |
12,572 | 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 = new HashMap < String , Object > ( ) ; addBody ( o , "expirationMonth" , expirationMonth ) ; addBody ( o , "expirationYear" , expirationYear ) ; addBody ( o , "registrationId" , registrationId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhPaymentMethod . class ) ; } | Finalize one payment method registration |
12,573 | 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 ) ; } | Get associated payment method transaction |
12,574 | 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 ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Retrieve associated payment method transaction ID list |
12,575 | 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 ) ; } | Get services impacted by this SLA |
12,576 | 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 ) ; } | Add a new public SSH key |
12,577 | 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 ) ; } | Remove this public SSH key |
12,578 | 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 , Long . class ) ; } | Create a new sub - account |
12,579 | 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 ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List of all the refunds the logged account has |
12,580 | 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 ( resp , t2 ) ; } | List of contracts signed between you and OVH |
12,581 | 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 ) ; return convertTo ( resp , OvhVoucherStatus . class ) ; } | Verify existing voucher |
12,582 | 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 ) ; } | Retrieve information about a consent campaign |
12,583 | 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 ) ; } | Get decision value for a consent campaign |
12,584 | 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 . toString ( ) , o ) ; } | Update decision of a consent campaign |
12,585 | 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 convertTo ( resp , OvhMailDomain2Service . class ) ; } | Create a custom domain for your fax services |
12,586 | 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 , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhDefaultIpRestriction . class ) ; } | Create a default IP restriction for your future VoIP lines |
12,587 | 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 ) ; } | Get the telephony settings linked to the customer account |
12,588 | 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 ) ; } | Change the telephony settings linked to the customer account |
12,589 | 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 , "POST" , sb . toString ( ) , o ) ; } | Pay with a payment method reference |
12,590 | 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 ) ; } | Return status of order |
12,591 | 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 , Object > ( ) ; addBody ( o , "paymentMean" , paymentMean ) ; addBody ( o , "paymentMeanId" , paymentMeanId ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Pay with an already registered payment mean |
12,592 | 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 ) ; } | List of registered payment method you can use to pay this order |
12,593 | 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 ( resp , t6 ) ; } | List of registered payment mean you can use to pay this order |
12,594 | 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 ) ; addBody ( o , "reason" , reason ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Request retraction of order |
12,595 | 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 ) ; } | List of all the orders the logged account has |
12,596 | 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 = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t7 ) ; } | Get list of transactions between two dates |
12,597 | 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 ) ; } | Get forecasted consumptions for all services |
12,598 | 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 ) ; } | Get xdsl settings linked to the nichandle |
12,599 | 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 ) ; addBody ( o , "resellerModemBasicConfig" , resellerModemBasicConfig ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Change xdsl settings linked to the nichandle |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.