Class Ticket
Details about the ticket created.
Inherited Members
Namespace: Oci.CimsService.Models
Assembly: OCI.DotNetSDK.Cims.dll
Syntax
public class Ticket
Properties
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the issue addressed in the ticket. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleDetails? LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
LifecycleDetails? | Additional information about the current |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current state of the ticket. |
ResourceList
Declaration
[JsonProperty(PropertyName = "resourceList")]
public List<Resource> ResourceList { get; set; }
Property Value
Type | Description |
---|---|
List<Resource> | The list of resources associated with the ticket. |
Severity
Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Ticket.SeverityEnum? Severity { get; set; }
Property Value
Type | Description |
---|---|
Ticket.SeverityEnum? | The severity assigned to the ticket. |
Remarks
Required
TicketNumber
Declaration
[JsonProperty(PropertyName = "ticketNumber")]
public string TicketNumber { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the ticket. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public int? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
int? | The time when the ticket was created, in milliseconds since epoch time. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public int? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
int? | The time when the ticket was updated, in milliseconds since epoch time. |
Title
Declaration
[Required(ErrorMessage = "Title is required.")]
[JsonProperty(PropertyName = "title")]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string | The title of the ticket. |
Remarks
Required