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