Class DevicePreviewScreenshotDto
DevicePreviewScreenshotDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DevicePreviewScreenshotDto")]
public class DevicePreviewScreenshotDto : IValidatableObject
Constructors
View SourceDevicePreviewScreenshotDto()
Initializes a new instance of the DevicePreviewScreenshotDto class.
Declaration
[JsonConstructor]
protected DevicePreviewScreenshotDto()
DevicePreviewScreenshotDto(Guid, Guid, Guid, string, string, string, bool, int, string, string, string, string, string, string, int, int, DateTime, DateTime)
Initializes a new instance of the DevicePreviewScreenshotDto class.
Declaration
public DevicePreviewScreenshotDto(Guid screenshotId = default, Guid runId = default, Guid targetId = default, string variant = null, string title = null, string description = null, bool isPrimary = false, int displayOrder = 0, string storageKey = null, string accessUrl = null, string liveViewUrl = null, string sessionId = null, string browserContextId = null, string deepLinkUrl = null, int width = 0, int height = 0, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | screenshotId | screenshotId (required). |
| Guid | runId | runId (required). |
| Guid | targetId | targetId. |
| string | variant | variant. |
| string | title | title. |
| string | description | description. |
| bool | isPrimary | isPrimary (required). |
| int | displayOrder | displayOrder (required). |
| string | storageKey | storageKey. |
| string | accessUrl | accessUrl. |
| string | liveViewUrl | liveViewUrl. |
| string | sessionId | sessionId. |
| string | browserContextId | browserContextId. |
| string | deepLinkUrl | deepLinkUrl. |
| int | width | width. |
| int | height | height. |
| DateTime | createdAt | createdAt (required). |
| DateTime | updatedAt | updatedAt (required). |
Properties
View SourceAccessUrl
Gets or Sets AccessUrl
Declaration
[DataMember(Name = "accessUrl", EmitDefaultValue = false)]
public string AccessUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BrowserContextId
Gets or Sets BrowserContextId
Declaration
[DataMember(Name = "browserContextId", EmitDefaultValue = false)]
public string BrowserContextId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
DeepLinkUrl
Gets or Sets DeepLinkUrl
Declaration
[DataMember(Name = "deepLinkUrl", EmitDefaultValue = false)]
public string DeepLinkUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Gets or Sets Description
Declaration
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayOrder
Gets or Sets DisplayOrder
Declaration
[DataMember(Name = "displayOrder", IsRequired = true, EmitDefaultValue = true)]
public int DisplayOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Height
Gets or Sets Height
Declaration
[DataMember(Name = "height", EmitDefaultValue = false)]
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsPrimary
Gets or Sets IsPrimary
Declaration
[DataMember(Name = "isPrimary", IsRequired = true, EmitDefaultValue = true)]
public bool IsPrimary { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LiveViewUrl
Gets or Sets LiveViewUrl
Declaration
[DataMember(Name = "liveViewUrl", EmitDefaultValue = false)]
public string LiveViewUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RunId
Gets or Sets RunId
Declaration
[DataMember(Name = "runId", IsRequired = true, EmitDefaultValue = true)]
public Guid RunId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
ScreenshotId
Gets or Sets ScreenshotId
Declaration
[DataMember(Name = "screenshotId", IsRequired = true, EmitDefaultValue = true)]
public Guid ScreenshotId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
SessionId
Gets or Sets SessionId
Declaration
[DataMember(Name = "sessionId", EmitDefaultValue = false)]
public string SessionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StorageKey
Gets or Sets StorageKey
Declaration
[DataMember(Name = "storageKey", EmitDefaultValue = false)]
public string StorageKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetId
Gets or Sets TargetId
Declaration
[DataMember(Name = "targetId", EmitDefaultValue = false)]
public Guid TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Title
Gets or Sets Title
Declaration
[DataMember(Name = "title", EmitDefaultValue = false)]
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Variant
Gets or Sets Variant
Declaration
[DataMember(Name = "variant", EmitDefaultValue = false)]
public string Variant { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Width
Gets or Sets Width
Declaration
[DataMember(Name = "width", EmitDefaultValue = false)]
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 |