Server IP : 103.119.228.120 / Your IP : 3.147.53.90 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 : /lib/mysqlsh/lib/python3.9/site-packages/oci/data_integration/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: 20200430 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 CopyObjectRequest(object): """ Copy metadata object request. """ #: A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. #: This constant has a value of "SUCCESSFUL" COPY_METADATA_OBJECT_REQUEST_STATUS_SUCCESSFUL = "SUCCESSFUL" #: A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. #: This constant has a value of "FAILED" COPY_METADATA_OBJECT_REQUEST_STATUS_FAILED = "FAILED" #: A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. #: This constant has a value of "IN_PROGRESS" COPY_METADATA_OBJECT_REQUEST_STATUS_IN_PROGRESS = "IN_PROGRESS" #: A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. #: This constant has a value of "QUEUED" COPY_METADATA_OBJECT_REQUEST_STATUS_QUEUED = "QUEUED" #: A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. #: This constant has a value of "TERMINATING" COPY_METADATA_OBJECT_REQUEST_STATUS_TERMINATING = "TERMINATING" #: A constant which can be used with the copy_metadata_object_request_status property of a CopyObjectRequest. #: This constant has a value of "TERMINATED" COPY_METADATA_OBJECT_REQUEST_STATUS_TERMINATED = "TERMINATED" def __init__(self, **kwargs): """ Initializes a new CopyObjectRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this CopyObjectRequest. :type key: str :param source_workspace_id: The value to assign to the source_workspace_id property of this CopyObjectRequest. :type source_workspace_id: str :param object_keys: The value to assign to the object_keys property of this CopyObjectRequest. :type object_keys: list[str] :param copy_conflict_resolution: The value to assign to the copy_conflict_resolution property of this CopyObjectRequest. :type copy_conflict_resolution: oci.data_integration.models.CopyConflictResolution :param copy_metadata_object_request_status: The value to assign to the copy_metadata_object_request_status property of this CopyObjectRequest. Allowed values for this property are: "SUCCESSFUL", "FAILED", "IN_PROGRESS", "QUEUED", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type copy_metadata_object_request_status: str :param created_by: The value to assign to the created_by property of this CopyObjectRequest. :type created_by: str :param created_by_name: The value to assign to the created_by_name property of this CopyObjectRequest. :type created_by_name: str :param total_source_object_count: The value to assign to the total_source_object_count property of this CopyObjectRequest. :type total_source_object_count: int :param total_objects_copied_into_target: The value to assign to the total_objects_copied_into_target property of this CopyObjectRequest. :type total_objects_copied_into_target: int :param time_started_in_millis: The value to assign to the time_started_in_millis property of this CopyObjectRequest. :type time_started_in_millis: int :param time_ended_in_millis: The value to assign to the time_ended_in_millis property of this CopyObjectRequest. :type time_ended_in_millis: int :param copied_items: The value to assign to the copied_items property of this CopyObjectRequest. :type copied_items: list[oci.data_integration.models.CopyObjectMetadataSummary] :param referenced_items: The value to assign to the referenced_items property of this CopyObjectRequest. :type referenced_items: list[oci.data_integration.models.CopyObjectMetadataSummary] :param name: The value to assign to the name property of this CopyObjectRequest. :type name: str """ self.swagger_types = { 'key': 'str', 'source_workspace_id': 'str', 'object_keys': 'list[str]', 'copy_conflict_resolution': 'CopyConflictResolution', 'copy_metadata_object_request_status': 'str', 'created_by': 'str', 'created_by_name': 'str', 'total_source_object_count': 'int', 'total_objects_copied_into_target': 'int', 'time_started_in_millis': 'int', 'time_ended_in_millis': 'int', 'copied_items': 'list[CopyObjectMetadataSummary]', 'referenced_items': 'list[CopyObjectMetadataSummary]', 'name': 'str' } self.attribute_map = { 'key': 'key', 'source_workspace_id': 'sourceWorkspaceId', 'object_keys': 'objectKeys', 'copy_conflict_resolution': 'copyConflictResolution', 'copy_metadata_object_request_status': 'copyMetadataObjectRequestStatus', 'created_by': 'createdBy', 'created_by_name': 'createdByName', 'total_source_object_count': 'totalSourceObjectCount', 'total_objects_copied_into_target': 'totalObjectsCopiedIntoTarget', 'time_started_in_millis': 'timeStartedInMillis', 'time_ended_in_millis': 'timeEndedInMillis', 'copied_items': 'copiedItems', 'referenced_items': 'referencedItems', 'name': 'name' } self._key = None self._source_workspace_id = None self._object_keys = None self._copy_conflict_resolution = None self._copy_metadata_object_request_status = None self._created_by = None self._created_by_name = None self._total_source_object_count = None self._total_objects_copied_into_target = None self._time_started_in_millis = None self._time_ended_in_millis = None self._copied_items = None self._referenced_items = None self._name = None @property def key(self): """ Gets the key of this CopyObjectRequest. Copy object request key. :return: The key of this CopyObjectRequest. :rtype: str """ return self._key @key.setter def key(self, key): """ Sets the key of this CopyObjectRequest. Copy object request key. :param key: The key of this CopyObjectRequest. :type: str """ self._key = key @property def source_workspace_id(self): """ Gets the source_workspace_id of this CopyObjectRequest. The workspace id of the source from where we need to copy object. :return: The source_workspace_id of this CopyObjectRequest. :rtype: str """ return self._source_workspace_id @source_workspace_id.setter def source_workspace_id(self, source_workspace_id): """ Sets the source_workspace_id of this CopyObjectRequest. The workspace id of the source from where we need to copy object. :param source_workspace_id: The source_workspace_id of this CopyObjectRequest. :type: str """ self._source_workspace_id = source_workspace_id @property def object_keys(self): """ Gets the object_keys of this CopyObjectRequest. The list of the objects to be copied. :return: The object_keys of this CopyObjectRequest. :rtype: list[str] """ return self._object_keys @object_keys.setter def object_keys(self, object_keys): """ Sets the object_keys of this CopyObjectRequest. The list of the objects to be copied. :param object_keys: The object_keys of this CopyObjectRequest. :type: list[str] """ self._object_keys = object_keys @property def copy_conflict_resolution(self): """ Gets the copy_conflict_resolution of this CopyObjectRequest. :return: The copy_conflict_resolution of this CopyObjectRequest. :rtype: oci.data_integration.models.CopyConflictResolution """ return self._copy_conflict_resolution @copy_conflict_resolution.setter def copy_conflict_resolution(self, copy_conflict_resolution): """ Sets the copy_conflict_resolution of this CopyObjectRequest. :param copy_conflict_resolution: The copy_conflict_resolution of this CopyObjectRequest. :type: oci.data_integration.models.CopyConflictResolution """ self._copy_conflict_resolution = copy_conflict_resolution @property def copy_metadata_object_request_status(self): """ Gets the copy_metadata_object_request_status of this CopyObjectRequest. Copy Object request status. Allowed values for this property are: "SUCCESSFUL", "FAILED", "IN_PROGRESS", "QUEUED", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The copy_metadata_object_request_status of this CopyObjectRequest. :rtype: str """ return self._copy_metadata_object_request_status @copy_metadata_object_request_status.setter def copy_metadata_object_request_status(self, copy_metadata_object_request_status): """ Sets the copy_metadata_object_request_status of this CopyObjectRequest. Copy Object request status. :param copy_metadata_object_request_status: The copy_metadata_object_request_status of this CopyObjectRequest. :type: str """ allowed_values = ["SUCCESSFUL", "FAILED", "IN_PROGRESS", "QUEUED", "TERMINATING", "TERMINATED"] if not value_allowed_none_or_none_sentinel(copy_metadata_object_request_status, allowed_values): copy_metadata_object_request_status = 'UNKNOWN_ENUM_VALUE' self._copy_metadata_object_request_status = copy_metadata_object_request_status @property def created_by(self): """ Gets the created_by of this CopyObjectRequest. OCID of the user who initiated copy request. :return: The created_by of this CopyObjectRequest. :rtype: str """ return self._created_by @created_by.setter def created_by(self, created_by): """ Sets the created_by of this CopyObjectRequest. OCID of the user who initiated copy request. :param created_by: The created_by of this CopyObjectRequest. :type: str """ self._created_by = created_by @property def created_by_name(self): """ Gets the created_by_name of this CopyObjectRequest. Name of the user who created the copy object request. :return: The created_by_name of this CopyObjectRequest. :rtype: str """ return self._created_by_name @created_by_name.setter def created_by_name(self, created_by_name): """ Sets the created_by_name of this CopyObjectRequest. Name of the user who created the copy object request. :param created_by_name: The created_by_name of this CopyObjectRequest. :type: str """ self._created_by_name = created_by_name @property def total_source_object_count(self): """ Gets the total_source_object_count of this CopyObjectRequest. Number of source objects to be copied. :return: The total_source_object_count of this CopyObjectRequest. :rtype: int """ return self._total_source_object_count @total_source_object_count.setter def total_source_object_count(self, total_source_object_count): """ Sets the total_source_object_count of this CopyObjectRequest. Number of source objects to be copied. :param total_source_object_count: The total_source_object_count of this CopyObjectRequest. :type: int """ self._total_source_object_count = total_source_object_count @property def total_objects_copied_into_target(self): """ Gets the total_objects_copied_into_target of this CopyObjectRequest. Number of objects copied into the target. :return: The total_objects_copied_into_target of this CopyObjectRequest. :rtype: int """ return self._total_objects_copied_into_target @total_objects_copied_into_target.setter def total_objects_copied_into_target(self, total_objects_copied_into_target): """ Sets the total_objects_copied_into_target of this CopyObjectRequest. Number of objects copied into the target. :param total_objects_copied_into_target: The total_objects_copied_into_target of this CopyObjectRequest. :type: int """ self._total_objects_copied_into_target = total_objects_copied_into_target @property def time_started_in_millis(self): """ Gets the time_started_in_millis of this CopyObjectRequest. Time at which the request started getting processed. :return: The time_started_in_millis of this CopyObjectRequest. :rtype: int """ return self._time_started_in_millis @time_started_in_millis.setter def time_started_in_millis(self, time_started_in_millis): """ Sets the time_started_in_millis of this CopyObjectRequest. Time at which the request started getting processed. :param time_started_in_millis: The time_started_in_millis of this CopyObjectRequest. :type: int """ self._time_started_in_millis = time_started_in_millis @property def time_ended_in_millis(self): """ Gets the time_ended_in_millis of this CopyObjectRequest. Time at which the request was completely processed. :return: The time_ended_in_millis of this CopyObjectRequest. :rtype: int """ return self._time_ended_in_millis @time_ended_in_millis.setter def time_ended_in_millis(self, time_ended_in_millis): """ Sets the time_ended_in_millis of this CopyObjectRequest. Time at which the request was completely processed. :param time_ended_in_millis: The time_ended_in_millis of this CopyObjectRequest. :type: int """ self._time_ended_in_millis = time_ended_in_millis @property def copied_items(self): """ Gets the copied_items of this CopyObjectRequest. The array of copy object details. :return: The copied_items of this CopyObjectRequest. :rtype: list[oci.data_integration.models.CopyObjectMetadataSummary] """ return self._copied_items @copied_items.setter def copied_items(self, copied_items): """ Sets the copied_items of this CopyObjectRequest. The array of copy object details. :param copied_items: The copied_items of this CopyObjectRequest. :type: list[oci.data_integration.models.CopyObjectMetadataSummary] """ self._copied_items = copied_items @property def referenced_items(self): """ Gets the referenced_items of this CopyObjectRequest. The array of copied referenced objects. :return: The referenced_items of this CopyObjectRequest. :rtype: list[oci.data_integration.models.CopyObjectMetadataSummary] """ return self._referenced_items @referenced_items.setter def referenced_items(self, referenced_items): """ Sets the referenced_items of this CopyObjectRequest. The array of copied referenced objects. :param referenced_items: The referenced_items of this CopyObjectRequest. :type: list[oci.data_integration.models.CopyObjectMetadataSummary] """ self._referenced_items = referenced_items @property def name(self): """ Gets the name of this CopyObjectRequest. Name of the copy object request. :return: The name of this CopyObjectRequest. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this CopyObjectRequest. Name of the copy object request. :param name: The name of this CopyObjectRequest. :type: str """ self._name = name 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