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                   @   s²   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ed
d„ ƒZ	e	j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 )Ú	DiffChunkz+
    Details about a group of changes.
    c                 K   sF   ddddddœ| _ ddddddœ| _d	| _d	| _d	| _d	| _d	| _d	S )
a–  
        Initializes a new DiffChunk object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param base_line:
            The value to assign to the base_line property of this DiffChunk.
        :type base_line: int

        :param base_span:
            The value to assign to the base_span property of this DiffChunk.
        :type base_span: int

        :param target_line:
            The value to assign to the target_line property of this DiffChunk.
        :type target_line: int

        :param target_span:
            The value to assign to the target_span property of this DiffChunk.
        :type target_span: int

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

        Úintzlist[DiffSection])Ú	base_lineÚ	base_spanÚtarget_lineÚtarget_spanÚdiff_sectionsZbaseLineZbaseSpanZ
targetLineZ
targetSpanZdiffSectionsN)Zswagger_typesZattribute_mapÚ
_base_lineÚ
_base_spanÚ_target_lineÚ_target_spanÚ_diff_sections)ÚselfÚkwargs© r   ú@usr/lib/python3.10/site-packages/oci/devops/models/diff_chunk.pyÚ__init__   s"   û	û
zDiffChunk.__init__c                 C   ó   | j S )z¸
        Gets the base_line of this DiffChunk.
        Line number in base version where changes begin.


        :return: The base_line of this DiffChunk.
        :rtype: int
        ©r   ©r   r   r   r   r   B   ó   
zDiffChunk.base_linec                 C   ó
   || _ dS )zÀ
        Sets the base_line of this DiffChunk.
        Line number in base version where changes begin.


        :param base_line: The base_line of this DiffChunk.
        :type: int
        Nr   )r   r   r   r   r   r   N   ó   

c                 C   r   )z´
        Gets the base_span of this DiffChunk.
        Number of lines chunk spans in base version.


        :return: The base_span of this DiffChunk.
        :rtype: int
        ©r   r   r   r   r   r	   Z   r   zDiffChunk.base_spanc                 C   r   )z¼
        Sets the base_span of this DiffChunk.
        Number of lines chunk spans in base version.


        :param base_span: The base_span of this DiffChunk.
        :type: int
        Nr   )r   r	   r   r   r   r	   f   r   c                 C   r   )z¾
        Gets the target_line of this DiffChunk.
        Line number in target version where changes begin.


        :return: The target_line of this DiffChunk.
        :rtype: int
        ©r   r   r   r   r   r
   r   r   zDiffChunk.target_linec                 C   r   )zÈ
        Sets the target_line of this DiffChunk.
        Line number in target version where changes begin.


        :param target_line: The target_line of this DiffChunk.
        :type: int
        Nr   )r   r
   r   r   r   r
   ~   r   c                 C   r   )zº
        Gets the target_span of this DiffChunk.
        Number of lines chunk spans in target version.


        :return: The target_span of this DiffChunk.
        :rtype: int
        ©r   r   r   r   r   r   Š   r   zDiffChunk.target_spanc                 C   r   )zÄ
        Sets the target_span of this DiffChunk.
        Number of lines chunk spans in target version.


        :param target_span: The target_span of this DiffChunk.
        :type: int
        Nr   )r   r   r   r   r   r   –   r   c                 C   r   )zË
        Gets the diff_sections of this DiffChunk.
        List of difference section.


        :return: The diff_sections of this DiffChunk.
        :rtype: list[oci.devops.models.DiffSection]
        ©r   r   r   r   r   r   ¢   r   zDiffChunk.diff_sectionsc                 C   r   )z×
        Sets the diff_sections of this DiffChunk.
        List of difference section.


        :param diff_sections: The diff_sections of this DiffChunk.
        :type: list[oci.devops.models.DiffSection]
        Nr    )r   r   r   r   r   r   ®   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__º   s   zDiffChunk.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__½   s   zDiffChunk.__eq__c                 C   s
   | |k S r!   r   r$   r   r   r   Ú__ne__Ã   s   
zDiffChunk.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   r   r   r"   r&   r'   r   r   r   r   r      s4    0









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   