a üÎòf¥ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sºeZdZdZdZdZdd„Zedd„ƒZej dd„ƒZed d „ƒZ e j d d „ƒZ ed d „ƒZ e j dd „ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Zdd„Zdd„ZdS)Ú Violationz Violation ÚWARNÚERRORcKsFddddddœ|_ddddddœ|_d |_d |_d |_d |_d |_d S) a` Initializes a new Violation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param indexes: The value to assign to the indexes property of this Violation. :type indexes: list[oci.log_analytics.models.Indexes] :param rule_description: The value to assign to the rule_description property of this Violation. :type rule_description: str :param rule_name: The value to assign to the rule_name property of this Violation. :type rule_name: str :param rule_remediation: The value to assign to the rule_remediation property of this Violation. :type rule_remediation: str :param rule_type: The value to assign to the rule_type property of this Violation. Allowed values for this property are: "WARN", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type rule_type: str z list[Indexes]Ústr)ÚindexesÚrule_descriptionÚ rule_nameÚrule_remediationÚ rule_typer ZruleDescriptionZruleNameZruleRemediationZruleTypeN)Z swagger_typesZ attribute_mapÚ_indexesÚ_rule_descriptionÚ _rule_nameÚ_rule_remediationÚ _rule_type)ÚselfÚkwargs©rúF/usr/lib/python3.9/site-packages/oci/log_analytics/models/violation.pyÚ__init__s"û ûzViolation.__init__cCs|jS)zá Gets the indexes of this Violation. The indices associated with regular expression violations. :return: The indexes of this Violation. :rtype: list[oci.log_analytics.models.Indexes] ©r©rrrrr Ls zViolation.indexescCs ||_dS)zç Sets the indexes of this Violation. The indices associated with regular expression violations. :param indexes: The indexes of this Violation. :type: list[oci.log_analytics.models.Indexes] Nr)rr rrrr Xs cCs|jS)z« Gets the rule_description of this Violation. The rule description. :return: The rule_description of this Violation. :rtype: str ©rrrrrr ds zViolation.rule_descriptioncCs ||_dS)zº Sets the rule_description of this Violation. The rule description. :param rule_description: The rule_description of this Violation. :type: str Nr)rr rrrr ps cCs|jS)z– Gets the rule_name of this Violation. The rule name. :return: The rule_name of this Violation. :rtype: str ©rrrrrr |s zViolation.rule_namecCs ||_dS)zž Sets the rule_name of this Violation. The rule name. :param rule_name: The rule_name of this Violation. :type: str Nr)rr rrrr ˆs cCs|jS)z« Gets the rule_remediation of this Violation. The rule remediation. :return: The rule_remediation of this Violation. :rtype: str ©rrrrrr ”s zViolation.rule_remediationcCs ||_dS)zº Sets the rule_remediation of this Violation. The rule remediation. :param rule_remediation: The rule_remediation of this Violation. :type: str Nr)rr rrrr  s cCs|jS)aa Gets the rule_type of this Violation. The rule type. Either WARN or ERROR. Allowed values for this property are: "WARN", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The rule_type of this Violation. :rtype: str )rrrrrr¬s zViolation.rule_typecCs ddg}t||ƒsd}||_dS)zµ Sets the rule_type of this Violation. The rule type. Either WARN or ERROR. :param rule_type: The rule_type of this Violation. :type: str rrZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr»s  cCst|ƒS©N)rrrrrÚ__repr__ÊszViolation.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__ÍszViolation.__eq__cCs ||k Srrr!rrrÚ__ne__ÓszViolation.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ZRULE_TYPE_WARNZRULE_TYPE_ERRORrÚpropertyr Úsetterr r r rrr#r$rrrrr s62          rN)Zoci.utilrrrZoci.decoratorsrÚobjectrrrrrÚs