Class DevicePreviewFeedbackDto
DevicePreviewFeedbackDto
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "DevicePreviewFeedbackDto")]
public class DevicePreviewFeedbackDto : IValidatableObject
Constructors
View SourceDevicePreviewFeedbackDto()
Initializes a new instance of the DevicePreviewFeedbackDto class.
Declaration
[JsonConstructor]
protected DevicePreviewFeedbackDto()
DevicePreviewFeedbackDto(Guid, Guid, SourceEnum, CategoryEnum, StatusEnum, int, Guid, Guid, Guid, ProviderEnum?, string, string, string, string, string, Dictionary<string, string>, DateTime, DateTime)
Initializes a new instance of the DevicePreviewFeedbackDto class.
Declaration
public DevicePreviewFeedbackDto(Guid feedbackId = default, Guid userId = default, DevicePreviewFeedbackDto.SourceEnum source = (DevicePreviewFeedbackDto.SourceEnum)0, DevicePreviewFeedbackDto.CategoryEnum category = (DevicePreviewFeedbackDto.CategoryEnum)0, DevicePreviewFeedbackDto.StatusEnum status = (DevicePreviewFeedbackDto.StatusEnum)0, int rating = 0, Guid runId = default, Guid targetId = default, Guid screenshotId = default, DevicePreviewFeedbackDto.ProviderEnum? provider = null, string title = null, string comment = null, string internalNote = null, string sessionId = null, string liveViewUrl = null, Dictionary<string, string> metadata = null, DateTime createdAt = default, DateTime updatedAt = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | feedbackId | feedbackId (required). |
| Guid | userId | userId (required). |
| DevicePreviewFeedbackDto.SourceEnum | source | source (required). |
| DevicePreviewFeedbackDto.CategoryEnum | category | category (required). |
| DevicePreviewFeedbackDto.StatusEnum | status | status (required). |
| int | rating | rating. |
| Guid | runId | runId. |
| Guid | targetId | targetId. |
| Guid | screenshotId | screenshotId. |
| DevicePreviewFeedbackDto.ProviderEnum? | provider | provider. |
| string | title | title. |
| string | comment | comment. |
| string | internalNote | internalNote. |
| string | sessionId | sessionId. |
| string | liveViewUrl | liveViewUrl. |
| Dictionary<string, string> | metadata | metadata. |
| DateTime | createdAt | createdAt. |
| DateTime | updatedAt | updatedAt. |
Properties
View SourceCategory
Gets or Sets Category
Declaration
[DataMember(Name = "category", IsRequired = true, EmitDefaultValue = true)]
public DevicePreviewFeedbackDto.CategoryEnum Category { get; set; }
Property Value
| Type | Description |
|---|---|
| DevicePreviewFeedbackDto.CategoryEnum |
Comment
Gets or Sets Comment
Declaration
[DataMember(Name = "comment", EmitDefaultValue = false)]
public string Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", EmitDefaultValue = false)]
public DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
FeedbackId
Gets or Sets FeedbackId
Declaration
[DataMember(Name = "feedbackId", IsRequired = true, EmitDefaultValue = true)]
public Guid FeedbackId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
InternalNote
Gets or Sets InternalNote
Declaration
[DataMember(Name = "internalNote", EmitDefaultValue = false)]
public string InternalNote { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LiveViewUrl
Gets or Sets LiveViewUrl
Declaration
[DataMember(Name = "liveViewUrl", EmitDefaultValue = false)]
public string LiveViewUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Gets or Sets Metadata
Declaration
[DataMember(Name = "metadata", EmitDefaultValue = false)]
public Dictionary<string, string> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
Provider
Gets or Sets Provider
Declaration
[DataMember(Name = "provider", EmitDefaultValue = false)]
public DevicePreviewFeedbackDto.ProviderEnum? Provider { get; set; }
Property Value
| Type | Description |
|---|---|
| DevicePreviewFeedbackDto.ProviderEnum? |
Rating
Gets or Sets Rating
Declaration
[DataMember(Name = "rating", EmitDefaultValue = false)]
public int Rating { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RunId
Gets or Sets RunId
Declaration
[DataMember(Name = "runId", EmitDefaultValue = false)]
public Guid RunId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
ScreenshotId
Gets or Sets ScreenshotId
Declaration
[DataMember(Name = "screenshotId", EmitDefaultValue = false)]
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 |
Source
Gets or Sets Source
Declaration
[DataMember(Name = "source", IsRequired = true, EmitDefaultValue = true)]
public DevicePreviewFeedbackDto.SourceEnum Source { get; set; }
Property Value
| Type | Description |
|---|---|
| DevicePreviewFeedbackDto.SourceEnum |
Status
Gets or Sets Status
Declaration
[DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
public DevicePreviewFeedbackDto.StatusEnum Status { get; set; }
Property Value
| Type | Description |
|---|---|
| DevicePreviewFeedbackDto.StatusEnum |
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", EmitDefaultValue = false)]
public DateTime UpdatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
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 |