Classifier

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

Bases: object

Details about the incident classifier object.

Attributes

SCOPE_AD A constant which can be used with the scope property of a Classifier.
SCOPE_NONE A constant which can be used with the scope property of a Classifier.
SCOPE_REGION A constant which can be used with the scope property of a Classifier.
SCOPE_TENANCY A constant which can be used with the scope property of a Classifier.
UNIT_COUNT A constant which can be used with the unit property of a Classifier.
UNIT_GB A constant which can be used with the unit property of a Classifier.
UNIT_NONE A constant which can be used with the unit property of a Classifier.
description Gets the description of this Classifier.
id Gets the id of this Classifier.
issue_type_list Gets the issue_type_list of this Classifier.
label Gets the label of this Classifier.
name Gets the name of this Classifier.
scope Gets the scope of this Classifier.
unit 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’.
description

Gets the description of this Classifier. The description of the classifier.

Returns:The description of this Classifier.
Return type:str
id

Gets the id of this Classifier. Unique identifier of the classifier.

Returns:The id of this Classifier.
Return type:str
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:list[oci.cims.models.IssueType]
label

Gets the label of this Classifier. The label associated with the classifier.

Returns:The label of this Classifier.
Return type:str
name

Gets the name of this Classifier. The display name of the classifier.

Returns:The name of this Classifier.
Return type:str
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
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