Server IP : 103.119.228.120 / Your IP : 3.135.206.212 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/lib/mysqlsh/lib/python3.9/site-packages/oci/desktops/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: 20220618 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 DesktopDevicePolicy(object): """ Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. """ #: A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. #: This constant has a value of "NONE" CLIPBOARD_MODE_NONE = "NONE" #: A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. #: This constant has a value of "TODESKTOP" CLIPBOARD_MODE_TODESKTOP = "TODESKTOP" #: A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. #: This constant has a value of "FROMDESKTOP" CLIPBOARD_MODE_FROMDESKTOP = "FROMDESKTOP" #: A constant which can be used with the clipboard_mode property of a DesktopDevicePolicy. #: This constant has a value of "FULL" CLIPBOARD_MODE_FULL = "FULL" #: A constant which can be used with the audio_mode property of a DesktopDevicePolicy. #: This constant has a value of "NONE" AUDIO_MODE_NONE = "NONE" #: A constant which can be used with the audio_mode property of a DesktopDevicePolicy. #: This constant has a value of "TODESKTOP" AUDIO_MODE_TODESKTOP = "TODESKTOP" #: A constant which can be used with the audio_mode property of a DesktopDevicePolicy. #: This constant has a value of "FROMDESKTOP" AUDIO_MODE_FROMDESKTOP = "FROMDESKTOP" #: A constant which can be used with the audio_mode property of a DesktopDevicePolicy. #: This constant has a value of "FULL" AUDIO_MODE_FULL = "FULL" #: A constant which can be used with the cdm_mode property of a DesktopDevicePolicy. #: This constant has a value of "NONE" CDM_MODE_NONE = "NONE" #: A constant which can be used with the cdm_mode property of a DesktopDevicePolicy. #: This constant has a value of "READONLY" CDM_MODE_READONLY = "READONLY" #: A constant which can be used with the cdm_mode property of a DesktopDevicePolicy. #: This constant has a value of "FULL" CDM_MODE_FULL = "FULL" def __init__(self, **kwargs): """ Initializes a new DesktopDevicePolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param clipboard_mode: The value to assign to the clipboard_mode property of this DesktopDevicePolicy. Allowed values for this property are: "NONE", "TODESKTOP", "FROMDESKTOP", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type clipboard_mode: str :param audio_mode: The value to assign to the audio_mode property of this DesktopDevicePolicy. Allowed values for this property are: "NONE", "TODESKTOP", "FROMDESKTOP", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type audio_mode: str :param cdm_mode: The value to assign to the cdm_mode property of this DesktopDevicePolicy. Allowed values for this property are: "NONE", "READONLY", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type cdm_mode: str :param is_printing_enabled: The value to assign to the is_printing_enabled property of this DesktopDevicePolicy. :type is_printing_enabled: bool :param is_pointer_enabled: The value to assign to the is_pointer_enabled property of this DesktopDevicePolicy. :type is_pointer_enabled: bool :param is_keyboard_enabled: The value to assign to the is_keyboard_enabled property of this DesktopDevicePolicy. :type is_keyboard_enabled: bool :param is_display_enabled: The value to assign to the is_display_enabled property of this DesktopDevicePolicy. :type is_display_enabled: bool """ self.swagger_types = { 'clipboard_mode': 'str', 'audio_mode': 'str', 'cdm_mode': 'str', 'is_printing_enabled': 'bool', 'is_pointer_enabled': 'bool', 'is_keyboard_enabled': 'bool', 'is_display_enabled': 'bool' } self.attribute_map = { 'clipboard_mode': 'clipboardMode', 'audio_mode': 'audioMode', 'cdm_mode': 'cdmMode', 'is_printing_enabled': 'isPrintingEnabled', 'is_pointer_enabled': 'isPointerEnabled', 'is_keyboard_enabled': 'isKeyboardEnabled', 'is_display_enabled': 'isDisplayEnabled' } self._clipboard_mode = None self._audio_mode = None self._cdm_mode = None self._is_printing_enabled = None self._is_pointer_enabled = None self._is_keyboard_enabled = None self._is_display_enabled = None @property def clipboard_mode(self): """ **[Required]** Gets the clipboard_mode of this DesktopDevicePolicy. The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. Allowed values for this property are: "NONE", "TODESKTOP", "FROMDESKTOP", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The clipboard_mode of this DesktopDevicePolicy. :rtype: str """ return self._clipboard_mode @clipboard_mode.setter def clipboard_mode(self, clipboard_mode): """ Sets the clipboard_mode of this DesktopDevicePolicy. The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. :param clipboard_mode: The clipboard_mode of this DesktopDevicePolicy. :type: str """ allowed_values = ["NONE", "TODESKTOP", "FROMDESKTOP", "FULL"] if not value_allowed_none_or_none_sentinel(clipboard_mode, allowed_values): clipboard_mode = 'UNKNOWN_ENUM_VALUE' self._clipboard_mode = clipboard_mode @property def audio_mode(self): """ **[Required]** Gets the audio_mode of this DesktopDevicePolicy. The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. Allowed values for this property are: "NONE", "TODESKTOP", "FROMDESKTOP", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The audio_mode of this DesktopDevicePolicy. :rtype: str """ return self._audio_mode @audio_mode.setter def audio_mode(self, audio_mode): """ Sets the audio_mode of this DesktopDevicePolicy. The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. :param audio_mode: The audio_mode of this DesktopDevicePolicy. :type: str """ allowed_values = ["NONE", "TODESKTOP", "FROMDESKTOP", "FULL"] if not value_allowed_none_or_none_sentinel(audio_mode, allowed_values): audio_mode = 'UNKNOWN_ENUM_VALUE' self._audio_mode = audio_mode @property def cdm_mode(self): """ **[Required]** Gets the cdm_mode of this DesktopDevicePolicy. The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. Allowed values for this property are: "NONE", "READONLY", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The cdm_mode of this DesktopDevicePolicy. :rtype: str """ return self._cdm_mode @cdm_mode.setter def cdm_mode(self, cdm_mode): """ Sets the cdm_mode of this DesktopDevicePolicy. The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. :param cdm_mode: The cdm_mode of this DesktopDevicePolicy. :type: str """ allowed_values = ["NONE", "READONLY", "FULL"] if not value_allowed_none_or_none_sentinel(cdm_mode, allowed_values): cdm_mode = 'UNKNOWN_ENUM_VALUE' self._cdm_mode = cdm_mode @property def is_printing_enabled(self): """ **[Required]** Gets the is_printing_enabled of this DesktopDevicePolicy. Indicates whether printing is enabled. :return: The is_printing_enabled of this DesktopDevicePolicy. :rtype: bool """ return self._is_printing_enabled @is_printing_enabled.setter def is_printing_enabled(self, is_printing_enabled): """ Sets the is_printing_enabled of this DesktopDevicePolicy. Indicates whether printing is enabled. :param is_printing_enabled: The is_printing_enabled of this DesktopDevicePolicy. :type: bool """ self._is_printing_enabled = is_printing_enabled @property def is_pointer_enabled(self): """ **[Required]** Gets the is_pointer_enabled of this DesktopDevicePolicy. Indicates whether the pointer is enabled. :return: The is_pointer_enabled of this DesktopDevicePolicy. :rtype: bool """ return self._is_pointer_enabled @is_pointer_enabled.setter def is_pointer_enabled(self, is_pointer_enabled): """ Sets the is_pointer_enabled of this DesktopDevicePolicy. Indicates whether the pointer is enabled. :param is_pointer_enabled: The is_pointer_enabled of this DesktopDevicePolicy. :type: bool """ self._is_pointer_enabled = is_pointer_enabled @property def is_keyboard_enabled(self): """ **[Required]** Gets the is_keyboard_enabled of this DesktopDevicePolicy. Indicates whether the keyboard is enabled. :return: The is_keyboard_enabled of this DesktopDevicePolicy. :rtype: bool """ return self._is_keyboard_enabled @is_keyboard_enabled.setter def is_keyboard_enabled(self, is_keyboard_enabled): """ Sets the is_keyboard_enabled of this DesktopDevicePolicy. Indicates whether the keyboard is enabled. :param is_keyboard_enabled: The is_keyboard_enabled of this DesktopDevicePolicy. :type: bool """ self._is_keyboard_enabled = is_keyboard_enabled @property def is_display_enabled(self): """ **[Required]** Gets the is_display_enabled of this DesktopDevicePolicy. Indicates whether the display is enabled. :return: The is_display_enabled of this DesktopDevicePolicy. :rtype: bool """ return self._is_display_enabled @is_display_enabled.setter def is_display_enabled(self, is_display_enabled): """ Sets the is_display_enabled of this DesktopDevicePolicy. Indicates whether the display is enabled. :param is_display_enabled: The is_display_enabled of this DesktopDevicePolicy. :type: bool """ self._is_display_enabled = is_display_enabled 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