/// <summary>
 /// Initializes a new instance of the LinkMobilityProviderConfig class.
 /// </summary>
 public LinkMobilityProviderConfig(string apiKey, string sender, ServiceWindow smsServiceWindow = default(ServiceWindow))
 {
     ApiKey           = apiKey;
     Sender           = sender;
     SmsServiceWindow = smsServiceWindow;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the LogicProviderConfig class.
 /// </summary>
 /// <param name="description">Gets the description used to help
 /// identify this provider configuration.</param>
 /// <param name="isApproved">Determines if this configuration is
 /// approved by the logic platform for use. Any logic provider
 /// must first be approved before it can be used.</param>
 /// <param name="sender">If not specified, the Logic DevOps team will
 /// need to provide this value
 /// before you can send SMS using this provider configuration. Example
 /// values
 /// might be 'logic' or 'kmd' or 'føniks' etc.</param>
 public LogicProviderConfig(string description = default(string), bool?isApproved = default(bool?), string sender = default(string), ServiceWindow smsServiceWindow = default(ServiceWindow))
 {
     Description      = description;
     IsApproved       = isApproved;
     Sender           = sender;
     SmsServiceWindow = smsServiceWindow;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TwilioProviderConfig class.
 /// </summary>
 public TwilioProviderConfig(string username, string password, string accountSid, string fromProperty, ServiceWindow smsServiceWindow = default(ServiceWindow))
 {
     Username         = username;
     Password         = password;
     AccountSid       = accountSid;
     FromProperty     = fromProperty;
     SmsServiceWindow = smsServiceWindow;
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the LinkMobilityCgiProviderConfig
 /// class.
 /// </summary>
 /// <param name="source">This is the source from where the message
 /// should be sent. 3 to 11 valid GSM characters. Some operators
 /// and some handsets don’t accept all characters. Safe characters are
 /// a-z, A-Z, 0-9.</param>
 /// <param name="userName">Provided to you by LINK Mobility
 /// Support</param>
 /// <param name="password">Provided to you by LINK Mobility
 /// Support</param>
 /// <param name="platformId">Provided to you by LINK Mobility
 /// Support</param>
 /// <param name="platformPartnerId">Provided to you by LINK Mobility
 /// Support</param>
 public LinkMobilityCgiProviderConfig(string source, string userName, string password, string platformId, string platformPartnerId, ServiceWindow smsServiceWindow = default(ServiceWindow))
 {
     SmsServiceWindow  = smsServiceWindow;
     Source            = source;
     UserName          = userName;
     Password          = password;
     PlatformId        = platformId;
     PlatformPartnerId = platformPartnerId;
     CustomInit();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the FakeProviderConfig class.
 /// </summary>
 public FakeProviderConfig(string fromPhoneNumber, ServiceWindow smsServiceWindow = default(ServiceWindow))
 {
     FromPhoneNumber  = fromPhoneNumber;
     SmsServiceWindow = smsServiceWindow;
     CustomInit();
 }