ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() 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/load_balancer/models/ |
# 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 IpAddress(object): """ A load balancer IP address. """ def __init__(self, **kwargs): """ Initializes a new IpAddress object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param ip_address: The value to assign to the ip_address property of this IpAddress. :type ip_address: str :param is_public: The value to assign to the is_public property of this IpAddress. :type is_public: bool """ self.swagger_types = { 'ip_address': 'str', 'is_public': 'bool' } self.attribute_map = { 'ip_address': 'ipAddress', 'is_public': 'isPublic' } self._ip_address = None self._is_public = None @property def ip_address(self): """ **[Required]** Gets the ip_address of this IpAddress. An IP address. Example: `192.168.0.3` :return: The ip_address of this IpAddress. :rtype: str """ return self._ip_address @ip_address.setter def ip_address(self, ip_address): """ Sets the ip_address of this IpAddress. An IP address. Example: `192.168.0.3` :param ip_address: The ip_address of this IpAddress. :type: str """ self._ip_address = ip_address @property def is_public(self): """ Gets the is_public of this IpAddress. Whether the IP address is public or private. If \"true\", the IP address is public and accessible from the internet. If \"false\", the IP address is private and accessible only from within the associated VCN. :return: The is_public of this IpAddress. :rtype: bool """ return self._is_public @is_public.setter def is_public(self, is_public): """ Sets the is_public of this IpAddress. Whether the IP address is public or private. If \"true\", the IP address is public and accessible from the internet. If \"false\", the IP address is private and accessible only from within the associated VCN. :param is_public: The is_public of this IpAddress. :type: bool """ self._is_public = is_public 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