Expected duration: less than 1 week I need an Apex class which I can execute a method on from the Developer Console.
You will probably need to use and include an existing wrapper class for the Metadata API.
The class method should –
1. Read all the custom fields on the Lead object and add identical fields on a custom object called Request__c. 2. If a field with the same api name already exists on Request__c it should skip and not fail/error 3. Work for all field types 4. Create numeric or currency fields with the same precision/decimal places 5. Create text/long text fields with the same length 6. Should copy the required/not required property 7. Create picklists with the same values 8. Ignore lookup fields 9. Set field access to visible for all custom profiles and System Administrator 10. Include unit tests with appropriate coverage, including any API wrapper classes