Server IP : 103.119.228.120 / Your IP : 3.128.226.128 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/devops/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210630 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class FileDiffResponse(object): """ Response object for showing differences for a file between two commits. """ def __init__(self, **kwargs): """ Initializes a new FileDiffResponse 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 FileDiffResponse. :type old_path: str :param new_path: The value to assign to the new_path property of this FileDiffResponse. :type new_path: str :param old_id: The value to assign to the old_id property of this FileDiffResponse. :type old_id: str :param new_id: The value to assign to the new_id property of this FileDiffResponse. :type new_id: str :param are_conflicts_in_file: The value to assign to the are_conflicts_in_file property of this FileDiffResponse. :type are_conflicts_in_file: bool :param is_large: The value to assign to the is_large property of this FileDiffResponse. :type is_large: bool :param is_binary: The value to assign to the is_binary property of this FileDiffResponse. :type is_binary: bool :param changes: The value to assign to the changes property of this FileDiffResponse. :type changes: list[oci.devops.models.DiffChunk] """ self.swagger_types = { 'old_path': 'str', 'new_path': 'str', 'old_id': 'str', 'new_id': 'str', 'are_conflicts_in_file': 'bool', 'is_large': 'bool', 'is_binary': 'bool', 'changes': 'list[DiffChunk]' } self.attribute_map = { 'old_path': 'oldPath', 'new_path': 'newPath', 'old_id': 'oldId', 'new_id': 'newId', 'are_conflicts_in_file': 'areConflictsInFile', 'is_large': 'isLarge', 'is_binary': 'isBinary', 'changes': 'changes' } self._old_path = None self._new_path = None self._old_id = None self._new_id = None self._are_conflicts_in_file = None self._is_large = None self._is_binary = None self._changes = None @property def old_path(self): """ Gets the old_path of this FileDiffResponse. The path on the base version to the changed object. :return: The old_path of this FileDiffResponse. :rtype: str """ return self._old_path @old_path.setter def old_path(self, old_path): """ Sets the old_path of this FileDiffResponse. The path on the base version to the changed object. :param old_path: The old_path of this FileDiffResponse. :type: str """ self._old_path = old_path @property def new_path(self): """ Gets the new_path of this FileDiffResponse. The path on the target version to the changed object. :return: The new_path of this FileDiffResponse. :rtype: str """ return self._new_path @new_path.setter def new_path(self, new_path): """ Sets the new_path of this FileDiffResponse. The path on the target version to the changed object. :param new_path: The new_path of this FileDiffResponse. :type: str """ self._new_path = new_path @property def old_id(self): """ Gets the old_id of this FileDiffResponse. The ID of the changed object on the base version. :return: The old_id of this FileDiffResponse. :rtype: str """ return self._old_id @old_id.setter def old_id(self, old_id): """ Sets the old_id of this FileDiffResponse. The ID of the changed object on the base version. :param old_id: The old_id of this FileDiffResponse. :type: str """ self._old_id = old_id @property def new_id(self): """ Gets the new_id of this FileDiffResponse. The ID of the changed object on the target version. :return: The new_id of this FileDiffResponse. :rtype: str """ return self._new_id @new_id.setter def new_id(self, new_id): """ Sets the new_id of this FileDiffResponse. The ID of the changed object on the target version. :param new_id: The new_id of this FileDiffResponse. :type: str """ self._new_id = new_id @property def are_conflicts_in_file(self): """ Gets the are_conflicts_in_file of this FileDiffResponse. Indicates whether the changed file contains conflicts. :return: The are_conflicts_in_file of this FileDiffResponse. :rtype: bool """ return self._are_conflicts_in_file @are_conflicts_in_file.setter def are_conflicts_in_file(self, are_conflicts_in_file): """ Sets the are_conflicts_in_file of this FileDiffResponse. Indicates whether the changed file contains conflicts. :param are_conflicts_in_file: The are_conflicts_in_file of this FileDiffResponse. :type: bool """ self._are_conflicts_in_file = are_conflicts_in_file @property def is_large(self): """ Gets the is_large of this FileDiffResponse. Indicates whether the file is large. :return: The is_large of this FileDiffResponse. :rtype: bool """ return self._is_large @is_large.setter def is_large(self, is_large): """ Sets the is_large of this FileDiffResponse. Indicates whether the file is large. :param is_large: The is_large of this FileDiffResponse. :type: bool """ self._is_large = is_large @property def is_binary(self): """ Gets the is_binary of this FileDiffResponse. Indicates whether the file is binary. :return: The is_binary of this FileDiffResponse. :rtype: bool """ return self._is_binary @is_binary.setter def is_binary(self, is_binary): """ Sets the is_binary of this FileDiffResponse. Indicates whether the file is binary. :param is_binary: The is_binary of this FileDiffResponse. :type: bool """ self._is_binary = is_binary @property def changes(self): """ **[Required]** Gets the changes of this FileDiffResponse. List of changed section in the file. :return: The changes of this FileDiffResponse. :rtype: list[oci.devops.models.DiffChunk] """ return self._changes @changes.setter def changes(self, changes): """ Sets the changes of this FileDiffResponse. List of changed section in the file. :param changes: The changes of this FileDiffResponse. :type: list[oci.devops.models.DiffChunk] """ self._changes = changes def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other