Class DevicePreviewTargetDto
DevicePreviewTargetDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DevicePreviewTargetDto")]
public class DevicePreviewTargetDto : IValidatableObject
Constructors
View SourceDevicePreviewTargetDto()
Initializes a new instance of the DevicePreviewTargetDto class.
Declaration
[JsonConstructor]
protected DevicePreviewTargetDto()
DevicePreviewTargetDto(Guid, Guid, string, string, string, string, string, string, StatusEnum?, string, Guid, DateTime, DateTime)
Initializes a new instance of the DevicePreviewTargetDto class.
Declaration
public DevicePreviewTargetDto(Guid id = default, Guid runId = default, string provider = null, string clientProfile = null, string deviceType = null, string browserFamily = null, string platform = null, string colorScheme = null, DevicePreviewTargetDto.StatusEnum? status = null, string failureCode = null, Guid primaryScreenshotId = default, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | id (required). |
| Guid | runId | runId (required). |
| string | provider | provider. |
| string | clientProfile | clientProfile. |
| string | deviceType | deviceType. |
| string | browserFamily | browserFamily. |
| string | platform | platform. |
| string | colorScheme | colorScheme. |
| DevicePreviewTargetDto.StatusEnum? | status | status. |
| string | failureCode | failureCode. |
| Guid | primaryScreenshotId | primaryScreenshotId. |
| DateTime | createdAt | createdAt (required). |
| DateTime | updatedAt | updatedAt (required). |
Properties
View SourceBrowserFamily
Gets or Sets BrowserFamily
Declaration
[DataMember(Name = "browserFamily", EmitDefaultValue = false)]
public string BrowserFamily { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientProfile
Gets or Sets ClientProfile
Declaration
[DataMember(Name = "clientProfile", EmitDefaultValue = false)]
public string ClientProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ColorScheme
Gets or Sets ColorScheme
Declaration
[DataMember(Name = "colorScheme", EmitDefaultValue = false)]
public string ColorScheme { 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 |
DeviceType
Gets or Sets DeviceType
Declaration
[DataMember(Name = "deviceType", EmitDefaultValue = false)]
public string DeviceType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FailureCode
Gets or Sets FailureCode
Declaration
[DataMember(Name = "failureCode", EmitDefaultValue = false)]
public string FailureCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Platform
Gets or Sets Platform
Declaration
[DataMember(Name = "platform", EmitDefaultValue = false)]
public string Platform { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrimaryScreenshotId
Gets or Sets PrimaryScreenshotId
Declaration
[DataMember(Name = "primaryScreenshotId", EmitDefaultValue = false)]
public Guid PrimaryScreenshotId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Provider
Gets or Sets Provider
Declaration
[DataMember(Name = "provider", EmitDefaultValue = false)]
public string Provider { 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 |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", EmitDefaultValue = false)]
public DevicePreviewTargetDto.StatusEnum? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| DevicePreviewTargetDto.StatusEnum? |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
[DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime UpdatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
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 |