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
name
stringGets or sets name.
email
stringGets or sets email.
notificationSettings
NotificationSettingsGets or sets notification settings.
brandId
stringGets or sets brand Id.
redirectUrl
UriGets 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
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.