File: //lib/mysqlsh/lib/python3.8/site-packages/oci/analytics/models/update_vanity_url_details.py
# coding: utf-8
# Copyright (c) 2016, 2025, 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: 20190331
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 UpdateVanityUrlDetails(object):
"""
Input payload to update a vanity url.
"""
def __init__(self, **kwargs):
"""
Initializes a new UpdateVanityUrlDetails object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param passphrase:
The value to assign to the passphrase property of this UpdateVanityUrlDetails.
:type passphrase: str
:param private_key:
The value to assign to the private_key property of this UpdateVanityUrlDetails.
:type private_key: str
:param public_certificate:
The value to assign to the public_certificate property of this UpdateVanityUrlDetails.
:type public_certificate: str
:param ca_certificate:
The value to assign to the ca_certificate property of this UpdateVanityUrlDetails.
:type ca_certificate: str
"""
self.swagger_types = {
'passphrase': 'str',
'private_key': 'str',
'public_certificate': 'str',
'ca_certificate': 'str'
}
self.attribute_map = {
'passphrase': 'passphrase',
'private_key': 'privateKey',
'public_certificate': 'publicCertificate',
'ca_certificate': 'caCertificate'
}
self._passphrase = None
self._private_key = None
self._public_certificate = None
self._ca_certificate = None
@property
def passphrase(self):
"""
Gets the passphrase of this UpdateVanityUrlDetails.
Passphrase for the PEM Private key (if any).
:return: The passphrase of this UpdateVanityUrlDetails.
:rtype: str
"""
return self._passphrase
@passphrase.setter
def passphrase(self, passphrase):
"""
Sets the passphrase of this UpdateVanityUrlDetails.
Passphrase for the PEM Private key (if any).
:param passphrase: The passphrase of this UpdateVanityUrlDetails.
:type: str
"""
self._passphrase = passphrase
@property
def private_key(self):
"""
**[Required]** Gets the private_key of this UpdateVanityUrlDetails.
PEM Private key for HTTPS connections.
:return: The private_key of this UpdateVanityUrlDetails.
:rtype: str
"""
return self._private_key
@private_key.setter
def private_key(self, private_key):
"""
Sets the private_key of this UpdateVanityUrlDetails.
PEM Private key for HTTPS connections.
:param private_key: The private_key of this UpdateVanityUrlDetails.
:type: str
"""
self._private_key = private_key
@property
def public_certificate(self):
"""
**[Required]** Gets the public_certificate of this UpdateVanityUrlDetails.
PEM certificate for HTTPS connections.
:return: The public_certificate of this UpdateVanityUrlDetails.
:rtype: str
"""
return self._public_certificate
@public_certificate.setter
def public_certificate(self, public_certificate):
"""
Sets the public_certificate of this UpdateVanityUrlDetails.
PEM certificate for HTTPS connections.
:param public_certificate: The public_certificate of this UpdateVanityUrlDetails.
:type: str
"""
self._public_certificate = public_certificate
@property
def ca_certificate(self):
"""
**[Required]** Gets the ca_certificate of this UpdateVanityUrlDetails.
PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
:return: The ca_certificate of this UpdateVanityUrlDetails.
:rtype: str
"""
return self._ca_certificate
@ca_certificate.setter
def ca_certificate(self, ca_certificate):
"""
Sets the ca_certificate of this UpdateVanityUrlDetails.
PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
:param ca_certificate: The ca_certificate of this UpdateVanityUrlDetails.
:type: str
"""
self._ca_certificate = ca_certificate
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