o
    ëÉ¶dc$  ã                   @   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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 )#ÚDiffResponsez>
    Response object for obtaining list of changed files.
    c              	   K   sd   dddddddddœ| _ ddd	d
dddddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	dS )aú  
        Initializes a new DiffResponse object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param are_all_changes_included:
            The value to assign to the are_all_changes_included property of this DiffResponse.
        :type are_all_changes_included: bool

        :param change_type_count:
            The value to assign to the change_type_count property of this DiffResponse.
        :type change_type_count: dict(str, int)

        :param common_commit:
            The value to assign to the common_commit property of this DiffResponse.
        :type common_commit: str

        :param commits_ahead_count:
            The value to assign to the commits_ahead_count property of this DiffResponse.
        :type commits_ahead_count: int

        :param commits_behind_count:
            The value to assign to the commits_behind_count property of this DiffResponse.
        :type commits_behind_count: int

        :param added_lines_count:
            The value to assign to the added_lines_count property of this DiffResponse.
        :type added_lines_count: int

        :param deleted_lines_count:
            The value to assign to the deleted_lines_count property of this DiffResponse.
        :type deleted_lines_count: int

        :param changes:
            The value to assign to the changes property of this DiffResponse.
        :type changes: list[oci.devops.models.DiffResponseEntry]

        Úboolzdict(str, int)ÚstrÚintzlist[DiffResponseEntry])Úare_all_changes_includedÚchange_type_countÚcommon_commitÚcommits_ahead_countÚcommits_behind_countÚadded_lines_countÚdeleted_lines_countÚchangesZareAllChangesIncludedZchangeTypeCountZcommonCommitZcommitsAheadCountZcommitsBehindCountZaddedLinesCountZdeletedLinesCountr   N)
Zswagger_typesZattribute_mapÚ_are_all_changes_includedÚ_change_type_countÚ_common_commitÚ_commits_ahead_countÚ_commits_behind_countÚ_added_lines_countÚ_deleted_lines_countÚ_changes)ÚselfÚkwargs© r   úCusr/lib/python3.10/site-packages/oci/devops/models/diff_response.pyÚ__init__   s4   'øø
zDiffResponse.__init__c                 C   ó   | j S )zó
        Gets the are_all_changes_included of this DiffResponse.
        Boolean value to indicate if all changes are included in the response.


        :return: The are_all_changes_included of this DiffResponse.
        :rtype: bool
        ©r   ©r   r   r   r   r
   W   ó   
z%DiffResponse.are_all_changes_includedc                 C   ó
   || _ dS )a
  
        Sets the are_all_changes_included of this DiffResponse.
        Boolean value to indicate if all changes are included in the response.


        :param are_all_changes_included: The are_all_changes_included of this DiffResponse.
        :type: bool
        Nr    )r   r
   r   r   r   r
   c   ó   

c                 C   r   )zÔ
        Gets the change_type_count of this DiffResponse.
        Count of each type of change in difference.


        :return: The change_type_count of this DiffResponse.
        :rtype: dict(str, int)
        ©r   r!   r   r   r   r   o   r"   zDiffResponse.change_type_countc                 C   r#   )zä
        Sets the change_type_count of this DiffResponse.
        Count of each type of change in difference.


        :param change_type_count: The change_type_count of this DiffResponse.
        :type: dict(str, int)
        Nr%   )r   r   r   r   r   r   {   r$   c                 C   r   )zÌ
        Gets the common_commit of this DiffResponse.
        The ID of the common commit between source and target.


        :return: The common_commit of this DiffResponse.
        :rtype: str
        ©r   r!   r   r   r   r   ‡   r"   zDiffResponse.common_commitc                 C   r#   )zØ
        Sets the common_commit of this DiffResponse.
        The ID of the common commit between source and target.


        :param common_commit: The common_commit of this DiffResponse.
        :type: str
        Nr&   )r   r   r   r   r   r   “   r$   c                 C   r   )zÕ
        Gets the commits_ahead_count of this DiffResponse.
        The number of commits source is ahead of target by.


        :return: The commits_ahead_count of this DiffResponse.
        :rtype: int
        ©r   r!   r   r   r   r   Ÿ   r"   z DiffResponse.commits_ahead_countc                 C   r#   )zç
        Sets the commits_ahead_count of this DiffResponse.
        The number of commits source is ahead of target by.


        :param commits_ahead_count: The commits_ahead_count of this DiffResponse.
        :type: int
        Nr'   )r   r   r   r   r   r   «   r$   c                 C   r   )zÕ
        Gets the commits_behind_count of this DiffResponse.
        The number of commits source is behind target by.


        :return: The commits_behind_count of this DiffResponse.
        :rtype: int
        ©r   r!   r   r   r   r   ·   r"   z!DiffResponse.commits_behind_countc                 C   r#   )zè
        Sets the commits_behind_count of this DiffResponse.
        The number of commits source is behind target by.


        :param commits_behind_count: The commits_behind_count of this DiffResponse.
        :type: int
        Nr(   )r   r   r   r   r   r   Ã   r$   c                 C   r   )zÌ
        Gets the added_lines_count of this DiffResponse.
        The number of lines added in whole difference.


        :return: The added_lines_count of this DiffResponse.
        :rtype: int
        ©r   r!   r   r   r   r   Ï   r"   zDiffResponse.added_lines_countc                 C   r#   )zÜ
        Sets the added_lines_count of this DiffResponse.
        The number of lines added in whole difference.


        :param added_lines_count: The added_lines_count of this DiffResponse.
        :type: int
        Nr)   )r   r   r   r   r   r   Û   r$   c                 C   r   )zÒ
        Gets the deleted_lines_count of this DiffResponse.
        The number of lines deleted in whole difference.


        :return: The deleted_lines_count of this DiffResponse.
        :rtype: int
        ©r   r!   r   r   r   r   ç   r"   z DiffResponse.deleted_lines_countc                 C   r#   )zä
        Sets the deleted_lines_count of this DiffResponse.
        The number of lines deleted in whole difference.


        :param deleted_lines_count: The deleted_lines_count of this DiffResponse.
        :type: int
        Nr*   )r   r   r   r   r   r   ó   r$   c                 C   r   )zá
        **[Required]** Gets the changes of this DiffResponse.
        List of changes in the difference.


        :return: The changes of this DiffResponse.
        :rtype: list[oci.devops.models.DiffResponseEntry]
        ©r   r!   r   r   r   r   ÿ   r"   zDiffResponse.changesc                 C   r#   )zØ
        Sets the changes of this DiffResponse.
        List of changes in the difference.


        :param changes: The changes of this DiffResponse.
        :type: list[oci.devops.models.DiffResponseEntry]
        Nr+   )r   r   r   r   r   r     r$   c                 C   s   t | ƒS ©N)r   r!   r   r   r   Ú__repr__  s   zDiffResponse.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   zDiffResponse.__eq__c                 C   s
   | |k S r,   r   r/   r   r   r   Ú__ne__   s   
zDiffResponse.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr
   Úsetterr   r   r   r   r   r   r   r-   r1   r2   r   r   r   r   r      sL    E















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   