File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/limits_increase/models/limits_increase_request_comment.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, 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: 20251101 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 LimitsIncreaseRequestComment(object): """ The properties that define a comment in a limit increase request. """ #: A constant which can be used with the sender_type property of a LimitsIncreaseRequestComment. #: This constant has a value of "CUSTOMER" SENDER_TYPE_CUSTOMER = "CUSTOMER" #: A constant which can be used with the sender_type property of a LimitsIncreaseRequestComment. #: This constant has a value of "ORACLE" SENDER_TYPE_ORACLE = "ORACLE" def __init__(self, **kwargs): """ Initializes a new LimitsIncreaseRequestComment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param message: The value to assign to the message property of this LimitsIncreaseRequestComment. :type message: str :param time_created: The value to assign to the time_created property of this LimitsIncreaseRequestComment. :type time_created: datetime :param sender_type: The value to assign to the sender_type property of this LimitsIncreaseRequestComment. Allowed values for this property are: "CUSTOMER", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type sender_type: str """ self.swagger_types = { 'message': 'str', 'time_created': 'datetime', 'sender_type': 'str' } self.attribute_map = { 'message': 'message', 'time_created': 'timeCreated', 'sender_type': 'senderType' } self._message = None self._time_created = None self._sender_type = None @property def message(self): """ **[Required]** Gets the message of this LimitsIncreaseRequestComment. The comment message. :return: The message of this LimitsIncreaseRequestComment. :rtype: str """ return self._message @message.setter def message(self, message): """ Sets the message of this LimitsIncreaseRequestComment. The comment message. :param message: The message of this LimitsIncreaseRequestComment. :type: str """ self._message = message @property def time_created(self): """ **[Required]** Gets the time_created of this LimitsIncreaseRequestComment. The time that the comment was created. Format defined by RFC3339. :return: The time_created of this LimitsIncreaseRequestComment. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this LimitsIncreaseRequestComment. The time that the comment was created. Format defined by RFC3339. :param time_created: The time_created of this LimitsIncreaseRequestComment. :type: datetime """ self._time_created = time_created @property def sender_type(self): """ **[Required]** Gets the sender_type of this LimitsIncreaseRequestComment. The comment sender type. Allowed values for this property are: "CUSTOMER", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The sender_type of this LimitsIncreaseRequestComment. :rtype: str """ return self._sender_type @sender_type.setter def sender_type(self, sender_type): """ Sets the sender_type of this LimitsIncreaseRequestComment. The comment sender type. :param sender_type: The sender_type of this LimitsIncreaseRequestComment. :type: str """ allowed_values = ["CUSTOMER", "ORACLE"] if not value_allowed_none_or_none_sentinel(sender_type, allowed_values): sender_type = 'UNKNOWN_ENUM_VALUE' self._sender_type = sender_type 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
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings