Classifier¶
- class oci.cims.models.Classifier(**kwargs)¶
Bases:
objectDetails about the incident classifier object.
Attributes:
A constant which can be used with the scope property of a Classifier.
A constant which can be used with the scope property of a Classifier.
A constant which can be used with the scope property of a Classifier.
A constant which can be used with the scope property of a Classifier.
A constant which can be used with the unit property of a Classifier.
A constant which can be used with the unit property of a Classifier.
A constant which can be used with the unit property of a Classifier.
Gets the description of this Classifier.
Gets the id of this Classifier.
Gets the issue_type_list of this Classifier.
Gets the label of this Classifier.
Gets the name of this Classifier.
Gets the scope of this Classifier.
Gets the unit of this Classifier.
Methods:
__init__(**kwargs)Initializes a new Classifier object with values from keyword arguments.
- SCOPE_AD = 'AD'¶
A constant which can be used with the scope property of a Classifier. This constant has a value of “AD”
- SCOPE_NONE = 'NONE'¶
A constant which can be used with the scope property of a Classifier. This constant has a value of “NONE”
- SCOPE_REGION = 'REGION'¶
A constant which can be used with the scope property of a Classifier. This constant has a value of “REGION”
- SCOPE_TENANCY = 'TENANCY'¶
A constant which can be used with the scope property of a Classifier. This constant has a value of “TENANCY”
- UNIT_COUNT = 'COUNT'¶
A constant which can be used with the unit property of a Classifier. This constant has a value of “COUNT”
- UNIT_GB = 'GB'¶
A constant which can be used with the unit property of a Classifier. This constant has a value of “GB”
- UNIT_NONE = 'NONE'¶
A constant which can be used with the unit property of a Classifier. This constant has a value of “NONE”
- __init__(**kwargs)¶
Initializes a new Classifier object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this Classifier.
name (str) – The value to assign to the name property of this Classifier.
label (str) – The value to assign to the label property of this Classifier.
description (str) – The value to assign to the description property of this Classifier.
issue_type_list (list[oci.cims.models.IssueType]) – The value to assign to the issue_type_list property of this Classifier.
scope (str) – The value to assign to the scope property of this Classifier. Allowed values for this property are: “AD”, “REGION”, “TENANCY”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
unit (str) – The value to assign to the unit property of this Classifier. Allowed values for this property are: “COUNT”, “GB”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property description¶
Gets the description of this Classifier. The description of the classifier.
- Returns
The description of this Classifier.
- Return type
str
- property id¶
Gets the id of this Classifier. Unique identifier of the classifier.
- Returns
The id of this Classifier.
- Return type
str
- property issue_type_list¶
Gets the issue_type_list of this Classifier. The list of issues.
- Returns
The issue_type_list of this Classifier.
- Return type
- property label¶
Gets the label of this Classifier. The label associated with the classifier.
- Returns
The label of this Classifier.
- Return type
str
- property name¶
Gets the name of this Classifier. The display name of the classifier.
- Returns
The name of this Classifier.
- Return type
str
- property scope¶
Gets the scope of this Classifier. The scope of the service category or resource.
Allowed values for this property are: “AD”, “REGION”, “TENANCY”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The scope of this Classifier.
- Return type
str
- property unit¶
Gets the unit of this Classifier. The unit to use to measure the service category or resource.
Allowed values for this property are: “COUNT”, “GB”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The unit of this Classifier.
- Return type
str