metadata apex classes for salesforce API endpoints