Class SmtpTlsDiagnosticResult
SmtpTlsDiagnosticResult
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "SmtpTlsDiagnosticResult")]
public class SmtpTlsDiagnosticResult : IValidatableObject
Constructors
View SourceSmtpTlsDiagnosticResult()
Initializes a new instance of the SmtpTlsDiagnosticResult class.
Declaration
[JsonConstructor]
protected SmtpTlsDiagnosticResult()
SmtpTlsDiagnosticResult(bool, bool, string, string)
Initializes a new instance of the SmtpTlsDiagnosticResult class.
Declaration
public SmtpTlsDiagnosticResult(bool supported = false, bool negotiated = false, string protocol = null, string cipher = null)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | supported | supported (required). |
| bool | negotiated | negotiated (required). |
| string | protocol | protocol. |
| string | cipher | cipher. |
Properties
View SourceCipher
Gets or Sets Cipher
Declaration
[DataMember(Name = "cipher", EmitDefaultValue = true)]
public string Cipher { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Negotiated
Gets or Sets Negotiated
Declaration
[DataMember(Name = "negotiated", IsRequired = true, EmitDefaultValue = true)]
public bool Negotiated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Protocol
Gets or Sets Protocol
Declaration
[DataMember(Name = "protocol", EmitDefaultValue = true)]
public string Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Supported
Gets or Sets Supported
Declaration
[DataMember(Name = "supported", IsRequired = true, EmitDefaultValue = true)]
public bool Supported { 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 |