ruạṛ
a ���f � @ 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� �Zdd� Zdd� Zdd� ZdS ) �CreateGroupCursorDetailsz/ Object used to create a group cursor. �AT_TIME�LATEST�TRIM_HORIZONc K sP ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new CreateGroupCursorDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this CreateGroupCursorDetails. Allowed values for this property are: "AT_TIME", "LATEST", "TRIM_HORIZON" :type type: str :param time: The value to assign to the time property of this CreateGroupCursorDetails. :type time: datetime :param group_name: The value to assign to the group_name property of this CreateGroupCursorDetails. :type group_name: str :param instance_name: The value to assign to the instance_name property of this CreateGroupCursorDetails. :type instance_name: str :param timeout_in_ms: The value to assign to the timeout_in_ms property of this CreateGroupCursorDetails. :type timeout_in_ms: int :param commit_on_get: The value to assign to the commit_on_get property of this CreateGroupCursorDetails. :type commit_on_get: bool �strZdatetime�int�bool)�type�time� group_name� instance_name� timeout_in_ms� commit_on_getr r Z groupNameZinstanceNameZtimeoutInMsZcommitOnGetN)Z swagger_typesZ attribute_map�_type�_time�_group_name�_instance_name�_timeout_in_ms�_commit_on_get)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/streaming/models/create_group_cursor_details.py�__init__ s( � � z!CreateGroupCursorDetails.__init__c C s | j S )aH **[Required]** Gets the type of this CreateGroupCursorDetails. The type of the cursor. This value is only used when the group is created. Allowed values for this property are: "AT_TIME", "LATEST", "TRIM_HORIZON" :return: The type of this CreateGroupCursorDetails. :rtype: str )r �r r r r r V s zCreateGroupCursorDetails.typec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the type of this CreateGroupCursorDetails. The type of the cursor. This value is only used when the group is created. :param type: The type of this CreateGroupCursorDetails. :type: str )r r r z1Invalid value for `type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r d s �c C s | j S )z� Gets the time of this CreateGroupCursorDetails. The time to consume from if type is AT_TIME. :return: The time of this CreateGroupCursorDetails. :rtype: datetime �r r r r r r u s zCreateGroupCursorDetails.timec C s || _ dS )z� Sets the time of this CreateGroupCursorDetails. The time to consume from if type is AT_TIME. :param time: The time of this CreateGroupCursorDetails. :type: datetime Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the group_name of this CreateGroupCursorDetails. Name of the consumer group. :return: The group_name of this CreateGroupCursorDetails. :rtype: str �r r r r r r � s z#CreateGroupCursorDetails.group_namec C s || _ dS )z� Sets the group_name of this CreateGroupCursorDetails. Name of the consumer group. :param group_name: The group_name of this CreateGroupCursorDetails. :type: str Nr! )r r r r r r � s c C s | j S )a5 Gets the instance_name of this CreateGroupCursorDetails. A unique identifier for the instance joining the consumer group. If an instanceName is not provided, a UUID will be generated and used. :return: The instance_name of this CreateGroupCursorDetails. :rtype: str �r r r r r r � s z&CreateGroupCursorDetails.instance_namec C s || _ dS )aA Sets the instance_name of this CreateGroupCursorDetails. A unique identifier for the instance joining the consumer group. If an instanceName is not provided, a UUID will be generated and used. :param instance_name: The instance_name of this CreateGroupCursorDetails. :type: str Nr"