File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/opsi/models/chargeback_plan_report_summary.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 ChargebackPlanReportSummary(object): """ Summary of a Ops Insights chargeback plan report """ #: A constant which can be used with the resource_type property of a ChargebackPlanReportSummary. #: This constant has a value of "EXADATA_INSIGHT" RESOURCE_TYPE_EXADATA_INSIGHT = "EXADATA_INSIGHT" #: A constant which can be used with the resource_type property of a ChargebackPlanReportSummary. #: This constant has a value of "DATABASE_INSIGHT" RESOURCE_TYPE_DATABASE_INSIGHT = "DATABASE_INSIGHT" #: A constant which can be used with the resource_type property of a ChargebackPlanReportSummary. #: This constant has a value of "HOST_INSIGHT" RESOURCE_TYPE_HOST_INSIGHT = "HOST_INSIGHT" def __init__(self, **kwargs): """ Initializes a new ChargebackPlanReportSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param report_id: The value to assign to the report_id property of this ChargebackPlanReportSummary. :type report_id: str :param report_name: The value to assign to the report_name property of this ChargebackPlanReportSummary. :type report_name: str :param resource_type: The value to assign to the resource_type property of this ChargebackPlanReportSummary. Allowed values for this property are: "EXADATA_INSIGHT", "DATABASE_INSIGHT", "HOST_INSIGHT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param resource_id: The value to assign to the resource_id property of this ChargebackPlanReportSummary. :type resource_id: str :param time_created: The value to assign to the time_created property of this ChargebackPlanReportSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ChargebackPlanReportSummary. :type time_updated: datetime :param report_properties: The value to assign to the report_properties property of this ChargebackPlanReportSummary. :type report_properties: oci.opsi.models.ReportPropertyDetails """ self.swagger_types = { 'report_id': 'str', 'report_name': 'str', 'resource_type': 'str', 'resource_id': 'str', 'time_created': 'datetime', 'time_updated': 'datetime', 'report_properties': 'ReportPropertyDetails' } self.attribute_map = { 'report_id': 'reportId', 'report_name': 'reportName', 'resource_type': 'resourceType', 'resource_id': 'resourceId', 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', 'report_properties': 'reportProperties' } self._report_id = None self._report_name = None self._resource_type = None self._resource_id = None self._time_created = None self._time_updated = None self._report_properties = None @property def report_id(self): """ **[Required]** Gets the report_id of this ChargebackPlanReportSummary. `OCID`__ of the Chargeback plan report. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The report_id of this ChargebackPlanReportSummary. :rtype: str """ return self._report_id @report_id.setter def report_id(self, report_id): """ Sets the report_id of this ChargebackPlanReportSummary. `OCID`__ of the Chargeback plan report. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param report_id: The report_id of this ChargebackPlanReportSummary. :type: str """ self._report_id = report_id @property def report_name(self): """ **[Required]** Gets the report_name of this ChargebackPlanReportSummary. The chargeback plan report name. :return: The report_name of this ChargebackPlanReportSummary. :rtype: str """ return self._report_name @report_name.setter def report_name(self, report_name): """ Sets the report_name of this ChargebackPlanReportSummary. The chargeback plan report name. :param report_name: The report_name of this ChargebackPlanReportSummary. :type: str """ self._report_name = report_name @property def resource_type(self): """ **[Required]** Gets the resource_type of this ChargebackPlanReportSummary. Defines the type of resource (example: EXADATA, HOST) Allowed values for this property are: "EXADATA_INSIGHT", "DATABASE_INSIGHT", "HOST_INSIGHT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_type of this ChargebackPlanReportSummary. :rtype: str """ return self._resource_type @resource_type.setter def resource_type(self, resource_type): """ Sets the resource_type of this ChargebackPlanReportSummary. Defines the type of resource (example: EXADATA, HOST) :param resource_type: The resource_type of this ChargebackPlanReportSummary. :type: str """ allowed_values = ["EXADATA_INSIGHT", "DATABASE_INSIGHT", "HOST_INSIGHT"] if not value_allowed_none_or_none_sentinel(resource_type, allowed_values): resource_type = 'UNKNOWN_ENUM_VALUE' self._resource_type = resource_type @property def resource_id(self): """ **[Required]** Gets the resource_id of this ChargebackPlanReportSummary. `OCID`__ of the Chargeback plan report. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The resource_id of this ChargebackPlanReportSummary. :rtype: str """ return self._resource_id @resource_id.setter def resource_id(self, resource_id): """ Sets the resource_id of this ChargebackPlanReportSummary. `OCID`__ of the Chargeback plan report. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param resource_id: The resource_id of this ChargebackPlanReportSummary. :type: str """ self._resource_id = resource_id @property def time_created(self): """ **[Required]** Gets the time_created of this ChargebackPlanReportSummary. The date and time the chargeback plan was created, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this ChargebackPlanReportSummary. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this ChargebackPlanReportSummary. The date and time the chargeback plan was created, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this ChargebackPlanReportSummary. :type: datetime """ self._time_created = time_created @property def time_updated(self): """ **[Required]** Gets the time_updated of this ChargebackPlanReportSummary. The time chargeback plan was updated. An RFC3339 formatted datetime string :return: The time_updated of this ChargebackPlanReportSummary. :rtype: datetime """ return self._time_updated @time_updated.setter def time_updated(self, time_updated): """ Sets the time_updated of this ChargebackPlanReportSummary. The time chargeback plan was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this ChargebackPlanReportSummary. :type: datetime """ self._time_updated = time_updated @property def report_properties(self): """ **[Required]** Gets the report_properties of this ChargebackPlanReportSummary. :return: The report_properties of this ChargebackPlanReportSummary. :rtype: oci.opsi.models.ReportPropertyDetails """ return self._report_properties @report_properties.setter def report_properties(self, report_properties): """ Sets the report_properties of this ChargebackPlanReportSummary. :param report_properties: The report_properties of this ChargebackPlanReportSummary. :type: oci.opsi.models.ReportPropertyDetails """ self._report_properties = report_properties 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