���� 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/mysql/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 ConfigurationRevision(object): """ The MySQLaaS Configuration Revision. A Revision is a specific snapshot of the values of the system variables and options in the life of a Configuration. """ #: A constant which can be used with the status property of a ConfigurationRevision. #: This constant has a value of "PENDING" STATUS_PENDING = "PENDING" #: A constant which can be used with the status property of a ConfigurationRevision. #: This constant has a value of "APPLYING" STATUS_APPLYING = "APPLYING" #: A constant which can be used with the status property of a ConfigurationRevision. #: This constant has a value of "APPLIED" STATUS_APPLIED = "APPLIED" #: A constant which can be used with the status property of a ConfigurationRevision. #: This constant has a value of "FAILED" STATUS_FAILED = "FAILED" def __init__(self, **kwargs): """ Initializes a new ConfigurationRevision object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this ConfigurationRevision. :type id: str :param time_created: The value to assign to the time_created property of this ConfigurationRevision. :type time_created: datetime :param status: The value to assign to the status property of this ConfigurationRevision. Allowed values for this property are: "PENDING", "APPLYING", "APPLIED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param description: The value to assign to the description property of this ConfigurationRevision. :type description: str :param changed_options: The value to assign to the changed_options property of this ConfigurationRevision. :type changed_options: list[str] :param options: The value to assign to the options property of this ConfigurationRevision. :type options: list[Option] """ self.swagger_types = { 'id': 'str', 'time_created': 'datetime', 'status': 'str', 'description': 'str', 'changed_options': 'list[str]', 'options': 'list[Option]' } self.attribute_map = { 'id': 'id', 'time_created': 'timeCreated', 'status': 'status', 'description': 'description', 'changed_options': 'changedOptions', 'options': 'options' } self._id = None self._time_created = None self._status = None self._description = None self._changed_options = None self._options = None @property def id(self): """ **[Required]** Gets the id of this ConfigurationRevision. An identifier for this this specific revision of the Configuration within the identifier space of this Configuration. Currently an auto-increment integer, but not guaranteed to be one; treat as an opaque string identifier. :return: The id of this ConfigurationRevision. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this ConfigurationRevision. An identifier for this this specific revision of the Configuration within the identifier space of this Configuration. Currently an auto-increment integer, but not guaranteed to be one; treat as an opaque string identifier. :param id: The id of this ConfigurationRevision. :type: str """ self._id = id @property def time_created(self): """ **[Required]** Gets the time_created of this ConfigurationRevision. Revision creation time, as described by `RFC 3339`__. __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this ConfigurationRevision. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this ConfigurationRevision. Revision creation time, as described by `RFC 3339`__. __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this ConfigurationRevision. :type: datetime """ self._time_created = time_created @property def status(self): """ **[Required]** Gets the status of this ConfigurationRevision. The status of this revision. Allowed values for this property are: "PENDING", "APPLYING", "APPLIED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this ConfigurationRevision. :rtype: str """ return self._status @status.setter def status(self, status): """ Sets the status of this ConfigurationRevision. The status of this revision. :param status: The status of this ConfigurationRevision. :type: str """ allowed_values = ["PENDING", "APPLYING", "APPLIED", "FAILED"] if not value_allowed_none_or_none_sentinel(status, allowed_values): status = 'UNKNOWN_ENUM_VALUE' self._status = status @property def description(self): """ **[Required]** Gets the description of this ConfigurationRevision. A user-provided description for this revision. :return: The description of this ConfigurationRevision. :rtype: str """ return self._description @description.setter def description(self, description): """ Sets the description of this ConfigurationRevision. A user-provided description for this revision. :param description: The description of this ConfigurationRevision. :type: str """ self._description = description @property def changed_options(self): """ **[Required]** Gets the changed_options of this ConfigurationRevision. The names of the option values specifically changed in this Revision of the Configuration. :return: The changed_options of this ConfigurationRevision. :rtype: list[str] """ return self._changed_options @changed_options.setter def changed_options(self, changed_options): """ Sets the changed_options of this ConfigurationRevision. The names of the option values specifically changed in this Revision of the Configuration. :param changed_options: The changed_options of this ConfigurationRevision. :type: list[str] """ self._changed_options = changed_options @property def options(self): """ **[Required]** Gets the options of this ConfigurationRevision. The entire collection of Option values in this Revision of the Configuration. :return: The options of this ConfigurationRevision. :rtype: list[Option] """ return self._options @options.setter def options(self, options): """ Sets the options of this ConfigurationRevision. The entire collection of Option values in this Revision of the Configuration. :param options: The options of this ConfigurationRevision. :type: list[Option] """ self._options = options 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