Code source API SMS ASP

Fichier de configuration

package octopushSms;
 
public class ConfigFile {
 
private static String _user_login = « **********@******.*** »;
private static String _api_key = « **************************** »;
private static String _sms_text = « test text »;
private static ArrayList _sms_recipients = new ArrayList(Arrays.asList(« +33600000000 »));
private static Integer _sms_mode = INSTANTANE;
private static String _sms_type = QUALITE_PRO;
private static String _sms_sender = « Octopush »;

Fichier Main

Dim config As configFile = New configFile()
Dim sms As SMS = New SMS()
 
sms.set_user_login(config.user_login)
sms.set_api_key(config.api_key)
sms.set_sms_mode(config.sms_mode)
sms.set_sms_text(config.sms_text)
sms.set_sms_recipients(config.sms_recipients)
sms.set_sms_type(config.sms_type)
sms.set_sms_sender(config.sms_sender)
 
Dim xml As String = sms.send(config.DOMAIN, config.PATH_SMS, config.PORT)
import { ClipboardButton } from ‘@wordpress/components’; import { withState } from ‘@wordpress/compose’; const MyClipboardButton = withState( { hasCopied: false, } )( ( { hasCopied, setState } ) => ( setState( { hasCopied: true } ) } onFinishCopy={ () => setState( { hasCopied: false } ) } > { hasCopied ? ‘Copied!’ : ‘Copy Text’ } ) );

Objet Principal