ruạṛ
a ���f�@ � @ 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 d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Zd0d1� Zd2d3� Zd4d5� Zd6S )7�MonitoredResourceTaskzE The request details for importing resources from Telemetry. �ACCEPTED�IN_PROGRESS�WAITING�FAILED� SUCCEEDED� CANCELING�CANCELED�NEEDS_ATTENTIONc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )az Initializes a new MonitoredResourceTask 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 MonitoredResourceTask. :type id: str :param name: The value to assign to the name property of this MonitoredResourceTask. :type name: str :param compartment_id: The value to assign to the compartment_id property of this MonitoredResourceTask. :type compartment_id: str :param tenant_id: The value to assign to the tenant_id property of this MonitoredResourceTask. :type tenant_id: str :param task_details: The value to assign to the task_details property of this MonitoredResourceTask. :type task_details: oci.stack_monitoring.models.MonitoredResourceTaskDetails :param work_request_ids: The value to assign to the work_request_ids property of this MonitoredResourceTask. :type work_request_ids: list[str] :param time_created: The value to assign to the time_created property of this MonitoredResourceTask. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MonitoredResourceTask. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this MonitoredResourceTask. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param freeform_tags: The value to assign to the freeform_tags property of this MonitoredResourceTask. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MonitoredResourceTask. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MonitoredResourceTask. :type system_tags: dict(str, dict(str, object)) �strZMonitoredResourceTaskDetailsz list[str]Zdatetimezdict(str, str)zdict(str, dict(str, object)))�id�name�compartment_id� tenant_id�task_details�work_request_ids�time_created�time_updated�lifecycle_state� freeform_tags�defined_tags�system_tagsr r Z compartmentIdZtenantIdZtaskDetailsZworkRequestIdsZtimeCreatedZtimeUpdatedZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_name�_compartment_id� _tenant_id� _task_details�_work_request_ids� _time_created� _time_updated�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r* �W/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/monitored_resource_task.py�__init__2 sL 9��zMonitoredResourceTask.__init__c C s | j S )a **[Required]** Gets the id of this MonitoredResourceTask. Task identifier `OCID`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this MonitoredResourceTask. :rtype: str �r �r( r* r* r+ r � s zMonitoredResourceTask.idc C s || _ dS )z� Sets the id of this MonitoredResourceTask. Task identifier `OCID`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this MonitoredResourceTask. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the name of this MonitoredResourceTask. Name of the task. :return: The name of this MonitoredResourceTask. :rtype: str �r r. r* r* r+ r � s zMonitoredResourceTask.namec C s || _ dS )z� Sets the name of this MonitoredResourceTask. Name of the task. :param name: The name of this MonitoredResourceTask. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )a7 **[Required]** Gets the compartment_id of this MonitoredResourceTask. The `OCID`__ of the compartment identifier. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this MonitoredResourceTask. :rtype: str �r r. r* r* r+ r � s z$MonitoredResourceTask.compartment_idc C s || _ dS )a5 Sets the compartment_id of this MonitoredResourceTask. The `OCID`__ of the compartment identifier. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this MonitoredResourceTask. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )a Gets the tenant_id of this MonitoredResourceTask. The `OCID`__ of the tenancy. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The tenant_id of this MonitoredResourceTask. :rtype: str �r r. r* r* r+ r � s zMonitoredResourceTask.tenant_idc C s || _ dS )a Sets the tenant_id of this MonitoredResourceTask. The `OCID`__ of the tenancy. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param tenant_id: The tenant_id of this MonitoredResourceTask. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the task_details of this MonitoredResourceTask. :return: The task_details of this MonitoredResourceTask. :rtype: oci.stack_monitoring.models.MonitoredResourceTaskDetails �r r. r* r* r+ r s z"MonitoredResourceTask.task_detailsc C s || _ dS )z� Sets the task_details of this MonitoredResourceTask. :param task_details: The task_details of this MonitoredResourceTask. :type: oci.stack_monitoring.models.MonitoredResourceTaskDetails Nr2 )r( r r* r* r+ r s c C s | j S )aF Gets the work_request_ids of this MonitoredResourceTask. Identifiers `OCID`__ for work requests submitted for this task. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The work_request_ids of this MonitoredResourceTask. :rtype: list[str] �r! r. r* r* r+ r s z&MonitoredResourceTask.work_request_idsc C s || _ dS )aU Sets the work_request_ids of this MonitoredResourceTask. Identifiers `OCID`__ for work requests submitted for this task. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param work_request_ids: The work_request_ids of this MonitoredResourceTask. :type: list[str] Nr3 )r( r r* r* r+ r # s c C s | j S )aU Gets the time_created of this MonitoredResourceTask. The date and time when the stack monitoring resource task was created, expressed in `RFC 3339`__ timestamp format. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this MonitoredResourceTask. :rtype: datetime �r"