a f%O@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d d ZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZed d!Zejd"d!Zed#d$Zejd%d$Zed&d'Zejd(d'Zed)d*Zejd+d*Zed,d-Zejd.d-Zed/d0Zejd1d0Zed2d3Zejd4d3Zed5d6Zejd7d6Zed8d9Zejd:d9Zed;d<Z e jd=d<Z d>d?Z!d@dAZ"dBdCZ#dDS)EPoolz" A Data Flow pool object. ACCEPTED SCHEDULEDCREATINGACTIVESTOPPINGSTOPPEDUPDATINGDELETINGDELETEDFAILEDcKsddddddddddddddddd |_d d d d ddddddddddddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_dS)a7 Initializes a new Pool object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this Pool. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this Pool. :type defined_tags: dict(str, dict(str, object)) :param description: The value to assign to the description property of this Pool. :type description: str :param display_name: The value to assign to the display_name property of this Pool. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this Pool. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this Pool. :type id: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Pool. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Pool. Allowed values for this property are: "ACCEPTED", "SCHEDULED", "CREATING", "ACTIVE", "STOPPING", "STOPPED", "UPDATING", "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 owner_principal_id: The value to assign to the owner_principal_id property of this Pool. :type owner_principal_id: str :param owner_user_name: The value to assign to the owner_user_name property of this Pool. :type owner_user_name: str :param pool_metrics: The value to assign to the pool_metrics property of this Pool. :type pool_metrics: oci.data_flow.models.PoolMetrics :param configurations: The value to assign to the configurations property of this Pool. :type configurations: list[oci.data_flow.models.PoolConfig] :param schedules: The value to assign to the schedules property of this Pool. :type schedules: list[oci.data_flow.models.PoolSchedule] :param idle_timeout_in_minutes: The value to assign to the idle_timeout_in_minutes property of this Pool. :type idle_timeout_in_minutes: int :param time_created: The value to assign to the time_created property of this Pool. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Pool. :type time_updated: datetime strzdict(str, dict(str, object))zdict(str, str)Z PoolMetricszlist[PoolConfig]zlist[PoolSchedule]intZdatetime)compartment_id defined_tags description display_name freeform_tagsidlifecycle_detailslifecycle_stateowner_principal_idowner_user_name pool_metricsconfigurations schedulesidle_timeout_in_minutes time_created time_updatedZ compartmentIdZ definedTagsrZ displayNameZ freeformTagsrZlifecycleDetailsZlifecycleStateZownerPrincipalIdZ ownerUserNameZ poolMetricsrrZidleTimeoutInMinutesZ timeCreatedZ timeUpdatedN)Z swagger_typesZ attribute_map_compartment_id _defined_tags _description _display_name_freeform_tags_id_lifecycle_details_lifecycle_state_owner_principal_id_owner_user_name _pool_metrics_configurations _schedules_idle_timeout_in_minutes _time_created _time_updated)selfkwargsr5=/usr/lib/python3.9/site-packages/oci/data_flow/models/pool.py__init__:sdIz Pool.__init__cCs|jS)z **[Required]** Gets the compartment_id of this Pool. The OCID of a compartment. :return: The compartment_id of this Pool. :rtype: str r#r3r5r5r6rs zPool.compartment_idcCs ||_dS)z Sets the compartment_id of this Pool. The OCID of a compartment. :param compartment_id: The compartment_id of this Pool. :type: str Nr8)r3rr5r5r6rs cCs|jS)a **[Required]** Gets the defined_tags of this Pool. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Pool. :rtype: dict(str, dict(str, object)) r$r9r5r5r6rs zPool.defined_tagscCs ||_dS)a Sets the defined_tags of this Pool. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Pool. :type: dict(str, dict(str, object)) Nr:)r3rr5r5r6rs cCs|jS)z Gets the description of this Pool. A user-friendly description. Avoid entering confidential information. :return: The description of this Pool. :rtype: str r%r9r5r5r6rs zPool.descriptioncCs ||_dS)z Sets the description of this Pool. A user-friendly description. Avoid entering confidential information. :param description: The description of this Pool. :type: str Nr;)r3rr5r5r6rs cCs|jS)z **[Required]** Gets the display_name of this Pool. A user-friendly name. It does not have to be unique. Avoid entering confidential information. :return: The display_name of this Pool. :rtype: str r&r9r5r5r6rs zPool.display_namecCs ||_dS)z Sets the display_name of this Pool. A user-friendly name. It does not have to be unique. Avoid entering confidential information. :param display_name: The display_name of this Pool. :type: str Nr<)r3rr5r5r6rs cCs|jS)a **[Required]** Gets the freeform_tags of this Pool. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Pool. :rtype: dict(str, str) r'r9r5r5r6rszPool.freeform_tagscCs ||_dS)a Sets the freeform_tags of this Pool. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Pool. :type: dict(str, str) Nr=)r3rr5r5r6r/scCs|jS)z **[Required]** Gets the id of this Pool. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :return: The id of this Pool. :rtype: str r(r9r5r5r6r?s zPool.idcCs ||_dS)z Sets the id of this Pool. The OCID of a pool. Unique Id to indentify a dataflow pool resource. :param id: The id of this Pool. :type: str Nr>)r3rr5r5r6rKs cCs|jS)z Gets the lifecycle_details of this Pool. The detailed messages about the lifecycle state. :return: The lifecycle_details of this Pool. :rtype: str r)r9r5r5r6rWs zPool.lifecycle_detailscCs ||_dS)z Sets the lifecycle_details of this Pool. The detailed messages about the lifecycle state. :param lifecycle_details: The lifecycle_details of this Pool. :type: str Nr?)r3rr5r5r6rcs cCs|jS)a **[Required]** Gets the lifecycle_state of this Pool. The current state of this pool. Allowed values for this property are: "ACCEPTED", "SCHEDULED", "CREATING", "ACTIVE", "STOPPING", "STOPPED", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Pool. :rtype: str )r*r9r5r5r6ros zPool.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this Pool. The current state of this pool. :param lifecycle_state: The lifecycle_state of this Pool. :type: str ) rrr r r r r rrrZUNKNOWN_ENUM_VALUEN)rr*)r3rZallowed_valuesr5r5r6r~s  cCs|jS)z **[Required]** Gets the owner_principal_id of this Pool. The OCID of the user who created the resource. :return: The owner_principal_id of this Pool. :rtype: str r+r9r5r5r6rs zPool.owner_principal_idcCs ||_dS)z Sets the owner_principal_id of this Pool. The OCID of the user who created the resource. :param owner_principal_id: The owner_principal_id of this Pool. :type: str Nr@)r3rr5r5r6rs cCs|jS)aM Gets the owner_user_name of this Pool. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :return: The owner_user_name of this Pool. :rtype: str r,r9r5r5r6rs zPool.owner_user_namecCs ||_dS)a[ Sets the owner_user_name of this Pool. The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. :param owner_user_name: The owner_user_name of this Pool. :type: str NrA)r3rr5r5r6rs cCs|jS)z Gets the pool_metrics of this Pool. :return: The pool_metrics of this Pool. :rtype: oci.data_flow.models.PoolMetrics r-r9r5r5r6rszPool.pool_metricscCs ||_dS)z Sets the pool_metrics of this Pool. :param pool_metrics: The pool_metrics of this Pool. :type: oci.data_flow.models.PoolMetrics NrB)r3rr5r5r6rscCs|jS)z **[Required]** Gets the configurations of this Pool. List of PoolConfig items. :return: The configurations of this Pool. :rtype: list[oci.data_flow.models.PoolConfig] r.r9r5r5r6rs zPool.configurationscCs ||_dS)z Sets the configurations of this Pool. List of PoolConfig items. :param configurations: The configurations of this Pool. :type: list[oci.data_flow.models.PoolConfig] NrC)r3rr5r5r6rs cCs|jS)z Gets the schedules of this Pool. A list of schedules for pool to auto start and stop. :return: The schedules of this Pool. :rtype: list[oci.data_flow.models.PoolSchedule] r/r9r5r5r6rs zPool.schedulescCs ||_dS)z Sets the schedules of this Pool. A list of schedules for pool to auto start and stop. :param schedules: The schedules of this Pool. :type: list[oci.data_flow.models.PoolSchedule] NrD)r3rr5r5r6rs cCs|jS)a_ Gets the idle_timeout_in_minutes of this Pool. Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto. :return: The idle_timeout_in_minutes of this Pool. :rtype: int r0r9r5r5r6r s zPool.idle_timeout_in_minutescCs ||_dS)au Sets the idle_timeout_in_minutes of this Pool. Optional timeout value in minutes used to auto stop Pools. A Pool will be auto stopped after inactivity for this amount of time period. If value not set, pool will not be auto stopped auto. :param idle_timeout_in_minutes: The idle_timeout_in_minutes of this Pool. :type: int NrE)r3r r5r5r6r s cCs|jS)aK **[Required]** Gets the time_created of this Pool. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this Pool. :rtype: datetime r1r9r5r5r6r!s zPool.time_createdcCs ||_dS)aG Sets the time_created of this Pool. The date and time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this Pool. :type: datetime NrF)r3r!r5r5r6r!,s cCs|jS)aK **[Required]** Gets the time_updated of this Pool. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this Pool. :rtype: datetime r2r9r5r5r6r";s zPool.time_updatedcCs ||_dS)aG Sets the time_updated of this Pool. The date and time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2018-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this Pool. :type: datetime NrG)r3r"r5r5r6r"Js cCst|SN)rr9r5r5r6__repr__Ysz Pool.__repr__cCs|dur dS|j|jkS)NF)__dict__r3otherr5r5r6__eq__\sz Pool.__eq__cCs ||k SrHr5rKr5r5r6__ne__bsz Pool.__ne__N)$__name__ __module__ __qualname____doc__ZLIFECYCLE_STATE_ACCEPTEDZLIFECYCLE_STATE_SCHEDULEDZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_STOPPINGZLIFECYCLE_STATE_STOPPEDZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr7propertyrsetterrrrrrrrrrrrrr r!r"rIrMrNr5r5r5r6r s                                rN)Zoci.utilrrrZoci.decoratorsrobjectrr5r5r5r6s