File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/limits_increase/models/limits_increase_item_request.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 LimitsIncreaseItemRequest(object): """ The properties that define a limit increase item in a limit increase request. For information about limit increase requests, see `Working with Limit Increase Requests`__. __ https://docs.oracle.com/iaas/Content/General/service-limits/requests.htm """ #: A constant which can be used with the lifecycle_state property of a LimitsIncreaseItemRequest. #: This constant has a value of "ACCEPTED" LIFECYCLE_STATE_ACCEPTED = "ACCEPTED" #: A constant which can be used with the lifecycle_state property of a LimitsIncreaseItemRequest. #: This constant has a value of "IN_PROGRESS" LIFECYCLE_STATE_IN_PROGRESS = "IN_PROGRESS" #: A constant which can be used with the lifecycle_state property of a LimitsIncreaseItemRequest. #: This constant has a value of "SUCCEEDED" LIFECYCLE_STATE_SUCCEEDED = "SUCCEEDED" #: A constant which can be used with the lifecycle_state property of a LimitsIncreaseItemRequest. #: This constant has a value of "CANCELED" LIFECYCLE_STATE_CANCELED = "CANCELED" #: A constant which can be used with the lifecycle_state property of a LimitsIncreaseItemRequest. #: This constant has a value of "FAILED" LIFECYCLE_STATE_FAILED = "FAILED" def __init__(self, **kwargs): """ Initializes a new LimitsIncreaseItemRequest 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 LimitsIncreaseItemRequest. :type id: str :param compartment_id: The value to assign to the compartment_id property of this LimitsIncreaseItemRequest. :type compartment_id: str :param region: The value to assign to the region property of this LimitsIncreaseItemRequest. :type region: str :param scope: The value to assign to the scope property of this LimitsIncreaseItemRequest. :type scope: str :param service_name: The value to assign to the service_name property of this LimitsIncreaseItemRequest. :type service_name: str :param limit_name: The value to assign to the limit_name property of this LimitsIncreaseItemRequest. :type limit_name: str :param current_value: The value to assign to the current_value property of this LimitsIncreaseItemRequest. :type current_value: int :param value: The value to assign to the value property of this LimitsIncreaseItemRequest. :type value: int :param limits_increase_request_id: The value to assign to the limits_increase_request_id property of this LimitsIncreaseItemRequest. :type limits_increase_request_id: str :param time_resolution: The value to assign to the time_resolution property of this LimitsIncreaseItemRequest. :type time_resolution: datetime :param time_created: The value to assign to the time_created property of this LimitsIncreaseItemRequest. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this LimitsIncreaseItemRequest. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this LimitsIncreaseItemRequest. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "CANCELED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param questionnaire_response: The value to assign to the questionnaire_response property of this LimitsIncreaseItemRequest. :type questionnaire_response: list[oci.limits_increase.models.LimitsIncreaseItemQuestionResponse] """ self.swagger_types = { 'id': 'str', 'compartment_id': 'str', 'region': 'str', 'scope': 'str', 'service_name': 'str', 'limit_name': 'str', 'current_value': 'int', 'value': 'int', 'limits_increase_request_id': 'str', 'time_resolution': 'datetime', 'time_created': 'datetime', 'time_updated': 'datetime', 'lifecycle_state': 'str', 'questionnaire_response': 'list[LimitsIncreaseItemQuestionResponse]' } self.attribute_map = { 'id': 'id', 'compartment_id': 'compartmentId', 'region': 'region', 'scope': 'scope', 'service_name': 'serviceName', 'limit_name': 'limitName', 'current_value': 'currentValue', 'value': 'value', 'limits_increase_request_id': 'limitsIncreaseRequestId', 'time_resolution': 'timeResolution', 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', 'lifecycle_state': 'lifecycleState', 'questionnaire_response': 'questionnaireResponse' } self._id = None self._compartment_id = None self._region = None self._scope = None self._service_name = None self._limit_name = None self._current_value = None self._value = None self._limits_increase_request_id = None self._time_resolution = None self._time_created = None self._time_updated = None self._lifecycle_state = None self._questionnaire_response = None @property def id(self): """ **[Required]** Gets the id of this LimitsIncreaseItemRequest. The `OCID`__ of the limit increase item. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this LimitsIncreaseItemRequest. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this LimitsIncreaseItemRequest. The `OCID`__ of the limit increase item. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this LimitsIncreaseItemRequest. :type: str """ self._id = id @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this LimitsIncreaseItemRequest. The `OCID`__ of the compartment that contains the limit increase item. Note: The tenancy is the root compartment). __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this LimitsIncreaseItemRequest. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this LimitsIncreaseItemRequest. The `OCID`__ of the compartment that contains the limit increase item. Note: The tenancy is the root compartment). __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this LimitsIncreaseItemRequest. :type: str """ self._compartment_id = compartment_id @property def region(self): """ **[Required]** Gets the region of this LimitsIncreaseItemRequest. The region code for the limit increase item. :return: The region of this LimitsIncreaseItemRequest. :rtype: str """ return self._region @region.setter def region(self, region): """ Sets the region of this LimitsIncreaseItemRequest. The region code for the limit increase item. :param region: The region of this LimitsIncreaseItemRequest. :type: str """ self._region = region @property def scope(self): """ Gets the scope of this LimitsIncreaseItemRequest. The scope of the limit increase item. For OCI, use the logical availability domain (AD) of the request. For Multicloud, use the availability zone (AZ) of the request :return: The scope of this LimitsIncreaseItemRequest. :rtype: str """ return self._scope @scope.setter def scope(self, scope): """ Sets the scope of this LimitsIncreaseItemRequest. The scope of the limit increase item. For OCI, use the logical availability domain (AD) of the request. For Multicloud, use the availability zone (AZ) of the request :param scope: The scope of this LimitsIncreaseItemRequest. :type: str """ self._scope = scope @property def service_name(self): """ **[Required]** Gets the service_name of this LimitsIncreaseItemRequest. The name of the service that owns the limit. :return: The service_name of this LimitsIncreaseItemRequest. :rtype: str """ return self._service_name @service_name.setter def service_name(self, service_name): """ Sets the service_name of this LimitsIncreaseItemRequest. The name of the service that owns the limit. :param service_name: The service_name of this LimitsIncreaseItemRequest. :type: str """ self._service_name = service_name @property def limit_name(self): """ **[Required]** Gets the limit_name of this LimitsIncreaseItemRequest. The name of the limit to be increased. :return: The limit_name of this LimitsIncreaseItemRequest. :rtype: str """ return self._limit_name @limit_name.setter def limit_name(self, limit_name): """ Sets the limit_name of this LimitsIncreaseItemRequest. The name of the limit to be increased. :param limit_name: The limit_name of this LimitsIncreaseItemRequest. :type: str """ self._limit_name = limit_name @property def current_value(self): """ **[Required]** Gets the current_value of this LimitsIncreaseItemRequest. The value of the limit for the tenancy at the time of the request. Purely informative. :return: The current_value of this LimitsIncreaseItemRequest. :rtype: int """ return self._current_value @current_value.setter def current_value(self, current_value): """ Sets the current_value of this LimitsIncreaseItemRequest. The value of the limit for the tenancy at the time of the request. Purely informative. :param current_value: The current_value of this LimitsIncreaseItemRequest. :type: int """ self._current_value = current_value @property def value(self): """ **[Required]** Gets the value of this LimitsIncreaseItemRequest. The new value requested for the limit. :return: The value of this LimitsIncreaseItemRequest. :rtype: int """ return self._value @value.setter def value(self, value): """ Sets the value of this LimitsIncreaseItemRequest. The new value requested for the limit. :param value: The value of this LimitsIncreaseItemRequest. :type: int """ self._value = value @property def limits_increase_request_id(self): """ **[Required]** Gets the limits_increase_request_id of this LimitsIncreaseItemRequest. The `OCID`__ of the limit increase request that the limit increase item belongs to. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The limits_increase_request_id of this LimitsIncreaseItemRequest. :rtype: str """ return self._limits_increase_request_id @limits_increase_request_id.setter def limits_increase_request_id(self, limits_increase_request_id): """ Sets the limits_increase_request_id of this LimitsIncreaseItemRequest. The `OCID`__ of the limit increase request that the limit increase item belongs to. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param limits_increase_request_id: The limits_increase_request_id of this LimitsIncreaseItemRequest. :type: str """ self._limits_increase_request_id = limits_increase_request_id @property def time_resolution(self): """ Gets the time_resolution of this LimitsIncreaseItemRequest. The time that the limit increase item was resolved. Format defined by RFC3339. :return: The time_resolution of this LimitsIncreaseItemRequest. :rtype: datetime """ return self._time_resolution @time_resolution.setter def time_resolution(self, time_resolution): """ Sets the time_resolution of this LimitsIncreaseItemRequest. The time that the limit increase item was resolved. Format defined by RFC3339. :param time_resolution: The time_resolution of this LimitsIncreaseItemRequest. :type: datetime """ self._time_resolution = time_resolution @property def time_created(self): """ **[Required]** Gets the time_created of this LimitsIncreaseItemRequest. The time that the limit increase item was created. Format defined by RFC3339. :return: The time_created of this LimitsIncreaseItemRequest. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this LimitsIncreaseItemRequest. The time that the limit increase item was created. Format defined by RFC3339. :param time_created: The time_created of this LimitsIncreaseItemRequest. :type: datetime """ self._time_created = time_created @property def time_updated(self): """ Gets the time_updated of this LimitsIncreaseItemRequest. The time that the limit increase item was last updated. Format defined by RFC3339. :return: The time_updated of this LimitsIncreaseItemRequest. :rtype: datetime """ return self._time_updated @time_updated.setter def time_updated(self, time_updated): """ Sets the time_updated of this LimitsIncreaseItemRequest. The time that the limit increase item was last updated. Format defined by RFC3339. :param time_updated: The time_updated of this LimitsIncreaseItemRequest. :type: datetime """ self._time_updated = time_updated @property def lifecycle_state(self): """ **[Required]** Gets the lifecycle_state of this LimitsIncreaseItemRequest. The current status of the limit increase item. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "CANCELED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this LimitsIncreaseItemRequest. :rtype: str """ return self._lifecycle_state @lifecycle_state.setter def lifecycle_state(self, lifecycle_state): """ Sets the lifecycle_state of this LimitsIncreaseItemRequest. The current status of the limit increase item. :param lifecycle_state: The lifecycle_state of this LimitsIncreaseItemRequest. :type: str """ allowed_values = ["ACCEPTED", "IN_PROGRESS", "SUCCEEDED", "CANCELED", "FAILED"] if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): lifecycle_state = 'UNKNOWN_ENUM_VALUE' self._lifecycle_state = lifecycle_state @property def questionnaire_response(self): """ Gets the questionnaire_response of this LimitsIncreaseItemRequest. List of questionnaire responses for the limit increase item. :return: The questionnaire_response of this LimitsIncreaseItemRequest. :rtype: list[oci.limits_increase.models.LimitsIncreaseItemQuestionResponse] """ return self._questionnaire_response @questionnaire_response.setter def questionnaire_response(self, questionnaire_response): """ Sets the questionnaire_response of this LimitsIncreaseItemRequest. List of questionnaire responses for the limit increase item. :param questionnaire_response: The questionnaire_response of this LimitsIncreaseItemRequest. :type: list[oci.limits_increase.models.LimitsIncreaseItemQuestionResponse] """ self._questionnaire_response = questionnaire_response 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