Item¶
- class oci.cims.models.Item(**kwargs)¶
Bases:
objectDetails 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:
Gets the category of this Item.
Gets the issue_type of this Item.
Gets the item_key of this Item.
Gets the name of this Item.
Gets the sub_category of this Item.
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.
- property category¶
Gets the category of this Item.
- Returns
The category of this Item.
- Return type
- 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.
- property issue_type¶
Gets the issue_type of this Item.
- Returns
The issue_type of this Item.
- Return type
- property item_key¶
Gets the item_key of this Item. Unique identifier for the item.
- Returns
The item_key of this Item.
- Return type
str
- property 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
- property sub_category¶
Gets the sub_category of this Item.
- Returns
The sub_category of this Item.
- Return type
- property type¶
Gets the type of this Item. The type of the item.
- Returns
The type of this Item.
- Return type
str