Class GetEmailScreenshotOptions
Options taking a screenshot capture of a rendered email
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "GetEmailScreenshotOptions")]
public class GetEmailScreenshotOptions : IValidatableObject
Constructors
View SourceGetEmailScreenshotOptions(int?, int?)
Initializes a new instance of the GetEmailScreenshotOptions class.
Declaration
public GetEmailScreenshotOptions(int? height = null, int? width = null)
Parameters
Type | Name | Description |
---|---|---|
int? | height | Window height in pixels. |
int? | width | Window width in pixels. |
Properties
View SourceHeight
Window height in pixels
Declaration
[DataMember(Name = "height", EmitDefaultValue = true)]
public int? Height { get; set; }
Property Value
Type | Description |
---|---|
int? | Window height in pixels |
Width
Window width in pixels
Declaration
[DataMember(Name = "width", EmitDefaultValue = true)]
public int? Width { get; set; }
Property Value
Type | Description |
---|---|
int? | Window width in pixels |
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 |