ÿØÿà 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/core/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 Shape(object): """ A compute instance shape that can be used in :func:`launch_instance`. For more information, see `Overview of the Compute Service`__. __ https://docs.cloud.oracle.com/Content/Compute/Concepts/computeoverview.htm """ def __init__(self, **kwargs): """ Initializes a new Shape object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this Shape. :type availability_domain: str :param shape: The value to assign to the shape property of this Shape. :type shape: str """ self.swagger_types = { 'availability_domain': 'str', 'shape': 'str' } self.attribute_map = { 'availability_domain': 'availabilityDomain', 'shape': 'shape' } self._availability_domain = None self._shape = None @property def availability_domain(self): """ Gets the availability_domain of this Shape. The shape's availability domain. :return: The availability_domain of this Shape. :rtype: str """ return self._availability_domain @availability_domain.setter def availability_domain(self, availability_domain): """ Sets the availability_domain of this Shape. The shape's availability domain. :param availability_domain: The availability_domain of this Shape. :type: str """ self._availability_domain = availability_domain @property def shape(self): """ **[Required]** Gets the shape of this Shape. The name of the shape. You can enumerate all available shapes by calling :func:`list_shapes`. :return: The shape of this Shape. :rtype: str """ return self._shape @shape.setter def shape(self, shape): """ Sets the shape of this Shape. The name of the shape. You can enumerate all available shapes by calling :func:`list_shapes`. :param shape: The shape of this Shape. :type: str """ self._shape = shape 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