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