CreateOccCustomerDetails¶
-
class
oci.capacity_management.models.
CreateOccCustomerDetails
(**kwargs)¶ Bases:
object
The details about the customer.
Attributes
STATUS_DISABLED
A constant which can be used with the status property of a CreateOccCustomerDetails. STATUS_ENABLED
A constant which can be used with the status property of a CreateOccCustomerDetails. description
Gets the description of this CreateOccCustomerDetails. display_name
[Required] Gets the display_name of this CreateOccCustomerDetails. status
Gets the status of this CreateOccCustomerDetails. tenancy_id
[Required] Gets the tenancy_id of this CreateOccCustomerDetails. Methods
__init__
(**kwargs)Initializes a new CreateOccCustomerDetails object with values from keyword arguments. -
STATUS_DISABLED
= 'DISABLED'¶ A constant which can be used with the status property of a CreateOccCustomerDetails. This constant has a value of “DISABLED”
-
STATUS_ENABLED
= 'ENABLED'¶ A constant which can be used with the status property of a CreateOccCustomerDetails. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new CreateOccCustomerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - tenancy_id (str) – The value to assign to the tenancy_id property of this CreateOccCustomerDetails.
- display_name (str) – The value to assign to the display_name property of this CreateOccCustomerDetails.
- description (str) – The value to assign to the description property of this CreateOccCustomerDetails.
- status (str) – The value to assign to the status property of this CreateOccCustomerDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
-
description
¶ Gets the description of this CreateOccCustomerDetails. The description about the customer group.
Returns: The description of this CreateOccCustomerDetails. Return type: str
-
display_name
¶ [Required] Gets the display_name of this CreateOccCustomerDetails. The display name for the customer.
Returns: The display_name of this CreateOccCustomerDetails. Return type: str
-
status
¶ Gets the status of this CreateOccCustomerDetails. To determine whether the customer is enabled/disabled.
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The status of this CreateOccCustomerDetails. Return type: str
-
tenancy_id
¶ [Required] Gets the tenancy_id of this CreateOccCustomerDetails. The OCID of the tenancy belonging to the customer.
Returns: The tenancy_id of this CreateOccCustomerDetails. Return type: str
-