a f-@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s<eZdZdZdZdZddZeddZej ddZed d Z e j d d Z ed d Z e j dd Z eddZ e j ddZ eddZ e j ddZ eddZej ddZeddZej ddZeddZej ddZeddZej d dZed!d"Zej d#d"Zd$d%Zd&d'Zd(d)Zd*S)+ LogAnalyticsz& Description of LogAnalytics. ACTIVEDELETEDc Ksxddddddddddd |_dddd d d d d ddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ dS)a Initializes a new LogAnalytics 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 LogAnalytics. :type id: str :param display_name: The value to assign to the display_name property of this LogAnalytics. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this LogAnalytics. :type compartment_id: str :param log_analytics_type: The value to assign to the log_analytics_type property of this LogAnalytics. :type log_analytics_type: str :param time_created: The value to assign to the time_created property of this LogAnalytics. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this LogAnalytics. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this LogAnalytics. Allowed values for this property are: "ACTIVE", "DELETED" :type lifecycle_state: str :param lifecyle_details: The value to assign to the lifecyle_details property of this LogAnalytics. :type lifecyle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this LogAnalytics. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this LogAnalytics. :type defined_tags: dict(str, dict(str, object)) strZdatetimezdict(str, str)zdict(str, dict(str, object))) id display_namecompartment_idlog_analytics_type time_created time_updatedlifecycle_statelifecyle_details freeform_tags defined_tagsr Z displayNameZ compartmentIdZlogAnalyticsTypeZ timeCreatedZ timeUpdatedZlifecycleStateZlifecyleDetailsZ freeformTagsZ definedTagsN) Z swagger_typesZ attribute_map_id _display_name_compartment_id_log_analytics_type _time_created _time_updated_lifecycle_state_lifecyle_details_freeform_tags _defined_tags)selfkwargsr J/usr/lib/python3.9/site-packages/oci/log_analytics/models/log_analytics.py__init__s@0 zLogAnalytics.__init__cCs|jS)z **[Required]** Gets the id of this LogAnalytics. Unique identifier that is immutable on creation :return: The id of this LogAnalytics. :rtype: str rrr r r!r ls zLogAnalytics.idcCs ||_dS)z Sets the id of this LogAnalytics. Unique identifier that is immutable on creation :param id: The id of this LogAnalytics. :type: str Nr#)rr r r r!r xs cCs|jS)z Gets the display_name of this LogAnalytics. LogAnalytics Identifier, can be renamed :return: The display_name of this LogAnalytics. :rtype: str rr$r r r!r s zLogAnalytics.display_namecCs ||_dS)z Sets the display_name of this LogAnalytics. LogAnalytics Identifier, can be renamed :param display_name: The display_name of this LogAnalytics. :type: str Nr%)rr r r r!r s cCs|jS)z **[Required]** Gets the compartment_id of this LogAnalytics. Compartment Identifier :return: The compartment_id of this LogAnalytics. :rtype: str rr$r r r!r s zLogAnalytics.compartment_idcCs ||_dS)z Sets the compartment_id of this LogAnalytics. Compartment Identifier :param compartment_id: The compartment_id of this LogAnalytics. :type: str Nr&)rr r r r!r s cCs|jS)z **[Required]** Gets the log_analytics_type of this LogAnalytics. Type of the LogAnalytics. :return: The log_analytics_type of this LogAnalytics. :rtype: str rr$r r r!r s zLogAnalytics.log_analytics_typecCs ||_dS)z Sets the log_analytics_type of this LogAnalytics. Type of the LogAnalytics. :param log_analytics_type: The log_analytics_type of this LogAnalytics. :type: str Nr')rr r r r!r s cCs|jS)z Gets the time_created of this LogAnalytics. The time the the LogAnalytics was created. An RFC3339 formatted datetime string :return: The time_created of this LogAnalytics. :rtype: datetime rr$r r r!rs zLogAnalytics.time_createdcCs ||_dS)z Sets the time_created of this LogAnalytics. The time the the LogAnalytics was created. An RFC3339 formatted datetime string :param time_created: The time_created of this LogAnalytics. :type: datetime Nr()rrr r r!rs cCs|jS)z Gets the time_updated of this LogAnalytics. The time the LogAnalytics was updated. An RFC3339 formatted datetime string :return: The time_updated of this LogAnalytics. :rtype: datetime rr$r r r!rs zLogAnalytics.time_updatedcCs ||_dS)z Sets the time_updated of this LogAnalytics. The time the LogAnalytics was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this LogAnalytics. :type: datetime Nr))rrr r r!rs cCs|jS)a Gets the lifecycle_state of this LogAnalytics. The current state of the LogAnalytics. Allowed values for this property are: "ACTIVE", "DELETED" :return: The lifecycle_state of this LogAnalytics. :rtype: str )rr$r r r!rs zLogAnalytics.lifecycle_statecCs*ddg}t||s td|||_dS)z Sets the lifecycle_state of this LogAnalytics. The current state of the LogAnalytics. :param lifecycle_state: The lifecycle_state of this LogAnalytics. :type: str rrz?Invalid value for `lifecycle_state`, must be None or one of {0}N)r ValueErrorformatr)rrZallowed_valuesr r r!r s  cCs|jS)a- Gets the lifecyle_details of this LogAnalytics. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecyle_details of this LogAnalytics. :rtype: str rr$r r r!rs zLogAnalytics.lifecyle_detailscCs ||_dS)a< Sets the lifecyle_details of this LogAnalytics. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecyle_details: The lifecyle_details of this LogAnalytics. :type: str Nr,)rrr r r!r(s cCs|jS)a? Gets the freeform_tags of this LogAnalytics. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this LogAnalytics. :rtype: dict(str, str) rr$r r r!r4s zLogAnalytics.freeform_tagscCs ||_dS)aK Sets the freeform_tags of this LogAnalytics. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this LogAnalytics. :type: dict(str, str) Nr-)rrr r r!rAs cCs|jS)a9 Gets the defined_tags of this LogAnalytics. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this LogAnalytics. :rtype: dict(str, dict(str, object)) rr$r r r!rNs zLogAnalytics.defined_tagscCs ||_dS)aD Sets the defined_tags of this LogAnalytics. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this LogAnalytics. :type: dict(str, dict(str, object)) Nr.)rrr r r!r[s cCst|SN)rr$r r r!__repr__hszLogAnalytics.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherr r r!__eq__kszLogAnalytics.__eq__cCs ||k Sr/r r2r r r!__ne__qszLogAnalytics.__ne__N)__name__ __module__ __qualname____doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETEDr"propertyr setterr r r rrrrrrr0r4r5r r r r!r s^T                    rN)Zoci.utilrrrZoci.decoratorsrobjectrr r r r!s