WorkItemDetails¶
-
class
oci.jms_utils.models.
WorkItemDetails
(**kwargs)¶ Bases:
object
The minimum details of a work item.
Attributes
KIND_BASIC
A constant which can be used with the kind property of a WorkItemDetails. KIND_JAVA_MIGRATION
A constant which can be used with the kind property of a WorkItemDetails. KIND_PERFORMANCE_TUNING
A constant which can be used with the kind property of a WorkItemDetails. WORK_ITEM_TYPE_JAVA_MIGRATION
A constant which can be used with the work_item_type property of a WorkItemDetails. WORK_ITEM_TYPE_PERFORMANCE_TUNING
A constant which can be used with the work_item_type property of a WorkItemDetails. kind
[Required] Gets the kind of this WorkItemDetails. work_item_type
Gets the work_item_type of this WorkItemDetails. Methods
__init__
(**kwargs)Initializes a new WorkItemDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
KIND_BASIC
= 'BASIC'¶ A constant which can be used with the kind property of a WorkItemDetails. This constant has a value of “BASIC”
-
KIND_JAVA_MIGRATION
= 'JAVA_MIGRATION'¶ A constant which can be used with the kind property of a WorkItemDetails. This constant has a value of “JAVA_MIGRATION”
-
KIND_PERFORMANCE_TUNING
= 'PERFORMANCE_TUNING'¶ A constant which can be used with the kind property of a WorkItemDetails. This constant has a value of “PERFORMANCE_TUNING”
-
WORK_ITEM_TYPE_JAVA_MIGRATION
= 'JAVA_MIGRATION'¶ A constant which can be used with the work_item_type property of a WorkItemDetails. This constant has a value of “JAVA_MIGRATION”
-
WORK_ITEM_TYPE_PERFORMANCE_TUNING
= 'PERFORMANCE_TUNING'¶ A constant which can be used with the work_item_type property of a WorkItemDetails. This constant has a value of “PERFORMANCE_TUNING”
-
__init__
(**kwargs)¶ Initializes a new WorkItemDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - kind (str) – The value to assign to the kind property of this WorkItemDetails. Allowed values for this property are: “BASIC”, “JAVA_MIGRATION”, “PERFORMANCE_TUNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- work_item_type (str) – The value to assign to the work_item_type property of this WorkItemDetails. Allowed values for this property are: “PERFORMANCE_TUNING”, “JAVA_MIGRATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
kind
¶ [Required] Gets the kind of this WorkItemDetails. The kind of work item details.
Allowed values for this property are: “BASIC”, “JAVA_MIGRATION”, “PERFORMANCE_TUNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The kind of this WorkItemDetails. Return type: str
-
work_item_type
¶ Gets the work_item_type of this WorkItemDetails. The work item type.
Allowed values for this property are: “PERFORMANCE_TUNING”, “JAVA_MIGRATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The work_item_type of this WorkItemDetails. Return type: str
-