Item

class oci.cims.models.Item(**kwargs)

Bases: object

Details about the item object.

Methods

__init__(**kwargs) Initializes a new Item 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.

Attributes

category Gets the category of this Item.
issue_type Gets the issue_type of this Item.
item_key [Required] Gets the item_key of this Item.
name Gets the name of this Item.
sub_category Gets the sub_category of this Item.
type Gets the type of this Item.
__init__(**kwargs)

Initializes a new Item 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:
  • item_key (str) – The value to assign to the item_key property of this Item.
  • name (str) – The value to assign to the name property of this Item.
  • type (str) – The value to assign to the type property of this Item.
  • category (oci.cims.models.Category) – The value to assign to the category property of this Item.
  • sub_category (oci.cims.models.SubCategory) – The value to assign to the sub_category property of this Item.
  • issue_type (oci.cims.models.IssueType) – The value to assign to the issue_type property of this Item.
category

Gets the category of this Item.

Returns:The category of this Item.
Return type:oci.cims.models.Category
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.

issue_type

Gets the issue_type of this Item.

Returns:The issue_type of this Item.
Return type:oci.cims.models.IssueType
item_key

[Required] Gets the item_key of this Item. Unique identifier for the item.

Returns:The item_key of this Item.
Return type:str
name

Gets the name of this Item. The display name of the item. Avoid entering confidential information.

Returns:The name of this Item.
Return type:str
sub_category

Gets the sub_category of this Item.

Returns:The sub_category of this Item.
Return type:oci.cims.models.SubCategory
type

Gets the type of this Item. The type of the item.

Returns:The type of this Item.
Return type:str