ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /proc/self/root/usr/share/mysqlsh/oci_sdk/oci/waas/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/mysqlsh/oci_sdk/oci/waas/models/certificate_issuer_name.py
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.


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 CertificateIssuerName(object):
    """
    The issuer of the certificate.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new CertificateIssuerName object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param country:
            The value to assign to the country property of this CertificateIssuerName.
        :type country: str

        :param state_province:
            The value to assign to the state_province property of this CertificateIssuerName.
        :type state_province: str

        :param locality:
            The value to assign to the locality property of this CertificateIssuerName.
        :type locality: str

        :param organization:
            The value to assign to the organization property of this CertificateIssuerName.
        :type organization: str

        :param organizational_unit:
            The value to assign to the organizational_unit property of this CertificateIssuerName.
        :type organizational_unit: str

        :param common_name:
            The value to assign to the common_name property of this CertificateIssuerName.
        :type common_name: str

        :param email_address:
            The value to assign to the email_address property of this CertificateIssuerName.
        :type email_address: str

        """
        self.swagger_types = {
            'country': 'str',
            'state_province': 'str',
            'locality': 'str',
            'organization': 'str',
            'organizational_unit': 'str',
            'common_name': 'str',
            'email_address': 'str'
        }

        self.attribute_map = {
            'country': 'country',
            'state_province': 'stateProvince',
            'locality': 'locality',
            'organization': 'organization',
            'organizational_unit': 'organizationalUnit',
            'common_name': 'commonName',
            'email_address': 'emailAddress'
        }

        self._country = None
        self._state_province = None
        self._locality = None
        self._organization = None
        self._organizational_unit = None
        self._common_name = None
        self._email_address = None

    @property
    def country(self):
        """
        Gets the country of this CertificateIssuerName.
        ISO 3166-1 alpha-2 code of the country where the organization is located. For a list of codes, see `ISO's website`__.

        __ https://www.iso.org/obp/ui/#search/code/


        :return: The country of this CertificateIssuerName.
        :rtype: str
        """
        return self._country

    @country.setter
    def country(self, country):
        """
        Sets the country of this CertificateIssuerName.
        ISO 3166-1 alpha-2 code of the country where the organization is located. For a list of codes, see `ISO's website`__.

        __ https://www.iso.org/obp/ui/#search/code/


        :param country: The country of this CertificateIssuerName.
        :type: str
        """
        self._country = country

    @property
    def state_province(self):
        """
        Gets the state_province of this CertificateIssuerName.
        The province where the organization is located.


        :return: The state_province of this CertificateIssuerName.
        :rtype: str
        """
        return self._state_province

    @state_province.setter
    def state_province(self, state_province):
        """
        Sets the state_province of this CertificateIssuerName.
        The province where the organization is located.


        :param state_province: The state_province of this CertificateIssuerName.
        :type: str
        """
        self._state_province = state_province

    @property
    def locality(self):
        """
        Gets the locality of this CertificateIssuerName.
        The city in which the organization is located.


        :return: The locality of this CertificateIssuerName.
        :rtype: str
        """
        return self._locality

    @locality.setter
    def locality(self, locality):
        """
        Sets the locality of this CertificateIssuerName.
        The city in which the organization is located.


        :param locality: The locality of this CertificateIssuerName.
        :type: str
        """
        self._locality = locality

    @property
    def organization(self):
        """
        Gets the organization of this CertificateIssuerName.
        The organization name.


        :return: The organization of this CertificateIssuerName.
        :rtype: str
        """
        return self._organization

    @organization.setter
    def organization(self, organization):
        """
        Sets the organization of this CertificateIssuerName.
        The organization name.


        :param organization: The organization of this CertificateIssuerName.
        :type: str
        """
        self._organization = organization

    @property
    def organizational_unit(self):
        """
        Gets the organizational_unit of this CertificateIssuerName.
        The field to differentiate between divisions within an organization.


        :return: The organizational_unit of this CertificateIssuerName.
        :rtype: str
        """
        return self._organizational_unit

    @organizational_unit.setter
    def organizational_unit(self, organizational_unit):
        """
        Sets the organizational_unit of this CertificateIssuerName.
        The field to differentiate between divisions within an organization.


        :param organizational_unit: The organizational_unit of this CertificateIssuerName.
        :type: str
        """
        self._organizational_unit = organizational_unit

    @property
    def common_name(self):
        """
        Gets the common_name of this CertificateIssuerName.
        The Certificate Authority (CA) name.


        :return: The common_name of this CertificateIssuerName.
        :rtype: str
        """
        return self._common_name

    @common_name.setter
    def common_name(self, common_name):
        """
        Sets the common_name of this CertificateIssuerName.
        The Certificate Authority (CA) name.


        :param common_name: The common_name of this CertificateIssuerName.
        :type: str
        """
        self._common_name = common_name

    @property
    def email_address(self):
        """
        Gets the email_address of this CertificateIssuerName.
        The email address of the server's administrator.


        :return: The email_address of this CertificateIssuerName.
        :rtype: str
        """
        return self._email_address

    @email_address.setter
    def email_address(self, email_address):
        """
        Sets the email_address of this CertificateIssuerName.
        The email address of the server's administrator.


        :param email_address: The email_address of this CertificateIssuerName.
        :type: str
        """
        self._email_address = email_address

    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

ZeroDay Forums Mini