o
    ëÉ¶d  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sd   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZd
d„ Z	dd„ Z
dd„ ZdS )ÚDiffSectionzG
    Details about a section of changes within a difference chunk.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aÞ  
        Initializes a new DiffSection 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 DiffSection.
        :type type: str

        :param lines:
            The value to assign to the lines property of this DiffSection.
        :type lines: list[oci.devops.models.DiffLineDetails]

        Ústrzlist[DiffLineDetails])ÚtypeÚlinesr   r	   N)Zswagger_typesZattribute_mapÚ_typeÚ_lines)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/devops/models/diff_section.pyÚ__init__   s   þþ
zDiffSection.__init__c                 C   ó   | j S )z‘
        Gets the type of this DiffSection.
        Type of change.


        :return: The type of this DiffSection.
        :rtype: str
        ©r
   ©r   r   r   r   r   -   ó   
zDiffSection.typec                 C   ó
   || _ dS )z”
        Sets the type of this DiffSection.
        Type of change.


        :param type: The type of this DiffSection.
        :type: str
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )zÉ
        Gets the lines of this DiffSection.
        The lines within changed section.


        :return: The lines of this DiffSection.
        :rtype: list[oci.devops.models.DiffLineDetails]
        ©r   r   r   r   r   r	   E   r   zDiffSection.linesc                 C   r   )zÍ
        Sets the lines of this DiffSection.
        The lines within changed section.


        :param lines: The lines of this DiffSection.
        :type: list[oci.devops.models.DiffLineDetails]
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zDiffSection.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zDiffSection.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zDiffSection.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r   r   r   r   r   r   r   r      s    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   