ruạṛ
a ���f�9 � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Zd'd(� Zd)d*� Zd+d,� Zd-S ).�PreauthenticatedRequesta> Pre-authenticated requests provide a way to let users access a bucket or an object without having their own credentials. When you create a pre-authenticated request, a unique URL is generated. Users in your organization, partners, or third parties can use this URL to access the targets identified in the pre-authenticated request. See `Using Pre-Authenticated Requests`__. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm �Deny�ListObjects� ObjectRead�ObjectWrite�ObjectReadWrite�AnyObjectWrite� AnyObjectRead�AnyObjectReadWritec K sn dddddddddd� | _ dddddd d ddd� | _d | _d | _d | _d | _d | _d | _d | _d | _ d | _ d S )a� Initializes a new PreauthenticatedRequest 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 PreauthenticatedRequest. :type id: str :param name: The value to assign to the name property of this PreauthenticatedRequest. :type name: str :param access_uri: The value to assign to the access_uri property of this PreauthenticatedRequest. :type access_uri: str :param object_name: The value to assign to the object_name property of this PreauthenticatedRequest. :type object_name: str :param bucket_listing_action: The value to assign to the bucket_listing_action property of this PreauthenticatedRequest. Allowed values for this property are: "Deny", "ListObjects", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type bucket_listing_action: str :param access_type: The value to assign to the access_type property of this PreauthenticatedRequest. Allowed values for this property are: "ObjectRead", "ObjectWrite", "ObjectReadWrite", "AnyObjectWrite", "AnyObjectRead", "AnyObjectReadWrite", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type access_type: str :param time_expires: The value to assign to the time_expires property of this PreauthenticatedRequest. :type time_expires: datetime :param time_created: The value to assign to the time_created property of this PreauthenticatedRequest. :type time_created: datetime :param full_path: The value to assign to the full_path property of this PreauthenticatedRequest. :type full_path: str �strZdatetime) �id�name� access_uri�object_name�bucket_listing_action�access_type�time_expires�time_created� full_pathr r Z accessUriZ objectNameZbucketListingActionZ accessTypeZtimeExpiresZtimeCreatedZfullPathN)Z swagger_typesZ attribute_map�_id�_name�_access_uri�_object_name�_bucket_listing_action�_access_type� _time_expires� _time_created� _full_path)�self�kwargs� r$ �V/usr/lib/python3.9/site-packages/oci/object_storage/models/preauthenticated_request.py�__init__<