Class EmailContentMatchResult
Matches for the given pattern
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "EmailContentMatchResult")]
public class EmailContentMatchResult : IValidatableObject
Constructors
View SourceEmailContentMatchResult()
Initializes a new instance of the EmailContentMatchResult class.
Declaration
[JsonConstructor]
protected EmailContentMatchResult()
EmailContentMatchResult(string, List<string>)
Initializes a new instance of the EmailContentMatchResult class.
Declaration
public EmailContentMatchResult(string pattern = null, List<string> matches = null)
Parameters
Type | Name | Description |
---|---|---|
string | pattern | pattern (required). |
List<string> | matches | matches (required). |
Properties
View SourceMatches
Gets or Sets Matches
Declaration
[DataMember(Name = "matches", IsRequired = true, EmitDefaultValue = true)]
public List<string> Matches { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
Pattern
Gets or Sets Pattern
Declaration
[DataMember(Name = "pattern", IsRequired = true, EmitDefaultValue = true)]
public string Pattern { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |