ruạṛ
a ���fl � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zd=d>� Zd?d@� ZdAdB� ZdCS )D�ApiKeyz The user's API key. �replace�update�deletec K s� dddddddddddddddddd d �| _ ddd dddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new ApiKey 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 ApiKey. :type id: str :param ocid: The value to assign to the ocid property of this ApiKey. :type ocid: str :param schemas: The value to assign to the schemas property of this ApiKey. :type schemas: list[str] :param meta: The value to assign to the meta property of this ApiKey. :type meta: oci.identity_domains.models.Meta :param idcs_created_by: The value to assign to the idcs_created_by property of this ApiKey. :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 ApiKey. :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 ApiKey. 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 ApiKey. :type tags: list[oci.identity_domains.models.Tags] :param delete_in_progress: The value to assign to the delete_in_progress property of this ApiKey. :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 ApiKey. :type idcs_last_upgraded_in_release: str :param domain_ocid: The value to assign to the domain_ocid property of this ApiKey. :type domain_ocid: str :param compartment_ocid: The value to assign to the compartment_ocid property of this ApiKey. :type compartment_ocid: str :param tenancy_ocid: The value to assign to the tenancy_ocid property of this ApiKey. :type tenancy_ocid: str :param description: The value to assign to the description property of this ApiKey. :type description: str :param fingerprint: The value to assign to the fingerprint property of this ApiKey. :type fingerprint: str :param key: The value to assign to the key property of this ApiKey. :type key: str :param user: The value to assign to the user property of this ApiKey. :type user: oci.identity_domains.models.ApiKeyUser :param urn_ietf_params_scim_schemas_oracle_idcs_extension_self_change_user: The value to assign to the urn_ietf_params_scim_schemas_oracle_idcs_extension_self_change_user property of this ApiKey. :type urn_ietf_params_scim_schemas_oracle_idcs_extension_self_change_user: oci.identity_domains.models.ExtensionSelfChangeUser �strz list[str]ZMetaZ IdcsCreatedByZIdcsLastModifiedByz list[Tags]�boolZ ApiKeyUserZExtensionSelfChangeUser)�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�description�fingerprint�key�user�Curn_ietf_params_scim_schemas_oracle_idcs_extension_self_change_userr r r r Z idcsCreatedByZidcsLastModifiedByZidcsPreventedOperationsr ZdeleteInProgressZidcsLastUpgradedInReleaseZ domainOcidZcompartmentOcidZtenancyOcidr r r r zBurn:ietf:params:scim:schemas:oracle:idcs:extension:selfChange:UserN)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�_description�_fingerprint�_key�_user�D_urn_ietf_params_scim_schemas_oracle_idcs_extension_self_change_user)�self�kwargs� r2 �G/usr/lib/python3.9/site-packages/oci/identity_domains/models/api_key.py�__init__ sp Q��zApiKey.__init__c C s | j S )a� Gets the id of this ApiKey. 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 ApiKey. :rtype: str �r �r0 r2 r2 r3 r � s z ApiKey.idc C s || _ dS )a� Sets the id of this ApiKey. 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 ApiKey. :type: str Nr5 )r0 r r2 r2 r3 r � s c C s | j S )a� Gets the ocid of this ApiKey. 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 ApiKey. :rtype: str �r r6 r2 r2 r3 r � s zApiKey.ocidc C s || _ dS )a� Sets the ocid of this ApiKey. 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 ApiKey. :type: str Nr7 )r0 r r2 r2 r3 r � s c C s | j S )a� **[Required]** Gets the schemas of this ApiKey. 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 ApiKey. :rtype: list[str] �r r6 r2 r2 r3 r s zApiKey.schemasc C s || _ dS )a� Sets the schemas of this ApiKey. 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 ApiKey. :type: list[str] Nr8 )r0 r r2 r2 r3 r s c C s | j S )z� Gets the meta of this ApiKey. :return: The meta of this ApiKey. :rtype: oci.identity_domains.models.Meta �r! r6 r2 r2 r3 r / s zApiKey.metac C s || _ dS )z� Sets the meta of this ApiKey. :param meta: The meta of this ApiKey. :type: oci.identity_domains.models.Meta Nr9 )r0 r r2 r2 r3 r 9 s c C s | j S )z� Gets the idcs_created_by of this ApiKey. :return: The idcs_created_by of this ApiKey. :rtype: oci.identity_domains.models.IdcsCreatedBy �r"