public OvhTask packName_migration_migrate_POST ( String packName , Boolean acceptContracts , String buildingReference , Long engageMonths , String floor , Long mondialRelayId , String nicShipping , String offerName , OvhOfferOption [ ] options , Boolean otp , String otpReference , String stair , OvhOfferServiceToDelete [ ] subServicesToDelete ) throws IOException { String qPath = "/pack/xdsl/{packName}/migration/migrate" ; StringBuilder sb = path ( qPath , packName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "acceptContracts" , acceptContracts ) ; addBody ( o , "buildingReference" , buildingReference ) ; addBody ( o , "engageMonths" , engageMonths ) ; addBody ( o , "floor" , floor ) ; addBody ( o , "mondialRelayId" , mondialRelayId ) ; addBody ( o , "nicShipping" , nicShipping ) ; addBody ( o , "offerName" , offerName ) ; addBody ( o , "options" , options ) ; addBody ( o , "otp" , otp ) ; addBody ( o , "otpReference" , otpReference ) ; addBody ( o , "stair" , stair ) ; addBody ( o , "subServicesToDelete" , subServicesToDelete ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Migrate to the selected offer