1# coding: utf-8 2# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. 3# 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. 4 5 6from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 7from oci.decorators import init_model_state_from_kwargs 8 9 10@init_model_state_from_kwargs 11class RemoveCloudSqlDetails(object): 12 """ 13 The information about the Cloud SQL installation that was removed. 14 """ 15 16 def __init__(self, **kwargs): 17 """ 18 Initializes a new RemoveCloudSqlDetails object with values from keyword arguments. 19 The following keyword arguments are supported (corresponding to the getters/setters of this class): 20 21 :param cluster_admin_password: 22 The value to assign to the cluster_admin_password property of this RemoveCloudSqlDetails. 23 :type cluster_admin_password: str 24 25 """ 26 self.swagger_types = { 27 'cluster_admin_password': 'str' 28 } 29 30 self.attribute_map = { 31 'cluster_admin_password': 'clusterAdminPassword' 32 } 33 34 self._cluster_admin_password = None 35 36 @property 37 def cluster_admin_password(self): 38 """ 39 **[Required]** Gets the cluster_admin_password of this RemoveCloudSqlDetails. 40 Base-64 encoded password for the cluster (and Cloudera Manager) admin user. 41 42 43 :return: The cluster_admin_password of this RemoveCloudSqlDetails. 44 :rtype: str 45 """ 46 return self._cluster_admin_password 47 48 @cluster_admin_password.setter 49 def cluster_admin_password(self, cluster_admin_password): 50 """ 51 Sets the cluster_admin_password of this RemoveCloudSqlDetails. 52 Base-64 encoded password for the cluster (and Cloudera Manager) admin user. 53 54 55 :param cluster_admin_password: The cluster_admin_password of this RemoveCloudSqlDetails. 56 :type: str 57 """ 58 self._cluster_admin_password = cluster_admin_password 59 60 def __repr__(self): 61 return formatted_flat_dict(self) 62 63 def __eq__(self, other): 64 if other is None: 65 return False 66 67 return self.__dict__ == other.__dict__ 68 69 def __ne__(self, other): 70 return not self == other 71