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                   @   s4  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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 ))ÚDiffSummaryzS
    Response object for showing differences for a file between two revisions.
    c                 K   sx   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| _d| _d| _d| _	d| _
d| _dS )aj  
        Initializes a new DiffSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param old_path:
            The value to assign to the old_path property of this DiffSummary.
        :type old_path: str

        :param new_path:
            The value to assign to the new_path property of this DiffSummary.
        :type new_path: str

        :param old_id:
            The value to assign to the old_id property of this DiffSummary.
        :type old_id: str

        :param new_id:
            The value to assign to the new_id property of this DiffSummary.
        :type new_id: str

        :param are_conflicts_in_file:
            The value to assign to the are_conflicts_in_file property of this DiffSummary.
        :type are_conflicts_in_file: bool

        :param is_large:
            The value to assign to the is_large property of this DiffSummary.
        :type is_large: bool

        :param is_binary:
            The value to assign to the is_binary property of this DiffSummary.
        :type is_binary: bool

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

        :param freeform_tags:
            The value to assign to the freeform_tags property of this DiffSummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this DiffSummary.
        :type defined_tags: dict(str, dict(str, object))

        ÚstrÚboolzlist[DiffChunk]zdict(str, str)zdict(str, dict(str, object)))
Úold_pathÚnew_pathÚold_idÚnew_idÚare_conflicts_in_fileÚis_largeÚ	is_binaryÚchangesÚfreeform_tagsÚdefined_tagsZoldPathZnewPathZoldIdZnewIdZareConflictsInFileZisLargeZisBinaryr   ZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ	_old_pathÚ	_new_pathÚ_old_idÚ_new_idÚ_are_conflicts_in_fileÚ	_is_largeÚ
_is_binaryÚ_changesÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r   úBusr/lib/python3.10/site-packages/oci/devops/models/diff_summary.pyÚ__init__   s@   /öö
zDiffSummary.__init__c                 C   ó   | j S )z½
        Gets the old_path of this DiffSummary.
        The path on the base version to the changed object.


        :return: The old_path of this DiffSummary.
        :rtype: str
        ©r   ©r   r   r   r    r	   e   ó   
zDiffSummary.old_pathc                 C   ó
   || _ dS )zÄ
        Sets the old_path of this DiffSummary.
        The path on the base version to the changed object.


        :param old_path: The old_path of this DiffSummary.
        :type: str
        Nr#   )r   r	   r   r   r    r	   q   ó   

c                 C   r"   )z¿
        Gets the new_path of this DiffSummary.
        The path on the target version to the changed object.


        :return: The new_path of this DiffSummary.
        :rtype: str
        ©r   r$   r   r   r    r
   }   r%   zDiffSummary.new_pathc                 C   r&   )zÆ
        Sets the new_path of this DiffSummary.
        The path on the target version to the changed object.


        :param new_path: The new_path of this DiffSummary.
        :type: str
        Nr(   )r   r
   r   r   r    r
   ‰   r'   c                 C   r"   )z·
        Gets the old_id of this DiffSummary.
        The ID of the changed object on the base version.


        :return: The old_id of this DiffSummary.
        :rtype: str
        ©r   r$   r   r   r    r   •   r%   zDiffSummary.old_idc                 C   r&   )z¼
        Sets the old_id of this DiffSummary.
        The ID of the changed object on the base version.


        :param old_id: The old_id of this DiffSummary.
        :type: str
        Nr)   )r   r   r   r   r    r   ¡   r'   c                 C   r"   )z¹
        Gets the new_id of this DiffSummary.
        The ID of the changed object on the target version.


        :return: The new_id of this DiffSummary.
        :rtype: str
        ©r   r$   r   r   r    r   ­   r%   zDiffSummary.new_idc                 C   r&   )z¾
        Sets the new_id of this DiffSummary.
        The ID of the changed object on the target version.


        :param new_id: The new_id of this DiffSummary.
        :type: str
        Nr*   )r   r   r   r   r    r   ¹   r'   c                 C   r"   )zÛ
        Gets the are_conflicts_in_file of this DiffSummary.
        Indicates whether the changed file contains conflicts.


        :return: The are_conflicts_in_file of this DiffSummary.
        :rtype: bool
        ©r   r$   r   r   r    r   Å   r%   z!DiffSummary.are_conflicts_in_filec                 C   r&   )zï
        Sets the are_conflicts_in_file of this DiffSummary.
        Indicates whether the changed file contains conflicts.


        :param are_conflicts_in_file: The are_conflicts_in_file of this DiffSummary.
        :type: bool
        Nr+   )r   r   r   r   r    r   Ñ   r'   c                 C   r"   )z¯
        Gets the is_large of this DiffSummary.
        Indicates whether the file is large.


        :return: The is_large of this DiffSummary.
        :rtype: bool
        ©r   r$   r   r   r    r   Ý   r%   zDiffSummary.is_largec                 C   r&   )z¶
        Sets the is_large of this DiffSummary.
        Indicates whether the file is large.


        :param is_large: The is_large of this DiffSummary.
        :type: bool
        Nr,   )r   r   r   r   r    r   é   r'   c                 C   r"   )z²
        Gets the is_binary of this DiffSummary.
        Indicates whether the file is binary.


        :return: The is_binary of this DiffSummary.
        :rtype: bool
        ©r   r$   r   r   r    r   õ   r%   zDiffSummary.is_binaryc                 C   r&   )zº
        Sets the is_binary of this DiffSummary.
        Indicates whether the file is binary.


        :param is_binary: The is_binary of this DiffSummary.
        :type: bool
        Nr-   )r   r   r   r   r    r     r'   c                 C   r"   )zÙ
        **[Required]** Gets the changes of this DiffSummary.
        List of changed section in the file.


        :return: The changes of this DiffSummary.
        :rtype: list[oci.devops.models.DiffChunk]
        ©r   r$   r   r   r    r     r%   zDiffSummary.changesc                 C   r&   )zÐ
        Sets the changes of this DiffSummary.
        List of changed section in the file.


        :param changes: The changes of this DiffSummary.
        :type: list[oci.devops.models.DiffChunk]
        Nr.   )r   r   r   r   r    r     r'   c                 C   r"   )a¡  
        Gets the freeform_tags of this DiffSummary.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this DiffSummary.
        :rtype: dict(str, str)
        ©r   r$   r   r   r    r   %  ó   zDiffSummary.freeform_tagsc                 C   r&   )a­  
        Sets the freeform_tags of this DiffSummary.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.  See `Resource Tags`__. Example: `{"bar-key": "value"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this DiffSummary.
        :type: dict(str, str)
        Nr/   )r   r   r   r   r    r   3  ó   
c                 C   r"   )aš  
        Gets the defined_tags of this DiffSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this DiffSummary.
        :rtype: dict(str, dict(str, object))
        ©r   r$   r   r   r    r   A  r0   zDiffSummary.defined_tagsc                 C   r&   )a¥  
        Sets the defined_tags of this DiffSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this DiffSummary.
        :type: dict(str, dict(str, object))
        Nr2   )r   r   r   r   r    r   O  r1   c                 C   s   t | ƒS ©N)r   r$   r   r   r    Ú__repr__]  s   zDiffSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r    Ú__eq__`  s   zDiffSummary.__eq__c                 C   s
   | |k S r3   r   r6   r   r   r    Ú__ne__f  s   
zDiffSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r!   Úpropertyr	   Úsetterr
   r   r   r   r   r   r   r   r   r4   r8   r9   r   r   r   r    r      s\    S



















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r    Ú<module>   s   