Ticket¶
-
class
oci.cims.models.
Ticket
(**kwargs)¶ Bases:
object
Details about the ticket created.
Attributes
LIFECYCLE_DETAILS_CLOSED
A constant which can be used with the lifecycle_details property of a Ticket. LIFECYCLE_DETAILS_CLOSE_REQUESTED
A constant which can be used with the lifecycle_details property of a Ticket. LIFECYCLE_DETAILS_PENDING_WITH_CUSTOMER
A constant which can be used with the lifecycle_details property of a Ticket. LIFECYCLE_DETAILS_PENDING_WITH_ORACLE
A constant which can be used with the lifecycle_details property of a Ticket. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a Ticket. LIFECYCLE_STATE_CLOSED
A constant which can be used with the lifecycle_state property of a Ticket. SEVERITY_HIGH
A constant which can be used with the severity property of a Ticket. SEVERITY_HIGHEST
A constant which can be used with the severity property of a Ticket. SEVERITY_LOW
A constant which can be used with the severity property of a Ticket. SEVERITY_MEDIUM
A constant which can be used with the severity property of a Ticket. description
[Required] Gets the description of this Ticket. lifecycle_details
Gets the lifecycle_details of this Ticket. lifecycle_state
Gets the lifecycle_state of this Ticket. resource_list
Gets the resource_list of this Ticket. severity
[Required] Gets the severity of this Ticket. ticket_number
Gets the ticket_number of this Ticket. time_created
Gets the time_created of this Ticket. time_updated
Gets the time_updated of this Ticket. title
[Required] Gets the title of this Ticket. Methods
__init__
(**kwargs)Initializes a new Ticket object with values from keyword arguments. -
LIFECYCLE_DETAILS_CLOSED
= 'CLOSED'¶ A constant which can be used with the lifecycle_details property of a Ticket. This constant has a value of “CLOSED”
-
LIFECYCLE_DETAILS_CLOSE_REQUESTED
= 'CLOSE_REQUESTED'¶ A constant which can be used with the lifecycle_details property of a Ticket. This constant has a value of “CLOSE_REQUESTED”
-
LIFECYCLE_DETAILS_PENDING_WITH_CUSTOMER
= 'PENDING_WITH_CUSTOMER'¶ A constant which can be used with the lifecycle_details property of a Ticket. This constant has a value of “PENDING_WITH_CUSTOMER”
-
LIFECYCLE_DETAILS_PENDING_WITH_ORACLE
= 'PENDING_WITH_ORACLE'¶ A constant which can be used with the lifecycle_details property of a Ticket. This constant has a value of “PENDING_WITH_ORACLE”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a Ticket. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CLOSED
= 'CLOSED'¶ A constant which can be used with the lifecycle_state property of a Ticket. This constant has a value of “CLOSED”
-
SEVERITY_HIGH
= 'HIGH'¶ A constant which can be used with the severity property of a Ticket. This constant has a value of “HIGH”
-
SEVERITY_HIGHEST
= 'HIGHEST'¶ A constant which can be used with the severity property of a Ticket. This constant has a value of “HIGHEST”
-
SEVERITY_LOW
= 'LOW'¶ A constant which can be used with the severity property of a Ticket. This constant has a value of “LOW”
-
SEVERITY_MEDIUM
= 'MEDIUM'¶ A constant which can be used with the severity property of a Ticket. This constant has a value of “MEDIUM”
-
__init__
(**kwargs)¶ Initializes a new Ticket object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - ticket_number (str) – The value to assign to the ticket_number property of this Ticket.
- severity (str) – The value to assign to the severity property of this Ticket. Allowed values for this property are: “HIGHEST”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resource_list (list[oci.cims.models.Resource]) – The value to assign to the resource_list property of this Ticket.
- title (str) – The value to assign to the title property of this Ticket.
- description (str) – The value to assign to the description property of this Ticket.
- time_created (int) – The value to assign to the time_created property of this Ticket.
- time_updated (int) – The value to assign to the time_updated property of this Ticket.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this Ticket. Allowed values for this property are: “ACTIVE”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this Ticket. Allowed values for this property are: “PENDING_WITH_ORACLE”, “PENDING_WITH_CUSTOMER”, “CLOSE_REQUESTED”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
description
¶ [Required] Gets the description of this Ticket. The description of the issue addressed in the ticket.
Returns: The description of this Ticket. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this Ticket. Additional information about the current lifecycleState.
Allowed values for this property are: “PENDING_WITH_ORACLE”, “PENDING_WITH_CUSTOMER”, “CLOSE_REQUESTED”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_details of this Ticket. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this Ticket. The current state of the ticket.
Allowed values for this property are: “ACTIVE”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this Ticket. Return type: str
-
resource_list
¶ Gets the resource_list of this Ticket. The list of resources associated with the ticket.
Returns: The resource_list of this Ticket. Return type: list[oci.cims.models.Resource]
-
severity
¶ [Required] Gets the severity of this Ticket. The severity assigned to the ticket.
Allowed values for this property are: “HIGHEST”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The severity of this Ticket. Return type: str
-
ticket_number
¶ Gets the ticket_number of this Ticket. Unique identifier for the ticket.
Returns: The ticket_number of this Ticket. Return type: str
-
time_created
¶ Gets the time_created of this Ticket. The time when the ticket was created, in milliseconds since epoch time.
Returns: The time_created of this Ticket. Return type: int
-
time_updated
¶ Gets the time_updated of this Ticket. The time when the ticket was updated, in milliseconds since epoch time.
Returns: The time_updated of this Ticket. Return type: int
-
title
¶ [Required] Gets the title of this Ticket. The title of the ticket.
Returns: The title of this Ticket. Return type: str
-