a f˒@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZddZeddZejddZeddZejddZeddZejddZeddZejd dZed!d"Zejd#d"Zed$d%Zejd&d%Zed'd(Zejd)d(Zed*d+Zejd,d+Zed-d.Z e jd/d.Z ed0d1Z!e!jd2d1Z!ed3d4Z"e"jd5d4Z"ed6d7Z#e#jd8d7Z#ed9d:Z$e$jd;d:Z$edd=Z%ed?d@Z&e&jdAd@Z&edBdCZ'e'jdDdCZ'edEdFZ(e(jdGdFZ(edHdIZ)e)jdJdIZ)edKdLZ*e*jdMdLZ*edNdOZ+e+jdPdOZ+edQdRZ,e,jdSdRZ,edTdUZ-e-jdVdUZ-dWdXZ.dYdZZ/d[d\Z0d]S)^Grantz# Schema for Grant Resource replaceupdatedeleteIMPORT_APPROLE_MEMBERSADMINISTRATOR_TO_USERADMINISTRATOR_TO_DELEGATED_USERADMINISTRATOR_TO_GROUPSERVICE_MANAGER_TO_USERADMINISTRATOR_TO_APPSERVICE_MANAGER_TO_APPOPC_INFRA_TO_APPGROUP_MEMBERSHIP IMPORT_GRANTS SYNC_TO_USERACCESS_REQUESTAPP_ENTITLEMENT_COLLECTION'ADMINISTRATOR_TO_DYNAMIC_RESOURCE_GROUPcKsddddddddddddddddddd 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$|_d$|_d$|_d$|_d$|_d$|_d$S)%a0 Initializes a new Grant 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 Grant. :type id: str :param ocid: The value to assign to the ocid property of this Grant. :type ocid: str :param schemas: The value to assign to the schemas property of this Grant. :type schemas: list[str] :param meta: The value to assign to the meta property of this Grant. :type meta: oci.identity_domains.models.Meta :param idcs_created_by: The value to assign to the idcs_created_by property of this Grant. :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 Grant. :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 Grant. 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 Grant. :type tags: list[oci.identity_domains.models.Tags] :param delete_in_progress: The value to assign to the delete_in_progress property of this Grant. :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 Grant. :type idcs_last_upgraded_in_release: str :param domain_ocid: The value to assign to the domain_ocid property of this Grant. :type domain_ocid: str :param compartment_ocid: The value to assign to the compartment_ocid property of this Grant. :type compartment_ocid: str :param tenancy_ocid: The value to assign to the tenancy_ocid property of this Grant. :type tenancy_ocid: str :param grant_mechanism: The value to assign to the grant_mechanism property of this Grant. Allowed values for this property are: "IMPORT_APPROLE_MEMBERS", "ADMINISTRATOR_TO_USER", "ADMINISTRATOR_TO_DELEGATED_USER", "ADMINISTRATOR_TO_GROUP", "SERVICE_MANAGER_TO_USER", "ADMINISTRATOR_TO_APP", "SERVICE_MANAGER_TO_APP", "OPC_INFRA_TO_APP", "GROUP_MEMBERSHIP", "IMPORT_GRANTS", "SYNC_TO_USER", "ACCESS_REQUEST", "APP_ENTITLEMENT_COLLECTION", "ADMINISTRATOR_TO_DYNAMIC_RESOURCE_GROUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type grant_mechanism: str :param composite_key: The value to assign to the composite_key property of this Grant. :type composite_key: str :param is_fulfilled: The value to assign to the is_fulfilled property of this Grant. :type is_fulfilled: bool :param granted_attribute_values_json: The value to assign to the granted_attribute_values_json property of this Grant. :type granted_attribute_values_json: str :param app_entitlement_collection: The value to assign to the app_entitlement_collection property of this Grant. :type app_entitlement_collection: oci.identity_domains.models.GrantAppEntitlementCollection :param grantor: The value to assign to the grantor property of this Grant. :type grantor: oci.identity_domains.models.GrantGrantor :param grantee: The value to assign to the grantee property of this Grant. :type grantee: oci.identity_domains.models.GrantGrantee :param app: The value to assign to the app property of this Grant. :type app: oci.identity_domains.models.GrantApp :param entitlement: The value to assign to the entitlement property of this Grant. :type entitlement: oci.identity_domains.models.GrantEntitlement strz list[str]ZMetaZ IdcsCreatedByZIdcsLastModifiedByz list[Tags]boolZGrantAppEntitlementCollectionZ GrantGrantorZ GrantGranteeZGrantAppZGrantEntitlement)idocidschemasmetaidcs_created_byidcs_last_modified_byidcs_prevented_operationstagsdelete_in_progressidcs_last_upgraded_in_release domain_ocidcompartment_ocid tenancy_ocidgrant_mechanism composite_key is_fulfilledgranted_attribute_values_jsonapp_entitlement_collectiongrantorgranteeapp entitlementrrrrZ idcsCreatedByZidcsLastModifiedByZidcsPreventedOperationsr!ZdeleteInProgressZidcsLastUpgradedInReleaseZ domainOcidZcompartmentOcidZ tenancyOcidZgrantMechanismZ compositeKeyZ isFulfilledZgrantedAttributeValuesJsonZappEntitlementCollectionr,r-r.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_grant_mechanism_composite_key _is_fulfilled_granted_attribute_values_json_app_entitlement_collection_grantor_grantee_app _entitlement)selfkwargsrHE/usr/lib/python3.9/site-packages/oci/identity_domains/models/grant.py__init__VsczGrant.__init__cCs|jS)a Gets the id of this Grant. 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 Grant. :rtype: str r0rFrHrHrIrszGrant.idcCs ||_dS)a Sets the id of this Grant. 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 Grant. :type: str NrK)rFrrHrHrIrscCs|jS)a Gets the ocid of this Grant. 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 Grant. :rtype: str r1rLrHrHrIr-sz Grant.ocidcCs ||_dS)a Sets the ocid of this Grant. 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 Grant. :type: str NrM)rFrrHrHrIrCscCs|jS)a **[Required]** Gets the schemas of this Grant. 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 Grant. :rtype: list[str] r2rLrHrHrIrYsz Grant.schemascCs ||_dS)a Sets the schemas of this Grant. 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 Grant. :type: list[str] NrN)rFrrHrHrIroscCs|jS)z Gets the meta of this Grant. :return: The meta of this Grant. :rtype: oci.identity_domains.models.Meta r3rLrHrHrIrsz Grant.metacCs ||_dS)z Sets the meta of this Grant. :param meta: The meta of this Grant. :type: oci.identity_domains.models.Meta NrO)rFrrHrHrIrscCs|jS)z Gets the idcs_created_by of this Grant. :return: The idcs_created_by of this Grant. :rtype: oci.identity_domains.models.IdcsCreatedBy r4rLrHrHrIrszGrant.idcs_created_bycCs ||_dS)z Sets the idcs_created_by of this Grant. :param idcs_created_by: The idcs_created_by of this Grant. :type: oci.identity_domains.models.IdcsCreatedBy NrP)rFrrHrHrIrscCs|jS)z Gets the idcs_last_modified_by of this Grant. :return: The idcs_last_modified_by of this Grant. :rtype: oci.identity_domains.models.IdcsLastModifiedBy r5rLrHrHrIrszGrant.idcs_last_modified_bycCs ||_dS)z Sets the idcs_last_modified_by of this Grant. :param idcs_last_modified_by: The idcs_last_modified_by of this Grant. :type: oci.identity_domains.models.IdcsLastModifiedBy NrQ)rFrrHrHrIrscCs|jS)a Gets the idcs_prevented_operations of this Grant. 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 Grant. :rtype: list[str] r6rLrHrHrIr szGrant.idcs_prevented_operationscs0gd|r&fdd|D|dd<||_dS)a! Sets the idcs_prevented_operations of this Grant. 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 Grant. :type: list[str] )rrr csg|]}t|sdn|qS)UNKNOWN_ENUM_VALUE)r).0xallowed_valuesrHrI z3Grant.idcs_prevented_operations..NrR)rFr rHrVrIr scCs|jS)a Gets the tags of this Grant. 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 Grant. :rtype: list[oci.identity_domains.models.Tags] r7rLrHrHrIr!sz Grant.tagscCs ||_dS)a Sets the tags of this Grant. 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 Grant. :type: list[oci.identity_domains.models.Tags] NrZ)rFr!rHrHrIr!scCs|jS)a5 Gets the delete_in_progress of this Grant. 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 Grant. :rtype: bool r8rLrHrHrIr"szGrant.delete_in_progresscCs ||_dS)aF Sets the delete_in_progress of this Grant. 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 Grant. :type: bool Nr[)rFr"rHrHrIr"3scCs|jS)a Gets the idcs_last_upgraded_in_release of this Grant. 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 Grant. :rtype: str r9rLrHrHrIr#Isz#Grant.idcs_last_upgraded_in_releasecCs ||_dS)a Sets the idcs_last_upgraded_in_release of this Grant. 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 Grant. :type: str Nr\)rFr#rHrHrIr#_scCs|jS)a Gets the domain_ocid of this Grant. 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 Grant. :rtype: str r:rLrHrHrIr$uszGrant.domain_ocidcCs ||_dS)a Sets the domain_ocid of this Grant. 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 Grant. :type: str Nr])rFr$rHrHrIr$scCs|jS)a Gets the compartment_ocid of this Grant. 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 Grant. :rtype: str r;rLrHrHrIr%szGrant.compartment_ocidcCs ||_dS)a Sets the compartment_ocid of this Grant. 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 Grant. :type: str Nr^)rFr%rHrHrIr%scCs|jS)a Gets the tenancy_ocid of this Grant. 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 Grant. :rtype: str r<rLrHrHrIr&szGrant.tenancy_ocidcCs ||_dS)a Sets the tenancy_ocid of this Grant. 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 Grant. :type: str Nr_)rFr&rHrHrIr&scCs|jS)a% **[Required]** Gets the grant_mechanism of this Grant. Each value of grantMechanism indicates how (or by what component) some App (or App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains access to the granted (server) App. **SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none Allowed values for this property are: "IMPORT_APPROLE_MEMBERS", "ADMINISTRATOR_TO_USER", "ADMINISTRATOR_TO_DELEGATED_USER", "ADMINISTRATOR_TO_GROUP", "SERVICE_MANAGER_TO_USER", "ADMINISTRATOR_TO_APP", "SERVICE_MANAGER_TO_APP", "OPC_INFRA_TO_APP", "GROUP_MEMBERSHIP", "IMPORT_GRANTS", "SYNC_TO_USER", "ACCESS_REQUEST", "APP_ENTITLEMENT_COLLECTION", "ADMINISTRATOR_TO_DYNAMIC_RESOURCE_GROUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The grant_mechanism of this Grant. :rtype: str )r=rLrHrHrIr'szGrant.grant_mechanismcCs gd}t||sd}||_dS)a  Sets the grant_mechanism of this Grant. Each value of grantMechanism indicates how (or by what component) some App (or App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains access to the granted (server) App. **SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none :param grant_mechanism: The grant_mechanism of this Grant. :type: str )r r r r rrrrrrrrrrrSN)rr=)rFr'rWrHrHrIr's cCs|jS)a= Gets the composite_key of this Grant. Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor and grantMechanism. Used to prevent duplicate Grants. **Added In:** 18.1.2 **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: server :return: The composite_key of this Grant. :rtype: str r>rLrHrHrIr(5szGrant.composite_keycCs ||_dS)aI Sets the composite_key of this Grant. Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor and grantMechanism. Used to prevent duplicate Grants. **Added In:** 18.1.2 **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: server :param composite_key: The composite_key of this Grant. :type: str Nr`)rFr(rHrHrIr(MscCs|jS)a Gets the is_fulfilled of this Grant. If true, this Grant has been fulfilled successfully. **SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none :return: The is_fulfilled of this Grant. :rtype: bool r?rLrHrHrIr)eszGrant.is_fulfilledcCs ||_dS)a Sets the is_fulfilled of this Grant. If true, this Grant has been fulfilled successfully. **SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none :param is_fulfilled: The is_fulfilled of this Grant. :type: bool Nra)rFr)rHrHrIr)zscCs|jS)a  Gets the granted_attribute_values_json of this Grant. Store granted attribute-values as a string in Javascript Object Notation (JSON) format. **Added In:** 18.3.4 **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :return: The granted_attribute_values_json of this Grant. :rtype: str r@rLrHrHrIr*sz#Grant.granted_attribute_values_jsoncCs ||_dS)a% Sets the granted_attribute_values_json of this Grant. Store granted attribute-values as a string in Javascript Object Notation (JSON) format. **Added In:** 18.3.4 **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none :param granted_attribute_values_json: The granted_attribute_values_json of this Grant. :type: str Nrb)rFr*rHrHrIr*scCs|jS)z Gets the app_entitlement_collection of this Grant. :return: The app_entitlement_collection of this Grant. :rtype: oci.identity_domains.models.GrantAppEntitlementCollection rArLrHrHrIr+sz Grant.app_entitlement_collectioncCs ||_dS)z Sets the app_entitlement_collection of this Grant. :param app_entitlement_collection: The app_entitlement_collection of this Grant. :type: oci.identity_domains.models.GrantAppEntitlementCollection Nrc)rFr+rHrHrIr+scCs|jS)z Gets the grantor of this Grant. :return: The grantor of this Grant. :rtype: oci.identity_domains.models.GrantGrantor rBrLrHrHrIr,sz Grant.grantorcCs ||_dS)z Sets the grantor of this Grant. :param grantor: The grantor of this Grant. :type: oci.identity_domains.models.GrantGrantor Nrd)rFr,rHrHrIr,scCs|jS)z **[Required]** Gets the grantee of this Grant. :return: The grantee of this Grant. :rtype: oci.identity_domains.models.GrantGrantee rCrLrHrHrIr-sz Grant.granteecCs ||_dS)z Sets the grantee of this Grant. :param grantee: The grantee of this Grant. :type: oci.identity_domains.models.GrantGrantee Nre)rFr-rHrHrIr-scCs|jS)z Gets the app of this Grant. :return: The app of this Grant. :rtype: oci.identity_domains.models.GrantApp rDrLrHrHrIr.sz Grant.appcCs ||_dS)z Sets the app of this Grant. :param app: The app of this Grant. :type: oci.identity_domains.models.GrantApp Nrf)rFr.rHrHrIr.scCs|jS)z Gets the entitlement of this Grant. :return: The entitlement of this Grant. :rtype: oci.identity_domains.models.GrantEntitlement rErLrHrHrIr/ szGrant.entitlementcCs ||_dS)z Sets the entitlement of this Grant. :param entitlement: The entitlement of this Grant. :type: oci.identity_domains.models.GrantEntitlement Nrg)rFr/rHrHrIr/scCst|SN)rrLrHrHrI__repr__!szGrant.__repr__cCs|dur dS|j|jkS)NF)__dict__rFotherrHrHrI__eq__$sz Grant.__eq__cCs ||k SrhrHrkrHrHrI__ne__*sz Grant.__ne__N)1__name__ __module__ __qualname____doc__Z!IDCS_PREVENTED_OPERATIONS_REPLACEZ IDCS_PREVENTED_OPERATIONS_UPDATEZ IDCS_PREVENTED_OPERATIONS_DELETEZ&GRANT_MECHANISM_IMPORT_APPROLE_MEMBERSZ%GRANT_MECHANISM_ADMINISTRATOR_TO_USERZ/GRANT_MECHANISM_ADMINISTRATOR_TO_DELEGATED_USERZ&GRANT_MECHANISM_ADMINISTRATOR_TO_GROUPZ'GRANT_MECHANISM_SERVICE_MANAGER_TO_USERZ$GRANT_MECHANISM_ADMINISTRATOR_TO_APPZ&GRANT_MECHANISM_SERVICE_MANAGER_TO_APPZ GRANT_MECHANISM_OPC_INFRA_TO_APPZ GRANT_MECHANISM_GROUP_MEMBERSHIPZGRANT_MECHANISM_IMPORT_GRANTSZGRANT_MECHANISM_SYNC_TO_USERZGRANT_MECHANISM_ACCESS_REQUESTZ*GRANT_MECHANISM_APP_ENTITLEMENT_COLLECTIONZ7GRANT_MECHANISM_ADMINISTRATOR_TO_DYNAMIC_RESOURCE_GROUPrJpropertyrsetterrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/rirmrnrHrHrHrIr s,                                            rN)Zoci.utilrrrZoci.decoratorsrobjectrrHrHrHrIs