📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
capacity_management
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/capacity_management/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: occ_capacity_request.cpython-39.pyc
a ���fxm � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s| e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Z e jd.d-� �Z ed/d0� �Z!e!jd1d0� �Z!ed2d3� �Z"e"jd4d3� �Z"ed5d6� �Z#e#jd7d6� �Z#ed8d9� �Z$e$jd:d9� �Z$ed;d<� �Z%e%jd=d<� �Z%ed>d?� �Z&e&jd@d?� �Z&edAdB� �Z'e'jdCdB� �Z'edDdE� �Z(e(jdFdE� �Z(edGdH� �Z)e)jdIdH� �Z)edJdK� �Z*e*jdLdK� �Z*edMdN� �Z+e+jdOdN� �Z+dPdQ� Z,dRdS� Z-dTdU� Z.dVS )W�OccCapacityRequesta[ A single request of some quantity of a specific server type, in a specific location and expected delivery date. The maximum amount possible to request is the smallest number between the number of servers available for purchase and the number of servers allowed by the constraints (For example, power, network, physical space, and so on). �COMPUTE�NEW�TRANSFER�CREATED� SUBMITTED�REJECTED�IN_PROGRESS� COMPLETED�PARTIALLY_COMPLETED� CANCELLED�DELETED�CREATING�UPDATING�ACTIVE�DELETING�FAILEDc K s� ddddddddddddddddddddd�| _ ddd d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new OccCapacityRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this OccCapacityRequest. :type id: str :param compartment_id: The value to assign to the compartment_id property of this OccCapacityRequest. :type compartment_id: str :param occ_availability_catalog_id: The value to assign to the occ_availability_catalog_id property of this OccCapacityRequest. :type occ_availability_catalog_id: str :param display_name: The value to assign to the display_name property of this OccCapacityRequest. :type display_name: str :param description: The value to assign to the description property of this OccCapacityRequest. :type description: str :param namespace: The value to assign to the namespace property of this OccCapacityRequest. Allowed values for this property are: "COMPUTE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type namespace: str :param occ_customer_group_id: The value to assign to the occ_customer_group_id property of this OccCapacityRequest. :type occ_customer_group_id: str :param request_type: The value to assign to the request_type property of this OccCapacityRequest. Allowed values for this property are: "NEW", "TRANSFER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type request_type: str :param region: The value to assign to the region property of this OccCapacityRequest. :type region: str :param availability_domain: The value to assign to the availability_domain property of this OccCapacityRequest. :type availability_domain: str :param date_expected_capacity_handover: The value to assign to the date_expected_capacity_handover property of this OccCapacityRequest. :type date_expected_capacity_handover: datetime :param request_state: The value to assign to the request_state property of this OccCapacityRequest. Allowed values for this property are: "CREATED", "SUBMITTED", "REJECTED", "IN_PROGRESS", "COMPLETED", "PARTIALLY_COMPLETED", "CANCELLED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type request_state: str :param time_created: The value to assign to the time_created property of this OccCapacityRequest. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OccCapacityRequest. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OccCapacityRequest. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this OccCapacityRequest. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this OccCapacityRequest. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OccCapacityRequest. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OccCapacityRequest. :type system_tags: dict(str, dict(str, object)) :param details: The value to assign to the details property of this OccCapacityRequest. :type details: list[oci.capacity_management.models.OccCapacityRequestBaseDetails] �strZdatetimezdict(str, str)zdict(str, dict(str, object))z#list[OccCapacityRequestBaseDetails])�id�compartment_id�occ_availability_catalog_id�display_name�description� namespace�occ_customer_group_id�request_type�region�availability_domain�date_expected_capacity_handover� request_state�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tags�detailsr Z compartmentIdZoccAvailabilityCatalogIdZdisplayNamer r ZoccCustomerGroupIdZrequestTyper ZavailabilityDomainZdateExpectedCapacityHandoverZrequestStateZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsr+ N)Z swagger_typesZ attribute_map�_id�_compartment_id�_occ_availability_catalog_id� _display_name�_description� _namespace�_occ_customer_group_id� _request_type�_region�_availability_domain� _date_expected_capacity_handover�_request_state� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags�_details)�self�kwargs� rB �W/usr/lib/python3.9/site-packages/oci/capacity_management/models/occ_capacity_request.py�__init__V s| _��zOccCapacityRequest.__init__c C s | j S )z� **[Required]** Gets the id of this OccCapacityRequest. The OCID of the capacity request. :return: The id of this OccCapacityRequest. :rtype: str �r, �r@ rB rB rC r � s zOccCapacityRequest.idc C s || _ dS )z� Sets the id of this OccCapacityRequest. The OCID of the capacity request. :param id: The id of this OccCapacityRequest. :type: str NrE )r@ r rB rB rC r s c C s | j S )z� **[Required]** Gets the compartment_id of this OccCapacityRequest. The OCID of the tenancy from which the request was made. :return: The compartment_id of this OccCapacityRequest. :rtype: str �r- rF rB rB rC r s z!OccCapacityRequest.compartment_idc C s || _ dS )z� Sets the compartment_id of this OccCapacityRequest. The OCID of the tenancy from which the request was made. :param compartment_id: The compartment_id of this OccCapacityRequest. :type: str NrG )r@ r rB rB rC r s c C s | j S )a **[Required]** Gets the occ_availability_catalog_id of this OccCapacityRequest. The OCID of the availability catalog against which the capacity request was placed. :return: The occ_availability_catalog_id of this OccCapacityRequest. :rtype: str �r. rF rB rB rC r ' s z.OccCapacityRequest.occ_availability_catalog_idc C s || _ dS )a+ Sets the occ_availability_catalog_id of this OccCapacityRequest. The OCID of the availability catalog against which the capacity request was placed. :param occ_availability_catalog_id: The occ_availability_catalog_id of this OccCapacityRequest. :type: str NrH )r@ r rB rB rC r 3 s c C s | j S )z� **[Required]** Gets the display_name of this OccCapacityRequest. The display name of the capacity request. :return: The display_name of this OccCapacityRequest. :rtype: str �r/ rF rB rB rC r ? s zOccCapacityRequest.display_namec C s || _ dS )z� Sets the display_name of this OccCapacityRequest. The display name of the capacity request. :param display_name: The display_name of this OccCapacityRequest. :type: str NrI )r@ r rB rB rC r K s c C s | j S )z� Gets the description of this OccCapacityRequest. Meaningful text about the capacity request. :return: The description of this OccCapacityRequest. :rtype: str �r0 rF rB rB rC r W s zOccCapacityRequest.descriptionc C s || _ dS )z� Sets the description of this OccCapacityRequest. Meaningful text about the capacity request. :param description: The description of this OccCapacityRequest. :type: str NrJ )r@ r rB rB rC r c s c C s | j S )a� **[Required]** Gets the namespace of this OccCapacityRequest. The name of the OCI service in consideration. For example, Compute, Exadata, and so on. Allowed values for this property are: "COMPUTE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The namespace of this OccCapacityRequest. :rtype: str )r1 rF rB rB rC r o s zOccCapacityRequest.namespacec C s dg}t ||�sd}|| _dS )z� Sets the namespace of this OccCapacityRequest. The name of the OCI service in consideration. For example, Compute, Exadata, and so on. :param namespace: The namespace of this OccCapacityRequest. :type: str r �UNKNOWN_ENUM_VALUEN)r r1 )r@ r �allowed_valuesrB rB rC r ~ s c C s | j S )a **[Required]** Gets the occ_customer_group_id of this OccCapacityRequest. The OCID of the customer group to which this customer belongs to. :return: The occ_customer_group_id of this OccCapacityRequest. :rtype: str �r2 rF rB rB rC r � s z(OccCapacityRequest.occ_customer_group_idc C s || _ dS )a Sets the occ_customer_group_id of this OccCapacityRequest. The OCID of the customer group to which this customer belongs to. :param occ_customer_group_id: The occ_customer_group_id of this OccCapacityRequest. :type: str NrM )r@ r rB rB rC r � s c C s | j S )a Gets the request_type of this OccCapacityRequest. Type of Capacity Request(New or Transfer) Allowed values for this property are: "NEW", "TRANSFER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The request_type of this OccCapacityRequest. :rtype: str )r3 rF rB rB rC r � s zOccCapacityRequest.request_typec C s ddg}t ||�sd}|| _dS )z� Sets the request_type of this OccCapacityRequest. Type of Capacity Request(New or Transfer) :param request_type: The request_type of this OccCapacityRequest. :type: str r r rK N)r r3 )r@ r rL rB rB rC r � s c C s | j S )z� **[Required]** Gets the region of this OccCapacityRequest. The name of the region for which the capacity request was made. :return: The region of this OccCapacityRequest. :rtype: str �r4 rF rB rB rC r � s zOccCapacityRequest.regionc C s || _ dS )z� Sets the region of this OccCapacityRequest. The name of the region for which the capacity request was made. :param region: The region of this OccCapacityRequest. :type: str NrN )r@ r rB rB rC r � s c C s | j S )a **[Required]** Gets the availability_domain of this OccCapacityRequest. The availability domain (AD) for which the capacity request was made. :return: The availability_domain of this OccCapacityRequest. :rtype: str �r5 rF rB rB rC r! � s z&OccCapacityRequest.availability_domainc C s || _ dS )a Sets the availability_domain of this OccCapacityRequest. The availability domain (AD) for which the capacity request was made. :param availability_domain: The availability_domain of this OccCapacityRequest. :type: str NrO )r@ r! rB rB rC r! � s c C s | j S )aD **[Required]** Gets the date_expected_capacity_handover of this OccCapacityRequest. The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled. :return: The date_expected_capacity_handover of this OccCapacityRequest. :rtype: datetime �r6 rF rB rB rC r"