File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/opsi/models/chargeback_plan_details.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: 20200630 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 ChargebackPlanDetails(object): """ Object containing chargeback plan details """ def __init__(self, **kwargs): """ Initializes a new ChargebackPlanDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param plan_id: The value to assign to the plan_id property of this ChargebackPlanDetails. :type plan_id: str :param plan_type: The value to assign to the plan_type property of this ChargebackPlanDetails. :type plan_type: str :param time_enabled: The value to assign to the time_enabled property of this ChargebackPlanDetails. :type time_enabled: datetime """ self.swagger_types = { 'plan_id': 'str', 'plan_type': 'str', 'time_enabled': 'datetime' } self.attribute_map = { 'plan_id': 'planId', 'plan_type': 'planType', 'time_enabled': 'timeEnabled' } self._plan_id = None self._plan_type = None self._time_enabled = None @property def plan_id(self): """ Gets the plan_id of this ChargebackPlanDetails. `OCID`__ of OPSI Chargeback plan resource. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The plan_id of this ChargebackPlanDetails. :rtype: str """ return self._plan_id @plan_id.setter def plan_id(self, plan_id): """ Sets the plan_id of this ChargebackPlanDetails. `OCID`__ of OPSI Chargeback plan resource. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param plan_id: The plan_id of this ChargebackPlanDetails. :type: str """ self._plan_id = plan_id @property def plan_type(self): """ Gets the plan_type of this ChargebackPlanDetails. Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION. :return: The plan_type of this ChargebackPlanDetails. :rtype: str """ return self._plan_type @plan_type.setter def plan_type(self, plan_type): """ Sets the plan_type of this ChargebackPlanDetails. Chargeback Plan type of the chargeback entity. For an Exadata it can be WEIGHTED_ALLOCATION, EQUAL_ALLOCATION, UNUSED_ALLOCATION. :param plan_type: The plan_type of this ChargebackPlanDetails. :type: str """ self._plan_type = plan_type @property def time_enabled(self): """ Gets the time_enabled of this ChargebackPlanDetails. The date and time the chargeback plan was enabled on the resource, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_enabled of this ChargebackPlanDetails. :rtype: datetime """ return self._time_enabled @time_enabled.setter def time_enabled(self, time_enabled): """ Sets the time_enabled of this ChargebackPlanDetails. The date and time the chargeback plan was enabled on the resource, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_enabled: The time_enabled of this ChargebackPlanDetails. :type: datetime """ self._time_enabled = time_enabled 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.07 |
proxy
|
phpinfo
|
Settings