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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�Groupzs Represents the current state of a consumer group, including partition reservations and committed offsets. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a| Initializes a new Group object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param stream_id: The value to assign to the stream_id property of this Group. :type stream_id: str :param group_name: The value to assign to the group_name property of this Group. :type group_name: str :param reservations: The value to assign to the reservations property of this Group. :type reservations: list[oci.streaming.models.PartitionReservation] �strzlist[PartitionReservation])� stream_id� group_name�reservationsZstreamIdZ groupNamer N)Z swagger_typesZ attribute_map� _stream_id�_group_name� _reservations)�self�kwargs� r �>/usr/lib/python3.9/site-packages/oci/streaming/models/group.py�__init__ s ��zGroup.__init__c C s | j S )z� **[Required]** Gets the stream_id of this Group. The streamId for which the group exists. :return: The stream_id of this Group. :rtype: str �r �r r r r r 4 s zGroup.stream_idc C s || _ dS )z� Sets the stream_id of this Group. The streamId for which the group exists. :param stream_id: The stream_id of this Group. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the group_name of this Group. The name of the consumer group. :return: The group_name of this Group. :rtype: str �r r r r r r L s zGroup.group_namec C s || _ dS )z� Sets the group_name of this Group. The name of the consumer group. :param group_name: The group_name of this Group. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the reservations of this Group. An array of the partition reservations of a group. :return: The reservations of this Group. :rtype: list[oci.streaming.models.PartitionReservation] �r r r r r r d s zGroup.reservationsc C s || _ dS )z� Sets the reservations of this Group. An array of the partition reservations of a group. :param reservations: The reservations of this Group. :type: list[oci.streaming.models.PartitionReservation] Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zGroup.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zGroup.__eq__c C s | |k S r r r r r r �__ne__� s zGroup.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"