Class SenderIdentityRequest
The sender identity request.
[DataContract]
public class SenderIdentityRequest
- Inheritance
-
SenderIdentityRequest
- Inherited Members
Constructors
SenderIdentityRequest(string, string, NotificationSettings, string, Uri)
Initializes a new instance of the SenderIdentityRequest class.
public SenderIdentityRequest(string name, string email, NotificationSettings notificationSettings, string brandId = null, Uri redirectUrl = null)
Parameters
namestringGets or sets name.
emailstringGets or sets email.
notificationSettingsNotificationSettingsGets or sets notification settings.
brandIdstringGets or sets brand Id.
redirectUrlUriGets or sets redirect url.
Properties
BrandId
Gets or sets the brand Id.
[DataMember(Name = "brandId", EmitDefaultValue = true)]
public string BrandId { get; set; }
Property Value
Gets or sets the email.
[Required]
[DataMember(Name = "email", EmitDefaultValue = true)]
public string Email { get; set; }
Property Value
MetaData
Gets or sets key-value pairs of metadata.
[DataMember(Name = "metaData", EmitDefaultValue = true)]
public Dictionary<string, string> MetaData { get; set; }
Property Value
Name
Gets or sets name.
[Required]
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
NotificationSettings
Gets or sets the notification settings.
[DataMember(Name = "notificationSettings")]
public NotificationSettings NotificationSettings { get; set; }
Property Value
RedirectUrl
Gets or sets the redirect URL.
[DataMember(Name = "redirectUrl", EmitDefaultValue = true)]
public Uri RedirectUrl { get; set; }
Property Value
Methods
ToJson()
Returns the JSON string presentation of the object.
public virtual string ToJson()
Returns
- string
JSON string presentation of the object.