ruạṛ
a ���fj � @ 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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�Diarizationz� Speaker diarization is a combination of speaker segmentation and speaker clustering. Provide diarization details to enable this feature. c K s( ddd�| _ ddd�| _d| _d| _dS )a Initializes a new Diarization object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_diarization_enabled: The value to assign to the is_diarization_enabled property of this Diarization. :type is_diarization_enabled: bool :param number_of_speakers: The value to assign to the number_of_speakers property of this Diarization. :type number_of_speakers: int �bool�int)�is_diarization_enabled�number_of_speakersZisDiarizationEnabledZnumberOfSpeakersN)Z swagger_typesZ attribute_map�_is_diarization_enabled�_number_of_speakers)�self�kwargs� r �D/usr/lib/python3.9/site-packages/oci/ai_speech/models/diarization.py�__init__ s ��zDiarization.__init__c C s | j S )a Gets the is_diarization_enabled of this Diarization. Set true to enable Speaker diarization and tag transcription with speaker tags. By default this is disabled. :return: The is_diarization_enabled of this Diarization. :rtype: bool �r �r r r r r - s z"Diarization.is_diarization_enabledc C s || _ dS )a( Sets the is_diarization_enabled of this Diarization. Set true to enable Speaker diarization and tag transcription with speaker tags. By default this is disabled. :param is_diarization_enabled: The is_diarization_enabled of this Diarization. :type: bool Nr )r r r r r r 9 s c C s | j S )a Gets the number_of_speakers of this Diarization. Number of speakers in the audio provided. By default service will auto detect all speakers in audio file :return: The number_of_speakers of this Diarization. :rtype: int �r r r r r r E s zDiarization.number_of_speakersc C s || _ dS )a Sets the number_of_speakers of this Diarization. Number of speakers in the audio provided. By default service will auto detect all speakers in audio file :param number_of_speakers: The number_of_speakers of this Diarization. :type: int Nr )r r r r r r Q s c C s t | �S �N)r r r r r �__repr__] s zDiarization.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zDiarization.__eq__c C s | |k S r r r r r r �__ne__f s zDiarization.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn