a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@sleZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZed d!Zejd"d!Zed#d$Zejd%d$Zed&d'Zejd(d'Zed)d*Zejd+d*Zed,d-Zejd.d-Zed/d0Zejd1d0Zed2d3Zejd4d3Zed5d6Z e jd7d6Z ed8d9Z!e!jd:d9Z!ed;d<Z"e"jd=d<Z"ed>d?Z#e#jd@d?Z#edAdBZ$e$jdCdBZ$edDdEZ%e%jdFdEZ%edGdHZ&e&jdIdHZ&edJdKZ'e'jdLdKZ'dMdNZ(dOdPZ)dQdRZ*dSS)T MyRequestz Request resource replaceupdatedeleteCREATEDCOMPLETE IN_PROGRESSAPPROVEDREJECTEDCANCELEDEXPIREDFAILEDCANCELESCALATEcKsddddddddddddddddddd d d |_d d ddddddddddddddddddd |_d |_d |_d |_d |_d |_d |_d |_d |_ d |_ d |_ d |_ d |_ d |_d |_d |_d |_d |_d |_d |_d |_d S)!a Initializes a new MyRequest 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 MyRequest. :type id: str :param ocid: The value to assign to the ocid property of this MyRequest. :type ocid: str :param schemas: The value to assign to the schemas property of this MyRequest. :type schemas: list[str] :param meta: The value to assign to the meta property of this MyRequest. :type meta: oci.identity_domains.models.Meta :param idcs_created_by: The value to assign to the idcs_created_by property of this MyRequest. :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 MyRequest. :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 MyRequest. 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 MyRequest. :type tags: list[oci.identity_domains.models.Tags] :param delete_in_progress: The value to assign to the delete_in_progress property of this MyRequest. :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 MyRequest. :type idcs_last_upgraded_in_release: str :param domain_ocid: The value to assign to the domain_ocid property of this MyRequest. :type domain_ocid: str :param compartment_ocid: The value to assign to the compartment_ocid property of this MyRequest. :type compartment_ocid: str :param tenancy_ocid: The value to assign to the tenancy_ocid property of this MyRequest. :type tenancy_ocid: str :param justification: The value to assign to the justification property of this MyRequest. :type justification: str :param status: The value to assign to the status property of this MyRequest. Allowed values for this property are: "CREATED", "COMPLETE", "IN_PROGRESS", "APPROVED", "REJECTED", "CANCELED", "EXPIRED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param action: The value to assign to the action property of this MyRequest. Allowed values for this property are: "CANCEL", "ESCALATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param expires: The value to assign to the expires property of this MyRequest. :type expires: str :param approval_details: The value to assign to the approval_details property of this MyRequest. :type approval_details: list[oci.identity_domains.models.MyRequestApprovalDetails] :param requestor: The value to assign to the requestor property of this MyRequest. :type requestor: oci.identity_domains.models.MyRequestRequestor :param requesting: The value to assign to the requesting property of this MyRequest. :type requesting: oci.identity_domains.models.MyRequestRequesting strz list[str]ZMetaZ IdcsCreatedByZIdcsLastModifiedByz list[Tags]boolzlist[MyRequestApprovalDetails]ZMyRequestRequestorZMyRequestRequesting)idocidschemasmetaidcs_created_byidcs_last_modified_byidcs_prevented_operationstagsdelete_in_progressidcs_last_upgraded_in_release domain_ocidcompartment_ocid tenancy_ocid justificationstatusactionexpiresapproval_details requestor requestingrrrrZ idcsCreatedByZidcsLastModifiedByZidcsPreventedOperationsrZdeleteInProgressZidcsLastUpgradedInReleaseZ domainOcidZcompartmentOcidZ tenancyOcidr#r$r%r&ZapprovalDetailsr(r)N)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_justification_status_action_expires_approval_details _requestor _requesting)selfkwargsr@J/usr/lib/python3.9/site-packages/oci/identity_domains/models/my_request.py__init__Fs|]zMyRequest.__init__cCs|jS)a Gets the id of this MyRequest. 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 MyRequest. :rtype: str r*r>r@r@rArsz MyRequest.idcCs ||_dS)a Sets the id of this MyRequest. 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 MyRequest. :type: str NrC)r>rr@r@rArscCs|jS)a Gets the ocid of this MyRequest. 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 MyRequest. :rtype: str r+rDr@r@rArszMyRequest.ocidcCs ||_dS)a Sets the ocid of this MyRequest. 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 MyRequest. :type: str NrE)r>rr@r@rAr'scCs|jS)a **[Required]** Gets the schemas of this MyRequest. 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 MyRequest. :rtype: list[str] r,rDr@r@rAr=szMyRequest.schemascCs ||_dS)a Sets the schemas of this MyRequest. 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 MyRequest. :type: list[str] NrF)r>rr@r@rArSscCs|jS)z Gets the meta of this MyRequest. :return: The meta of this MyRequest. :rtype: oci.identity_domains.models.Meta r-rDr@r@rAriszMyRequest.metacCs ||_dS)z Sets the meta of this MyRequest. :param meta: The meta of this MyRequest. :type: oci.identity_domains.models.Meta NrG)r>rr@r@rArsscCs|jS)z Gets the idcs_created_by of this MyRequest. :return: The idcs_created_by of this MyRequest. :rtype: oci.identity_domains.models.IdcsCreatedBy r.rDr@r@rAr}szMyRequest.idcs_created_bycCs ||_dS)z Sets the idcs_created_by of this MyRequest. :param idcs_created_by: The idcs_created_by of this MyRequest. :type: oci.identity_domains.models.IdcsCreatedBy NrH)r>rr@r@rArscCs|jS)z Gets the idcs_last_modified_by of this MyRequest. :return: The idcs_last_modified_by of this MyRequest. :rtype: oci.identity_domains.models.IdcsLastModifiedBy r/rDr@r@rArszMyRequest.idcs_last_modified_bycCs ||_dS)z Sets the idcs_last_modified_by of this MyRequest. :param idcs_last_modified_by: The idcs_last_modified_by of this MyRequest. :type: oci.identity_domains.models.IdcsLastModifiedBy NrI)r>rr@r@rArscCs|jS)a Gets the idcs_prevented_operations of this MyRequest. 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 MyRequest. :rtype: list[str] r0rDr@r@rArsz#MyRequest.idcs_prevented_operationscs0gd|r&fdd|D|dd<||_dS)a) Sets the idcs_prevented_operations of this MyRequest. 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 MyRequest. :type: list[str] )rrr csg|]}t|sdn|qS)UNKNOWN_ENUM_VALUE)r).0xallowed_valuesr@rA z7MyRequest.idcs_prevented_operations..NrJ)r>rr@rNrArscCs|jS)a Gets the tags of this MyRequest. 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 MyRequest. :rtype: list[oci.identity_domains.models.Tags] r1rDr@r@rArszMyRequest.tagscCs ||_dS)a Sets the tags of this MyRequest. 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 MyRequest. :type: list[oci.identity_domains.models.Tags] NrR)r>rr@r@rArscCs|jS)a= Gets the delete_in_progress of this MyRequest. 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 MyRequest. :rtype: bool r2rDr@r@rArszMyRequest.delete_in_progresscCs ||_dS)aN Sets the delete_in_progress of this MyRequest. 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 MyRequest. :type: bool NrS)r>rr@r@rArscCs|jS)a Gets the idcs_last_upgraded_in_release of this MyRequest. 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 MyRequest. :rtype: str r3rDr@r@rAr-sz'MyRequest.idcs_last_upgraded_in_releasecCs ||_dS)a Sets the idcs_last_upgraded_in_release of this MyRequest. 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 MyRequest. :type: str NrT)r>rr@r@rArCscCs|jS)a Gets the domain_ocid of this MyRequest. 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 MyRequest. :rtype: str r4rDr@r@rAr YszMyRequest.domain_ocidcCs ||_dS)a Sets the domain_ocid of this MyRequest. 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 MyRequest. :type: str NrU)r>r r@r@rAr oscCs|jS)a Gets the compartment_ocid of this MyRequest. 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 MyRequest. :rtype: str r5rDr@r@rAr!szMyRequest.compartment_ocidcCs ||_dS)a Sets the compartment_ocid of this MyRequest. 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 MyRequest. :type: str NrV)r>r!r@r@rAr!scCs|jS)a Gets the tenancy_ocid of this MyRequest. 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 MyRequest. :rtype: str r6rDr@r@rAr"szMyRequest.tenancy_ocidcCs ||_dS)a Sets the tenancy_ocid of this MyRequest. 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 MyRequest. :type: str NrW)r>r"r@r@rAr"scCs|jS)a **[Required]** Gets the justification of this MyRequest. justification **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none :return: The justification of this MyRequest. :rtype: str r7rDr@r@rAr#szMyRequest.justificationcCs ||_dS)a Sets the justification of this MyRequest. justification **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none :param justification: The justification of this MyRequest. :type: str NrX)r>r#r@r@rAr#scCs|jS)a Gets the status of this MyRequest. status **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none Allowed values for this property are: "CREATED", "COMPLETE", "IN_PROGRESS", "APPROVED", "REJECTED", "CANCELED", "EXPIRED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this MyRequest. :rtype: str )r8rDr@r@rAr$ szMyRequest.statuscCs gd}t||sd}||_dS)a Sets the status of this MyRequest. status **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none :param status: The status of this MyRequest. :type: str )r r r r rrrrrKN)rr8)r>r$rOr@r@rAr$"s cCs|jS)a; Gets the action of this MyRequest. Requestor can set action to CANCEL to cancel the request or to ESCALATE to escalate the request while the request status is IN_PROGRESS. Requestor can't escalate the request if canceling or escalation is in progress. **Added In:** 2307071836 **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none Allowed values for this property are: "CANCEL", "ESCALATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The action of this MyRequest. :rtype: str )r9rDr@r@rAr%;szMyRequest.actioncCs ddg}t||sd}||_dS)a Sets the action of this MyRequest. Requestor can set action to CANCEL to cancel the request or to ESCALATE to escalate the request while the request status is IN_PROGRESS. Requestor can't escalate the request if canceling or escalation is in progress. **Added In:** 2307071836 **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :param action: The action of this MyRequest. :type: str rrrKN)rr9)r>r%rOr@r@rAr%Vs cCs|jS)a Gets the expires of this MyRequest. Time by when Request expires **Added In:** 2307071836 **SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: none :return: The expires of this MyRequest. :rtype: str r:rDr@r@rAr&qszMyRequest.expirescCs ||_dS)a Sets the expires of this MyRequest. Time by when Request expires **Added In:** 2307071836 **SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: none :param expires: The expires of this MyRequest. :type: str NrY)r>r&r@r@rAr&scCs|jS)a Gets the approval_details of this MyRequest. Approvals created for this request. **Added In:** 2307071836 **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - returned: request - type: complex - uniqueness: none :return: The approval_details of this MyRequest. :rtype: list[oci.identity_domains.models.MyRequestApprovalDetails] r;rDr@r@rAr'szMyRequest.approval_detailscCs ||_dS)a Sets the approval_details of this MyRequest. Approvals created for this request. **Added In:** 2307071836 **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - returned: request - type: complex - uniqueness: none :param approval_details: The approval_details of this MyRequest. :type: list[oci.identity_domains.models.MyRequestApprovalDetails] NrZ)r>r'r@r@rAr'scCs|jS)z Gets the requestor of this MyRequest. :return: The requestor of this MyRequest. :rtype: oci.identity_domains.models.MyRequestRequestor r<rDr@r@rAr(szMyRequest.requestorcCs ||_dS)z Sets the requestor of this MyRequest. :param requestor: The requestor of this MyRequest. :type: oci.identity_domains.models.MyRequestRequestor Nr[)r>r(r@r@rAr(scCs|jS)z **[Required]** Gets the requesting of this MyRequest. :return: The requesting of this MyRequest. :rtype: oci.identity_domains.models.MyRequestRequesting r=rDr@r@rAr)szMyRequest.requestingcCs ||_dS)z Sets the requesting of this MyRequest. :param requesting: The requesting of this MyRequest. :type: oci.identity_domains.models.MyRequestRequesting Nr\)r>r)r@r@rAr)scCst|SN)rrDr@r@rA__repr__szMyRequest.__repr__cCs|dur dS|j|jkS)NF)__dict__r>otherr@r@rA__eq__szMyRequest.__eq__cCs ||k Sr]r@r`r@r@rA__ne__szMyRequest.__ne__N)+__name__ __module__ __qualname____doc__Z!IDCS_PREVENTED_OPERATIONS_REPLACEZ IDCS_PREVENTED_OPERATIONS_UPDATEZ IDCS_PREVENTED_OPERATIONS_DELETEZSTATUS_CREATEDZSTATUS_COMPLETEZSTATUS_IN_PROGRESSZSTATUS_APPROVEDZSTATUS_REJECTEDZSTATUS_CANCELEDZSTATUS_EXPIREDZ STATUS_FAILEDZ ACTION_CANCELZACTION_ESCALATErBpropertyrsetterrrrrrrrrrr r!r"r#r$r%r&r'r(r)r^rbrcr@r@r@rAr s                                         rN)Zoci.utilrrrZoci.decoratorsrobjectrr@r@r@rAs