BasicWorkItemDetails

class oci.jms_utils.models.BasicWorkItemDetails(**kwargs)

Bases: oci.jms_utils.models.work_item_details.WorkItemDetails

The common work item details.

Attributes

KIND_BASIC str(object=’’) -> str
KIND_JAVA_MIGRATION str(object=’’) -> str
KIND_PERFORMANCE_TUNING str(object=’’) -> str
WORK_ITEM_TYPE_JAVA_MIGRATION str(object=’’) -> str
WORK_ITEM_TYPE_PERFORMANCE_TUNING str(object=’’) -> str
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 BasicWorkItemDetails 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'
KIND_JAVA_MIGRATION = 'JAVA_MIGRATION'
KIND_PERFORMANCE_TUNING = 'PERFORMANCE_TUNING'
WORK_ITEM_TYPE_JAVA_MIGRATION = 'JAVA_MIGRATION'
WORK_ITEM_TYPE_PERFORMANCE_TUNING = 'PERFORMANCE_TUNING'
__init__(**kwargs)

Initializes a new BasicWorkItemDetails object with values from keyword arguments. The default value of the kind attribute of this class is BASIC and it should not be changed. 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 BasicWorkItemDetails. Allowed values for this property are: “BASIC”, “JAVA_MIGRATION”, “PERFORMANCE_TUNING”
  • work_item_type (str) – The value to assign to the work_item_type property of this BasicWorkItemDetails. Allowed values for this property are: “PERFORMANCE_TUNING”, “JAVA_MIGRATION”
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