a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@steZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zed.d/Zejd0d/Zed1d2Z e jd3d2Z ed4d5Z!e!jd6d5Z!ed7d8Z"e"jd9d8Z"ed:d;Z#e#jdZ$e$jd?d>Z$ed@dAZ%e%jdBdAZ%edCdDZ&e&jdEdDZ&edFdGZ'e'jdHdGZ'edIdJZ(e(jdKdJZ(edLdMZ)e)jdNdMZ)dOdPZ*dQdRZ+dSdTZ,dUS)V Conditionz? Condition resource. A unit that captures a condition. replaceupdatedeleteeqnecocoanyswewgtgeltleinnincKsddddddddddddddddddddd|_d d d d d dddddddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_dS)ac Initializes a new Condition 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 Condition. :type id: str :param ocid: The value to assign to the ocid property of this Condition. :type ocid: str :param schemas: The value to assign to the schemas property of this Condition. :type schemas: list[str] :param meta: The value to assign to the meta property of this Condition. :type meta: oci.identity_domains.models.Meta :param idcs_created_by: The value to assign to the idcs_created_by property of this Condition. :type idcs_created_by: oci.identity_domains.models.IdcsCreatedBy :param idcs_last_modified_by: The value to assign to the idcs_last_modified_by property of this Condition. :type idcs_last_modified_by: oci.identity_domains.models.IdcsLastModifiedBy :param idcs_prevented_operations: The value to assign to the idcs_prevented_operations property of this Condition. Allowed values for items in this list are: "replace", "update", "delete", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type idcs_prevented_operations: list[str] :param tags: The value to assign to the tags property of this Condition. :type tags: list[oci.identity_domains.models.Tags] :param delete_in_progress: The value to assign to the delete_in_progress property of this Condition. :type delete_in_progress: bool :param idcs_last_upgraded_in_release: The value to assign to the idcs_last_upgraded_in_release property of this Condition. :type idcs_last_upgraded_in_release: str :param domain_ocid: The value to assign to the domain_ocid property of this Condition. :type domain_ocid: str :param compartment_ocid: The value to assign to the compartment_ocid property of this Condition. :type compartment_ocid: str :param tenancy_ocid: The value to assign to the tenancy_ocid property of this Condition. :type tenancy_ocid: str :param external_id: The value to assign to the external_id property of this Condition. :type external_id: str :param name: The value to assign to the name property of this Condition. :type name: str :param description: The value to assign to the description property of this Condition. :type description: str :param attribute_name: The value to assign to the attribute_name property of this Condition. :type attribute_name: str :param operator: The value to assign to the operator property of this Condition. Allowed values for this property are: "eq", "ne", "co", "coany", "sw", "ew", "gt", "ge", "lt", "le", "in", "nin", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operator: str :param attribute_value: The value to assign to the attribute_value property of this Condition. :type attribute_value: str :param evaluate_condition_if: The value to assign to the evaluate_condition_if property of this Condition. :type evaluate_condition_if: str strz list[str]ZMetaZ IdcsCreatedByZIdcsLastModifiedByz list[Tags]bool)idocidschemasmetaidcs_created_byidcs_last_modified_byidcs_prevented_operationstagsdelete_in_progressidcs_last_upgraded_in_release domain_ocidcompartment_ocid tenancy_ocid external_idname descriptionattribute_nameoperatorattribute_valueevaluate_condition_ifrrrrZ idcsCreatedByZidcsLastModifiedByZidcsPreventedOperationsrZdeleteInProgressZidcsLastUpgradedInReleaseZ domainOcidZcompartmentOcidZ tenancyOcidZ externalIdr&r'Z attributeNamer)ZattributeValueZevaluateConditionIfN)Z swagger_typesZ attribute_map_id_ocid_schemas_meta_idcs_created_by_idcs_last_modified_by_idcs_prevented_operations_tags_delete_in_progress_idcs_last_upgraded_in_release _domain_ocid_compartment_ocid _tenancy_ocid _external_id_name _description_attribute_name _operator_attribute_value_evaluate_condition_if)selfkwargsrBI/usr/lib/python3.9/site-packages/oci/identity_domains/models/condition.py__init__Ns|[zCondition.__init__cCs|jS)a Gets the id of this Condition. Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: always - type: string - uniqueness: global :return: The id of this Condition. :rtype: str r,r@rBrBrCrsz Condition.idcCs ||_dS)a Sets the id of this Condition. Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: always - type: string - uniqueness: global :param id: The id of this Condition. :type: str NrE)r@rrBrBrCrscCs|jS)a Gets the ocid of this Condition. Unique OCI identifier for the SCIM Resource. **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: global :return: The ocid of this Condition. :rtype: str r-rFrBrBrCrszCondition.ocidcCs ||_dS)a Sets the ocid of this Condition. Unique OCI identifier for the SCIM Resource. **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: global :param ocid: The ocid of this Condition. :type: str NrG)r@rrBrBrCr-scCs|jS)a **[Required]** Gets the schemas of this Condition. REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \"enterprise\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none :return: The schemas of this Condition. :rtype: list[str] r.rFrBrBrCrCszCondition.schemascCs ||_dS)a Sets the schemas of this Condition. REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \"enterprise\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none :param schemas: The schemas of this Condition. :type: list[str] NrH)r@rrBrBrCrYscCs|jS)z Gets the meta of this Condition. :return: The meta of this Condition. :rtype: oci.identity_domains.models.Meta r/rFrBrBrCroszCondition.metacCs ||_dS)z Sets the meta of this Condition. :param meta: The meta of this Condition. :type: oci.identity_domains.models.Meta NrI)r@rrBrBrCryscCs|jS)z Gets the idcs_created_by of this Condition. :return: The idcs_created_by of this Condition. :rtype: oci.identity_domains.models.IdcsCreatedBy r0rFrBrBrCrszCondition.idcs_created_bycCs ||_dS)z Sets the idcs_created_by of this Condition. :param idcs_created_by: The idcs_created_by of this Condition. :type: oci.identity_domains.models.IdcsCreatedBy NrJ)r@rrBrBrCrscCs|jS)z Gets the idcs_last_modified_by of this Condition. :return: The idcs_last_modified_by of this Condition. :rtype: oci.identity_domains.models.IdcsLastModifiedBy r1rFrBrBrCrszCondition.idcs_last_modified_bycCs ||_dS)z Sets the idcs_last_modified_by of this Condition. :param idcs_last_modified_by: The idcs_last_modified_by of this Condition. :type: oci.identity_domains.models.IdcsLastModifiedBy NrK)r@rrBrBrCrscCs|jS)a Gets the idcs_prevented_operations of this Condition. Each value of this attribute specifies an operation that only an internal client may perform on this particular resource. **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none Allowed values for items in this list are: "replace", "update", "delete", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The idcs_prevented_operations of this Condition. :rtype: list[str] r2rFrBrBrCrsz#Condition.idcs_prevented_operationscs0gd|r&fdd|D|dd<||_dS)a) Sets the idcs_prevented_operations of this Condition. Each value of this attribute specifies an operation that only an internal client may perform on this particular resource. **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none :param idcs_prevented_operations: The idcs_prevented_operations of this Condition. :type: list[str] )rrr csg|]}t|sdn|qS)UNKNOWN_ENUM_VALUE)r).0xallowed_valuesrBrC z7Condition.idcs_prevented_operations..NrL)r@rrBrPrCrscCs|jS)a Gets the tags of this Condition. A list of tags on this resource. **SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: false - returned: request - type: complex - uniqueness: none :return: The tags of this Condition. :rtype: list[oci.identity_domains.models.Tags] r3rFrBrBrCrszCondition.tagscCs ||_dS)a Sets the tags of this Condition. A list of tags on this resource. **SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: false - returned: request - type: complex - uniqueness: none :param tags: The tags of this Condition. :type: list[oci.identity_domains.models.Tags] NrT)r@rrBrBrCrscCs|jS)a= Gets the delete_in_progress of this Condition. A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long. **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none :return: The delete_in_progress of this Condition. :rtype: bool r4rFrBrBrCr szCondition.delete_in_progresscCs ||_dS)aN Sets the delete_in_progress of this Condition. A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long. **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none :param delete_in_progress: The delete_in_progress of this Condition. :type: bool NrU)r@r rBrBrCr scCs|jS)a Gets the idcs_last_upgraded_in_release of this Condition. The release number when the resource was upgraded. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none :return: The idcs_last_upgraded_in_release of this Condition. :rtype: str r5rFrBrBrCr!3sz'Condition.idcs_last_upgraded_in_releasecCs ||_dS)a Sets the idcs_last_upgraded_in_release of this Condition. The release number when the resource was upgraded. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none :param idcs_last_upgraded_in_release: The idcs_last_upgraded_in_release of this Condition. :type: str NrV)r@r!rBrBrCr!IscCs|jS)a Gets the domain_ocid of this Condition. OCI Domain Id (ocid) in which the resource lives. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :return: The domain_ocid of this Condition. :rtype: str r6rFrBrBrCr"_szCondition.domain_ocidcCs ||_dS)a Sets the domain_ocid of this Condition. OCI Domain Id (ocid) in which the resource lives. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :param domain_ocid: The domain_ocid of this Condition. :type: str NrW)r@r"rBrBrCr"uscCs|jS)a Gets the compartment_ocid of this Condition. OCI Compartment Id (ocid) in which the resource lives. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :return: The compartment_ocid of this Condition. :rtype: str r7rFrBrBrCr#szCondition.compartment_ocidcCs ||_dS)a Sets the compartment_ocid of this Condition. OCI Compartment Id (ocid) in which the resource lives. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :param compartment_ocid: The compartment_ocid of this Condition. :type: str NrX)r@r#rBrBrCr#scCs|jS)a Gets the tenancy_ocid of this Condition. OCI Tenant Id (ocid) in which the resource lives. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :return: The tenancy_ocid of this Condition. :rtype: str r8rFrBrBrCr$szCondition.tenancy_ocidcCs ||_dS)a Sets the tenancy_ocid of this Condition. OCI Tenant Id (ocid) in which the resource lives. **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :param tenancy_ocid: The tenancy_ocid of this Condition. :type: str NrY)r@r$rBrBrCr$scCs|jS)a5 Gets the external_id of this Condition. An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued be the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :return: The external_id of this Condition. :rtype: str r9rFrBrBrCr%szCondition.external_idcCs ||_dS)a? Sets the external_id of this Condition. An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued be the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :param external_id: The external_id of this Condition. :type: str NrZ)r@r%rBrBrCr%scCs|jS)a **[Required]** Gets the name of this Condition. Condition name **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - returned: always - type: string - uniqueness: global :return: The name of this Condition. :rtype: str r:rFrBrBrCr&szCondition.namecCs ||_dS)a Sets the name of this Condition. Condition name **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - returned: always - type: string - uniqueness: global :param name: The name of this Condition. :type: str Nr[)r@r&rBrBrCr&%scCs|jS)a Gets the description of this Condition. Condition Description **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :return: The description of this Condition. :rtype: str r;rFrBrBrCr';szCondition.descriptioncCs ||_dS)a Sets the description of this Condition. Condition Description **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :param description: The description of this Condition. :type: str Nr\)r@r'rBrBrCr'PscCs|jS)a **[Required]** Gets the attribute_name of this Condition. AttributeName - RHS of condition **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none :return: The attribute_name of this Condition. :rtype: str r<rFrBrBrCr(eszCondition.attribute_namecCs ||_dS)a Sets the attribute_name of this Condition. AttributeName - RHS of condition **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none :param attribute_name: The attribute_name of this Condition. :type: str Nr])r@r(rBrBrCr({scCs|jS)a **[Required]** Gets the operator of this Condition. **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none Operator in the condition. It support all SCIM operators like eq, gt, lt, le, sw etc Allowed values for this property are: "eq", "ne", "co", "coany", "sw", "ew", "gt", "ge", "lt", "le", "in", "nin", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operator of this Condition. :rtype: str )r=rFrBrBrCr)szCondition.operatorcCs gd}t||sd}||_dS)a Sets the operator of this Condition. **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none Operator in the condition. It support all SCIM operators like eq, gt, lt, le, sw etc :param operator: The operator of this Condition. :type: str ) r r r r rrrrrrrrrMN)rr=)r@r)rQrBrBrCr)s cCs|jS)a **[Required]** Gets the attribute_value of this Condition. attributeValue - RHS of condition **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none :return: The attribute_value of this Condition. :rtype: str r>rFrBrBrCr*szCondition.attribute_valuecCs ||_dS)a Sets the attribute_value of this Condition. attributeValue - RHS of condition **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none :param attribute_value: The attribute_value of this Condition. :type: str Nr^)r@r*rBrBrCr*scCs|jS)a Gets the evaluate_condition_if of this Condition. Evaluate the condition if this expression returns true, else skip condition evaluation **Added In:** 18.1.6 **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :return: The evaluate_condition_if of this Condition. :rtype: str r?rFrBrBrCr+szCondition.evaluate_condition_ifcCs ||_dS)a/ Sets the evaluate_condition_if of this Condition. Evaluate the condition if this expression returns true, else skip condition evaluation **Added In:** 18.1.6 **SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :param evaluate_condition_if: The evaluate_condition_if of this Condition. :type: str Nr_)r@r+rBrBrCr+scCst|SN)rrFrBrBrC__repr__szCondition.__repr__cCs|dur dS|j|jkS)NF)__dict__r@otherrBrBrC__eq__ szCondition.__eq__cCs ||k Sr`rBrcrBrBrC__ne__&szCondition.__ne__N)-__name__ __module__ __qualname____doc__Z!IDCS_PREVENTED_OPERATIONS_REPLACEZ IDCS_PREVENTED_OPERATIONS_UPDATEZ IDCS_PREVENTED_OPERATIONS_DELETEZ OPERATOR_EQZ OPERATOR_NEZ OPERATOR_COZOPERATOR_COANYZ OPERATOR_SWZ OPERATOR_EWZ OPERATOR_GTZ OPERATOR_GEZ OPERATOR_LTZ OPERATOR_LEZ OPERATOR_INZ OPERATOR_NINrDpropertyrsetterrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+rarerfrBrBrBrCr s                                        rN)Zoci.utilrrrZoci.decoratorsrobjectrrBrBrBrCs