def bulk_apply(self):
    action_details = oci_common_utils.convert_input_data_to_model_class(self.module.params, BulkApplyRecommendationsDetails)
    return oci_wait_utils.call_and_wait(call_fn=self.client.bulk_apply_recommendations, call_fn_args=(), call_fn_kwargs=dict(recommendation_id=self.module.params.get('recommendation_id'), bulk_apply_recommendations_details=action_details), waiter_type=oci_wait_utils.WORK_REQUEST_WAITER_KEY, operation='{0}_{1}'.format(self.module.params.get('action').upper(), oci_common_utils.ACTION_OPERATION_KEY), waiter_client=self.get_waiter_client(), resource_helper=self, wait_for_states=oci_common_utils.get_work_request_completed_states())
def bulk_apply(self):
    action_details = oci_common_utils.convert_input_data_to_model_class(self.module.params, BulkApplyRecommendationsDetails)
    return oci_wait_utils.call_and_wait(call_fn=self.client.bulk_apply_recommendations, call_fn_args=(), call_fn_kwargs=dict(recommendation_id=self.module.params.get('recommendation_id'), bulk_apply_recommendations_details=action_details), waiter_type=oci_wait_utils.WORK_REQUEST_WAITER_KEY, operation='{0}_{1}'.format(self.module.params.get('action').upper(), oci_common_utils.ACTION_OPERATION_KEY), waiter_client=self.get_waiter_client(), resource_helper=self, wait_for_states=oci_common_utils.get_work_request_completed_states())