Class ConnectorSmtpConnectionTestResult
ConnectorSmtpConnectionTestResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "ConnectorSmtpConnectionTestResult")]
public class ConnectorSmtpConnectionTestResult : IValidatableObject
Constructors
View SourceConnectorSmtpConnectionTestResult()
Initializes a new instance of the ConnectorSmtpConnectionTestResult class.
Declaration
[JsonConstructor]
protected ConnectorSmtpConnectionTestResult()
ConnectorSmtpConnectionTestResult(string, bool, string, List<string>)
Initializes a new instance of the ConnectorSmtpConnectionTestResult class.
Declaration
public ConnectorSmtpConnectionTestResult(string error = null, bool success = false, string message = null, List<string> logs = null)
Parameters
Type | Name | Description |
---|---|---|
string | error | error. |
bool | success | success (required). |
string | message | message. |
List<string> | logs | logs. |
Properties
View SourceError
Gets or Sets Error
Declaration
[DataMember(Name = "error", EmitDefaultValue = false)]
public string Error { get; set; }
Property Value
Type | Description |
---|---|
string |
Logs
Gets or Sets Logs
Declaration
[DataMember(Name = "logs", EmitDefaultValue = false)]
public List<string> Logs { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Message
Gets or Sets Message
Declaration
[DataMember(Name = "message", EmitDefaultValue = false)]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Success
Gets or Sets Success
Declaration
[DataMember(Name = "success", IsRequired = true, EmitDefaultValue = true)]
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String presentation of the object |