OccCustomer

class oci.capacity_management.models.OccCustomer(**kwargs)

Bases: object

The details about the customer.

Attributes

STATUS_DISABLED A constant which can be used with the status property of a OccCustomer.
STATUS_ENABLED A constant which can be used with the status property of a OccCustomer.
description Gets the description of this OccCustomer.
display_name [Required] Gets the display_name of this OccCustomer.
occ_customer_group_id [Required] Gets the occ_customer_group_id of this OccCustomer.
status [Required] Gets the status of this OccCustomer.
tenancy_id [Required] Gets the tenancy_id of this OccCustomer.

Methods

__init__(**kwargs) Initializes a new OccCustomer object with values from keyword arguments.
STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a OccCustomer. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a OccCustomer. This constant has a value of “ENABLED”

__init__(**kwargs)

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

Parameters:
  • occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this OccCustomer.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this OccCustomer.
  • display_name (str) – The value to assign to the display_name property of this OccCustomer.
  • description (str) – The value to assign to the description property of this OccCustomer.
  • status (str) – The value to assign to the status property of this OccCustomer. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
description

Gets the description of this OccCustomer. The description about the customer group.

Returns:The description of this OccCustomer.
Return type:str
display_name

[Required] Gets the display_name of this OccCustomer. The display name for the customer

Returns:The display_name of this OccCustomer.
Return type:str
occ_customer_group_id

[Required] Gets the occ_customer_group_id of this OccCustomer. The OCID of the customer group.

Returns:The occ_customer_group_id of this OccCustomer.
Return type:str
status

[Required] Gets the status of this OccCustomer. To determine whether the customer is enabled/disabled.`

Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this OccCustomer.
Return type:str
tenancy_id

[Required] Gets the tenancy_id of this OccCustomer. The OCID of the tenancy belonging to the customer.

Returns:The tenancy_id of this OccCustomer.
Return type:str