/// <summary> /// Generate the necessary parameters /// </summary> public override List <KeyValuePair <string, string> > GetParams() { var p = new List <KeyValuePair <string, string> >(); if (EndUserType != null) { p.Add(new KeyValuePair <string, string>("EndUserType", EndUserType.ToString())); } if (IsoCountry != null) { p.Add(new KeyValuePair <string, string>("IsoCountry", IsoCountry)); } if (NumberType != null) { p.Add(new KeyValuePair <string, string>("NumberType", NumberType)); } if (PageSize != null) { p.Add(new KeyValuePair <string, string>("PageSize", PageSize.ToString())); } return(p); }
/// <summary> /// Generate the necessary parameters /// </summary> public List <KeyValuePair <string, string> > GetParams() { var p = new List <KeyValuePair <string, string> >(); if (FriendlyName != null) { p.Add(new KeyValuePair <string, string>("FriendlyName", FriendlyName)); } if (Email != null) { p.Add(new KeyValuePair <string, string>("Email", Email)); } if (StatusCallback != null) { p.Add(new KeyValuePair <string, string>("StatusCallback", Serializers.Url(StatusCallback))); } if (RegulationSid != null) { p.Add(new KeyValuePair <string, string>("RegulationSid", RegulationSid.ToString())); } if (IsoCountry != null) { p.Add(new KeyValuePair <string, string>("IsoCountry", IsoCountry)); } if (EndUserType != null) { p.Add(new KeyValuePair <string, string>("EndUserType", EndUserType.ToString())); } if (NumberType != null) { p.Add(new KeyValuePair <string, string>("NumberType", NumberType)); } return(p); }