ServiceCategory

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

Bases: object

Information about the support ticket classifier.

Attributes

SCOPE_AD A constant which can be used with the scope property of a ServiceCategory.
SCOPE_NONE A constant which can be used with the scope property of a ServiceCategory.
SCOPE_REGION A constant which can be used with the scope property of a ServiceCategory.
SCOPE_TENANCY A constant which can be used with the scope property of a ServiceCategory.
UNIT_COUNT A constant which can be used with the unit property of a ServiceCategory.
UNIT_GB A constant which can be used with the unit property of a ServiceCategory.
UNIT_NONE A constant which can be used with the unit property of a ServiceCategory.
description Gets the description of this ServiceCategory.
issue_type_list Gets the issue_type_list of this ServiceCategory.
key Gets the key of this ServiceCategory.
label Gets the label of this ServiceCategory.
limit_id Gets the limit_id of this ServiceCategory.
name Gets the name of this ServiceCategory.
scope Gets the scope of this ServiceCategory.
supported_subscriptions Gets the supported_subscriptions of this ServiceCategory.
unit Gets the unit of this ServiceCategory.

Methods

__init__(**kwargs) Initializes a new ServiceCategory object with values from keyword arguments.
SCOPE_AD = 'AD'

A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “AD”

SCOPE_NONE = 'NONE'

A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “NONE”

SCOPE_REGION = 'REGION'

A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “REGION”

SCOPE_TENANCY = 'TENANCY'

A constant which can be used with the scope property of a ServiceCategory. This constant has a value of “TENANCY”

UNIT_COUNT = 'COUNT'

A constant which can be used with the unit property of a ServiceCategory. This constant has a value of “COUNT”

UNIT_GB = 'GB'

A constant which can be used with the unit property of a ServiceCategory. This constant has a value of “GB”

UNIT_NONE = 'NONE'

A constant which can be used with the unit property of a ServiceCategory. This constant has a value of “NONE”

__init__(**kwargs)

Initializes a new ServiceCategory object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this ServiceCategory.
  • name (str) – The value to assign to the name property of this ServiceCategory.
  • label (str) – The value to assign to the label property of this ServiceCategory.
  • description (str) – The value to assign to the description property of this ServiceCategory.
  • issue_type_list (list[oci.cims.models.IssueType]) – The value to assign to the issue_type_list property of this ServiceCategory.
  • supported_subscriptions (list[str]) – The value to assign to the supported_subscriptions property of this ServiceCategory.
  • scope (str) – The value to assign to the scope property of this ServiceCategory. 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 ServiceCategory. 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’.
  • limit_id (str) – The value to assign to the limit_id property of this ServiceCategory.
description

Gets the description of this ServiceCategory. The text describing the classifier.

Returns:The description of this ServiceCategory.
Return type:str
issue_type_list

Gets the issue_type_list of this ServiceCategory. The list of issues.

Returns:The issue_type_list of this ServiceCategory.
Return type:list[oci.cims.models.IssueType]
key

Gets the key of this ServiceCategory. The unique ID that identifies a classifier.

Returns:The key of this ServiceCategory.
Return type:str
label

Gets the label of this ServiceCategory. The label for the classifier.

Returns:The label of this ServiceCategory.
Return type:str
limit_id

Gets the limit_id of this ServiceCategory. The unique ID for the limit.

Returns:The limit_id of this ServiceCategory.
Return type:str
name

Gets the name of this ServiceCategory. The name of the classifier.

Returns:The name of this ServiceCategory.
Return type:str
scope

Gets the scope of this ServiceCategory. The scope of the incident.

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 ServiceCategory.
Return type:str
supported_subscriptions

Gets the supported_subscriptions of this ServiceCategory. List of supported subscriptions

Returns:The supported_subscriptions of this ServiceCategory.
Return type:list[str]
unit

Gets the unit of this ServiceCategory. 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 ServiceCategory.
Return type:str