CreateLimitItemDetails

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

Bases: oci.cims.models.create_item_details.CreateItemDetails

Reserved for future use.

Attributes

LIMIT_STATUS_APPROVED A constant which can be used with the limit_status property of a CreateLimitItemDetails.
LIMIT_STATUS_NOT_APPROVED A constant which can be used with the limit_status property of a CreateLimitItemDetails.
LIMIT_STATUS_PARTIALLY_APPROVED A constant which can be used with the limit_status property of a CreateLimitItemDetails.
category Gets the category of this CreateItemDetails.
current_limit Gets the current_limit of this CreateLimitItemDetails.
current_usage Gets the current_usage of this CreateLimitItemDetails.
issue_type Gets the issue_type of this CreateItemDetails.
limit_status Gets the limit_status of this CreateLimitItemDetails.
name Gets the name of this CreateItemDetails.
requested_limit Gets the requested_limit of this CreateLimitItemDetails.
sub_category Gets the sub_category of this CreateItemDetails.
type Gets the type of this CreateItemDetails.

Methods

__init__(**kwargs) Initializes a new CreateLimitItemDetails 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.
LIMIT_STATUS_APPROVED = 'APPROVED'

A constant which can be used with the limit_status property of a CreateLimitItemDetails. This constant has a value of “APPROVED”

LIMIT_STATUS_NOT_APPROVED = 'NOT_APPROVED'

A constant which can be used with the limit_status property of a CreateLimitItemDetails. This constant has a value of “NOT_APPROVED”

LIMIT_STATUS_PARTIALLY_APPROVED = 'PARTIALLY_APPROVED'

A constant which can be used with the limit_status property of a CreateLimitItemDetails. This constant has a value of “PARTIALLY_APPROVED”

__init__(**kwargs)

Initializes a new CreateLimitItemDetails object with values from keyword arguments. The default value of the type attribute of this class is limit and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this CreateLimitItemDetails.
  • category (oci.cims.models.CreateCategoryDetails) – The value to assign to the category property of this CreateLimitItemDetails.
  • sub_category (oci.cims.models.CreateSubCategoryDetails) – The value to assign to the sub_category property of this CreateLimitItemDetails.
  • issue_type (oci.cims.models.CreateIssueTypeDetails) – The value to assign to the issue_type property of this CreateLimitItemDetails.
  • name (str) – The value to assign to the name property of this CreateLimitItemDetails.
  • current_limit (int) – The value to assign to the current_limit property of this CreateLimitItemDetails.
  • current_usage (int) – The value to assign to the current_usage property of this CreateLimitItemDetails.
  • requested_limit (int) – The value to assign to the requested_limit property of this CreateLimitItemDetails.
  • limit_status (str) – The value to assign to the limit_status property of this CreateLimitItemDetails. Allowed values for this property are: “APPROVED”, “PARTIALLY_APPROVED”, “NOT_APPROVED”
category

Gets the category of this CreateItemDetails.

Returns:The category of this CreateItemDetails.
Return type:oci.cims.models.CreateCategoryDetails
current_limit

Gets the current_limit of this CreateLimitItemDetails. The limit of the resource currently available.

Returns:The current_limit of this CreateLimitItemDetails.
Return type:int
current_usage

Gets the current_usage of this CreateLimitItemDetails. The current usage of the resource.

Returns:The current_usage of this CreateLimitItemDetails.
Return type:int
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 CreateItemDetails.

Returns:The issue_type of this CreateItemDetails.
Return type:oci.cims.models.CreateIssueTypeDetails
limit_status

Gets the limit_status of this CreateLimitItemDetails. The current status of the request.

Allowed values for this property are: “APPROVED”, “PARTIALLY_APPROVED”, “NOT_APPROVED”

Returns:The limit_status of this CreateLimitItemDetails.
Return type:str
name

Gets the name of this CreateItemDetails. The display name of the item.

Returns:The name of this CreateItemDetails.
Return type:str
requested_limit

Gets the requested_limit of this CreateLimitItemDetails. Reserved for future use.

Returns:The requested_limit of this CreateLimitItemDetails.
Return type:int
sub_category

Gets the sub_category of this CreateItemDetails.

Returns:The sub_category of this CreateItemDetails.
Return type:oci.cims.models.CreateSubCategoryDetails
type

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

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